View previous topic :: View next topic |
Author |
Message |
brkdncr Tux's lil' helper

Joined: 02 Aug 2003 Posts: 92
|
Posted: Mon Aug 04, 2003 5:12 am Post subject: Probs with postfix |
|
|
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 |
|
 |
M_Kelder n00b

Joined: 02 Aug 2003 Posts: 16 Location: Netherlands
|
Posted: Mon Aug 04, 2003 11:03 am Post subject: |
|
|
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 |
|
Back to top |
|
 |
psp Tux's lil' helper


Joined: 06 Aug 2002 Posts: 120 Location: Cape Town, South Africa
|
Posted: Mon Aug 04, 2003 12:27 pm Post subject: |
|
|
Also check your /etc/resolv.conf file. |
|
Back to top |
|
 |
brkdncr Tux's lil' helper

Joined: 02 Aug 2003 Posts: 92
|
Posted: Wed Aug 06, 2003 3:20 am Post subject: |
|
|
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 |
|
 |
psp Tux's lil' helper


Joined: 06 Aug 2002 Posts: 120 Location: Cape Town, South Africa
|
Posted: Wed Aug 06, 2003 7:45 am Post subject: |
|
|
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 |
|
 |
|