How do you block spam going from your domain email (hacked)

0

How do you block spam going from your domain email (hacked). Let say someone assumed your user password or they hacked email code.

**I created my own solution. in ubuntu **

But i want to find out how others manage it. What are the solution. I see greylisting in postfix that really do not solve anything. Most of the people talking about incoming spam. I really do not care as it is more of harmless stuff and intelligent filter can sort that out.

Your ip gets blocked if your email spamming others. if many people work on project bad code can get in. For example there are many websites in an account and someone put some wordpress website in one the domain and that is vulnerable to hacking.

I googled but no one is done anything for outgoing spam.

alexk
asked 2 years ago279 views
2 Answers
0

I asked hypothetical question. I wanted to find how people prepare for it. Only people with experience in this know how to fix it before it happens. I am very close to stop outgoing spam using postfix filters. Greylisting can be used for incoming spam.

alexk
answered 2 years ago
  • If a hacker has the skill to get into your instance and use your mail server to send spam out, they probably have the skill to evade outgoing filters.

    That said, there are way to have services like spamassassin scan outgoing email, but I haven't looked into them.

0

Well, if your instance has been hacked, I would suggest shutting down the mail server and focus on getting your server secure.

After you've secured your server, clear the outgoing mail queue.

profile picture
David G
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions