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

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



On Sat, 8 Mar 2003 13:44:16 -0500
ScruLoose <scruloose+debuser@eastlink.ca> wrote:

<Figuring out exim error messages and trying to get fetchmail to stop>
<handing out errors every 5 min...>

> 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
> 

In my /etc/fetchmailrc I've got the following antispam line for each
mail account. I think it was added by one of the config tools, possibly
fetchmailconf(?).

antispam 571 550 501 554

HTH,
Jacob

----- 
GnuPG Key: 1024D/16377135

In a world without fences, who needs Gates?
http://www.linux.org/

Attachment: pgpfzcJiErvAi.pgp
Description: PGP signature


Reply to: