After some resarching I've decided to use eFa between webmin/virtualmin SMTP to SMTP relay server. I've tried couple different things but it didn't worked.
Maillog(red's are smtp relay server):
This is what I've imagined.
Can anyone tell me which steps I need to follow in order to get this worked. I'll reinstall eFa.
So you only want to use eFa for outbound filtering but it must be send to a different relay host? (no incoming traffic?)
Than the only thing you should do is configure your outbound mail relay and grant your mailserver relay access nothing more..
in eFa-Configure option 7 (Mail Settings) -> option 1( Outbound mail relay)
And there configure your local mailserver IPs
and then in eFa-Configure option 7 (Mail Settings) -> option 2(Outbound smarthost) enable your smarthost IP to which it should send all mail and that is it.
But my primary question would be why you want to do it this way, it is a bit 'weird' to create a setup like this..
(can't really see the use case for it..)
May 21 17:17:39 efa postfix/smtpd[5121]: NOQUEUE: milter-reject: CONNECT from mailer.*****************[192.168.2.53]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
May 21 17:17:39 efa postfix/smtpd[5121]: NOQUEUE: milter-reject: EHLO from mailer.*****************[192.168.2.53]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<mailer.*****************>
May 21 17:17:39 efa postfix/smtpd[5121]: NOQUEUE: milter-reject: MAIL from mailer.*****************[192.168.2.53]: 451 4.7.1 Service unavailable - try again later; from=<test@*****************.com> proto=ESMTP helo=<mailer.*****************>
May 21 17:17:39 efa postfix/smtpd[5121]: disconnect from mailer.*****************[192.168.2.53] ehlo=1 starttls=0/1 mail=0/1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=3/7
May 21 17:17:54 efa postfix/smtpd[5121]: connect from mailer.*****************[192.168.2.53]
May 21 17:17:54 efa postfix/smtpd[5121]: warning: connect to Milter service inet:localhost:8893: Connection refused
May 21 17:17:54 efa postfix/smtpd[5121]: NOQUEUE: milter-reject: CONNECT from mailer.*****************[192.168.2.53]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
May 21 17:17:54 efa postfix/smtpd[5121]: NOQUEUE: milter-reject: EHLO from mailer.*****************[192.168.2.53]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<mailer.*****************>
May 21 17:17:54 efa postfix/smtpd[5121]: NOQUEUE: milter-reject: MAIL from mailer.*****************[192.168.2.53]: 451 4.7.1 Service unavailable - try again later; from=<test@*****************.com> proto=ESMTP helo=<mailer.*****************>
May 21 17:17:54 efa postfix/smtpd[5121]: disconnect from mailer.*****************[192.168.2.53] ehlo=1 starttls=0/1 mail=0/1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=3/7
shawniverson wrote: 19 Jun 2020 18:26
How about opendkim and opendmarc as well?
I've restarted opendmarc it seems UP now but the issue still exist.
I've disabled the opendmarc and opendkim after that I've restarted the server. Issue not resolved