Problems with fetching mail
Moderator: Moderators
Problems with fetching mail
Hi!
I am using rollernet.us as backup MX. Lately I noticed error in my log
when it do fetchmail. The line is:
----------
fetchmail: Query status=2 (SOCKET)
fetchmail: Node localhost not allowed: 459 <localhost>: service unavailable
fetchmail: Query status=3 (AUTHFAIL)
----------
Before it was working and now suddenly it doeasn't.
What am I missing here? Anything to change or what?
I am using rollernet.us as backup MX. Lately I noticed error in my log
when it do fetchmail. The line is:
----------
fetchmail: Query status=2 (SOCKET)
fetchmail: Node localhost not allowed: 459 <localhost>: service unavailable
fetchmail: Query status=3 (AUTHFAIL)
----------
Before it was working and now suddenly it doeasn't.
What am I missing here? Anything to change or what?
Bye,
Sasa
Sasa
-
- Site Admin
- Posts: 598
- Joined: Wed Nov 17, 2004 10:05 pm
- Location: Nevada
- Contact:
-
- Site Admin
- Posts: 598
- Joined: Wed Nov 17, 2004 10:05 pm
- Location: Nevada
- Contact:
That's teh correct way to do it. The error message being returned means that whatever domain is being specified for the ETRN command resloves to (or somehow ends up being sent as) "localhost". That's the same as me telnetting to port 25 on mail.rollernet.us and doing this:fetchmail -p ETRN --fetchdomains my.domain mail.rollernet.us
Code: Select all
Trying 67.118.43.92...
Connected to mail.rollernet.us.
Escape character is '^]'.
ETRN localhost
459 <localhost>: service unavailable
quit
221 Bye
Connection closed by foreign host.
Technical Support support@rollernet.us
Roller Network LLC
Roller Network LLC
I am desperate.
I am still unable to fetch mails from rollernet. Now I have in my logs following:
I am still unable to fetch mails from rollernet. Now I have in my logs following:
Why it is telling that queuing started for localhost? Where does it get this information?What do I need to change on my server so it will work again?fetchmail: Queuing for localhost started
fetchmail: Polling lists.homelinux.net
fetchmail: Node localhost not allowed: 459 <localhost>: service unavailable
fetchmail: Query status=3 (AUTHFAIL)
Bye,
Sasa
Sasa
More info on this problem:
if I run fetchmail from console I get normal response:
Any idea what is wrong here?
if I run fetchmail from console I get normal response:
but if I run it thru CRON then I get:# fetchmail -v -p ETRN --fetchdomains lists.homelinux.net mail.rollernet.us
fetchmail: 6.2.5 querying mail.rollernet.us (protocol ETRN) at Tue 23 Nov 2004 09:27:18 PM CET: poll started
fetchmail: SMTP< 220 mail.rollernet.us ESMTP Postfix
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-mail.rollernet.us
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 51200000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250 8BITMIME
fetchmail: ETRN> ETRN lists.homelinux.net
fetchmail: ETRN< 250 Queuing started
fetchmail: Queuing for lists.homelinux.net started
fetchmail: Polling mail.rollernet.us
fetchmail: ETRN> QUIT
fetchmail: SMTP< 221 Bye
fetchmail: 6.2.5 querying mail.rollernet.us (protocol ETRN) at Tue 23 Nov 2004 09:27:19 PM CET: poll completed
fetchmail: normal termination, status 0
CRON runs the fetchmail as root as I was when running directly from console.fetchmail: Queuing for localhost started
fetchmail: Polling lists.homelinux.net
fetchmail: Node localhost not allowed: 459 <localhost>: service unavailable
fetchmail: Query status=3 (AUTHFAIL)
Any idea what is wrong here?
Bye,
Sasa
Sasa
-
- Site Admin
- Posts: 598
- Joined: Wed Nov 17, 2004 10:05 pm
- Location: Nevada
- Contact:
The only thing I could think of is the polling domain and polling server are reversed, or an option is missing in the cron command; perhaps a format error in the crontab line? What's happening is the same as if you had done:
fetchmail -p ETRN --fetchdomains localhost lists.homelinux.net
OR
fetchmail -p ETRN lists.homelinux.net
Throw the -v into the crontab based one and see what debug info it gives.
Even in the absence of fetchmail, queued message will still be delivered to you under the auto-retry cycle. Fetchmail just causes an immediate response rather than waiting for the mail server to retry on its own; it is not required to get the queue.
fetchmail -p ETRN --fetchdomains localhost lists.homelinux.net
OR
fetchmail -p ETRN lists.homelinux.net
Throw the -v into the crontab based one and see what debug info it gives.
Even in the absence of fetchmail, queued message will still be delivered to you under the auto-retry cycle. Fetchmail just causes an immediate response rather than waiting for the mail server to retry on its own; it is not required to get the queue.
Technical Support support@rollernet.us
Roller Network LLC
Roller Network LLC
-
- Site Admin
- Posts: 598
- Joined: Wed Nov 17, 2004 10:05 pm
- Location: Nevada
- Contact: