LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problems with fetchmail (https://www.linuxquestions.org/questions/linux-networking-3/problems-with-fetchmail-280797/)

fusebox 01-22-2005 07:09 AM

Problems with fetchmail
 
Hi.
I'm having problems with fetchmail on my Debian box.
Fetchmail ver '6.2.5+NTLM+SDPS+SSL+NLS'
The problem is:
When I do fetchmail -k... I got error like:
Code:

fetchmail: reading message rax2000@mail.hot.ee:53 of 55 (13138 octets) fetchmail: SMTP error: 553 5.1.2 <KPFPVIGZ@yahoo.com>... Unrecognized host name yahoo.com
fetchmail:  not flushed

And those errors are for all my messages... different domains... yahoo.com, hotmail.com, msn.com etc etc.
How is it possible to fix that?
Here is my fetchmailrc too:
Code:

defaults
  user root
  set daemon 30
  set logfile /root/Fetchmail/fmlog
  set no syslog

poll mail.hot.ee with protocol pop3 no dns
user leet2005 is root here 
 password "leetpass"

That 'no dns' option is added after doing some search on google, but it still did not help.
So if someone could help me, I would appreciate it.
Big thanks. :)

scowles 01-22-2005 09:57 AM

Because fetchmail is reporting an SMTP based error, I think this is whats happening: You are fetching an e-mail that was addressed to, lets say, leet2005@yahoo.com. Fetchmail, by default, will hand this e-mail off to the local MTA running on this box. The local MTA (like sendmail) is properly rejecting this e-mail bacause it does not yet undestand (though aliases or virtuals) that its responsilbe for e-mails addressed to yahoo.com.

So if I'm correct, then one of the following two options should fix your problem.

1) Configure fetchmail to NOT handoff each e-mail to the MTA (like sendmail) on your box. i.e. --mda option.
2) Configure your MTA by either adding an alias or vitual user pointing to the proper mailbox (root in your case) for each account you are pulling.

fusebox 01-22-2005 01:54 PM

Quote:

Originally posted by scowles
1) Configure fetchmail to NOT handoff each e-mail to the MTA (like sendmail) on your box. i.e. --mda option.

So what You mean is that fetchmail shall give mails strightly to procmail after fetching?


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