Exim mail server
linux exim mail
Exim mail server
- 80% users are local and 20% are gmail users. If email receipent is local, then mail is delivered locally. If email receipent is on google, then send to smarthost
begin routers
#dnslookup:
# driver = dnslookup
# domains = ! +local_domains
# transport = remote_smtp
# ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
# no_more
smarthost:
driver = manualroute
domains = ! +local_domains
transport = remote_smtp
route_data = bugzilla.domain.com
ignore_target_hosts = <; 0.0.0.0 ; 127.0.0.0/8 ; ::1
no_more
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/exim/aliases}}
user = exim
file_transport = address_file
pipe_transport = address_pipe
#reject_if_too_big:
# driver = redirect
# domains = +local_domains
# condition = ${if > {$message_size}{${lookup{$local_part}lsearch{/etc/messagelimit}{$value}{5M}}}{yes}{no}}
# allow_fail
# data = :fail: message too big.
#mailman_router:
# driver = accept
# domains = +mm_domains
# require_files = MM_LISTCHK
# local_part_suffix_optional
# local_part_suffix = -admin : \
# -bounces : -bounces+* : \
# -confirm : -confirm+* : \
# -join : -leave : \
# -owner : -request : \
# -subscribe : -unsubscribe
# transport = mailman_transport
userforward:
driver = redirect
check_local_user
file = $home/.forward
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
localuser:
driver = accept
check_local_user
transport = local_delivery
cannot_route_message = Unknown user
### router/mail for unknown local users who exist in gmail server.
unknown:
driver = manualroute
transport = remote_smtp
#route_list = * aspmx.l.google.com
route_data = smarthostserverip
#no_verify
squirrelmail autoresponder and vacation program
-
Local User Autoresponder and Forwarder plugin in squirrelmail
- “‘aclocal-1.15’ is missing on your system” warning when compiling suid_backend Before running ./configure try running autoreconf -f -i. The autoreconf program automatically runs autoheader, aclocal, automake, autopoint and libtoolize as required.
-
vacation program missing in exim
- Download the vacation source code http://www.csamuel.org/software/vacation and compile it. Enable autoresponder in the config of local user autoresponder and forwarder plugin.