• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question POSTFIX - Is there a way to check Recipient email before it is sent ?

alexk345

Basic Pleskian
Scenario

1. Site may be hacked and someone using some form to keep sending email with your email account.
2. Also someone act as email client or hack webmail password and send it .

Most of the cases it will be send from your domain email.

We cant fool proof that.

But i am thinking of dictionary of emails only be recipient. Who ever hacks our system may not know recipient emails

I initially thought virtualbox_alias and Virtualbox_domains are for that. I think they are for incoming emails.

I need something to filter and quarantine any email send from Postfix server.

I am going though all the configuration...i cant figure out. Who can help?

I saw Hook stuff in master.cf. I was able to capture sender and recipient email with regex. Then i have no idea how to make it quarantine and pass.
 
The first thing that you should to is set proper outgoing sending limits. That way if an email account is compromised then you can limit the damage that the email account can do before you are alerted:

 
That is throttling. I solved it by going deep into Postfix. Basically now even someone hack my site and found out password of existing users , he cant spam to outside world. It will be rejected at posfix level. even if someone send from outside to our non existant email , it will be rejected and will be taken care of by fail2ban after 3 attempt.

Still few more issue i need to take care off. Basically catch all. NO MORE SPAM from my server.
 
Back
Top