[Sussex] Exim Config file
Steve Dobson
steve.dobson at krasnegar.demon.co.uk
Mon Sep 9 20:46:01 UTC 2002
Geoff
Here is my exim config file. You will need the change the following:
<Internet domain name>
<username>
<fill.name>
# Start of /etc/exim/exim.conf
# This is the main exim configuration file.
# It was originally generated by `eximconfig', part of the exim package
# distributed with Debian, but it may edited by the mail system administrator.
# This file originally generated by eximconfig at Thu Sep 4 10:45:37 BST 1997
# See exim info section for details of the things that can be configured here.
# General configuration here, such as local domains
qualify_domain = <Internet domain name>
local_domains = localhost:<Internet domain name>
local_domains_include_host = true
local_domains_include_host_literals = true
never_users = root
host_lookup = *
host_accept_relay = localhost
trusted_users = mail
smtp_verify = false
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 100
freeze_tell_mailmaster = true
received_header_text = "Received: \
${if def:sender_fullhost {from ${sender_fullhost} \
${if def:sender_ident {(${sender_ident})}}\n\t}\
{${if def:sender_ident {from ${sender_ident} }}}}\
by ${primary_hostname} \
${if def:received_protocol {with ${received_protocol}}} \
(Exim ${version_number} #${compile_number})\n\t\
id ${message_id} (Debian)"
end
######################################################################
# TRANPORTS CONFIGURATION #
######################################################################
local_delivery:
driver = appendfile
group = mail
mode = 0660
file = /var/spool/mail/${local_part}
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
address_reply:
driver = autoreply
# General configuration for SMTP delivery
smtp:
driver = smtp
end
######################################################################
# DIRECTORS CONFIGURATION #
######################################################################
real_local:
prefix = real-,
driver = localuser
transport = local_delivery
system_aliases:
driver = aliasfile
file = /etc/aliases
search_type = lsearch
# user = list
# Uncomment the above line if you are running smartlist
userforward:
no_verify
driver = forwardfile
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
file = .forward
filter
localuser:
driver = localuser
transport = local_delivery
smart:
driver = smartuser
new_address = ${local_part}@<Internet domain name>
end
######################################################################
# ROUTERS CONFIGURATION #
######################################################################
smarthost:
driver = domainlist
transport = smtp
#
# The following line allows dynamic routing of outgoing mail. The file
# /etc/exim/exim.smarthost has the following format:
# smarthost <smarthost>
# It is written by a the various start up scripts to where outgoing mail
# should be sent. When connected to my ISP (Demon) it points to
# "post.demon.co.uk".
route_list = "* ${lookup{smarthost}lsearch{/etc/exim/exim.smarthost}{$value}{no.smart.host}} bydns_a"
end
######################################################################
# RETRY CONFIGURATION #
######################################################################
# Domain Error Retries
# ------ ----- -------
* * F,2h,15m; G,16h,2h,1.5; F,4d,8h
end
######################################################################
# REWRITE CONFIGURATION #
######################################################################
^(root|daemon|postmaster|mailer-daemon|operator|nobody|cvs|netready|compile|techsupp|test)@<Internet domain name> ${1}@root.in.limbo Eh
# Make sure real- is safe...
^(real-.+)@<Internet domain name> ${1}@real.in.limbo Eh
# Now cope with changes in fetchmail v4.6
^(.+)@localhost ${1}@<Internet domain name> Eh
# Must be careful here to allow POP delivery to work
# Add users on a per-user basis
#
^<username>@<Internet domain name> <username>@pop.in.limbo Eh
# Now we've remappped everyone else, sort out limbo
#
*@root.in.limbo dobbo@<Internet domain name> Eh
*@real.in.limbo ${1}@<Internet domain name> Eh
# Finally, sort out people using POP
#
*@pop.in.limbo ${1}@<Internet domain name> Eh
<username>@<Internet domain name> <file.name>@<Internet domain name> Ffrs
*@<Internet domain name> <file.name>@<Internet domain name> Ffrs
# End of Exim configuration file
More information about the Sussex
mailing list