Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

My unqualified host name (servername) unknown; sleeping for retry

385 views
Skip to first unread message

Ian

unread,
Nov 9, 2011, 3:33:20 AM11/9/11
to
Hi

I'm trying to set up an environment using postfix without dns.

For hostnames the server will have only hostname01, hostname02 etc (i.e. not
even qualified by .localdomain)

At the moment it's not possible to change this hostname setup (because of 3rd
party software)

In my test environment, the postfix install doesn't complain, but in the
production environment, I get the "unqualified host name (xxxxxxxx) unknown;
sleeping for retry", *but* the mails get delivered OK.

I'd like to try and get rid of these errors as, in the production environment it
leads to a delay in starting up postfix and in sending the mails from each
server to the central mail server.

Below is all my /etc/postfix/main.cf contains:

disable_dns_lookups = yes

# stop postfix from checking mail.aliases
alias_maps = hash:/etc/aliases

#myorigin = $mydomain
myorigin = $myhostname

# appending .domain is the MUA's job.
append_dot_mydomain = no

myhostname = centos56-ian-test-01
mydestination = $myhostname, localhost.$mydomain, localhost

[root@centos56-ian-test-01 ~]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
10.255.xx.xxx kanshi kanshi.localdomain
10.255.xx.xxx centos56-ian-test-01

more /etc/aliases
# Person who should get root's mail
root: ian@kanshi

As I say, it's not a non-delivery problem, it's a slow startup problem, which
isn't important now, but might possibly be in the future.

Any ideas would be great.

Thanks

Ian

Ian

unread,
Nov 9, 2011, 3:35:54 AM11/9/11
to
Sorry I forgot to mention my postfix version: It's postfix-2.3.3-2.3.el5_6 on
Centos 5.6

Thanks

Wietse Venema

unread,
Nov 9, 2011, 6:49:01 AM11/9/11
to
Ian:
> In my test environment, the postfix install doesn't complain, but in the
> production environment, I get the "unqualified host name (xxxxxxxx) unknown;
> sleeping for retry", *but* the mails get delivered OK.

That is NOT a Postfix error message.

You have multiple MTAs on one machine, perhaps Sendmail.

Wietse

Mike Woods

unread,
Nov 9, 2011, 7:15:51 AM11/9/11
to
That particular message is indeed sendmail.



-- Sent from my Palm Pre


Ian

unread,
Nov 9, 2011, 8:59:00 PM11/9/11
to
Oops! Mail systems work much better when postfix isn't being interfered with by
sendmail, don't they?

Sorry about that. What incredibly shoddy work!

I had managed to forget to uninstall sendmail on both my test environment *AND*
production environment.

Thanks for the help, Wietse & Mike. Much appreciated.

Ian

Ian

unread,
Nov 10, 2011, 3:30:29 AM11/10/11
to
> i do you stop the daemon sendmail with the standard script systeme and start
> postfix daemon
> or use the toolkit to your system configuration

if you use centos or redhat:

stop sendmail:
service sendmail stop

remove sendmail from system
rpm -e sendmail

start postfix
service postfix start

in future please send postfix related messages to the list if you're a list
member :)

fakessh @

unread,
Nov 10, 2011, 5:45:33 AM11/10/11
to
if you use related software for configuration system
centos redhat
install the package system-config\*
and run
system-switch-mail-nox
--
 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x092164A7
 gpg --keyserver pgp.mit.edu --recv-key 092164A7

 http://urlshort.eu fakessh @
0 new messages