Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probs with postfix
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
brkdncr
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2003
Posts: 92

PostPosted: Mon Aug 04, 2003 5:12 am    Post subject: Probs with postfix Reply with quote

I was following the guide on the desktop setup docs.

I've opened up the ports I need, and to sum it up, I'm running my own mail server so I don't need to keep telling everyone my new email address as it changes.

I have set up:
postfix
mutt
apache
squirrelmail
php
courier-imap

The problem:

messages don't seem to get through. I think something is messed in the way my machine get's it's IP address or it's hostname/domain name, because I get a message about 127.0.0.1 being used instead of DNS name because DNS couldn't be resoved completely.

What info do you need to help me out?
Back to top
View user's profile Send private message
M_Kelder
n00b
n00b


Joined: 02 Aug 2003
Posts: 16
Location: Netherlands

PostPosted: Mon Aug 04, 2003 11:03 am    Post subject: Reply with quote

You can check the /etc/hosts file. There should be something like
Code:
127.0.0.1       localhost
127.0.0.1       localhost.localdomain
127.0.0.1       hostname
Where hostname has to be replaced by the output of
Code:
hostname
Back to top
View user's profile Send private message
psp
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2002
Posts: 120
Location: Cape Town, South Africa

PostPosted: Mon Aug 04, 2003 12:27 pm    Post subject: Reply with quote

Also check your /etc/resolv.conf file.
Back to top
View user's profile Send private message
brkdncr
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2003
Posts: 92

PostPosted: Wed Aug 06, 2003 3:20 am    Post subject: Reply with quote

psp wrote:
Also check your /etc/resolv.conf file.


Mine looks like:

Code:
nameserver 192.168.0.1


is it missing anything?
Back to top
View user's profile Send private message
psp
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2002
Posts: 120
Location: Cape Town, South Africa

PostPosted: Wed Aug 06, 2003 7:45 am    Post subject: Reply with quote

Do a quick 'dig', from your resolver, for your hostname. Is it returned correctly? Also, what happens if your set $myhostname in /etc/postfix/main.cf - If you have this set, what happens if you unset it?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum