Linux Netfilter discussions
 help / color / mirror / Atom feed
* What ports need to be open to allow for mail?
@ 2003-04-10  9:39 James Marcinek
  2003-04-10 10:18 ` Raymond Leach
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: James Marcinek @ 2003-04-10  9:39 UTC (permalink / raw)
  To: netfilter; +Cc: jmarc1

Hello All,

I'm trying to set up my mail server; however I want to
make sure that I have the correct port(s) open. I
already have TCP port 25 open; however do I also have
to have UDP port 25 open as well? Any help would be
appreciated.

Thanks,
James

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What ports need to be open to allow for mail?
  2003-04-10  9:39 What ports need to be open to allow for mail? James Marcinek
@ 2003-04-10 10:18 ` Raymond Leach
  2003-04-10 10:24 ` Rasmus Reinholdt Nielsen
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Raymond Leach @ 2003-04-10 10:18 UTC (permalink / raw)
  To: Netfilter Mailing List

[-- Attachment #1: Type: text/plain, Size: 635 bytes --]

Hi

Depends what kind of mail:

SMTP uses tcp port 25 (no UDP necessary)
POP3 uses tcp port 110 (no UDP necessary)

HTH

Ray

On Thu, 2003-04-10 at 11:39, James Marcinek wrote:
> Hello All,
> 
> I'm trying to set up my mail server; however I want to
> make sure that I have the correct port(s) open. I
> already have TCP port 25 open; however do I also have
> to have UDP port 25 open as well? Any help would be
> appreciated.
> 
> Thanks,
> James
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> http://tax.yahoo.com

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What ports need to be open to allow for mail?
  2003-04-10  9:39 What ports need to be open to allow for mail? James Marcinek
  2003-04-10 10:18 ` Raymond Leach
@ 2003-04-10 10:24 ` Rasmus Reinholdt Nielsen
  2003-04-10 11:20   ` Kim Jensen
  2003-04-10 10:42 ` Johannes Walch
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 7+ messages in thread
From: Rasmus Reinholdt Nielsen @ 2003-04-10 10:24 UTC (permalink / raw)
  To: James Marcinek, netfilter; +Cc: jmarc1

port 25 tcp will do for smtp, but you will need 110 tcp as well if you need 
pop3 access from the Internet.

/Rasmus

At 02:39 10-04-2003 -0700, James Marcinek wrote:
>Hello All,
>
>I'm trying to set up my mail server; however I want to
>make sure that I have the correct port(s) open. I
>already have TCP port 25 open; however do I also have
>to have UDP port 25 open as well? Any help would be
>appreciated.
>
>Thanks,
>James
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Tax Center - File online, calculators, forms, and more
>http://tax.yahoo.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What ports need to be open to allow for mail?
  2003-04-10  9:39 What ports need to be open to allow for mail? James Marcinek
  2003-04-10 10:18 ` Raymond Leach
  2003-04-10 10:24 ` Rasmus Reinholdt Nielsen
@ 2003-04-10 10:42 ` Johannes Walch
  2003-04-10 10:43 ` Jesper Lund
  2003-04-10 19:43 ` Rob Sterenborg
  4 siblings, 0 replies; 7+ messages in thread
From: Johannes Walch @ 2003-04-10 10:42 UTC (permalink / raw)
  To: netfilter

> Hello All,
>
> I'm trying to set up my mail server; however I want to
> make sure that I have the correct port(s) open. I
> already have TCP port 25 open; however do I also have
> to have UDP port 25 open as well? Any help would be
> appreciated.
>
> Thanks,
> James

If you want to run SMTP (the standard case) with your mail server port
25/TCP ist sufficient. Port 25/UDP is not used by sendmail or any other SMTP
server software (as far as I know).

johannes walch



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What ports need to be open to allow for mail?
  2003-04-10  9:39 What ports need to be open to allow for mail? James Marcinek
                   ` (2 preceding siblings ...)
  2003-04-10 10:42 ` Johannes Walch
@ 2003-04-10 10:43 ` Jesper Lund
  2003-04-10 19:43 ` Rob Sterenborg
  4 siblings, 0 replies; 7+ messages in thread
From: Jesper Lund @ 2003-04-10 10:43 UTC (permalink / raw)
  To: james_marcinek; +Cc: netfilter, jmarc1


> however do I also have to have UDP port 25 open as well?

No you don't. Byt maybe consider port 110 and 143 for pop3 and imap.

//Jesper

-- 
www.ballbreaker.dk/antispam.html




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What ports need to be open to allow for mail?
  2003-04-10 10:24 ` Rasmus Reinholdt Nielsen
@ 2003-04-10 11:20   ` Kim Jensen
  0 siblings, 0 replies; 7+ messages in thread
From: Kim Jensen @ 2003-04-10 11:20 UTC (permalink / raw)
  To: netfilter

>I'm trying to set up my mail server; however I want to
>make sure that I have the correct port(s) open. I
>already have TCP port 25 open; however do I also have
>to have UDP port 25 open as well? Any help would be
>appreciated.
>
Extract from /etc/services:

SMTP:
smtp            25/tcp          mail
smtp            25/udp          mail
smtps           465/tcp                         # SMTP over SSL (TLS)

POP:
pop2            109/tcp         pop-2   postoffice      # POP version 2
pop2            109/udp         pop-2
pop3            110/tcp         pop-3           # POP version 3
pop3            110/udp         pop-3
pop3s           995/tcp                         # POP-3 over SSL
pop3s           995/udp                         # POP-3 over SSL

IMAP:
imap            143/tcp         imap2           # Interim Mail Access Proto v2
imap            143/udp         imap2
imap3           220/tcp                         # Interactive Mail Access
imap3           220/udp                         # Protocol v3
imaps           993/tcp                         # IMAP over SSL
imaps           993/udp                         # IMAP over SSL

Now, make you picking, standard answer is:
25 for SMTP
110 for POP3
143 for IMAP

/Kim



^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: What ports need to be open to allow for mail?
  2003-04-10  9:39 What ports need to be open to allow for mail? James Marcinek
                   ` (3 preceding siblings ...)
  2003-04-10 10:43 ` Jesper Lund
@ 2003-04-10 19:43 ` Rob Sterenborg
  4 siblings, 0 replies; 7+ messages in thread
From: Rob Sterenborg @ 2003-04-10 19:43 UTC (permalink / raw)
  To: netfilter

> I'm trying to set up my mail server; however I want to
> make sure that I have the correct port(s) open. I
> already have TCP port 25 open; however do I also have
> to have UDP port 25 open as well? Any help would be appreciated.

No, just port 25/tcp is fine.


Gr,
Rob



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-04-10 19:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-10  9:39 What ports need to be open to allow for mail? James Marcinek
2003-04-10 10:18 ` Raymond Leach
2003-04-10 10:24 ` Rasmus Reinholdt Nielsen
2003-04-10 11:20   ` Kim Jensen
2003-04-10 10:42 ` Johannes Walch
2003-04-10 10:43 ` Jesper Lund
2003-04-10 19:43 ` Rob Sterenborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox