Re: Is the development of Milters still encouraged

2015-06-29 Thread Wietse Venema
Ram:
 On 06/25/2015 06:31 PM, Viktor Dukhovni wrote:
  On Thu, Jun 25, 2015 at 02:07:37PM +0530, Ram wrote:
 
  I see that milter.org has been shut down.
  A commercial decision by the new owners of Sendmail.  This does
  not remove support for the milter API from Postfix.
 
  Now I am wondering if milters are the recommended way for extracting data ,
  or perform some changes to mail in transit.
  They are way to do so.
 Ok, that sounds fine.
 
 I am not sure where do milter specific questions now go ?
 If I were to use a multithreaded C milter , and I need to use a redis 
 handle ( Not thread safe )
 How do I maintain persistent redis handle so that I dont have to connect 
 to redis for every mail

The milter would have to talk to a single-threaded child
process that has the Redis handle.

Wietse


Re: Is the development of Milters still encouraged

2015-06-29 Thread Ram



On 06/25/2015 06:31 PM, Viktor Dukhovni wrote:

On Thu, Jun 25, 2015 at 02:07:37PM +0530, Ram wrote:


I see that milter.org has been shut down.

A commercial decision by the new owners of Sendmail.  This does
not remove support for the milter API from Postfix.


Now I am wondering if milters are the recommended way for extracting data ,
or perform some changes to mail in transit.

They are way to do so.

Ok, that sounds fine.

I am not sure where do milter specific questions now go ?
If I were to use a multithreaded C milter , and I need to use a redis 
handle ( Not thread safe )
How do I maintain persistent redis handle so that I dont have to connect 
to redis for every mail








Re: Is the development of Milters still encouraged

2015-06-25 Thread Viktor Dukhovni
On Thu, Jun 25, 2015 at 02:07:37PM +0530, Ram wrote:

 I see that milter.org has been shut down.

A commercial decision by the new owners of Sendmail.  This does
not remove support for the milter API from Postfix.

 Now I am wondering if milters are the recommended way for extracting data ,
 or perform some changes to mail in transit.

They are way to do so.

 What are the other options in postfix,

* Pre-queue proxy filters.
* Post-queue content filters.

-- 
Viktor.


Re: Is the development of Milters still encouraged

2015-06-25 Thread Patrick Ben Koetter
If you need access to SMTP session *and* content at the pre-queue stage,
MILTERs are the way to go.
We milter a lot and we are quite satisfied how well they work.

p@

Am 25.06.2015 um 10:37 schrieb Ram:

 I am currently using a custom milter to copy the mail for our
 archiving software , with original envelope information.

 I see that milter.org has been shut down.
 Now I am wondering if milters are the recommended way for extracting
 data , or perform some changes to mail in transit.


 What are the other options in postfix,

 Thanks
 Ram












-- 
[*] sys4 AG
https://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein




smime.p7s
Description: S/MIME Cryptographic Signature