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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
-----------
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. |
|
|||
|
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. |
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|