I'm no fetchmail expert, but I believe that by default fetchmail needs an MDA(Mail Delivery Agent, such as Sendmail) listening on Port 25, as Alan said. But the fetchmail docs('man fetchmail' on Linux) explain how to "force mail to be passed to an MDA directly(rather than forwarded to port 25)", using the -mda option.
I believe that means you *need* an MDA installed, but it doesn't have to be listening on Port 25(as a daemon) - with the -mda fetchmail option, you can make fetchmail invoke the MDA directly when it has mail to deliver. I use "procmail" as my MDA, but the fetchmail docs name others as well. "fetchmailconf" is a configuration program that helps setup - this is especially helpful, and recommended by the fetchmail docs, for setting up fetchmail the first time - it actually creates the ~/.fetchmailrc for you. Once you see how "fetchmailconf" does it, it's easier for you to make changes to that .fetchmailrc after. HTH. -- Hardy Merrill Senior Software Engineer Red Hat, Inc. Alan Harding [[EMAIL PROTECTED]] wrote: > I know that this may sound silly, but I had the same problem and then > discovered that the localhost line in (/etc/)hosts was wrong. > > If thats ok try 'telnet 127.0.0.1 25' you should get some response back. > If not then thats where the issue lies > > > On Mon, 2002-05-13 at 16:47, Henning, Brian wrote: > > Hello, > > > > I am trying to get fetchmail to fetch my email and put it in my inbox on my > > redhat box but i am having some problems. I get a error message of 'SMTP > > connect to localhost failed' as shown below. I am pretty sure I have it > > configured properly on the fetchmail side (below). Do i need to have > > sendmail installed and configured to use fetchmail? I am not too familiar > > with sendmail or fetchmail. Can someone give me a general overview on what i > > need to do? > > > > thank, > > > > brian > > > > here is my ~/.fetchmailrc > > -------------- > > poll <pop server> protocol pop3 username "username" password "password" > > > > > > fetchmail: 5.9.6 querying pop.scomurr.com (protocol POP3) at Fri May 3 > > 10:05:38 2002: poll started > > fetchmail: POP3< +OK Pop server (CH version 1.6) at marlborough starting. > > fetchmail: POP3> USER [EMAIL PROTECTED] > > fetchmail: POP3< +OK Password required for [EMAIL PROTECTED] > > fetchmail: POP3> PASS * > > fetchmail: POP3< +OK bhenning has 7 message(s) (214550 octets). > > fetchmail: POP3> STAT > > fetchmail: POP3< +OK 7 214550 > > 7 messages for [EMAIL PROTECTED] at pop.scomurr.com (214550 octets). > > fetchmail: POP3> LIST > > fetchmail: POP3< +OK 7 messages (214550 octets) > > fetchmail: POP3< 1 2896 > > fetchmail: POP3< 2 2493 > > fetchmail: POP3< 3 3409 > > fetchmail: POP3< 4 188724 > > fetchmail: POP3< 5 11236 > > fetchmail: POP3< 6 3221 > > fetchmail: POP3< 7 2571 > > fetchmail: POP3< . > > fetchmail: POP3> RETR 1 > > fetchmail: POP3< +OK 2896 octets > > reading message [EMAIL PROTECTED]@pop.scomurr.com:1 of 7 (2896 octets) > > fetchmail: SMTP connect to localhost failed > > fetchmail: POP3> QUIT > > fetchmail: POP3< Hi Brian, > > fetchmail: SMTP transaction error while fetching from pop.scomurr.com > > fetchmail: 5.9.6 querying pop.scomurr.com (protocol POP3) at Fri May 3 > > 10:05:45 2002: poll completed > > fetchmail: Query status=10 (SMTP) > > fetchmail: normal termination, status 10 > > > > > > > > _______________________________________________ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > -- > Alan Harding > PS Engineer > Network Appliance Ltd > +44 (0)7715 539272 > "On the keyboard of life, always keep one finger on the escape key" > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list