View Single Post

  #2 (permalink)  
Old 04-21-2008
CrispieCritter@gmail.com
 
Posts: n/a
Default Re: Exim is rejecting mail from whitelisted domains.

On Apr 19, 12:26*am, Snake Oil <pxeb...@gmail.com> wrote:
> -----------
> accept sender_domains = /etc/exim/whitelist.domains
>
> * *drop
> * * * log_message *= match recipients_drop.list.
> * * * recipients = /etc/exim/recipients_drop.list
> ------------
>
> The rule listed above is suppose to *reject all inbound mail to
> recipients in the /etc/exim/recipients_drop.list file EXCEPT for those
> coming from *senders in the /etc/exim/whitelist.domains.
>
> Unfortunately, *senders from domains in the */etc/exim/
> whitelist.domains are also being rejected. * How do I fix this?
>
> Thanks.


You essentially have two rules there so you need to join them like
this I would imagine:

drop
log_message = match recipients_drop.list
recipients = /etc/exim/recipients_drop.list
!sender_domains = /etc/exim/whitelist.domains

Which basiclly reads -- Drop all messages where recipients are in the
list /etc/exim/recipients_drop.list and where senders are not in the
domain list /etc/exim/whitelist.domains and log a message when you do.
Reply With Quote