I'm running fetchmail 6.2.5 and have hit an odd anti-spam problem.
I've got the following in my .fetchmailrc:
poll imap.isp.co.uk
proto imap
auth password
timeout 60 # If no response after one minute, give
up
tracepolls
envelope "X-Sent-To"
username "user" password "pass" to "lists" here
antispam 550 451
This is the output from fetchmail -v -v:
reading message user(_at_)imap(_dot_)isp(_dot_)co(_dot_)uk:1 of 2 (1608 header
octets)
fetchmail: SMTP< 220 moon.rise ESMTP Sendmail 8.12/8.12
fetchmail: SMTP> EHLO imap.isp.co.uk
fetchmail: SMTP< 250-moon.rise Hello localhost [IPv6:::1], pleased to
meet you
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
fetchmail: SMTP< 250-DELIVERBY
fetchmail: SMTP< 250 HELP
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<jonamobutu(_at_)mailsurf(_dot_)com> BODY=8BITMIME
SIZE=3847
fetchmail: smtp listener protocol error
fetchmail: IMAP< )
fetchmail: IMAP< A0006 OK FETCH completed.
And the output from sendmail (8.12.11):
Mar 24 18:02:52 moon sm-mta[1114]: i2OI1Mem001114: ruleset=check_mail,
arg1=<jonamobutu(_at_)mailsurf(_dot_)com>, relay=localhost [IPv6:::1],
reject=451
4.1.8 Domain of sender address jonamobutu(_at_)mailsurf(_dot_)com does not
resolve
Mar 24 18:02:52 moon sm-mta[1114]: i2OI1Mem001114:
from=<jonamobutu(_at_)mailsurf(_dot_)com>, size=3847, class=0, nrcpts=0,
bodytype=8BITMIME, proto=ESMTP, daemon=IPv6, relay=localhost [IPv6:::1]
Now, sendmail is returning one of the defined spam codes, but fetchmail
doesn't seem to be seeing this.
Help please!
--
Rob MacGregor (BOFH) [PGP key ID 0x1E51BF5A]
If I cannot bend Heaven, I shall move Hell.
-- Publius Vergilius Maro (Virgil).