exim

kasowanie koleji w exim

exim -bp | exiqgrep -i | xargs exim -Mrm

ip źródłowe uzależnione od domeny nadawcy

remote_smtp:
driver = smtp
interface = ${lookup{$sender_address_domain}lsearch{/etc/virtual/interfaces} {$value}{SHARED.IP.FROM.SERVER}}
helo_data = "mail.$sender_address_domain"
#{SHARED.IP.FROM.SERVER} for domains not list in /etc/virtual/interfaces

w pliku /etc/virtual/interfaces

domain1.com: xxx.xxx.xxx.xxx
domain2.com: yyy.yyy.yyy.yyy