Author Topic: Rejecting some emails at SMTP time in a catch-all domain  (Read 132 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Rejecting some emails at SMTP time in a catch-all domain
« on: November 27, 2019, 02:25:19 PM »
Hi,

There is one domain with a catch-all account.
However on my old cPanel server, I used to block some spam receiving email RCPT To emails at the SMTP time with 5xx errors.
cPanel used to block specific emails with:
Code: [Select]
email1@domain.dom: :fail: We do not accept your spam!
email2@domain.dom: :fail: Mails to this user is unwanted here!
email3@domain.dom: :fail: Dear spammer, email3 went bye-bye!

There used to be a file called /etc/valias something but now CWP does this in a mySQL DB.
How may I set up or migrate my current setup/configuration?

Please advise, thanks...
« Last Edit: November 27, 2019, 02:38:56 PM by SubZero5 »