LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2004, 09:16 PM   #1
qub333
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Question Fetchmail


I have installed fetchmail on my Gentoo system, I had used sendmail before, but as part of a merger, we have another server to handle our smtp needs. I have set this machine in a DMZ temorarly to make sure it works, but im getting the following error, I can't seem to make much sense of it.
Code:
fetchmail -v -f '/home/kevin/.fetchmailrc' mail.comcast.net ..

fetchmail: 6.2.5 querying mail.comcast.net (protocol POP3) at Sun Sep 19 22:15:18 2004: poll started
fetchmail: POP3< +OK (rwcrpxc56) Maillennium POP3/PROXY server #173
fetchmail: POP3> USER qub333
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK ready
fetchmail: POP3> STAT
fetchmail: POP3< +OK 14 32675
14 messages for qub333 at mail.comcast.net (32675 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 4755
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK
reading message qub333@mail.comcast.net:1 of 14 (4755 octets)
fetchmail: SMTP connect to localhost failed
fetchmail: POP3> QUIT
fetchmail: POP3< Message from yahoo.com.
fetchmail: SMTP transaction error while fetching from mail.comcast.net
fetchmail: 6.2.5 querying mail.comcast.net (protocol POP3) at Sun Sep 19 22:15:22 2004: poll completed
fetchmail: Query status=10 (SMTP)
fetchmail: normal termination, status 10
any help would be greatly appreciated
 
Old 09-19-2004, 10:44 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
Re: Fetchmail

Quote:
Originally posted by qub333

fetchmail: SMTP connect to localhost failed
Hi,
fetchmail is getting the mail and in handing it off to the local MTA listening on port 25 it is finding nothing........
no mail server listening.

don't think it's posssible to use fetchmail without a local mail server running
 
Old 09-19-2004, 10:53 PM   #3
qub333
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
ok, my mistake, i thought it was for simple retrevial alone, ill fire sendmail back up. thanks for the response
 
Old 09-20-2004, 04:01 AM   #4
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,042

Rep: Reputation: 54
Re: Re: Fetchmail

Quote:
Originally posted by foo_bar_foo
Hi,
fetchmail is getting the mail and in handing it off to the local MTA listening on port 25 it is finding nothing........
no mail server listening.

don't think it's posssible to use fetchmail without a local mail server running
I use fetchmail to fetch the mail of my ISP and I don't have any mail server running (well, a private IMAP server that I use for Thunderbird to point to once the mail has been fetched)

@Qub333

I had similar problem as your, and I solved it adding this to .fetchmailrc

(I may be mistaken as I'm at univeristy, I'll check when I get home and correct if necessary).

After you have the "password is user <user> add "with mda procmail" (I use procmail, but you can use another program that do the same thing). What procmail do is sort mail according to rules you put in a config file (.procmailrc).
I know there are some other programs that do the same (sorry, I don't remember the names).

Try this out, it worked for me.
 
Old 10-27-2004, 10:09 PM   #5
qub333
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
If anyone was following this or having similar problems, I forgot to post my results, but basicaly, pass it to procmail, with a local .~/.procmailrc its all good.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
About fetchmail shadkong Slackware 3 05-28-2005 08:32 PM
Please Help Me with Fetchmail... JawzofDETH Fedora 2 04-22-2005 05:03 AM
fetchmail Red Squirrel Linux - Software 0 04-15-2004 12:36 PM
Using Fetchmail! RKris Linux - Software 2 08-25-2002 04:14 AM
fetchmail wonderpun Linux - General 1 08-21-2002 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration