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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: B. Cook
Date:  
À: exim-users
Sujet: Re: [exim] only relay mail for our domain in relay_from_hosts..
I will test that and see what it does..

it *looks* like it will also only take mail from <domain list> as well..

or am I missing something..

Will try and report back; thanks.



On 8/5/10 12:15 PM, Dave Evans wrote:
> On Thu, Aug 05, 2010 at 11:37:47AM -0400, B. Cook wrote:
>> in the acl_smtp_mail I have tried..
>>
>> acl_check_mail:
>> require domains = mydomain.org
>> accept
>>
>> which passes exim -bV but gives a 451 and: cannot test domains
>> condition in MAIL ACL
>
> In acl_smtp_mail, you probably want sender_domains, not domains.
>
> To quote the spec,
>
> domains =<domain list>
>
>      This condition is relevant only after a RCPT command ...

>
> sender_domains =<domain list>
>
>      This condition tests the domain of the sender of the message ...

>
> Regards,
>
>