Sun Dec 13, 2009 5:57 pm
Why would you proxy port 25.
I think what you are actually asking is not a proxy question but a NAT question. If you NAT all your customers out a single IP what happens if your IP is blacklisted.
Typically you can do one of two things. We use the following rules:
1 ;;; Drop traffic from those on the suspect list
chain=forward action=drop protocol=tcp src-address-list=suspectedspambot
dst-port=25
2 ;;; More than 10 simultaneous connections looks spammy
chain=forward action=add-src-to-address-list protocol=tcp
address-list=suspectedspambot address-list-timeout=2d dst-port=25
connection-limit=10,32
This won't stop the SPAM but it will slow it down. The other thing you can do is torch the interface and look for a single IP with many port 25 connections. You could also block port 25 completely or block it except to your SMTP servers.
Once you have taken care of the problem you can contact the agencies that have blacklisted you and they should remove you from the blacklist.