LinuxQuestions.org

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

NSKL 11-16-2003 06:31 AM

Fetchmail problem
 
I've used Fetchmail for quite some time now to fetch mail from different mail servers and put it into my mailbox for reading using pine/mutt. However about a week ago fetchmail just stoopped working. I don't know why, maybe the pop3 server admins changed something, but i cant figure out what.
Here is the output from fetchmail -d0 -v --nosyslog if someone can figure out whats wrong:

fetchmail: 6.2.2 querying ciaopop3.ciaoweb.it (protocol POP3) at Sun Nov 16 13:23:54 2003: poll started
fetchmail: POP3< +OK Microsoft Exchange 2000 POP3 server version 6.0.4712.0 (pros121.root.cw) ready.
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< PIPELINING
fetchmail: POP3< EXPIRE NEVER
fetchmail: POP3< UIDL
fetchmail: POP3< .
fetchmail: POP3> USER *****@******.it
fetchmail: POP3< +OK
fetchmail: POP3> PASS
fetchmail: POP3< +OK User successfully logged on.
fetchmail: POP3> STAT
fetchmail: POP3< +OK 8 71867
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Protocol error.
fetchmail: Protocol error.
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 AAAbVHoAAAAjOoOWlCkMJWULnsgURh4C
fetchmail: POP3< 2 AAAcVHoAAAAjOoOWlCkMJWULnsgURh4C
fetchmail: POP3< 3 AAwcVHoAAAAjOoOWlCkMJWULnsgURh4C
fetchmail: POP3< 4 AAQdVHoAAAAjOoOWlCkMJWULnsgURh4C
fetchmail: POP3< 5 AAgdVHoAAAAjOoOWlCkMJWULnsgURh4C
fetchmail: POP3< 6 AAwdVHoAAAAjOoOWlCkMJWULnsgURh4C
fetchmail: POP3< 7 AAgeVHoAAAAjOoOWlCkMJWULnsgURh4C
fetchmail: POP3< 8 AAweVHoAAAAjOoOWlCkMJWULnsgURh4C
fetchmail: POP3< .
8 messages for *****@******.it at ciaopop3.ciaoweb.it (71867 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK 8 71867
fetchmail: POP3< 1 2154
fetchmail: POP3< 2 4864
fetchmail: POP3< 3 4121
fetchmail: POP3< 4 11866
fetchmail: POP3< 5 11258
fetchmail: POP3< 6 15909
fetchmail: POP3< 7 8173
fetchmail: POP3< 8 13522
fetchmail: POP3< .
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
reading message *****@******.it@ciaopop3.ciaoweb.it:1 of 8 (2154 octets)
fetchmail: SMTP< 220 Slackbox.local ESMTP Sendmail 8.12.8/8.12.8; Sun, 16 Nov 2003 13:23:59 GMT
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-Slackbox.local Hello localhost [127.0.0.1], pleased to meet you
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-EXPN
fetchmail: SMTP< 250-VERB
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-DELIVERBY
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL FROM:<*******@volny.cz> BODY=7BIT SIZE=2154
fetchmail: SMTP< 451 4.1.8 Domain of sender address ********@volny.cz does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address *******@volny.cz does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
not flushed
fetchmail: POP3> TOP 2 99999999
fetchmail: POP3< +OK
reading message *******@ciaoweb.it@ciaopop3.ciaoweb.it:2 of 8 (4864 octets)
fetchmail: SMTP> MAIL FROM:<********@rome.com> BODY=7BIT SIZE=4864
fetchmail: SMTP< 451 4.1.8 Domain of sender address *******@rome.com does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address ********@rome.com does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
... not flushed
fetchmail: POP3> TOP 3 99999999
fetchmail: POP3< +OK
reading message ******@ciaoweb.it@ciaopop3.ciaoweb.it:3 of 8 (4121 octets)
fetchmail: SMTP> MAIL FROM:<*******@rome.com> BODY=7BIT SIZE=4121
fetchmail: SMTP< 451 4.1.8 Domain of sender address ******@rome.com does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address *******@rome.com does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
.. not flushed
fetchmail: POP3> TOP 4 99999999
fetchmail: POP3< +OK
reading message *****@ciaoweb.it@ciaopop3.ciaoweb.it:4 of 8 (11866 octets)
fetchmail: SMTP> MAIL FROM:<******@linuxquestions.org> SIZE=11866
fetchmail: SMTP< 451 4.1.8 Domain of sender address ******@linuxquestions.org does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address *******@linuxquestions.org does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
.......... not flushed
fetchmail: POP3> TOP 5 99999999
fetchmail: POP3< +OK
reading message *****@ciaoweb.it@ciaopop3.ciaoweb.it:5 of 8 (11258 octets)
fetchmail: SMTP> MAIL FROM:<*******@rome.com> BODY=7BIT SIZE=11258
fetchmail: SMTP< 451 4.1.8 Domain of sender address ******@rome.com does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address ******@rome.com does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
......... not flushed
fetchmail: POP3> TOP 6 99999999
fetchmail: POP3< +OK
reading message ****@ciaoweb.it@ciaopop3.ciaoweb.it:6 of 8 (15909 octets)
fetchmail: SMTP> MAIL FROM:<******@rome.com> BODY=7BIT SIZE=15909
fetchmail: SMTP< 451 4.1.8 Domain of sender address ******@rome.com does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address ******@rome.com does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
.............. not flushed
fetchmail: POP3> TOP 7 99999999
fetchmail: POP3< +OK
reading message *****@ciaoweb.it@ciaopop3.ciaoweb.it:7 of 8 (8173 octets)
fetchmail: SMTP> MAIL FROM:<*****@ciaoweb.it> BODY=8BITMIME SIZE=8173
fetchmail: SMTP< 451 4.1.8 Domain of sender address ******@ciaoweb.it does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address *****@ciaoweb.it does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
....... not flushed
fetchmail: POP3> TOP 8 99999999
fetchmail: POP3< +OK
reading message *****@ciaoweb.it@ciaopop3.ciaoweb.it:8 of 8 (13522 octets)
fetchmail: SMTP> MAIL FROM:<******@linuxquestions.org> SIZE=13522
fetchmail: SMTP< 451 4.1.8 Domain of sender address *****@linuxquestions.org does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address ******@linuxquestions.org does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
............ not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Microsoft Exchange 2000 POP3 server version 6.0.4712.0 signing off.
fetchmail: 6.2.2 querying ciaopop3.ciaoweb.it (protocol POP3) at Sun Nov 16 13:24:12 2003: poll completed
fetchmail: 6.2.2 querying ciaopop3.ciaoweb.it (protocol POP3) at Sun Nov 16 13:24:12 2003: poll started
fetchmail: POP3< +OK Microsoft Exchange 2000 POP3 server version 6.0.4712.0 (pros121.root.cw) ready.
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< PIPELINING
fetchmail: POP3< EXPIRE NEVER
fetchmail: POP3< UIDL
fetchmail: POP3< .
fetchmail: POP3> USER ******@ciaoweb.it
fetchmail: POP3< +OK
fetchmail: POP3> PASS
fetchmail: POP3< +OK User successfully logged on.
fetchmail: POP3> STAT
fetchmail: POP3< +OK 8 175113
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Protocol error.
fetchmail: Protocol error.
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 AAw1Vs8BAAQ3izQdACat/CEXyuMCp6yO
fetchmail: POP3< 2 AAg7Vs8BAAQ3izQdACat/CEXyuMCp6yO
fetchmail: POP3< 3 AAg8Vs8BAAQ3izQdACat/CEXyuMCp6yO
fetchmail: POP3< 4 AAAIWs8BAAQ3izQdACat/CEXyuMCp6yO
fetchmail: POP3< 5 AAQIWs8BAAQ3izQdACat/CEXyuMCp6yO
fetchmail: POP3< 6 AAgIWs8BAAQ3izQdACat/CEXyuMCp6yO
fetchmail: POP3< 7 AAwIWs8BAAQ3izQdACat/CEXyuMCp6yO
fetchmail: POP3< 8 AAAJWs8BAAQ3izQdACat/CEXyuMCp6yO
fetchmail: POP3< .
8 messages for *******@ciaoweb.it at ciaopop3.ciaoweb.it (175113 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK 8 175113
fetchmail: POP3< 1 2154
fetchmail: POP3< 2 7618
fetchmail: POP3< 3 2155
fetchmail: POP3< 4 142983
fetchmail: POP3< 5 2161
fetchmail: POP3< 6 7352
fetchmail: POP3< 7 2158
fetchmail: POP3< 8 8532
fetchmail: POP3< .
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
reading message *****@ciaoweb.it@ciaopop3.ciaoweb.it:1 of 8 (2154 octets)
fetchmail: SMTP< 220 Slackbox.local ESMTP Sendmail 8.12.8/8.12.8; Sun, 16 Nov 2003 13:24:17 GMT
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-Slackbox.local Hello localhost [127.0.0.1], pleased to meet you
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-EXPN
fetchmail: SMTP< 250-VERB
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-DELIVERBY
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL FROM:<*******@volny.cz> BODY=7BIT SIZE=2154
fetchmail: SMTP< 451 4.1.8 Domain of sender address ******@volny.cz does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address *****@volny.cz does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
not flushed
fetchmail: POP3> TOP 2 99999999
fetchmail: POP3< +OK
reading message *****@ciaoweb.it@ciaopop3.ciaoweb.it:2 of 8 (7618 octets)
fetchmail: SMTP> MAIL FROM:<******@tin.it> SIZE=7618
fetchmail: SMTP< 451 4.1.8 Domain of sender address *****@tin.it does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address ******@tin.it does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
...... not flushed
fetchmail: POP3> TOP 3 99999999
fetchmail: POP3< +OK
reading message *******@ciaoweb.it@ciaopop3.ciaoweb.it:3 of 8 (2155 octets)
fetchmail: SMTP> MAIL FROM:<************@audi.de> SIZE=2155
fetchmail: SMTP< 451 4.1.8 Domain of sender address *******@audi.de does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address ********@audi.de does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
not flushed
fetchmail: POP3> TOP 4 99999999
fetchmail: POP3< +OK
reading message *****@ciaoweb.it@ciaopop3.ciaoweb.it:4 of 8 (142983 octets)
fetchmail: SMTP> MAIL FROM:<*****@tin.it> SIZE=142983
fetchmail: SMTP< 451 4.1.8 Domain of sender address *******@tin.it does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address *******@tin.it does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
.................................................................................................... ...................................... not flushed
fetchmail: POP3> TOP 5 99999999
fetchmail: POP3< +OK
reading message *********@ciaoweb.it@ciaopop3.ciaoweb.it:5 of 8 (2161 octets)
fetchmail: SMTP> MAIL FROM:<********@yahoo.it> SIZE=2161
fetchmail: SMTP< 451 4.1.8 Domain of sender address ********@yahoo.it does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address ***********@yahoo.it does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
. not flushed
fetchmail: POP3> TOP 6 99999999
fetchmail: POP3< +OK
reading message *****@ciaoweb.it@ciaopop3.ciaoweb.it:6 of 8 (7352 octets)
fetchmail: SMTP> MAIL FROM:<************.com> BODY=8BITMIME SIZE=7352
fetchmail: SMTP< 451 4.1.8 Domain of sender address *************.com does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address ****@****com does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
...... not flushed
fetchmail: POP3> TOP 7 99999999
fetchmail: POP3< +OK
reading message ********@ciaoweb.it@ciaopop3.ciaoweb.it:7 of 8 (2158 octets)
fetchmail: SMTP> MAIL FROM:<***********@yahoo.it> SIZE=2158
fetchmail: SMTP< 451 4.1.8 Domain of sender address ********@yahoo.it does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address **********@yahoo.it does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
. not flushed
fetchmail: POP3> TOP 8 99999999
fetchmail: POP3< +OK
reading message *******@ciaoweb.it@ciaopop3.ciaoweb.it:8 of 8 (8532 octets)
fetchmail: SMTP> MAIL FROM:<fangeletti@email.it> SIZE=8532
fetchmail: SMTP< 451 4.1.8 Domain of sender address **********@email.it does not resolve
fetchmail: SMTP error: 451 4.1.8 Domain of sender address *******@email.it does not resolve
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
....... not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Microsoft Exchange 2000 POP3 server version 6.0.4712.0 signing off.
fetchmail: 6.2.2 querying ciaopop3.ciaoweb.it (protocol POP3) at Sun Nov 16 13:24:39 2003: poll completed
fetchmail: 6.2.2 querying pop3.softhome.net (protocol POP3) at Sun Nov 16 13:24:39 2003: poll started
fetchmail: POP3< +OK Hello there.
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Here's what I can do:
fetchmail: POP3< SASL LOGIN
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< LOGIN-DELAY 600
fetchmail: POP3< PIPELINING
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION Courier Mail Server
fetchmail: POP3< .
fetchmail: POP3> USER nskl
fetchmail: POP3< +OK Password required.
fetchmail: POP3> PASS
fetchmail: POP3< -ERR Login failed. Don't check email more than once every 10 minutes. You are at 7/hour, 5 this period. See http://mail.SoftHome.net/help/auth_errs.html#frequency
fetchmail: Login failed. Don't check email more than once every 10 minutes. You are at 7/hour, 5 this period. See http://mail.SoftHome.net/help/auth_errs.html#frequency
fetchmail: Authorization failure on nskl@pop3.softhome.net
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Better luck next time.
fetchmail: 6.2.2 querying pop3.softhome.net (protocol POP3) at Sun Nov 16 13:24:47 2003: poll completed
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 Slackbox.local closing connection
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 Slackbox.local closing connection
fetchmail: normal termination, status 0
Done.


Thanks in advance.
-NSKL

MacKtheHacK 11-17-2003 03:26 PM

It looks like your local SMTP server is unable to resolve any of the sender hostnames. Fetchmail is using your SMTP on Slackbox.local to deliver the messages it obtained from the remote MSExchange server to your local mailbox. Each time fetchmail is getting a message, it hands it off to sendmail who promptly says that it can't resolve the hostname in the sender's address, and resets the connection. It's probably sending a rejection notice back to the sender.

Did something change in your DNS setup recently? Check your /etc/resolv.conf, and see if you can ping any of the hosts, or at least resolve them with dig or nslookup.

NSKL 11-19-2003 05:32 PM

Hmm, nslookup returns this:
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 212.216.112.222
Address: 212.216.112.222#53

Non-authoritative answer:
162.172.216.212.in-addr.arpa name = ns2.tin.it.

Authoritative answers can be found from:
216.212.in-addr.arpa nameserver = dnsca.tin.it.
216.212.in-addr.arpa nameserver = ns.ripe.net.
216.212.in-addr.arpa nameserver = dns.tin.it.
dns.tin.it internet address = 194.243.154.62
dnsca.tin.it internet address = 195.31.190.31

which i guess looks fine...
Any other ideas? I guess i'll have to contact my ISP and find what the hell they did. Lately they've been changing a LOT of stuff so i wouldn't be surprised if they changed something with the mail server as well...
Thanks for help
-NSKL


All times are GMT -5. The time now is 12:11 AM.