Re: [exim] Outgoing Mail

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: Grant Peel
CC: exim-users
Assumpte: Re: [exim] Outgoing Mail
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).