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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marcin Mirosław
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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