Hello,
I'm hoping someone can help me with this. I'm trying to set up a email gateway to block spam, I found this guide (Gateway guide) to go by but I am having a problem with fetchmail. I sent a test email ran fetchmail via webmin and it downloaded it but then deleted the message. Here is the output after fetchmail ran:
etchmail -v -f '/root/.fetchmailrc'
mail.theschmidthome.com ..
fetchmail: WARNING: Running as root is discouraged.
fetchmail: 6.3.4 querying mail.linuxserver.com
(protocol POP3) at Sat Jun 17 19:11:23 2006: poll
started
fetchmail: POP3< +OK MailSite POP3 Server 7.0.3.5
Ready
<90664128.62537728.1955321914@mail.exampleisp.com>
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< SASL SCRAM-MD5 CRAM-MD5
fetchmail: POP3< .
fetchmail: POP3> AUTH CRAM-MD5
fetchmail: POP3< +
PDI5Mi4xMDYwNjE3MdkfjaaslfkjsierhJyYWwmaQbT4=
fetchmail: POP3>
dHNjaG1pZHQgNGHuy6eNDI5M2JkNjg=
fetchmail: POP3< +OK tschmidt's mailbox has 1
message(s) (655 octets)
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 655
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
1 message for tschmidt at mail.linuxserver.com (655
octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 655
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
reading message tschmidt@mail.exampleisp.com:1 of
1 (655 octets)
fetchmail: SMTP< 220 mail.linuxserver.com ESMTP
Sendmail 8.13.5/8.13.5; Sat, 17 Jun 2006 19:11:23
-0400
fetchmail: SMTP> EHLO mail.linuxserver.com
fetchmail: SMTP< 250-mail.linuxserver.com Hello
mail.linuxserver.com [127.0.0.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-DELIVERBY
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL
FROM:<tschmidt@exampleisp.com> BODY=7BIT SIZE=655
fetchmail: SMTP< 250 2.1.0
<tschmidt@exampleisp.com>... Sender ok
fetchmail: SMTP> RCPT TO:<email_tschmidt@localhost>
fetchmail: SMTP< 250 2.1.5
<email_tschmidt@localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a
line by itself
#**fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 k5HNBN0f004352 Message
accepted for delivery
flushed
fetchmail: POP3> DELE 1
fetchmail: POP3< +OK message 1 deleted
fetchmail: POP3> QUIT
fetchmail: POP3< +OK mail.exampleisp.com POP3
server signing off (mailbox empty)
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 mail.linuxserver.com
closing connection
fetchmail: 6.3.4 querying mail.linuxserver.com
(protocol POP3) at Sat Jun 17 19:11:23 2006: poll
completed
fetchmail: normal termination, status 0
Why is fetchmail doing this? Do I need to change something or maybe there is a better how-to/guide on spam filtering/email gateway?
Thanks in advance