Re: [exim] only relay mail for our domain in relay_from_host…

Inizio della pagina
Delete this message
Reply to this message
Autore: Marcin Mirosław
Data:  
To: exim-users
Oggetto: Re: [exim] only relay mail for our domain in relay_from_hosts..
W dniu 2010-08-05 17:37, B. Cook pisze:
> We had 2 accounts get compromised in the latest 'please reply with your
> password ( ) ' scam..
>
> so what I am looking to do to prevent this from impacting us in the
> future is..
>
> I would like exim to *only* send mail if it is from our domain..


Hi!
Maybe this acl would be usefull for you:
acl_check_data:

deny
    authenticated   = *
    condition = ${if or {{!eqi{$authenticated_id}{$sender_address}}\
    {!eqi{$authenticated_id} {${address:$header_From:}} }}}
    message         = You must send as the ID you authenticate with.



Regards,
Marcin