problem after installation with Mailscaner
Posted: 07 Jan 2022 15:29
Hi
After instalations I get error in postfix log like:
Jan 7 16:15:12 smtp-efa1 postfix/smtpd[54739]: connect from mail134.domain.ltd [94.xxx.xxx.xxx]
Jan 7 16:15:12 smtp-efa1 postfix/smtpd[54739]: warning: connect to Milter service inet:127.0.0.1 Connection refused
Jan 7 16:15:12 smtp-efa1 postfix/smtpd[54739]: NOQUEUE: milter-reject: CONNECT from mail134.domain.ltd [94.xxx.xxx.xxx]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Jan 7 16:15:12 smtp-efa1 postfix/smtpd[54739]: NOQUEUE: milter-reject: EHLO from mail134.domain.ltd [94.xxx.xxx.xxx]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<mail134.domain.ltd>
Jan 7 16:15:12 smtp-efa1 postfix/smtpd[54739]: NOQUEUE: milter-reject: MAIL from mail134.domain.ltd [94.xxx.xxx.xxx]: 451 4.7.1 Service unavailable - try again later; from=<root@mail134.domain.ltd> proto=ESMTP helo=<mail134.domain.ltd>
My os is a Centos-8x in vmware
ps -aux
52565 ? S 0:00 MailWatch SQL
52567 ? Ss 0:00 MailScanner: master process sleeping
52568 ? S 0:01 MailScanner: waiting for messages
52614 ? S 0:01 MailScanner: waiting for messages
52730 ? S 0:01 MailScanner: waiting for messages
52905 ? S 0:01 MailScanner: waiting for messages
in netstat I canoot find 33333
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 44598/master
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 15066/perl
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 8559/httpd
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 37544/pdns_recursor
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1601/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 44598/master
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 8559/httpd
tcp 0 0 0.0.0.0:222 0.0.0.0:* LISTEN 1601/sshd
tcp 0 0 127.0.0.1:11553 0.0.0.0:* LISTEN 52565/MailWatch SQL
tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 1110/rsync
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1831/mysqld
tcp6 0 0 :::587 :::* LISTEN 44598/master
tcp6 0 0 :::10000 :::* LISTEN 15066/perl
tcp6 0 0 :::22 :::* LISTEN 1601/sshd
tcp6 0 0 :::25 :::* LISTEN 44598/master
tcp6 0 0 :::222 :::* LISTEN 1601/sshd
tcp6 0 0 :::873 :::* LISTEN 1110/rsync
udp 0 0 0.0.0.0:10000 0.0.0.0:* 15066/perl
udp 0 0 127.0.0.1:53 0.0.0.0:* 37544/pdns_recursor
udp 0 0 127.0.0.1:323 0.0.0.0:* 1062/chronyd
In Mailscanner.conf
grep -ir "3333" /etc/*
/etc/firewalld/zones/public.xml: <port port="33333" protocol="tcp"/>
/etc/MailScanner/MailScanner.conf:Milter Port = 33333
/etc/MailScanner/MailScanner.conf.rpmsave:Milter Port = 33333
/etc/postfix/main.cf:smtpd_milters = inet:127.0.0.1:33333
Any idea ?
After instalations I get error in postfix log like:
Jan 7 16:15:12 smtp-efa1 postfix/smtpd[54739]: connect from mail134.domain.ltd [94.xxx.xxx.xxx]
Jan 7 16:15:12 smtp-efa1 postfix/smtpd[54739]: warning: connect to Milter service inet:127.0.0.1 Connection refused
Jan 7 16:15:12 smtp-efa1 postfix/smtpd[54739]: NOQUEUE: milter-reject: CONNECT from mail134.domain.ltd [94.xxx.xxx.xxx]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Jan 7 16:15:12 smtp-efa1 postfix/smtpd[54739]: NOQUEUE: milter-reject: EHLO from mail134.domain.ltd [94.xxx.xxx.xxx]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<mail134.domain.ltd>
Jan 7 16:15:12 smtp-efa1 postfix/smtpd[54739]: NOQUEUE: milter-reject: MAIL from mail134.domain.ltd [94.xxx.xxx.xxx]: 451 4.7.1 Service unavailable - try again later; from=<root@mail134.domain.ltd> proto=ESMTP helo=<mail134.domain.ltd>
My os is a Centos-8x in vmware
ps -aux
52565 ? S 0:00 MailWatch SQL
52567 ? Ss 0:00 MailScanner: master process sleeping
52568 ? S 0:01 MailScanner: waiting for messages
52614 ? S 0:01 MailScanner: waiting for messages
52730 ? S 0:01 MailScanner: waiting for messages
52905 ? S 0:01 MailScanner: waiting for messages
in netstat I canoot find 33333
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 44598/master
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 15066/perl
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 8559/httpd
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 37544/pdns_recursor
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1601/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 44598/master
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 8559/httpd
tcp 0 0 0.0.0.0:222 0.0.0.0:* LISTEN 1601/sshd
tcp 0 0 127.0.0.1:11553 0.0.0.0:* LISTEN 52565/MailWatch SQL
tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 1110/rsync
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1831/mysqld
tcp6 0 0 :::587 :::* LISTEN 44598/master
tcp6 0 0 :::10000 :::* LISTEN 15066/perl
tcp6 0 0 :::22 :::* LISTEN 1601/sshd
tcp6 0 0 :::25 :::* LISTEN 44598/master
tcp6 0 0 :::222 :::* LISTEN 1601/sshd
tcp6 0 0 :::873 :::* LISTEN 1110/rsync
udp 0 0 0.0.0.0:10000 0.0.0.0:* 15066/perl
udp 0 0 127.0.0.1:53 0.0.0.0:* 37544/pdns_recursor
udp 0 0 127.0.0.1:323 0.0.0.0:* 1062/chronyd
In Mailscanner.conf
grep -ir "3333" /etc/*
/etc/firewalld/zones/public.xml: <port port="33333" protocol="tcp"/>
/etc/MailScanner/MailScanner.conf:Milter Port = 33333
/etc/MailScanner/MailScanner.conf.rpmsave:Milter Port = 33333
/etc/postfix/main.cf:smtpd_milters = inet:127.0.0.1:33333
Any idea ?