blocking sending of spam mails

how can i use mikrotik to block sending of http spam mails ?

i’ll tell u… IF you tell me how to get mikrotik to stop all virus.

:slight_smile:

I have the answer to both of your questions…
As the first rule of your firewall add:

 /ip firewall filter add chain=forward dst-address=0.0.0.0/0 action=drop



Do not really do that! lol
Laterz

Probably best use an external MTA that has the appropriate spam filters etc installed. Force mail out via it (nat port 25 out → mta).

Just make sure you’re checking for spam both in and out.

Once a windows system gets enough malware on it, it’s almost certain to be turned into a spam zombie, where these programs will send email without the users knowledge to a bajillion other servers at once. I think what the original poster wants to know is how to drop all outbound port 25, while still allowing users to send legitimate email through his mail servers.

One way might be to create a firewall rule to allow forwarding of port 25 to his mail servers IP addresses. Then create another rule to drop all other outbound port 25. Since the action taken relies on the first rule matched, the order of the rules would make a big difference.

If anyone knows of a better way to do this, please reply with your own solution. (see my nick)

It’s odd that this would be on the front page today, since this is exactly what I came here to look up myself.

I really ought to pay more attention. The original poster wanted to know how to block http spam.

Sorry for the threadjack.

hello all,
I want to know how to use mikrotik to block spam http mails, by specifying “key words” used in spam mails to completely block such http mail from sending. Any help?


easy....

did you counting, how many mail server in the world as http mail..?, give me your report.... lol
normally i sent mails by post mail with stamp, here in rural and we don't have gateway to connect to mail server or http mail.. everything by manual.

macan-gundul