[sclug] Exim - Clamav - Amavis

Scott Rixon scott at green-flag.com
Sun Feb 29 16:36:11 UTC 2004


I have used this basic config to get it working.. But how to I set Exim
to route to my ISPs smart host?

http://ente.limmat.ch/linux/exim_v3_-_amavisd-new.html

It is sat at the end of the Routers section now.. But I guess the amavis
router gets there first.. So where do I send it to use the smart host?

Also in Woody how do I restart exim? I have tried /etc/inetd/exim
restart by nothing looks like it's happening!

Cheers...

Scott

######################################################################
#                      ROUTERS CONFIGURATION                         #
#            Specifies how remote addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#  A remote address is passed to each in turn until it is accepted.  #
######################################################################

# Remote addresses are those with a domain that does not match any item
# in the "local_domains" setting above.
### Added by Scott


amavis_router:
        condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
        driver = domainlist
        transport = amavis_smtp
        verify = false
        route_list = * localhost byname
        self = send
# Send all mail to a smarthost

smarthost:
  driver = domainlist
  transport = remote_smtp
  route_list = "* smtp.ntlworld.com bydns_a"

end




More information about the Sclug mailing list