View previous topic :: View next topic |
Author |
Message |
brkdncr Tux's lil' helper
Joined: 02 Aug 2003 Posts: 92
|
Posted: Sat Aug 02, 2003 7:21 am Post subject: postfix error |
|
|
Here is what I get
Code: |
#postfix check
postfix: fatal: gethostbyname: No such file or directory
|
What am I doing wrong? |
|
Back to top |
|
|
ichaed n00b
Joined: 30 Jul 2003 Posts: 2 Location: Denmark
|
Posted: Sat Aug 02, 2003 11:32 am Post subject: |
|
|
Hi
I had the exact same problem, I solved it by setting myhostname in /etc/postfix/main.cf |
|
Back to top |
|
|
tonycurtis n00b
Joined: 12 Jul 2003 Posts: 58
|
Posted: Sat Aug 02, 2003 12:59 pm Post subject: |
|
|
Postfix is trying to resolve a hostname into an address through gethostbyname()
but cannot do so. Check /etc/postfix/main.cf and /etc/hosts (and DNS... or wherever
you pull your hosts repositories from in /etc/nsswitch.conf) to see if you're just making
a name up somewhere.
If you don't need this installation to receive mail from the outside, set inet_interfaces to just localhost in main.cf |
|
Back to top |
|
|
brkdncr Tux's lil' helper
Joined: 02 Aug 2003 Posts: 92
|
Posted: Sat Aug 02, 2003 10:47 pm Post subject: |
|
|
Thanks, that fixed it. |
|
Back to top |
|
|
|