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

Re: Hook into the Postfix sending process

2012-07-08 Thread Daniel L. Miller
On 7/8/2012 10:37 PM, Thomas Spycher wrote: 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 th

Re: Hook into the Postfix sending process

2012-07-09 Thread Wietse Venema
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 depend on this are NOT SUPPORTED and WILL BREAK as Postfix evolves over time. To catch delivery status, submit mail wit

Re: Hook into the Postfix sending process

2012-07-09 Thread Thomas Spycher
Hi Wiets That sounds like exactly the solution i was looking for just at an unexpected location :) I'll give it a try! I could send the status notification mails to the mta back and filter them in my milter script and taataaa i have the status of the delivered mail. Sounds perfect, at least in

Re: Hook into the Postfix sending process

2012-07-09 Thread Wietse Venema
Thomas Spycher: > Hi Wiets > > That sounds like exactly the solution i was looking for just at > an unexpected location :) I'll give it a try! > > I could send the status notification mails to the mta back and > filter them in my milter script and taataaa i have the status of > the delivered mail

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 unexpected location :) I'll gi

Re: Hook into the Postfix sending process

2012-07-09 Thread Wietse Venema
Thomas Spycher: > Is it possible to force postfix to create DSN for all categories > (success,delay,fail) for every new mail? If you send multi-recipient messages, then you may receive one notification for the success-category recipients of that message, and one notification for the delayed-catego