On Thu, 2006-05-25 at 22:59 -0400, CodeHeads wrote: > I just reconfigured IPTables to accept connections for all known mail ports. My > problem is when sending through squirrelmail it says temporary problem. Now it > worked before I implemented IPTable rules so I am assuming it is a IPTables > entry that is needed. > > Basically it needs to except from localhost, am I right?? > > Is this what I need to enter into IPTables so that squirrelmail can send mail? > iptables -A INPUT -p udp -m tcp -s 0/0 -d 0/0 --sport 25 -j ACCEPT Surely it's the destination port that will be 25, not the source port? And if you want to limit access to localhost, you'll need to specify that too, and not "everywhere" (0/0) as in the line above. Paul.