Ok I know this has been posted beofre in various instances
I have tried the /etc into the postfix folder (i do run as root do that
did not make any difference)
so i will start from the top
i run a multi ip address network
internet on one interface in the forground (65.39.148.0/26) this is on
the default gateway and seem to resolve ok.
and a private network(s) in the back ground (10.220.0.0/16) this is
where the errors occur
I run 4 dns bind servers and am in control of the forwards and reverses
fully.
the test that i am running is a simple telnet on the local server
(10.220.0.16)
so when i
telnet 10.220.0.16 25
i get the connect ok
and get the following in the logs (when connecting from 10.220.0.6)
I get :
www-1 11-05 06:24:55 {postfix.in/smtpd[56748] (1239357351)
warning: hostname syslog-local.scom.ca does not resolve to address
10.220.0.6
www-1 11-05 06:24:55 {postfix.in/smtpd[56748] (1239357352) connect
from unknown[10.220.0.6]
www-1 11-05 06:24:55 {postfix.in/smtpd[56748] (1239357353)
smtp_stream_setup: maxtime=300 enable_deadline=0
www-1 11-05 06:24:55 {postfix.in/smtpd[56748] (1239357354) >
unknown[10.220.0.6]: 220 www.scom.ca ESMTP Postfix
www-1 11-05 06:24:55 {postfix.in/smtpd[56748] (1239357355)
xsasl_cyrus_server_create: SASL service=smtp, realm=www.scom.ca
www-1 11-05 06:24:55 {postfix.in/smtpd[56748] (1239357356)
name_mask: noanonymous
www-1 11-05 06:24:59 {postfix.in/smtpd[56748] (1239357382) <
unknown[10.220.0.6]: quit
www-1 11-05 06:24:59 {postfix.in/smtpd[56748] (1239357383) >
unknown[10.220.0.6]: 221 2.0.0 Bye
please note the forward / reverses do return correctly at the command prompt
# nslookup 10.220.0.6
6.0.220.10.in-addr.arpa name = syslog-local.scom.ca.
[06:48:16] www.scom.ca [root:0] ~
# nslookup 10.220.0.16
16.0.220.10.in-addr.arpa name = www-local.scom.ca.
[06:48:24] www.scom.ca [root:0] ~
# nslookup syslog-local.scom.ca.
Server: 10.220.0.16
Address: 10.220.0.16#53
Name: syslog-local.scom.ca
Address: 10.228.0.6
[06:48:32] www.scom.ca [root:0] ~
# nslookup www-local.scom.ca.
Server: 10.220.0.16
Address: 10.220.0.16#53
Name: www-local.scom.ca
Address: 10.220.0.16
and
# cat /etc/resolv.conf
search scom.ca.
domain scom.ca.
search scom.ca.
options timeout:2
options attempts:2
nameserver 10.220.0.16
nameserver 10.220.0.2
nameserver 65.39.148.16
nameserver 65.39.148.2
i get the warning that the ip address does not resolve to the hostname
(above)
when it should
i am running
postfix-3.6-20200523 (with sasl)
&
bind-9.14.3
on FreeBSD 12.1
also on another note that when i try to connect locally i get
[peer1.scom.ca6] (when connecting from 10.220.0.16)
[peer1.scom.ca8] (when connecting from 10.220.0.18)
[peer1.scom.ca9] (when connecting from 10.220.0.19)
all to 10.220.0.16
i corrected for these my remapping the text in the logging (this is all
used to track logins, bad logins etc)
I can compile in C etc if there is a bug I just need to know where to
look???
all dns options in main.cf are defaulted
main.cf.default:disable_dns_lookups = no
main.cf.default:lmtp_host_lookup = dns
main.cf.default:smtp_host_lookup = dns
any help would be appreciated
--
Happy Saturday !!!
Thanks - paul
Paul Kudla
Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street South
Whitby, Ontario - Canada
L1N 4S3
Toronto 416.642.7266
Main 1.866.411.7266
Fax 1.888.892.7266
Email [email protected]