What criteria does EFA use for rejecting incoming email connections?

General eFa discussion
Post Reply
ovizii
Posts: 463
Joined: 11 May 2016 08:08

What criteria does EFA use for rejecting incoming email connections?

Post 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?
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

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

Post 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
ovizii
Posts: 463
Joined: 11 May 2016 08:08

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

Post 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 :?:
User avatar
pdwalker
Posts: 1583
Joined: 18 Mar 2015 09:16

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

Post 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
ovizii
Posts: 463
Joined: 11 May 2016 08:08

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

Post by ovizii »

ah, I see, looks all god then, thanks!
Post Reply