[oclug] Antispam with fetchmail...

Greg Franks greg at cr1004769-a.slnt1.on.wave.home.com
Thu Aug 30 16:20:39 EDT 2001


My sendmail and fetchmail have become rather unhappy with each other
of late.  People keep trying to send me mail from bogus domains
(Quelle surprise...).  Anyway, sendmail was barfing with error 451...

fetchmail: SMTP< 451 4.1.8 <knedrago at bemybabey.com>... Domain of sender address knedrago at bemybabey.com does not resolve

causing the message to be left on the POP server and making sendmail
log errors, i.e.:

fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
fetchmail: SMTP error: 250 2.0.0 Reset state
........ not flushed

So, I put
  antispam 451

in my .fetchmailrc file and voila, sendmail is a happy camper.

Question: are there any other useful error codes to put into my
.fetchmailrc file (aside from the stock: 571, 550, 501, 554) ?????

Enquiring minds want to know!
  ..greg
-----
   __@               Greg Franks              <|       _~@ __O 
 _`\<,_         Ottawa, Ontario, Canada        |O\   -^\<;^\<, 
(*)/ (*)                                       (*)--(*)%---/(*)
          "Where do you want to go today?"   Outside.  



More information about the OCLUG mailing list