Hi,
Please check my reddit post first.
https://www.reddit.com/r/sysadmin/comme ... _for_mass/
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.
I can't get eFa worked between backend mail server and relay.
Re: I can't get eFa worked between backend mail server and relay.
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..)
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..)
Version eFa 4.x now available!
Re: I can't get eFa worked between backend mail server and relay.
Also, considering how much mail your system seems to be pushing, your EFA instance is going to have to be really beefy.
Let us know if you get things working.
Let us know if you get things working.
Re: I can't get eFa worked between backend mail server and relay.
Well, It didn't work. I've explained why I want to use eFa like this at my reddit post.
Code: Select all
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
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: I can't get eFa worked between backend mail server and relay.
What is the status of your milter?
Code: Select all
systemctl -l status msmilter
Re: I can't get eFa worked between backend mail server and relay.
shawniverson wrote: ↑22 May 2020 12:05 What is the status of your milter?
Code: Select all
systemctl -l status msmilter
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: I can't get eFa worked between backend mail server and relay.
How about opendkim and opendmarc as well?
Re: I can't get eFa worked between backend mail server and relay.
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
Re: I can't get eFa worked between backend mail server and relay.
I've resolved the issue from discuss in this topic: viewtopic.php?f=19&p=16381#p16381