Dear Swinoger
I have a problem with Procmail 3.22 with Postfix 2.7.1 running on a FreeBSD System. Overall it works fine, except when I send an E-Mail to more recipients on the same recipient-domain.
Example: Sender: w.onda@example.com Recipients: walter@mydomains.ch; peter@mydomains.ch
In the process status it looks like this /usr/local/bin/procmail -t SENDER=w.onda@example.com RECIPIENT=peter@mydomains.ch RECIPIENT=walter@mydomains.ch
In this case the procmail process just the latest recipient, in this example walter@mydomains.ch. It doesn’t matter how many recipients are includes into the E-Mail.
Does anybody know which settings I need to change in order that postfix send a copy of E-Mail per recipients to Procmail (prefer)? Or should I change something else in the Procmail Script, like „do while“…?
Kind Regards Walter
On 10/07/2010 03:05 AM, Walter Onda wrote: [..]
Does anybody know which settings I need to change in order that postfix send a copy of E-Mail per recipients to Procmail (prefer)? Or should I change something else in the Procmail Script, like „do while“…?
Those are the SMTP envelope headers, thus that is correct, you have to look at the headers inside the email.
Put a: LOGFILE=/tmp/procmail.log
in your .procmailrc and you will see all kinds of other output.
Then check 'man procmailex' for examples on how to match using "^TO" etc.
Greets, Jeroen
Hello
I got this solution to put into Postfix
local_destination_recipient_limit = 1
old local_destination_recipient_limit = 50
Now it works much better (smile).
Thanks all!
Regards Walter
Am 07.10.2010 14:19, schrieb Jeroen Massar:
On 10/07/2010 03:05 AM, Walter Onda wrote: [..]
Does anybody know which settings I need to change in order that postfix send a copy of E-Mail per recipients to Procmail (prefer)? Or should I change something else in the Procmail Script, like „do while“…?
Those are the SMTP envelope headers, thus that is correct, you have to look at the headers inside the email.
Put a: LOGFILE=/tmp/procmail.log
in your .procmailrc and you will see all kinds of other output.
Then check 'man procmailex' for examples on how to match using "^TO" etc.
Greets, Jeroen
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
On 10/07/2010 09:52 AM, Walter Onda wrote:
Hello
I got this solution to put into Postfix
local_destination_recipient_limit = 1
old local_destination_recipient_limit = 50
Now it works much better (smile).
How do you let postfix deliver to procmail, it seems you have a global procmail running as otherwise the above is not needed.
Greets, Jeroen