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

Reply via email to