LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fetchmail (https://www.linuxquestions.org/questions/linux-software-2/fetchmail-232716/)

qub333 09-19-2004 09:16 PM

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

foo_bar_foo 09-19-2004 10:44 PM

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

qub333 09-19-2004 10:53 PM

ok, my mistake, i thought it was for simple retrevial alone, ill fire sendmail back up. thanks for the response

Hammett 09-20-2004 04:01 AM

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.

qub333 10-27-2004 10:09 PM

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.


All times are GMT -5. The time now is 10:35 AM.