Block Mailserver

werwin01

Verified User
Joined
Aug 2, 2004
Messages
34
I keep getting emails with random email addresses, but they come from a specific mailserver -- port150.ds1-hi.adsl.cybercity.dk

How would I go about blocking this mailserver? I tried adding *@port150.ds1-hi.adsl.cybercity.dk to the SpamAssassin blocking GUI, but email still gets through.
 
First: Have you installed SpamAssassin and have the daemon running?

Look: http://help.directadmin.com/item.php?id=36

You might like to block access to port 25 from that server/hostname using your firewall.

If using iptables:

Code:
iptables -A INPUT -s port150.ds1-hi.adsl.cybercity.dk -p tcp -m tcp --dport 25 -j DROP
 
Back
Top