Page 1 of 1

What criteria does EFA use for rejecting incoming email connections?

Posted: 14 May 2016 19:43
by ovizii
I've only been using it for about a week and its an awesome tool but unfortunately it lacks any kind of info regarding rejections.

I've found the graphs for the MAilgraph stats: GUI => TOOLS/LINKS => Mailgraphs Stats and saw the huge number of rejected emails. After a quick look at the logs I see it uses spamhaus to reject clients, what else does it use?

and talking about the mailgraphs stats, seeing that I am only using EFA to filter incoming emails, how come its says:
SENT: 56
RECEIVED: 95

I would have expected the sent number to be higher than received as I think it also sends me warnings and daily reports and emails to recipients telling them their email was filtered... so how come sent is lower than received?

Re: What criteria does EFA use for rejecting incoming email connections?

Posted: 14 May 2016 21:09
by shawniverson
Look in /etc/MailScanner/MailScanner.conf and /etc/postfix/main.cf for RBLs in use.

I think there is an active bug/PR for this over at the MailWatch project

Re: What criteria does EFA use for rejecting incoming email connections?

Posted: 17 May 2016 08:28
by ovizii
thanks. I noticed we are using postfix 3.0.4 so I exchanged reject_invalid_hostname with reject_invalid_helo_hostname according to: http://www.postfix.org/postconf.5.html# ... o_hostname

I also noticed:
smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:2501
and I cannot see anything running on that port :?:

Re: What criteria does EFA use for rejecting incoming email connections?

Posted: 17 May 2016 16:00
by pdwalker
That should be the SQLGrey perl daemon.

Code: Select all

[user@efa postfix]$ netstat -plutn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 127.0.0.1:2501              0.0.0.0:*                   LISTEN      2238/perl

[user@efa postfix]$ ps -ef |grep 2238
sqlgrey   2238     1  0 Apr11 ?        00:00:58 /usr/bin/perl -w /usr/sbin/sqlgrey -d
root      5363  4693  0 23:58 pts/0    00:00:00 grep 2238

Re: What criteria does EFA use for rejecting incoming email connections?

Posted: 17 May 2016 16:29
by ovizii
ah, I see, looks all god then, thanks!