Bug#399185: per user smarthost

Hendrik Tews tews at cs.ru.nl
Mon Aug 6 21:31:11 UTC 2007


I use

    #for satellite and smarthost-systems
    .ifndef DCsmarthost
    DCdefault_sh = DEBCONFsmarthostDEBCONF
    DCsmarthost = ${lookup{$sender_address}lsearch{CONFDIR/smarthost_per_user}{$value}{DCdefault_sh}}
    .endif

in exim4.conf.template and a smarthost_per_user file like 

    xxx at yy.zz: smarthost.xx.zz
    yyy at web.de: smtp.web.de::587

see also http://www.cs.ru.nl/~tews/user-smarthost.html

Bye,

Hendrik




More information about the Pkg-exim4-maintainers mailing list