From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Jean Subject: Re: mails not coming thru' Date: Sun, 05 Dec 2004 09:04:40 -0500 Message-ID: <41B31578.6050106@cookinglinux.org> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Varun Pabrai , netfilter@lists.netfilter.org Varun Pabrai wrote: >Then I added rules using packet filtering for >sending and recieving mails as follows : > >accept if network protocol is TCP and destination port is 110 > > add: accept if network protocol is TCP and source port is 110 >accept if network protocol is TCP and destination port is 25 > > add: accept if network protocol is TCP and source port is 25 >saved and applied configuration and rebooted. > >But I am not able to send or recieve mails on client >machines. Why ? > > What happens is (I guess) your mailserver receives the packet, but when answering, it gets dropped because the source port is now 25. Same thing for your POP server. >Anybody has any idea please help. > > HTH, Samuel