smtpd[21307]: warning: valid_hostname: misplaced delimiter: .
-
- Posts: 35
- Joined: 2020/05/05 19:44:15
smtpd[21307]: warning: valid_hostname: misplaced delimiter: .
I get the above warning in /var/log/messages - but only from time to time.
Our hostname is chogolisa.akadia.com and correctly added to main.cf
Does anybody knows what the message is. Besides this Postfix works correctly.
Our hostname is chogolisa.akadia.com and correctly added to main.cf
Does anybody knows what the message is. Besides this Postfix works correctly.
Re: smtpd[21307]: warning: valid_hostname: misplaced delimiter: .
Show us the log line in question along with a few lines on either side of it for context.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 35
- Joined: 2020/05/05 19:44:15
Re: smtpd[21307]: warning: valid_hostname: misplaced delimiter: .
Sep 29 16:23:22 chogolisa postfix/smtpd[15710]: timeout after RCPT from unknown[14.120.125.195]
Sep 29 16:23:22 chogolisa postfix/smtpd[15710]: disconnect from unknown[14.120.125.195] ehlo=1 mail=1 rcpt=0/1 commands=2/3
Sep 29 16:25:46 chogolisa postfix/submission/smtpd[16091]: connect from 187-25-225-215.3g.claro.net.br[187.25.225.215]
Sep 29 16:25:46 chogolisa postfix/submission/smtpd[16091]: disconnect from 187-25-225-215.3g.claro.net.br[187.25.225.215] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 29 16:28:22 chogolisa postfix/anvil[15712]: statistics: max connection rate 1/60s for (smtp:14.120.125.195) at Sep 29 16:18:22
Sep 29 16:28:22 chogolisa postfix/anvil[15712]: statistics: max connection count 1 for (smtp:14.120.125.195) at Sep 29 16:18:22
Sep 29 16:28:22 chogolisa postfix/anvil[15712]: statistics: max cache size 1 at Sep 29 16:18:22
Sep 29 16:29:50 chogolisa postfix/smtpd[16293]: connect from unknown[219.133.248.6]
Sep 29 16:29:51 chogolisa postfix/smtpd[16293]: NOQUEUE: reject: RCPT from unknown[219.133.248.6]: 450 4.7.25 Client host rejected: cannot find your hostname, [219.133.248.6]; from=<sales02@tradepro5369.net> to=<christoph.gaechter@akadia.com> proto=ESMTP helo=<mail.port1029.com>
Sep 29 16:29:53 chogolisa postfix/smtpd[16302]: warning: valid_hostname: misplaced delimiter: .
Sep 29 16:29:53 chogolisa postfix/smtpd[16302]: connect from unknown[117.184.199.36]
Sep 29 16:29:54 chogolisa postfix/smtpd[16302]: NOQUEUE: reject: RCPT from unknown[117.184.199.36]: 450 4.7.25 Client host rejected: cannot find your hostname, [117.184.199.36]; from=<deputygov@resbank.co.za> to=<martin.zahn@akadia.com> proto=ESMTP helo=<mail.cntrust.info>
Sep 29 16:23:22 chogolisa postfix/smtpd[15710]: disconnect from unknown[14.120.125.195] ehlo=1 mail=1 rcpt=0/1 commands=2/3
Sep 29 16:25:46 chogolisa postfix/submission/smtpd[16091]: connect from 187-25-225-215.3g.claro.net.br[187.25.225.215]
Sep 29 16:25:46 chogolisa postfix/submission/smtpd[16091]: disconnect from 187-25-225-215.3g.claro.net.br[187.25.225.215] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 29 16:28:22 chogolisa postfix/anvil[15712]: statistics: max connection rate 1/60s for (smtp:14.120.125.195) at Sep 29 16:18:22
Sep 29 16:28:22 chogolisa postfix/anvil[15712]: statistics: max connection count 1 for (smtp:14.120.125.195) at Sep 29 16:18:22
Sep 29 16:28:22 chogolisa postfix/anvil[15712]: statistics: max cache size 1 at Sep 29 16:18:22
Sep 29 16:29:50 chogolisa postfix/smtpd[16293]: connect from unknown[219.133.248.6]
Sep 29 16:29:51 chogolisa postfix/smtpd[16293]: NOQUEUE: reject: RCPT from unknown[219.133.248.6]: 450 4.7.25 Client host rejected: cannot find your hostname, [219.133.248.6]; from=<sales02@tradepro5369.net> to=<christoph.gaechter@akadia.com> proto=ESMTP helo=<mail.port1029.com>
Sep 29 16:29:53 chogolisa postfix/smtpd[16302]: warning: valid_hostname: misplaced delimiter: .
Sep 29 16:29:53 chogolisa postfix/smtpd[16302]: connect from unknown[117.184.199.36]
Sep 29 16:29:54 chogolisa postfix/smtpd[16302]: NOQUEUE: reject: RCPT from unknown[117.184.199.36]: 450 4.7.25 Client host rejected: cannot find your hostname, [117.184.199.36]; from=<deputygov@resbank.co.za> to=<martin.zahn@akadia.com> proto=ESMTP helo=<mail.cntrust.info>
Re: smtpd[21307]: warning: valid_hostname: misplaced delimiter: .
What doi you get from grep myhostname /etc/postfix/main.cf ?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 35
- Joined: 2020/05/05 19:44:15
Re: smtpd[21307]: warning: valid_hostname: misplaced delimiter: .
grep myhostname /usr/local/postfix/etc/main.cf
# The myhostname parameter specifies the internet hostname of this
# from gethostname(). $myhostname is used as a default value for many
# myhostname = host.domain.tld
# myhostname = virtual.domain.tld
myhostname = chogolisa.akadia.com
# The default is to use $myhostname minus the first component.
# mail appears to come from. The default is to append $myhostname,
# myorigin = $myhostname
# inet_interfaces = $myhostname
# inet_interfaces = $myhostname, localhost
# The default is $myhostname + localhost.$mydomain. On a mail domain
# mydestination = $myhostname, localhost.$mydomain, localhost
# mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
# mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
mydestination = $myhostname, localhost.$mydomain, $mydomain
# You MUST specify $myhostname at the start of the text. That is an
# smtpd_banner = $myhostname ESMTP $mail_name
# smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
# The myhostname parameter specifies the internet hostname of this
# from gethostname(). $myhostname is used as a default value for many
# myhostname = host.domain.tld
# myhostname = virtual.domain.tld
myhostname = chogolisa.akadia.com
# The default is to use $myhostname minus the first component.
# mail appears to come from. The default is to append $myhostname,
# myorigin = $myhostname
# inet_interfaces = $myhostname
# inet_interfaces = $myhostname, localhost
# The default is $myhostname + localhost.$mydomain. On a mail domain
# mydestination = $myhostname, localhost.$mydomain, localhost
# mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
# mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
mydestination = $myhostname, localhost.$mydomain, $mydomain
# You MUST specify $myhostname at the start of the text. That is an
# smtpd_banner = $myhostname ESMTP $mail_name
# smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
Re: smtpd[21307]: warning: valid_hostname: misplaced delimiter: .
Got any entries in /etc/hosts other than the ones for localhost?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 35
- Joined: 2020/05/05 19:44:15
Re: smtpd[21307]: warning: valid_hostname: misplaced delimiter: .
root@chogolisa:/etc> cat hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
84.253.50.195 chogolisa chogolisa.akadia.com
84.253.50.201 kamet kamet.akadia.com
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
84.253.50.195 chogolisa chogolisa.akadia.com
84.253.50.201 kamet kamet.akadia.com
Re: smtpd[21307]: warning: valid_hostname: misplaced delimiter: .
I'm out of ideas though your hosts files entries seem to be the wrong way round. The lines are meant to be "ip.add.re.ss fqdn alias" and yours are "ip.add.re.ss alias fqdn". I doubt if that would make a difference but you never know.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 35
- Joined: 2020/05/05 19:44:15
Re: smtpd[21307]: warning: valid_hostname: misplaced delimiter: .
Thank you TREVOR
I corrected the /etc/hosts file as follows:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
84.253.50.195 chogolisa.akadia.com chogolisa
84.253.50.201 kamet.akadia.com kamet
root@chogolisa:/var/log>
I corrected the /etc/hosts file as follows:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
84.253.50.195 chogolisa.akadia.com chogolisa
84.253.50.201 kamet.akadia.com kamet
root@chogolisa:/var/log>