Re: [Exim] (no subject)

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Adj Bullier Erick
Ημερομηνία:  
Προς: john
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] (no subject)
--
> How are your directors and transports configured?

I send you a copy of my exim.conf...

Thank's for ypu help.
E.Bullier

--
message_size_limit = 3M
return_size_limit = 100K
primary_hostname = mail.domain.net
message_filter = /etc/exim/system_filter.exim
message_body_visible = 5000

qualify_domain = mail.domain.net
# qualify_recipient =
local_domains = localhost:mail.domain.net:mail.domain2.net:mail.domain3.net
local_domains_include_host = true
local_domains_include_host_literals = true
#relay_domains =
#relay_domains_include_local_mx = true
never_users = root
host_lookup = *
# headers_check_syntax
rbl_domains = rbl.mail-abuse.org/reject : dialups.mail-abuse.org/warn
host_accept_relay = 127.0.0.1:192.168.0.0/24
host_auth_accept_relay = *
# percent_hack_domains=*
trusted_users = mail:amavis:cyrus
smtp_verify = true
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 100
freeze_tell_mailmaster = true
received_header_text = "Received: \
       ${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
       {${if def:sender_ident {from ${sender_ident} }}\
       ${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}\
        by ${primary_hostname} \
        ${if def:received_protocol {with ${received_protocol}}} \
        (Exim (Debian))\n\t\
        id ${message_id}\
        ${if def:received_for {\n\tfor <$received_for>}}"
receiver_try_verify = true
#accept_8bitmime = true
#local_interfaces = 127.0.0.1
#queue_list_requires_admin = false


####################################################################
#                     TRANSPORTS CONFIGURATION                      #
####################################################################
local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  return_path_add = true
  file = /var/spool/mail/${local_part}
  quota = 10M
  quota_is_inclusive = true
  quota_warn_threshold = 80%
  quota_warn_message = "\
    To: ${local_part}@${domain}\n\
    Subject: Taille de votre boite à lettre\n\n\
    Ce message vous est adréssé automatiquement\n\
    par l'administrateur de ${domain}.\n\
    La taille de votre boite à lettre à depassée\n\
    80% de ses capacités.\n\
    Vous êtes invités à la purger...\n"


local_delivery_cyrus:
  driver = pipe
  command = "/usr/sbin/cyrdeliver -m ${substr_1:${local_part_suffix}} \
           -- ${local_part}"
  user = cyrus
  group = mail
  return_output
  log_output
  prefix =
  suffix =


address_pipe:
driver = pipe
path = /usr/bin:/bin:/usr/local/bin
return_output

address_file:
driver = appendfile
envelope_to_add = true
return_path_add = true

address_directory:
driver = appendfile
no_from_hack
prefix = ""
suffix = ""
# maildir_format

address_reply:
driver = autoreply

procmail_pipe:
driver = pipe
command = "/usr/bin/procmail"
return_path_add
delivery_date_add
envelope_to_add
# check_string = "From "
# escape_string = ">From "
suffix = ""

remote_smtp:
driver = smtp
# authenticate_hosts = smarthost.isp.com

scanmails:
driver = pipe
bsmtp = all
batch_max = 32767
command = "/usr/sbin/scanmails -f ${sender_address} -d ${local_part}"
prefix =
return_output = false
return_path_add = false
user = amavis
group = amavis
path = "/bin:/sbin:/usr/sbin:/usr/bin"
current_directory = "/var/tmp"
headers_add = "X-AntiVirus: scanned by AMaVis/AntiVir"


scanmails_remote:
driver = pipe
bsmtp = all
batch_max = 32767
command = "/usr/sbin/scanmails -f ${sender_address} -d ${local_part}@${host}"
prefix =
return_output = false
return_path_add = false
user = amavis
group = amavis
path = "/bin:/sbin:/usr/sbin:/usr/bin"
current_directory = "/var/tmp"
headers_add = "X-AntiVirus: scanned by AMaVis/AntiVir"



####################################################################
#                     DIRECTORS CONFIGURATION                       #
#            Specifies how local addresses are handled              #
####################################################################
scanmails:
  condition = "${if or {{eq {$received_protocol}{scanned-ok}}} {0}{1}}"
  driver = localuser
  transport = scanmails


real_local:
prefix = real-
driver = localuser
transport = local_delivery

system_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
file = /etc/aliases
search_type = lsearch
# user = list

virtual:
driver = aliasfile
domains =mail.domain2.net:mail.domain3.net
no_more
file = /etc/exim/$domain
search_type = lsearch
qualify_preserve_domain


userforward:
driver = forwardfile
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify
check_ancestor
check_local_user
file = .forward
modemask = 002
filter

procmail:
driver = localuser
transport = procmail_pipe
require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
no_verify

localuser_user_cyrus:
driver = localuser
transport = local_delivery_cyrus
# suffix = .*

localuser:
driver = localuser
transport = local_delivery



####################################################################
#                     ROUTERS CONFIGURATION                         #
#           Specifies how remote addresses are handled              #
####################################################################
vircheck:
  condition = "${if or {{eq {$received_protocol}{scanned-ok}}} {0}{1}}"
  driver = domainlist
  route_list = "*"
  transport = scanmails_remote


lookuphost:
driver = lookuphost
transport = remote_smtp

literal:
driver = ipliteral
transport = remote_smtp



####################################################################
#                     RETRY CONFIGURATION                           #
####################################################################


# Domain          Error     Retries
#  ------               -----       ------
#*                    quota
*                     *           F,2h,15m; G,16h,2h,1.5; F,4d,8h




####################################################################
#                     REWRITE CONFIGURATION                         #
####################################################################


*@mail.domain.net    ${lookup{$1}lsearch{/etc/email-addresses}\
                                              {$value}fail} frFs


# End of Exim configuration file














--