hi list, we are running on our box a quite hard iptables setup. the server is not allowed to connect to any ports expect some we have defined. spamd uses 783, this port we have allowed to connect. but spamc uses every time a different port to start.
has anyone a good set of rules for iptables/spamassassin or does know how to tell spamc only to connect from one port?
Why are you even filtering on the source port of a TCP connection in the first place?
Use the state feature of iptables so you don't need any rules at all to allow replies. You'll be significantly more secure this way.
