Re: [exim] Outgoing Mail

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Jakob Hirsch
Data:  
Para: Grant Peel
CC: exim-users
Assunto: 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).