Postfix Error
Posted: 2018/08/12 22:45:42
Dear forum, surfing I found this link to configure postfix to send notifications of Centos to Exchange but errors appear to me .. unfortunately I am not an expert in Centos .. but I would appreciate it if you can help me solve it ..
Aug 12 17:27:25 localhost postfix/cleanup[7944]: 4161680279BC: message-id=<20180812222725.4161680279BC@host.domain.tld>
Aug 12 17:27:25 localhost postfix/qmgr[7881]: 4161680279BC: from=<root@domain.tld>, size=442, nrcpt=1 (queue active)
Aug 12 17:27:55 localhost postfix/smtp[7948]: connect to 192.168.32.24[192.168.32.24]:25: Connection timed out
Aug 12 17:27:55 localhost postfix/smtp[7948]: 4161680279BC: to=<user1ctx@liteon.com>, relay=none, delay=30, delays=0.1/0.03$
I have enabled port 25:
[root@localhost nagios]# firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: ens33
sources:
services: ssh dhcpv6-client http
ports: 80/tcp 25/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
[root@localhost nagios]# systemctl status postfix.service -l
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: active (running) since dom 2018-08-12 17:26:32 -05; 18min ago
Process: 7787 ExecStop=/usr/sbin/postfix stop (code=exited, status=0/SUCCESS)
Process: 7803 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
Process: 7801 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 7799 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
Main PID: 7879 (master)
Tasks: 3
CGroup: /system.slice/postfix.service
├─7879 /usr/libexec/postfix/master -w
├─7880 pickup -l -t unix -u
└─7881 qmgr -l -t unix -u
ago 12 17:27:55 localhost.localdomain postfix/smtp[7948]: 4161680279BC: to=<user1ctx@liteon.com>, relay=none, delay=30, delays=0.1/0.03/30/0, dsn=4.4.1, status=deferred (connect to 192.168.32.24[192.168.32.24]:25: Connection timed out)
ago 12 17:31:32 localhost.localdomain postfix/qmgr[7881]: 33FB080279BE: from=<root@domain.tld>, size=442, nrcpt=1 (queue active)
ago 12 17:31:32 localhost.localdomain postfix/qmgr[7881]: 87AA180279BA: from=<root@domain.tld>, size=438, nrcpt=1 (queue active)
ago 12 17:32:02 localhost.localdomain postfix/smtp[8165]: connect to 192.168.32.24[192.168.32.24]:25: Connection timed out
ago 12 17:32:02 localhost.localdomain postfix/smtp[8165]: 33FB080279BE: to=<user1ctx@liteon.com>, relay=none, delay=2481, delays=2451/0.04/30/0, dsn=4.4.1, status=deferred (connect to 192.168.32.24[192.168.32.24]:25: Connection timed out)
ago 12 17:32:02 localhost.localdomain postfix/smtp[8166]: connect to 192.168.32.24[192.168.32.24]:25: Connection timed out
ago 12 17:32:02 localhost.localdomain postfix/smtp[8166]: 87AA180279BA: to=<user1ctx@liteon.com>, relay=none, delay=2524, delays=2494/0.03/30/0, dsn=4.4.1, status=deferred (connect to 192.168.32.24[192.168.32.24]:25: Connection timed out)
ago 12 17:36:32 localhost.localdomain postfix/qmgr[7881]: 4161680279BC: from=<root@domain.tld>, size=442, nrcpt=1 (queue active)
ago 12 17:37:02 localhost.localdomain postfix/smtp[8411]: connect to 192.168.32.24[192.168.32.24]:25: Connection timed out
ago 12 17:37:02 localhost.localdomain postfix/smtp[8411]: 4161680279BC: to=<user1ctx@liteon.com>, relay=none, delay=577, delays=547/0.02/30/0, dsn=4.4.1, status=deferred (connect to 192.168.32.24[192.168.32.24]:25: Connection timed out)
Best Regards,
Aug 12 17:27:25 localhost postfix/cleanup[7944]: 4161680279BC: message-id=<20180812222725.4161680279BC@host.domain.tld>
Aug 12 17:27:25 localhost postfix/qmgr[7881]: 4161680279BC: from=<root@domain.tld>, size=442, nrcpt=1 (queue active)
Aug 12 17:27:55 localhost postfix/smtp[7948]: connect to 192.168.32.24[192.168.32.24]:25: Connection timed out
Aug 12 17:27:55 localhost postfix/smtp[7948]: 4161680279BC: to=<user1ctx@liteon.com>, relay=none, delay=30, delays=0.1/0.03$
I have enabled port 25:
[root@localhost nagios]# firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: ens33
sources:
services: ssh dhcpv6-client http
ports: 80/tcp 25/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
[root@localhost nagios]# systemctl status postfix.service -l
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: active (running) since dom 2018-08-12 17:26:32 -05; 18min ago
Process: 7787 ExecStop=/usr/sbin/postfix stop (code=exited, status=0/SUCCESS)
Process: 7803 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
Process: 7801 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 7799 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
Main PID: 7879 (master)
Tasks: 3
CGroup: /system.slice/postfix.service
├─7879 /usr/libexec/postfix/master -w
├─7880 pickup -l -t unix -u
└─7881 qmgr -l -t unix -u
ago 12 17:27:55 localhost.localdomain postfix/smtp[7948]: 4161680279BC: to=<user1ctx@liteon.com>, relay=none, delay=30, delays=0.1/0.03/30/0, dsn=4.4.1, status=deferred (connect to 192.168.32.24[192.168.32.24]:25: Connection timed out)
ago 12 17:31:32 localhost.localdomain postfix/qmgr[7881]: 33FB080279BE: from=<root@domain.tld>, size=442, nrcpt=1 (queue active)
ago 12 17:31:32 localhost.localdomain postfix/qmgr[7881]: 87AA180279BA: from=<root@domain.tld>, size=438, nrcpt=1 (queue active)
ago 12 17:32:02 localhost.localdomain postfix/smtp[8165]: connect to 192.168.32.24[192.168.32.24]:25: Connection timed out
ago 12 17:32:02 localhost.localdomain postfix/smtp[8165]: 33FB080279BE: to=<user1ctx@liteon.com>, relay=none, delay=2481, delays=2451/0.04/30/0, dsn=4.4.1, status=deferred (connect to 192.168.32.24[192.168.32.24]:25: Connection timed out)
ago 12 17:32:02 localhost.localdomain postfix/smtp[8166]: connect to 192.168.32.24[192.168.32.24]:25: Connection timed out
ago 12 17:32:02 localhost.localdomain postfix/smtp[8166]: 87AA180279BA: to=<user1ctx@liteon.com>, relay=none, delay=2524, delays=2494/0.03/30/0, dsn=4.4.1, status=deferred (connect to 192.168.32.24[192.168.32.24]:25: Connection timed out)
ago 12 17:36:32 localhost.localdomain postfix/qmgr[7881]: 4161680279BC: from=<root@domain.tld>, size=442, nrcpt=1 (queue active)
ago 12 17:37:02 localhost.localdomain postfix/smtp[8411]: connect to 192.168.32.24[192.168.32.24]:25: Connection timed out
ago 12 17:37:02 localhost.localdomain postfix/smtp[8411]: 4161680279BC: to=<user1ctx@liteon.com>, relay=none, delay=577, delays=547/0.02/30/0, dsn=4.4.1, status=deferred (connect to 192.168.32.24[192.168.32.24]:25: Connection timed out)
Best Regards,