Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Samuel Jean <sj-netfilter@cookinglinux.org>
To: Varun Pabrai <varunsaa@gmail.com>, netfilter@lists.netfilter.org
Subject: Re: mails not coming thru'
Date: Sun, 05 Dec 2004 09:04:40 -0500	[thread overview]
Message-ID: <41B31578.6050106@cookinglinux.org> (raw)
In-Reply-To: <f02e560404120501483864a165@mail.gmail.com>

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


      reply	other threads:[~2004-12-05 14:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-05  9:48 mails not coming thru' Varun Pabrai
2004-12-05 14:04 ` Samuel Jean [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41B31578.6050106@cookinglinux.org \
    --to=sj-netfilter@cookinglinux.org \
    --cc=netfilter@lists.netfilter.org \
    --cc=varunsaa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox