Re: Forcing DSN generation without sendmail

2012-07-18 Thread Thomas Spycher
Many Thanks for the totally great help! Tom Sent from my iPhone On 18.07.2012, at 17:53, Viktor Dukhovni wrote: > On Wed, Jul 18, 2012 at 10:00:04AM -0400, Wietse Venema wrote: > >> http://www.postconf.5.html#smtpd_command_filter has examples to >> manipulate NOTIFY options in RCPT TO command

Re: Forcing DSN generation without sendmail

2012-07-18 Thread Thomas Spycher
absolutely awesome! Thank you! On Jul 18, 2012, at 16:00 , Wietse Venema wrote: > Thomas Spycher: >> Hi >> >> Is it possible to force the creation of DSN (Delivery Status >> Notifications) for every arriving mail on a particular smtpd daemon >> in all categories

Forcing DSN generation without sendmail

2012-07-18 Thread Thomas Spycher
Hi Is it possible to force the creation of DSN (Delivery Status Notifications) for every arriving mail on a particular smtpd daemon in all categories (success, failure, delay) with a postfix configuration? I know its possible by invoking a sendmail command (sendmail -N failure,delay,success).

Re: Milter reply

2012-07-12 Thread Thomas Spycher
Hi Do you have any decorators used for your milter methods? And whats the return Value of the milter method which checks the amount of messages? Tom Sent from my iPhone On 12.07.2012, at 09:26, René Klomp wrote: > I am trying to create a milter (in python with ppymilter) for postfix to > al

Re: Split multiple recipient mail

2012-07-10 Thread Thomas Spycher
Uhhh, this is a much more better Solution than getting this done by the content filter. I've set smtp_destination_recipient_limit = 1 so every mail gets passed to the content filter for each recipient and finally gets requeued as a complete new mail. Perfect! Thank you! On Jul 10, 2012, at 02:

Split multiple recipient mail

2012-07-09 Thread Thomas Spycher
Hi, if Postfix receives an mail with multiple recipients (eg. to, cc and bcc). This mail gets processes as one single mail by postfix. How could it get accomplished to change the content of the mail for each recipient in an different way? Currently i've done this in an content filter. The Conte

Re: Hook into the Postfix sending process

2012-07-09 Thread Thomas Spycher
Is it possible to force postfix to create DSN for all categories (success,delay,fail) for every new mail? Tom On Jul 9, 2012, at 16:03 , Wietse Venema wrote: > Thomas Spycher: >> Hi Wiets >> >> That sounds like exactly the solution i was looking for just at >> an

Re: Hook into the Postfix sending process

2012-07-09 Thread Thomas Spycher
st in theory ;) Thanks Tom On Jul 9, 2012, at 12:50 , Wietse Venema wrote: > Thomas Spycher: >> So my questions are: >> >> 1. Can anyone explain me how the original smtp binary takes >> commands from the queue? > > That is an internal interface. Programs that

Hook into the Postfix sending process

2012-07-08 Thread Thomas Spycher
Hi I'm working for a Swiss Company and developing a special mail system. Open Source is the company's wide philosophy. The Application takes a new mail from a customer, does some magic stuff with it (with content filters), and then sends it out to the original recipient. The Server does only re