Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 48126

Re: Blacklist/Block source spam

$
0
0
ZhangHuangbin wrote:

Blacklisting is provided by Policyd, and it's placed after 'permit_sasl_authenticated' in Postfix parameter 'smtpd_recipient_restrictions':

smtpd_recipient_restrictions = .., permit_sasl_authenticated, ..., check_policy_service inet:127.0.0.1:10031

So mail sent by authenticated user will be passed before applying blacklist provided by Policyd.

Ok...

posa68 wrote:

- Then I suspend whole domain
From Dashboard: List all domain -> select the domain wich spammer account belong to -> Action: disable

Could you please show me file content of /etc/postfix/mysql/sender_login_maps.cf? Please remove/hide password before posting.

user        = vmail
password    = ***********
hosts       = 127.0.0.1
port        = 3306
dbname      = vmail
query       = SELECT mailbox.username FROM mailbox,domain WHERE mailbox.username='%s' AND mailbox.domain='%d' AND mailbox.domain=domain.domain AND mailbox.enablesmtp=1 AND mailbox.active=1 AND domain.backupmx=0 AND domain.active=1


Viewing all articles
Browse latest Browse all 48126

Trending Articles