Hello all,
I'm new here, this is my first question here
I'm using eFa v4 for incoming mails of multiple domains. All seems good but lately i'm strugling with an wish/issue.
I want all the rejected e-mails for rbl causes to be displayed in web interface. I don't know if its available in eFA and not enabled my me or not available at all for now.
Right now, as in every postfix, I see a message like this in /var/log/maillog:
Sep 20 14:47:07 efa4 postfix/smtpd[21229]: NOQUEUE: reject: RCPT from mailsender.com[1.1.1.1: 554 5.7.1 Service unavailable; Client host [1.1.1.1] blocked using dnsbl-1.uceprotect.net; IP 1.1.1.1 is UCEPROTECT-Level 1 listed. See http://www.uceprotect.net/rblcheck.php?ipr=1.1.1.1; from=<sender@mailsender.com> to=<mail.receiver@receiver.com> proto=ESMTP helo=<mailsender.com>
If I can tweak somehow the eFa config to redirect the output of /var/log/maillog and parse in web interface would be great and of use to a lot of us .
Thanks,
Have a good day.
HowTo show RBL rejected inbound mails in eFA web interface
-
- Posts: 3
- Joined: 06 Oct 2015 10:26
Re: HowTo show RBL rejected inbound mails in eFA web interface
Hello Viorelfmt,
You have to remove reject_rbl_client on postfix and enable then in spamassassin. On your local.cf you can use:
RCVD_IN_RP_RNBL
RCVD_IN_BRBL_LASTEXT
RCVD_IN_PSBL
RCVD_IN_BL_SPAMCOP_NET
RCVD_IN_SBL
RCVD_IN_SORBS_HTTP
RCVD_IN_SORBS_SOCKS
RCVD_IN_SORBS_WEB
RCVD_IN_XBL
RCVD_IN_PBL
Like this:
You have to remove reject_rbl_client on postfix and enable then in spamassassin. On your local.cf you can use:
RCVD_IN_RP_RNBL
RCVD_IN_BRBL_LASTEXT
RCVD_IN_PSBL
RCVD_IN_BL_SPAMCOP_NET
RCVD_IN_SBL
RCVD_IN_SORBS_HTTP
RCVD_IN_SORBS_SOCKS
RCVD_IN_SORBS_WEB
RCVD_IN_XBL
RCVD_IN_PBL
Like this:
Code: Select all
header RBL_BARRACURA eval:check_rbl('BARRACUDA','b.barracudacentral.org')
describe RBL_BARRACURA Listed in b.barracudacentral.org
score RBL_BARRACURA 5.0
header RBL_SURRIEL eval:check_rbl('SURRIEL-PSBL','psbl.surriel.com')
describe RBL_SURRIEL Listed in psbl.surriel.com
score RBL_SURRIEL 5.0
header UCE_PFSM_1 eval:check_rbl('UCEPROTECT','dnsbl-1.uceprotect.net')
describe UCE_PFSM_1 Listed in dnsbl-1.uceprotect.net
score UCE_PFSM_1 3.0
Re: HowTo show RBL rejected inbound mails in eFA web interface
what's the difference with the described at viewtopic.php?f=19&t=3393 ?