On Fri, 2010-05-21 at 15:58 +0200, Sasa wrote: > Hi, I have a problem with some mails that are discarded when in body message > there is a web link with http prefix, i.e. with: > http://www.example.com/example > > with this link the mail is discarded and in log file I have:
You didn't show *any* traces of SA even being involved here. At the very least, we'd need the rules hit. > [r...@mail ~]# grep 707F026A302 /var/log/maillog > May 20 10:52:16 mail postfix/smtpd[12804]: 707F026A302: > client=unknown[192.168.1.88], sasl_method=LOGIN, > sasl_username=u...@mydomain.com > May 20 10:52:16 mail postfix/cleanup[13001]: 707F026A302: > message-id=000d01caf7f9$c95308e0$5bf91a...@com > May 20 10:52:20 mail postfix/qmgr[12573]: 707F026A302: > from=<u...@mydomain.com>, size=3075, nrcpt=2 (queue active) So you're filtering outbound mail? > May 20 10:52:39 mail postfix/smtp[13776]: 707F026A302: > to=<dvd...@domain.it>, relay=127.0.0.1[127.0.0.1]:10024,delay=23, > delays=4.2/0/0.01/19, dsn=2.7.1, status=sent (250 2.7.1 Ok, discarded, UBE, > id=13116-02) SA does not discard mail. It merely classifies it, any action is left to other tools in your chain. You just clearly showed that it is postfix discarding the mail. What's missing from your pasted logs is the reason *why* postfix did that. You'll need to dig deeper. > postfix 2.5.6 > amavisd-new > spamassassin > clamav So, first question to check for in the logs is, which of these tools even processed the message, and what the respective results are. -- char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}