Grant Peel wrote:

> Thanks for the reply magnus, but the reason I was asking was for my own
> selfish reasons. I have some clients I know are emailing huge attachments
> and things and I want that to be reflected in their bandwidth usage via
> ipa dn ipfw. to do this, I need the outgoing data to be sent via thier IP.

something like that could work:

remote_smtp:
  driver = smtp
  interface = ${lookup {$sender_address_domain} lsearch
{/etc/exim/domain2ip}}

with the file containing such entries:

example.com 1.2.3.4
example.net 5.6.7.8


If the domain is not listed, the choice is left to the OS (like the default).




-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to