View previous topic :: View next topic |
Author |
Message |
hama n00b
Joined: 17 Jan 2004 Posts: 42
|
Posted: Mon Feb 16, 2004 3:14 pm Post subject: What wrong ? |
|
|
In /var/log/everything/current:
Feb 16 16:41:19 [postfix/qmgr] 24921C2761: to=<postmaster@_HOSTNAME_.mydomain.net>, relay=none, delay=240077, status=deferred (Name service error for name=_hostname_.mydomain.net type=MX: Host not found, try again)
Feb 16 16:41:19 [postfix/qmgr] 2C92E20B7F: to=<root@_HOSTNAME_.mydomain.net>, relay=none, delay=55001, status=deferred (Name service error for name=_hostname_.mydomain.net type=MX: Host not found, try again)
Feb 16 17:00:02 [postfix/smtp] 9C48121999: to=<postmaster@_HOSTNAME_.mydomain.net>, relay=none, delay=21270, status=deferred (Name service error for name=_hostname_.mydomain.net type=MX: Host not found, try again)
Feb 16 17:00:02 [postfix/smtp] 50B26C68AC: to=<postmaster@_HOSTNAME_.mydomain.net>, relay=none, delay=81560, status=deferred (Name service error for name=_hostname_.mydomain.net type=MX: Host not found, try again)
I can't find where is "_hostname_" in configfile;
# grep -r _hostname_ /etc
and
# grep -r _HOSTNAME_ /etc
but I can't find it. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Mon Feb 16, 2004 3:42 pm Post subject: |
|
|
have you configured the host names in /etc/postfix/main.cf correctly? |
|
Back to top |
|
|
Janne Pikkarainen Veteran
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Mon Feb 16, 2004 5:15 pm Post subject: |
|
|
Today I saw this same message when I emerged mailx. The Gentoo installation in question has some pretty tight compiler settings and I suspect those messed up made my mailx installation. I didn't have time to debug it, but anyway the very same version of mailx installed flawlessly to another computer, which has more normal compiler flags.
So I suspect that due the compiler flags that _HOSTNAME_ thing isn't getting parsed as it usually is.
Edit: Whoops, it was the Postfix queue manager and not mail command which was throwing the error. Maybe the same problem I just described still applies and calming down the compiler flags could make all work? _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
|
RoeR Tux's lil' helper
Joined: 11 Aug 2002 Posts: 99 Location: Vienna, Austria
|
Posted: Fri Mar 19, 2004 11:50 pm Post subject: |
|
|
well, i had the same problem but editing the
Quote: | /etc/ssmtp/ssmtp.conf |
file and setting _HOSTNAME_ to my qualified hostname worked well
allthough i dont have a "real" smtp app here - this is my working machine and mailx is more than enough to send the most important messages
maybe that helps _________________ Unix is user friendly, it's just very picky about who its friends are. |
|
Back to top |
|
|
|
|
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
|
|