LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Andrew Speer <andrew.speer@isolutions.com.au>
  To  : Alex Wilkisnon <lex@senet.com.au>
  Date: Thu, 06 Apr 2000 12:59:40 +0930

Re: fetchmail

----- Original Message -----
From: Alex Wilkisnon <lex@senet.com.au>
To: <linuxsa@linuxsa.org.au>
Sent: Thursday, April 06, 2000 10:16 AM
Subject: fetchmail


> Hi all,
>
> I have a slight problem with the config of fetchmail
>
> 1. I have created .fetchmail files in both /root and /lex.
>    This is the contents of one the files:
>
>    [lex@pluto ~]$ more .fetchmailrc
>    poll mail.senet.com.au
>    protocol pop3
>    localdomains pluto
>    user lex with password ***** [u don't need to know that :)]
>

Here is my fetchmail config for my senet mail, but the fetchmail config is
probably not the issue - it sounds like a local sendmail.

# senet fetchmail config data
#
poll senet
via mail.senet.com.au
protocol pop3
username aspeer
to andrew.speer@isolutions.com.au
password ********
smtphost gherkin.isolutions.com.au
nokeep


> 2. I have edited /etc/sendmail.cw ie
>    [lex@pluto ~]$ more /etc/sendmail.cw
>    # sendmail.cw - include all aliases for your machine here.
>
>    pluto 10.0.0.1
>
>
> However, when I do a fetchmail I get this error:
>
> ================================================
>
> [lex@pluto ~]$ !f
> fetchmail
> 7 messages for lex at mail.senet.com.au (19409 octets).
> reading message 1 of 7 (2109 octets) .fetchmail: SMTP connect to
> localhost failed
> fetchmail: SMTP transaction error while fetching from mail.senet.com.au
> fetchmail: Query status=10
> [lex@pluto ~]$
>
> ===============================================================
>

As Daryl Tester suggested, fix the issues in your sendmail.cw file, then try
"telnet localhost 25" to see if sendmail is accepting connections (I am
assuming that "pluto" == "localhost") here.

If you get a "connection refused" message, sendmail is not running on
localhost. Try starting it with /path/to/sendmail -bd -q1h (where /path/to
is the appropriate sendmail path). If telnet localhost *still* fails after
that, have a look at the sendmail log ("tail /var/log/maillog" on Redhat) to
see if that has any clues.

If things still not working properly, try running fetchmail with the -v
option (verbose) and post back the results here, with perhaps a bit more
information about where you think the mail should be going (localhost, or
remote host ?)

Regards,

Andrew Speer



-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page