• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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