Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Fetchmail trouble
tschmidt
post Jun 17 2006, 06:33 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 17-June 06
Member No.: 6,561



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
Go to the top of the page
 
+Quote Post
DS2K3
post Jun 18 2006, 10:16 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



Virtually all POP clients delete the message on the POP server after it has been downloaded - Otherwise the mailbox just fills up. If you haven't already, install webmin which has an easy-to-use fetchmail configuration module that will allow you to alter this behavious either globally or on a per-user basis.

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
tschmidt
post Jun 18 2006, 03:25 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 17-June 06
Member No.: 6,561



DS2K3,


Thanks for the reply. The problem I am having(and maybe you answered it and I'm just not reading it right) is that fetchmail deletes it before my email client downloads it. Outlook shows no new mail. I was reading on another forum where someone had said dovecot(which is what I am using) only uses the Maildir format which is not set up because I thought I read it used both formats. Is it possible that fetchmail deletes it because it has no where to send it?
Go to the top of the page
 
+Quote Post
DS2K3
post Jun 19 2006, 07:51 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



Fetchmail just downlaods the message from the POP3 server, hands it over to Sendmail/Postfix on the local machine and then removes it from the POP3 server. If you want to collect mail directly from your ISPs server than you don't need to use Fetchmail. The mail should be sitting on your machine - If you install a program like uw-imap or dpvecot then you should be able to get it (uw-imap has IMAP and POP3 servers, and dovecot is a more advanced IMAP server).


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 01:24 AM