Exim is rejecting mail from whitelisted domains.

This is a discussion on Exim is rejecting mail from whitelisted domains. within the alt.comp.mail.exim forums, part of the Mail Servers and Related category; ----------- accept sender_domains = /etc/exim/whitelist.domains drop log_message = match recipients_drop.list. recipients = /etc/exim/recipients_drop.list ------------ The rule listed above ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.exim

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 3 Weeks Ago
Snake Oil
 
Posts: n/a
Default Exim is rejecting mail from whitelisted domains.

-----------
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.
Reply With Quote
  #2 (permalink)  
Old 3 Weeks Ago
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
  #3 (permalink)  
Old 3 Weeks Ago
Snake Oil
 
Posts: n/a
Default Re: Exim is rejecting mail from whitelisted domains.

Thanks a bundle! I'll give this a try later this week.


On Apr 20, 10:34*pm, CrispieCrit...@gmail.com wrote:
> 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
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:37 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0