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
posta 2 anni fa290 visualizzazioni
2 Risposte
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
con risposta 2 anni fa
  • 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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande