LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-22-2005, 07:09 AM   #1
fusebox
LQ Newbie
 
Registered: Apr 2003
Location: Estonia
Distribution: Debian and Gentoo
Posts: 14

Rep: Reputation: 0
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.

Last edited by fusebox; 01-22-2005 at 07:25 AM.
 
Old 01-22-2005, 09:57 AM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
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.
 
Old 01-22-2005, 01:54 PM   #3
fusebox
LQ Newbie
 
Registered: Apr 2003
Location: Estonia
Distribution: Debian and Gentoo
Posts: 14

Original Poster
Rep: Reputation: 0
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Please Help Me with Fetchmail... JawzofDETH Fedora 2 04-22-2005 05:03 AM
Problems with Postfix+fetchmail Slackware 10 gritVA Slackware 2 08-13-2004 03:08 PM
Problems with FETCHMAIL shoombool_tala Linux - Software 3 07-16-2004 08:11 AM
Problems with sendmail and fetchmail pamide Linux - Newbie 6 09-12-2001 02:18 PM
Fetchmail philfighter Linux - Networking 3 08-02-2001 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration