On Wed, 17 Feb 2010 01:10:09 +0100 Ettore Kreos Solutions <[email protected]> wrote:
> My point was this: i don't want emails that comes from localhost (eg > from php scripts) or sasl authenticated users and it's directed to local > accounts pass through dspam, but directly delivered to dbmail. > Then use transport maps that work around that issue. Don't add DSPAM as a content filter for postdrop and don't transport mails for SASL authenticated users over DSPAM. You don't need that FILTER command to get there. Just use normal chained transport. > I'm currently using Opt out and, if i have understand, what you suggests > doesn't solve my "problem". > Right. What I suggested does not solve your issue. But a fine granulated transport setup in Postfix would solve that issue. > What i will do is not only a "postfix admin interface" where you can > add/remove users. I need also to do a lot of other things. > Ok, you could tell me "hey there is already a bunch of other tools for > any thing you want to do!", and that's right. I tried a lot of stuff, > including postfix admin, and they don't do exactly what i want and in > the way i want. So i would write something that does exactly *what* i > want (and only that) and *how* i want. > Okay. > Btw, let's come back to error -5: > right now i disabled the FILTER and configured postfix to deliver always > with dspam-lmtp. > > mailbox_transport = dspam-lmtp:unix:/var/spool/postfix/tmp/dspam.sock > > ..and i'm still getting the SAME error. Damn. > So it seems the problem is not in the filter. > How can I simulate that on my end? How have you simulated that? > I know that seems to be impossibile, since with the same email you don't > get the error. > What i if provide you the mail in postfix queue file format? You should > be able to add it to your queue (modifying the recipient) and, perhaps, > the problem can be replicated. > Okay. Let me check.... doing the stuff from command line: ------------------------ theia ~ # telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 theia.bajic.name ESMTP Postfix (2.7.0) [NO UCE, NO UBE, C=CH, L=ZU] HELO mail.popolarebari.it 250 theia.bajic.name MAIL FROM: <[email protected]> 250 2.1.0 Ok RCPT TO: <[email protected]> 250 2.1.5 Ok DATA 354 End data with <CR><LF>.<CR><LF> Received: from pyedesign.co.uk (host81-149-214-42.in-addr.btopenworld.com [81.149.214.42]) by myserver[dot]mydomain[dot]com (Postfix) with ESMTP id CE168B240D for <user[at]mydomain[dot]com>; Mon, 15 Feb 2010 11:53:37 +0100 (CET) Received: from User ([82.106.21.138]) by pyedesign.co.uk with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Feb 2010 10:18:13 +0000 From: "BANCA POPOLARE DI BARI"<[email protected]> Subject: Verifica dei dati anagrafici Date: Mon, 15 Feb 2010 11.18.12 +0100 MIME-Version: 1.0 Content-Type: text/html; charset="Windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <[email protected]> X-OriginalArrivalTime: 15 Feb 2010 10:18:13.0324 (UTC) FILETIME=[2E5CD0C0:01CAAE28] To: <[email protected]> <html><head> <head> </head> <body dir="ltr"> <div align="left"> <p> <table border="0" cellspacing="0" width="600"> <tbody><tr> <td></td></tr> <tr></tr> <tr><td align="center" height="35"><div align="left"> <p><strong><a href="http://portal.dols.nl/webshop/bin/info.htm"><img src="http://www.popolarebari.it/img/logo_bpbari.gif" width="237" height="87" border="0"></a></strong></p></center> <p><strong>Nell'ambito di un progetto di verifica dei dati anagrafici forniti durante la sottoscrizione dei servizi di BANCA POPOLARE DI BARI e stata riscontrata una incongruenza relativa ai dati anagrafici in oggetto da Lei forniti all momento della sottoscrizione contrattuale.</strong></p> <p><strong>L'inserimento dei dati alterati puo costituire motivo di interruzione del servizio secondo gli art. 135 e 137/c da Lei accettati al momento della sottoscrizione, oltre a costituire reato penalmente perseguibile secondo il C.P.P art. 415 del 2001 relativo alla legge contro il riciclaggio e la transparenza dei dati forniti in auto certificazione. Per ovviare al problema e necessaria la verifica e l'aggiornamento dei dati relativi all'anaagrafica dell'Intestatario dei servizi bancari. </strong></p> <ul> <strong align="left">Effetuare l'aggiornamento dei dati cliccando sul seguente collegamento sicuro: </strong><br> <br> <a href="http://www.jaipurclick.com/assets/MemberDirectoryManager/cas.html" target="_blank"><strong><span id="main"><span id="search"><li>CLICCA QUI PER ACCEDERE</span></span></strong></a> </center> <br> </li> </ul> </div></td> </tr> </font> <tr><td><p> </p> <p> </p></td> </tr> <tr></tr> </tbody> </table> <table class="footer" border="0" cellpadding="0" cellspacing="0" width="600"> <tbody><tr></tr> </tbody> </table> </div> </body> </html> . 250 2.0.0 Ok: queued as DF975823C0E RSET 250 2.0.0 Ok QUIT 221 2.0.0 Bye Connection closed by foreign host. theia ~ # ------------------------ And here the raw mail from maildir: ------------------------ theia ~ # cat /var/spool/mail/bajic.ch/stevan/cur/1266366759.M406571P6064.theia\,S\=4300\,W\=4396\:2\, Return-Path: <[email protected]> Delivered-To: [email protected] Received: from localhost (localhost [127.0.0.1]) by theia.bajic.name (Postfix) with SMTP id 4147F823C0E for <[email protected]>; Wed, 17 Feb 2010 01:32:39 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.bajic.name (Postfix) with ESMTP id 1C3A5823C13 for <[email protected]>; Wed, 17 Feb 2010 01:32:39 +0100 (CET) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at bajic.name Received: from theia.bajic.name ([127.0.0.1]) by localhost (theia.bajic.name [127.0.0.1]) (amavisd-new, port 10024) with LMTP id T9nWDek9eVLW for <[email protected]>; Wed, 17 Feb 2010 01:32:38 +0100 (CET) Received: from mail.popolarebari.it (localhost [127.0.0.1]) by theia.bajic.name (Postfix) with SMTP id DF975823C0E for <[email protected]>; Wed, 17 Feb 2010 01:32:04 +0100 (CET) X-DKIM: OpenDKIM Filter v1.2.2 theia.bajic.name DF975823C0E X-SenderID: Sendmail Sender-ID Filter v1.0.0 theia.bajic.name DF975823C0E Authentication-Results: theia.bajic.name; sender-id=none [email protected]; spf=none [email protected] Received: from pyedesign.co.uk (host81-149-214-42.in-addr.btopenworld.com [81.149.214.42]) by myserver[dot]mydomain[dot]com (Postfix) with ESMTP id CE168B240D for <user[at]mydomain[dot]com>; Mon, 15 Feb 2010 11:53:37 +0100 (CET) Received: from User ([82.106.21.138]) by pyedesign.co.uk with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Feb 2010 10:18:13 +0000 From: "BANCA POPOLARE DI BARI"<[email protected]> Subject: Verifica dei dati anagrafici Date: Mon, 15 Feb 2010 11.18.12 +0100 MIME-Version: 1.0 Content-Type: text/html; charset="Windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <[email protected]> X-OriginalArrivalTime: 15 Feb 2010 10:18:13.0324 (UTC) FILETIME=[2E5CD0C0:01CAAE28] To: <[email protected]> X-DCC-wuwien-Metrics: theia; whitelist X-DSPAM-Result: Innocent X-DSPAM-Processed: Wed Feb 17 01:32:39 2010 X-DSPAM-Confidence: 0.9928 X-DSPAM-Improbability: 1 in 13779 chance of being spam X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4,4b7b3927312592806912641 <html><head> <head> </head> <body dir="ltr"> <div align="left"> <p> <table border="0" cellspacing="0" width="600"> <tbody><tr> <td></td></tr> <tr></tr> <tr><td align="center" height="35"><div align="left"> <p><strong><a href="http://portal.dols.nl/webshop/bin/info.htm"><img src="http://www.popolarebari.it/img/logo_bpbari.gif" width="237" height="87" border="0"></a></strong></p></center> <p><strong>Nell'ambito di un progetto di verifica dei dati anagrafici forniti durante la sottoscrizione dei servizi di BANCA POPOLARE DI BARI e stata riscontrata una incongruenza relativa ai dati anagrafici in oggetto da Lei forniti all momento della sottoscrizione contrattuale.</strong></p> <p><strong>L'inserimento dei dati alterati puo costituire motivo di interruzione del servizio secondo gli art. 135 e 137/c da Lei accettati al momento della sottoscrizione, oltre a costituire reato penalmente perseguibile secondo il C.P.P art. 415 del 2001 relativo alla legge contro il riciclaggio e la transparenza dei dati forniti in auto certificazione. Per ovviare al problema e necessaria la verifica e l'aggiornamento dei dati relativi all'anaagrafica dell'Intestatario dei servizi bancari. </strong></p> <ul> <strong align="left">Effetuare l'aggiornamento dei dati cliccando sul seguente collegamento sicuro: </strong><br> <br> <a href="http://www.jaipurclick.com/assets/MemberDirectoryManager/cas.html" target="_blank"><strong><span id="main"><span id="search"><li>CLICCA QUI PER ACCEDERE</span></span></strong></a> </center> <br> </li> </ul> </div></td> </tr> </font> <tr><td><p> </p> <p> </p></td> </tr> <tr></tr> </tbody> </table> <table class="footer" border="0" cellpadding="0" cellspacing="0" width="600"> <tbody><tr></tr> </tbody> </table> </div> </body> </html> theia ~ # ------------------------ Now let me do the same from a remote system that is NOT on my network: ------------------------ [r...@zh-lx12 ~]# telnet mail.bajic.ch 25 Trying 62.12.131.155... Connected to mail.bajic.ch (62.12.131.155). Escape character is '^]'. 220 theia.bajic.name ESMTP Postfix (2.7.0) [NO UCE, NO UBE, C=CH, L=ZU] HELO mail.popolarebari.it 250 theia.bajic.name MAIL FROM: <[email protected]> 250 2.1.0 Ok RCPT TO: <[email protected]> 450 4.7.1 <[email protected]>: Recipient address rejected: Greylisted for 5 minutes RSET 250 2.0.0 Ok QUIT 221 2.0.0 Bye Connection closed by foreign host. [r...@zh-lx12 ~]# ------------------------ Okay. Greylisting in action. I wait the 5 minutes and retry. The problem is that I have two greylisting solutions. I will probably need more then 5 minutes. But I wait and will continue this mail when the 5 minutes are over. 2nd try: ------------------------ [r...@zh-lx12 ~]# telnet mail.bajic.ch 25 Trying 62.12.131.156... Connected to mail.bajic.ch (62.12.131.156). Escape character is '^]'. 220 nyx.bajic.name ESMTP Postfix (2.7.0) [NO UCE, NO UBE, C=CH, L=ZU] HELO mail.popolarebari.it 250 nyx.bajic.name MAIL FROM: <[email protected]> 250 2.1.0 Ok RCPT TO: <[email protected]> 250 2.1.5 Ok DATA 354 End data with <CR><LF>.<CR><LF> Received: from pyedesign.co.uk (host81-149-214-42.in-addr.btopenworld.com [81.149.214.42]) by myserver[dot]mydomain[dot]com (Postfix) with ESMTP id CE168B240D for <user[at]mydomain[dot]com>; Mon, 15 Feb 2010 11:53:37 +0100 (CET) Received: from User ([82.106.21.138]) by pyedesign.co.uk with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Feb 2010 10:18:13 +0000 From: "BANCA POPOLARE DI BARI"<[email protected]> Subject: Verifica dei dati anagrafici Date: Mon, 15 Feb 2010 11.18.12 +0100 MIME-Version: 1.0 Content-Type: text/html; charset="Windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <[email protected]> X-OriginalArrivalTime: 15 Feb 2010 10:18:13.0324 (UTC) FILETIME=[2E5CD0C0:01CAAE28] <html><head> <head> </head> <body dir="ltr"> <div align="left"> <p> <table border="0" cellspacing="0" width="600"> <tbody><tr> <td></td></tr> <tr></tr> <tr><td align="center" height="35"><div align="left"> <p><strong><a href="http://portal.dols.nl/webshop/bin/info.htm"><img src="http://www.popolarebari.it/img/logo_bpbari.gif" width="237" height="87" border="0"></a></strong></p></center> <p><strong>Nell'ambito di un progetto di verifica dei dati anagrafici forniti durante la sottoscrizione dei servizi di BANCA POPOLARE DI BARI e stata riscontrata una incongruenza relativa ai dati anagrafici in oggetto da Lei forniti all momento della sottoscrizione contrattuale.</strong></p> <p><strong>L'inserimento dei dati alterati puo costituire motivo di interruzione del servizio secondo gli art. 135 e 137/c da Lei accettati al momento della sottoscrizione, oltre a costituire reato penalmente perseguibile secondo il C.P.P art. 415 del 2001 relativo alla legge contro il riciclaggio e la transparenza dei dati forniti in auto certificazione. Per ovviare al problema e necessaria la verifica e l'aggiornamento dei dati relativi all'anaagrafica dell'Intestatario dei servizi bancari. </strong></p> <ul> <strong align="left">Effetuare l'aggiornamento dei dati cliccando sul seguente collegamento sicuro: </strong><br> <br> <a href="http://www.jaipurclick.com/assets/MemberDirectoryManager/cas.html" target="_blank"><strong><span id="main"><span id="search"><li>CLICCA QUI PER ACCEDERE</span></span></strong></a> </center> <br> </li> </ul> </div></td> </tr> </font> <tr><td><p> </p> <p> </p></td> </tr> <tr></tr> </tbody> </table> <table class="footer" border="0" cellpadding="0" cellspacing="0" width="600"> <tbody><tr></tr> </tbody> </table> </div> </body> </html> . 250 2.0.0 Ok: queued as D6C4BA460C8 RSET 250 2.0.0 Ok QUIT 221 2.0.0 Bye Connection closed by foreign host. [r...@zh-lx12 ~]# ------------------------ And again here the mail directly from maildir: ------------------------ theia ~ # cat /var/spool/mail/bajic.ch/stevan/cur/1266368048.M324389P15774.nyx\,S\=4909\,W\=5007\:2\, Return-Path: <[email protected]> Delivered-To: [email protected] Received: from localhost (localhost [127.0.0.1]) by nyx.bajic.name (Postfix) with SMTP id 36C56A460C8 for <[email protected]>; Wed, 17 Feb 2010 01:54:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by nyx.bajic.name (Postfix) with ESMTP id 105B4A460CB for <[email protected]>; Wed, 17 Feb 2010 01:54:08 +0100 (CET) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at bajic.name Received: from nyx.bajic.name ([127.0.0.1]) by localhost (nyx.bajic.name [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VRg1V4+3S0u2 for <[email protected]>; Wed, 17 Feb 2010 01:54:07 +0100 (CET) Received-SPF: None (no SPF record) identity=mailfrom; client-ip=217.118.195.106; helo=mail.popolarebari.it; [email protected]; [email protected] X-DKIM: OpenDKIM Filter v1.2.2 nyx.bajic.name D6C4BA460C8 X-SenderID: Sendmail Sender-ID Filter v1.0.0 nyx.bajic.name D6C4BA460C8 Authentication-Results: nyx.bajic.name; sender-id=none [email protected]; spf=none [email protected] X-Greylist: delayed 00:11:44 by SQLgrey-1.7.6 X-policyd-weight: IN_CH=-1 IN_Europe=-0.75 NOT_IN_SPAMCOP=-1.5 NOT_IN_PSBL-SURRIEL=-0.5 NOT_IN_CBL=-0.5 NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_DRONE-ABUSE-CH=-0.5 NOT_IN_BRBL=-1 NOT_IN_BL_NJABL=-1.5 CL_IP_NE_HELO=1.5 (check from: .popolarebari. - helo: .mail.popolarebari. - helo-domain: .popolarebari.) MAIL_SEEMS_FORGED=2.5 NOT_CL_S25R=-0.35 RESOLVED_IP_IS_NOT_HELO=1.5 P0F_UNKNOWN=1.5; rate: -2.1 Received: from mail.popolarebari.it (frachtag-zh.ch [217.118.195.106]) by nyx.bajic.name (Postfix) with SMTP id D6C4BA460C8 for <[email protected]>; Wed, 17 Feb 2010 01:53:41 +0100 (CET) Received: from pyedesign.co.uk (host81-149-214-42.in-addr.btopenworld.com [81.149.214.42]) by myserver[dot]mydomain[dot]com (Postfix) with ESMTP id CE168B240D for <user[at]mydomain[dot]com>; Mon, 15 Feb 2010 11:53:37 +0100 (CET) Received: from User ([82.106.21.138]) by pyedesign.co.uk with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Feb 2010 10:18:13 +0000 From: "BANCA POPOLARE DI BARI"<[email protected]> Subject: Verifica dei dati anagrafici Date: Mon, 15 Feb 2010 11.18.12 +0100 MIME-Version: 1.0 Content-Type: text/html; charset="Windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <[email protected]> X-OriginalArrivalTime: 15 Feb 2010 10:18:13.0324 (UTC) FILETIME=[2E5CD0C0:01CAAE28] X-DCC-dcc1-Metrics: nyx 1182; Body=many Fuz1=many Fuz2=many X-DSPAM-Result: Innocent X-DSPAM-Processed: Wed Feb 17 01:54:08 2010 X-DSPAM-Confidence: 0.5000 X-DSPAM-Improbability: 1 in 101 chance of being spam X-DSPAM-Probability: 0.5000 X-DSPAM-Signature: 4,4b7b3e30177674609176412 <html><head> <head> </head> <body dir="ltr"> <div align="left"> <p> <table border="0" cellspacing="0" width="600"> <tbody><tr> <td></td></tr> <tr></tr> <tr><td align="center" height="35"><div align="left"> <p><strong><a href="http://portal.dols.nl/webshop/bin/info.htm"><img src="http://www.popolarebari.it/img/logo_bpbari.gif" width="237" height="87" border="0"></a></strong></p></center> <p><strong>Nell'ambito di un progetto di verifica dei dati anagrafici forniti durante la sottoscrizione dei servizi di BANCA POPOLARE DI BARI e stata riscontrata una incongruenza relativa ai dati anagrafici in oggetto da Lei forniti all momento della sottoscrizione contrattuale.</strong></p> <p><strong>L'inserimento dei dati alterati puo costituire motivo di interruzione del servizio secondo gli art. 135 e 137/c da Lei accettati al momento della sottoscrizione, oltre a costituire reato penalmente perseguibile secondo il C.P.P art. 415 del 2001 relativo alla legge contro il riciclaggio e la transparenza dei dati forniti in auto certificazione. Per ovviare al problema e necessaria la verifica e l'aggiornamento dei dati relativi all'anaagrafica dell'Intestatario dei servizi bancari. </strong></p> <ul> <strong align="left">Effetuare l'aggiornamento dei dati cliccando sul seguente collegamento sicuro: </strong><br> <br> <a href="http://www.jaipurclick.com/assets/MemberDirectoryManager/cas.html" target="_blank"><strong><span id="main"><span id="search"><li>CLICCA QUI PER ACCEDERE</span></span></strong></a> </center> <br> </li> </ul> </div></td> </tr> </font> <tr><td><p> </p> <p> </p></td> </tr> <tr></tr> </tbody> </table> <table class="footer" border="0" cellpadding="0" cellspacing="0" width="600"> <tbody><tr></tr> </tbody> </table> </div> </body> </html> theia ~ # ------------------------ As you see: No problem delivery the same mail as you have used. I know that I can't compare since I use different mechenism when delivering. In the old days I used from time to time to have issues with delivery when using FILTER or strange Postfix configuration options. But that's long, long time ago. I don't remember to have had an issue deliverying from and to DSPAM in the last 5 years. My setup is however more complex then yours. I have my own cleanup (and pre-cleanup) services in Postfix and many other things that you don't have. Could you try to deliver the mail with telnet directly to DSPAM LMTP and try if it is failing there as well? > Regards, > Ettore > -- Kind Regards from Switzerland, Stevan Bajić ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
