[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fetchmail and SMTP return codes (was Re: recurring error in exim's log)



On Sat, Mar 08, 2003 at 12:11:00AM +0000, Jason Chambers wrote:
> On Mar  7 15:58, ScruLoose wrote:
> > So yeah... now I'm receiving fetchmail's error message in my inbox every 5
> > minutes.
> > it kinda looks to me like some spammer munged his headers so badly that
> > it's screwing things up for delivery.  
> > 
> According to fetchmail's man page is should detect 501 as spam
> rejection and bounce the mail back to the sender and discard the
> message.
> 
-snipped kludge :-) -
> However maybe someone else knows how to get fetchmail to do something
> sensible with it in the first place ...

Okay, we're getting closer to a solution.  (Thank you!)
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?

Apologies if this is in the docs... I did take something of a look at
them... but I did not see an answer to this.

	Thanks
	-Chris

Attachment: pgpJlbX6A9SbK.pgp
Description: PGP signature


Reply to: