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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marcin Mirosław
Dátum:  
Címzett: exim-users
Tárgy: 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