On Mar  8 13:44, ScruLoose wrote:
> I had no_bouncemail set in fetchmail's global config file (came that way by
> default) and also 'set antispam' to a value of -1 (also default)  So I
> poked at the man page some, commented out no_bouncemail, so fechmail_daemon
> is no longer spamming me (local postmaster) with the error, *but* I don't
> know what syntax it wants for values of 'antispam'.  
> The smtp command timeout *is* still quietly showing up in exim's log.
> 
> I know that 'antispam' is referring to the smtp return-values, and I figure
> I want it set to 5##  This will make fetchmail hard-refuse (ie "return to
> sender, quit trying to deliver this here") any message that causes a 5xx
> SMTP error... yes?
> 
> And I suspect that a value of -1 means "never match anything"...  yes?
> So am I right in thinking that 'set antispam 5##' is what I want?
> And if so, what's the right syntax for matching any 5## response?
> 

If you don't specify the antispam option it is set to a list
of sensible defaults - which includes 501 for Exim (as it doesn't give
a specific spam rejection code yet).

Fetchmail refuses anything other than a comma separated list
of numbers for the antispam option, so if you want to set it to 500-599
then your only option is to specify every code manually or leave it out 
all together (the later solving you problem anyway).

If you've also got the spambounce option set it will cause messages
rejected due to the antispam option to be bounced to the sender.

You will still see the timeout error in Exim's log but it should only
happen once for each message.  If you're logging fetchmail anywhere
you should  see that it has discarded the message.

-- 

Jason Chambers ([EMAIL PROTECTED])
Leicester, England

Registered Linux User #271693 (http://counter.li.org)

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to