Click to See Complete Forum and Search --> : fetchmail
jon787
09-07-2001, 08:41 AM
I have two problems with fetchmail.
1. It will only run as root. It will always get an authentication error, even though it is configured properly.
2. I get the following error when it tries to download the email.
reading message 1 of 3 (6866) octets fetchmail: SMTP connect to localhost failed.
fetchmail: SMTP transaction error while fetching from mail.linuxfreemail.com
fetchmail: Query status=10 (SMTP)
Any ideas on what the problem is?
Radar
09-07-2001, 03:03 PM
It's not a problem if fetchmail runs as root. I'm not sure why you would be getting an auth error if fetchmail is then actually getting your mails. I suspect, on problem 2, that your host name is configured wrong. The command: mailq will display a list of undelivered mail. Have a look at the mail transfer agent's config files. If your using postfix, I believe it's /etc/postfix/main.cf. Look for myhostname parameters.
jon787
09-07-2001, 10:13 PM
Originally posted by Radar:
<STRONG>It's not a problem if fetchmail runs as root. I'm not sure why you would be getting an auth error if fetchmail is then actually getting your mails. I suspect, on problem</STRONG>
Oops when I try to run it as myself it gets the error. It works fine as root until it tries to download a message from my email box. That is where part 2 comes in.
Exact error when run as jon787:
fetchmail: Unkown login or authentication error on jon787@mail.linuxfreemail.com
fetchmail: socket error while fetching from mail.linuxfreemail.com
fetchmail: Query status=2 (SOCKET)
<STRONG>2, that your host name is configured wrong. The command: mailq will display a list of undelivered mail. Have a look at the mail transfer agent's config files. If your using postfix, I believe it's /etc/postfix/main.cf. Look for myhostname parameters.</STRONG>
I don't quite understand this. Shouldn't fetchmail put the emails in my mail box for me? When I ran fetchmailconf to configure it, it asks which user I want the mail delivered to. I set all of them to jon787 (my username)
I ran mailq. I have two attempts to send outbound email in there listed as **frozen**. No more are being added though, they are listed then dissappear as the send out. Although I'm not recieving them at the other end of the line. How do I unfreeze/delete them?
More info on my mail setup: (basically the stable packages at debian)
mutt 1.2.5
fetchmail 5.3.3
exim 3.12
[ 07 September 2001: Message edited by: jon787 ]