Re: Mail discarded

2010-06-25 Thread Ralf Hildebrandt
* sasashop s...@shoponweb.it:
 Hi, from a few days much incomings mails are blocked and in log file
 I have always 'discarded, UBE':
 
 Jun 24 13:10:23 mail postfix/qmgr[445]: CB6FD26A1AF:
 from=x...@email.it, size=49182, nrcpt=1 (queue active)
 Jun 24 13:10:26 mail postfix/smtp[25251]: CB6FD26A1AF:
 to=y...@mail.mydomain.com, orig_to=y...@mydomain.com,
 relay=127.0.0.1[127.0.0.1]:10024, delay=4.2, delays=1.3/0/0.01/2.9,
 dsn=2.7.1, status=sent (250 2.7.1 Ok, discarded, UBE, id=23600-10)
 Jun 24 13:10:26 mail postfix/qmgr[445]: CB6FD26A1AF: removed
 
 but the domain 'email.it' (but I have this problem with much mail
 domains) isn't in blacklist and this domain is certainly 'clean'.
 My doubt is for what reason these mail are blocked ?
 On my mail server I have SA-3.2.5 with postfix/amavisd-new/clamav.

Check the logs amavis is generating
Grep for 23600-10


-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de



Re: Mail discarded

2010-06-25 Thread sasashop

Ralf Hildebrandt wroted:


Check the logs amavis is generating
Grep for 23600-10


I have only log file '/var/log/mailllog' and in this log file I have, about 
23600-10 only this:


[r...@mail ~]# grep 2360010 /var/log/maillog
Jun 24 13:10:26 mail postfix/smtp[25251]: CB6FD26A1AF: 
to=y...@mail.mydomain.com, orig_to=y...@mydomain.com, 
relay=127.0.0.1[127.0.0.1]:10024, delay=4.2, delays=1.3/0/0.01/2.9, 
dsn=2.7.1, status=sent (250 2.7.1 Ok, discarded, UBE, id=23600-10)


Thanks.

--

  Salvatore.





Re: Mail discarded

2010-06-25 Thread Ralf Hildebrandt
* sasashop s...@shoponweb.it:
 Ralf Hildebrandt wroted:
 
 Check the logs amavis is generating
 Grep for 23600-10
 
 I have only log file '/var/log/mailllog' and in this log file I have,
 about 23600-10 only this:
 
 [r...@mail ~]# grep 2360010 /var/log/maillog
 Jun 24 13:10:26 mail postfix/smtp[25251]: CB6FD26A1AF:
 to=y...@mail.mydomain.com, orig_to=y...@mydomain.com,
 relay=127.0.0.1[127.0.0.1]:10024, delay=4.2, delays=1.3/0/0.01/2.9,
 dsn=2.7.1, status=sent (250 2.7.1 Ok, discarded, UBE, id=23600-10)

Well, for the future you have to ramp up the loglevel for amavisd

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de



Re: Mail discarded with http

2010-05-21 Thread John Peach
On Fri, 21 May 2010 15:03:22 +0200
Sasa s...@shoponweb.it 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:
 
 [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)
 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)

Discarded by amavisd-new (presumably spamassassin).



[snip]


-- 
John


Re: Mail discarded with http

2010-05-21 Thread Mark Goodge

On 21/05/2010 14:03, 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



On my mail server I have:

postfix 2.5.6
amavisd-new
spamassassin
clamav


This is spamassassin rejecting emails that look like spam. So either

a) the emails are very close to being spammy already, so that the check 
for URLs is enough to push them over the edge when they do contain the 
full URL, or


b) your spamassassin settings are too strict.

Mark


Re: Mail discarded with http

2010-05-21 Thread Sasa
but is strange that when mail is blocked I haven't in log file Blocked 
SPAM, therefore how can I modify my spamassassin configuration for resolve 
my problem ?

Thanks.

--

  Salvatore.



- Original Message - 
From: Mark Goodge m...@good-stuff.co.uk

To: postfix-users@postfix.org
Sent: Friday, May 21, 2010 3:16 PM
Subject: Re: Mail discarded with http



On 21/05/2010 14:03, 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



On my mail server I have:

postfix 2.5.6
amavisd-new
spamassassin
clamav


This is spamassassin rejecting emails that look like spam. So either

a) the emails are very close to being spammy already, so that the check 
for URLs is enough to push them over the edge when they do contain the 
full URL, or


b) your spamassassin settings are too strict.

Mark





Re: Mail discarded with http

2010-05-21 Thread Mark Goodge

On 21/05/2010 14:44, Sasa wrote:

but is strange that when mail is blocked I haven't in log file Blocked
SPAM,


It says discarded, UBE, which means the same thing.


therefore how can I modify my spamassassin configuration for
resolve my problem ?


That depends on whether it is a problem. As I said before, it may be 
that the incoming emails are borderline already and the addition of a 
URL is enough to push them over the edge. If so, you don't really want 
to relax your spamassassin rules as that will just let more real spam 
through. Instead, try to educate your correspondents to send less 
malformed email :-)


If it is your configuration that's the problem, though, then you will 
need to modify it. That's not really on-topic for the Postfix mailing 
list, but this URL should help:


http://lmgtfy.com/?q=spamassassin+configuration

Mark