Re: LDA input validation

2015-01-26 Thread Stéphane Cottin
Le 26 janv. 2015 à 10:09, Reindl Harald h.rei...@thelounge.net a écrit : Am 26.01.2015 um 08:52 schrieb Steffen Kaiser: On Sun, 25 Jan 2015, Joseph Tam wrote: St?phane Cottin writes: dspam already send errors to syslog, the point here is to never loose email contents. This was a

Re: LDA input validation

2015-01-26 Thread Reindl Harald
Am 26.01.2015 um 10:52 schrieb Stéphane Cottin: Le 26 janv. 2015 à 10:09, Reindl Harald h.rei...@thelounge.net a écrit : You're stilling going to lose contents. If dspam fails, the mail is dumped, the LDA returns exit code 75, and the MTA will probably issue a bounce Email to the sender.

Re: LDA input validation

2015-01-26 Thread Reindl Harald
Am 26.01.2015 um 08:52 schrieb Steffen Kaiser: On Sun, 25 Jan 2015, Joseph Tam wrote: St?phane Cottin writes: dspam already send errors to syslog, the point here is to never loose email contents. This was a wrong design, i'm now use a wrapper instead ( see my previous post for details ).

Re: LDA input validation

2015-01-26 Thread Stéphane Cottin
Le 26 janv. 2015 à 05:31, Joseph Tam jtam.h...@gmail.com a écrit : St?phane Cottin writes: dspam already send errors to syslog, the point here is to never loose email contents. This was a wrong design, i'm now use a wrapper instead ( see my previous post for details ). You're

Re: LDA input validation

2015-01-26 Thread Joseph Tam
St?phane Cottin writes: You're stilling going to lose contents. If dspam fails, the mail is dumped, the LDA returns exit code 75, and the MTA will probably issue a bounce Email to the sender. from dovecot-lda man page : 75 A temporary failure. This is returned for almost all

Re: LDA input validation

2015-01-26 Thread Stéphane Cottin
Le 26 janv. 2015 à 11:21, Reindl Harald h.rei...@thelounge.net a écrit : Am 26.01.2015 um 10:52 schrieb Stéphane Cottin: Le 26 janv. 2015 à 10:09, Reindl Harald h.rei...@thelounge.net a écrit : You're stilling going to lose contents. If dspam fails, the mail is dumped, the LDA returns

Re: LDA input validation

2015-01-26 Thread Stéphane Cottin
Le 26 janv. 2015 à 12:03, Joseph Tam jtam.h...@gmail.com a écrit : St?phane Cottin writes: You're stilling going to lose contents. If dspam fails, the mail is dumped, the LDA returns exit code 75, and the MTA will probably issue a bounce Email to the sender. from dovecot-lda man page

Re: LDA input validation

2015-01-25 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 25 Jan 2015, Joseph Tam wrote: St?phane Cottin writes: dspam already send errors to syslog, the point here is to never loose email contents. This was a wrong design, i'm now use a wrapper instead ( see my previous post for details ).

Re: LDA input validation

2015-01-25 Thread Joseph Tam
St?phane Cottin writes: dspam already send errors to syslog, the point here is to never loose email contents. This was a wrong design, i'm now use a wrapper instead ( see my previous post for details ). You're stilling going to lose contents. If dspam fails, the mail is dumped, the LDA

Re: LDA input validation

2015-01-24 Thread Stéphane Cottin
Hello, Le 23 janv. 2015 à 16:14, Steffen Kaiser skdove...@smail.inf.fh-brs.de a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 23 Jan 2015, Stéphane Cottin wrote: I'm using qmail + dspam + dovecot-lda. A typical .qmail file : | /usr/bin/dspam --client

Re: LDA input validation

2015-01-24 Thread Stéphane Cottin
Le 23 janv. 2015 à 23:52, Joseph Tam jtam.h...@gmail.com a écrit : St?phane Cottin writes: A typical .qmail file : | /usr/bin/dspam --client --deliver=stdout --user $EXT@$USER | /usr/bin/preline -f /usr/lib/dovecot/dovecot-lda -d $EXT@$USER -a $EXT@$USER -m $EXT2 When dspam

Re: LDA input validation

2015-01-23 Thread Joseph Tam
St?phane Cottin writes: A typical .qmail file : | /usr/bin/dspam --client --deliver=stdout --user $EXT@$USER | /usr/bin/preline -f /usr/lib/dovecot/dovecot-lda -d $EXT@$USER -a $EXT@$USER -m $EXT2 When dspam segfault or is killed, preline receive an empty content and only pass to dovecot-lda

LDA input validation

2015-01-23 Thread Stéphane Cottin
Hi, I'm using qmail + dspam + dovecot-lda. A typical .qmail file : | /usr/bin/dspam --client --deliver=stdout --user $EXT@$USER | /usr/bin/preline -f /usr/lib/dovecot/dovecot-lda -d $EXT@$USER -a $EXT@$USER -m $EXT2 When dspam segfault or is killed, preline receive an empty content and only

Re: LDA input validation

2015-01-23 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 23 Jan 2015, Stéphane Cottin wrote: I'm using qmail + dspam + dovecot-lda. A typical .qmail file : | /usr/bin/dspam --client --deliver=stdout --user $EXT@$USER | /usr/bin/preline -f /usr/lib/dovecot/dovecot-lda -d $EXT@$USER -a