Page 1 of 1

Can i ignore user or mailbox when RT_AUTHRELAY_LIMIT is reached?

Posted: 09 Dec 2017, 12:40
by postcd
Hello,

Can i ignore user or mailbox when RT_AUTHRELAY_LIMIT is reached?

BACKGROUND:
i am sending an e-mail from a PHP script from server A from a domain protected by cloudflare. The e-mail is sent from a PHP script via SMTP which is locared on server B

on server B is CSF
RT_AUTHRELAY_ALERT = on
RT_AUTHRELAY_LIMIT = 49
RT_AUTHRELAY_BLOCK = 1800

and i am receiving frequent e-mails:
Type: AUTHRELAY, Remote IP - iphere (GB/United Kingdom/host.name.here)
Count: 50 emails relayed
Blocked: Temporary Block

i tried to ignore user/e-mail in csf.mignore file, but this file is probably not for AUTHRELAY but for LOCALRELAY, so it is not counted and user is NOT ignored :-(
$ cat /etc/csf/csf.mignore
# ....
# The following is a list of usernames and local IP addresses that
# RT_LOCALRELAY_ALERT will ignore
#
# Add only one username per line
username1
username2
my@email.com

My aim is to whitelist/ignore mail relay that goes via username2 cpanel account or that is using my@email.com as a sender. It do not works. I receive mentioned e-mails for that cpanel user account.

Re: Can i ignore user or mailbox when RT_AUTHRELAY_LIMIT is reached?

Posted: 27 Oct 2019, 02:49
by gnusmtp
Is there any optoins for this ? Like whitelisting any ip for stopping this alert ? Or whitelisting an email account or cpanel user /?