Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-27-2004, 06:52 AM   #1
LQ Newbie
Registered: Jul 2001
Posts: 16

Rep: Reputation: 0

I have setup postfix to receive mail on port 25 and I am getting mail fine from my ISP. Now I'm setting up fetchmail to grab mail from another account using POP3.
Fetchmail grabs the mail from the account fine and sends it to the SMTP port where postfix accepts it fine.
The problem I have is that the mail never hits my mailbox. When I look at the logs I can see it's trying (correctly?) to send mail to but it can't resolve to my linux box.
My resolv.conf points at my router (which presumably forwards requests to my ISPs DNS servers.
Do I need to set up DNS on my linux box or is there a simpler way I can do this??

Second question - How (and What) do I need to configre to allow the sending of mail from my linux box (ether via my pop3 account which provides SMTP for outgoing mail or my ISP smtp account)

Thanks for your help

Rats, I meant this to go in the Networking Forum, is there anyway I can move it??

Last edited by DavidHayes; 01-27-2004 at 06:54 AM.
Old 01-27-2004, 04:40 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
I've moved the thread - next time if you use the "Report this post to a moderator" link below the post we will get there quicker.

Try adding "" beside the loopback IP in your hosts file.

As for sending mail you can only use SMPT - pop3 does not do this.
Old 01-28-2004, 03:32 AM   #3
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 32
ok, I believe you could also use the localhost ip of
postfix is probably trying to resolve through your dns isp servers via your router.
do you have a registered DNS? Are you running a mail server for a domain?
cause then you would have to make the change as david_ross said, if not, then just changing it to should work and forego the dns lookup.
Old 01-28-2004, 06:31 AM   #4
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
You can always make this domain available as "virtual domain" and create a alias with to your real account or put it directly into your mailbox.
Old 01-29-2004, 01:51 PM   #5
LQ Newbie
Registered: Jul 2001
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for your help, adding the domain to was the key! I'm now having a similar problem. I've set relayhost to and I'm getting the same error message.
I tried setting relayhost to the ip address but that didn't work either. I am running postfix chrooted on Debian if that makes any difference.
Thanks again


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
postfix - fetchmail error varun_saa Mandriva 4 09-25-2014 05:07 AM
postfix - procmail, fetchmail varun_saa Mandriva 3 09-11-2005 12:53 AM
Spam+Postfix+Fetchmail DavidHayes Linux - Software 0 03-29-2004 09:31 AM
Postfix+fetchmail+DNS? DavidHayes Linux - Networking 2 01-27-2004 07:50 AM
postfix + cyrus + fetchmail jim_boy Linux - Software 2 02-19-2003 02:54 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:49 PM.

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