Sometimes loosing mails when using Procmail as content filter

2014-06-11 Thread Michael Neurohr
Hi, I'm using Procmail to filter incoming messages with Spamassassin and ClamAV. Today I recognized that mails are getting lost when a single mail contains multiple recipients that are hosted on this server. I've no clue what I'm doing wrong. Filtering the mails if only one of the recipients is

Re: CIDR Whitelist ?

2014-06-11 Thread borjam
El 10.06.2014 20:47, Viktor Dukhovni escribió: There is no single right answer. For many users a single linear list of conditions is simplest. For some users, where one wants a whitelist for one set of test to not short-circuit other tests, multiple lists are better. We should not be

Re: Sometimes loosing mails when using Procmail as content filter

2014-06-11 Thread Wietse Venema
Michael Neurohr: Hi, I'm using Procmail to filter incoming messages with Spamassassin and ClamAV. Today I recognized that mails are getting lost when a single mail contains multiple recipients that are hosted on this server. I've no clue what I'm doing wrong. Filtering the mails if only one

Re: Sometimes loosing mails when using Procmail as content filter

2014-06-11 Thread Michael Neurohr
On 11.06.2014 14:17, Wietse Venema wrote: Configure Postfix to make single-recipient deliveries. Set procmail_destination_recipient_limit = 1 which is required just like it is required for local(8) deliveries. Yes, that did it. Many thanks! Is that setting needed for all filters that are

Re: Sometimes losing mails when using Procmail as content filter

2014-06-11 Thread Michael Neurohr
On 11.06.2014 13:02, D'Arcy J.M. Cain wrote: You post a lot of information but I don't see /var/log/procmail. Perhaps it has a clue. I wrote a wrong info before the procmail log. All I'm seeing in /var/log/procmail is: =

Re: Sometimes loosing mails when using Procmail as content filter

2014-06-11 Thread Noel Jones
On 6/11/2014 9:10 AM, Michael Neurohr wrote: On 11.06.2014 14:17, Wietse Venema wrote: Configure Postfix to make single-recipient deliveries. Set procmail_destination_recipient_limit = 1 which is required just like it is required for local(8) deliveries. Yes, that did it. Many thanks! Is

Re: the after-queue simple filter -- I found my problem.

2014-06-11 Thread Jay G. Scott
On Tue, Jun 10, 2014 at 08:02:55PM -0500, Noel Jones wrote: On 6/10/2014 5:45 PM, Jay G. Scott wrote: After trying various combinations of things in main.cf and master.cf, I find that, using the script below, if the mail reaches the filter script, the resulting mail message bounces

Re: the after-queue simple filter -- I found my problem.

2014-06-11 Thread Viktor Dukhovni
On Wed, Jun 11, 2014 at 11:37:46AM -0500, Jay G. Scott wrote: I had two smtp lines in the master.cf file. Splutter. You're supposed to. One is for the Postfix SMTP server (inbound mail): smtp inet n - n - - smtpd the other is for the Postfix SMTP

Re: How to block offering SASL auth to clients based on RBL

2014-06-11 Thread Kai Krakow
Stan Hoeppner s...@hardwarefreak.com schrieb: On 6/10/2014 3:39 PM, Wietse Venema wrote: Kai Krakow: BTW: In this context, what's the best approach to put mailboxes on a separate machine? Let the LDA drop mails into NFS mounts, or let postfix transport the mails via transport_map into a

Re: the after-queue simple filter -- I found my problem.

2014-06-11 Thread Jay G. Scott
On Wed, Jun 11, 2014 at 04:42:42PM +, Viktor Dukhovni wrote: On Wed, Jun 11, 2014 at 11:37:46AM -0500, Jay G. Scott wrote: I had two smtp lines in the master.cf file. Splutter. You're supposed to. One is for the Postfix SMTP server (inbound mail): smtp inet n -

Re: How to block offering SASL auth to clients based on RBL

2014-06-11 Thread Thijssen
On Sat, Jun 7, 2014 at 3:33 PM, Kai Krakow hurikha...@gmail.com wrote: How is one supposed to automatically block such hijacked accounts within postfix? A simple heuristic could be detecting unusual high mail volume for that account, probably by detecting the always repeating or similar