LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2009, 09:40 PM   #1
rhlnewbie
Member
 
Registered: Jan 2007
Posts: 39

Rep: Reputation: 15
postfix ports?


does postfix (or smtp servers) have one port for clents to access and one port to communicate with servers? I'm trying to block clients from accessing the server to submit email and to force them to use my web interface.
thanks.
miles
p.s. I looked at blocking smtp traffic from outside and to allow only from the localhost. but that would block server to server connections. very undesireable.
 
Old 09-17-2009, 10:54 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
I was having a similar issue... LQ users helped me get it sorted:

http://www.linuxquestions.org/questi...server-752978/

Note: you have to turn the postfix filter on, as it is not on by default in debuntu. See confs in /etc/fail2bind

And yes, I suppose you could receive mail on 465 and relay on 25, or vice versa... but I don't think that's going to solve your problem.

Last edited by jhwilliams; 09-17-2009 at 10:58 PM.
 
Old 09-23-2009, 03:43 PM   #3
rhlnewbie
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
think I have the answer

upon further study/research I found that port 25 is used for smtp server to server connections. and MUAS use port 587 to submit mail to the smtp server. so that should do it for me.
thanks to all who replied. I really appreciate it!
thanks,
Miles
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to block all ports and open only select ports on Ubuntu 7.1 Mr.J Linux - Networking 1 11-18-2008 02:45 AM
open ports for utorrent using iptables n close smpt to that ports shtorrent00 Linux - Networking 2 09-30-2008 03:34 PM
Problem opening ports - ports appear open, but do not work. computer_freak_8 Linux - Software 10 09-20-2008 09:39 PM
Postfix: postfix: fatal: chdir(/usr/libexec/postfix) Micro420 Ubuntu 2 07-13-2008 12:21 PM
how? redirect apache2 outbound ports to specific ports w/iptables? nowshining Linux - Security 5 05-27-2008 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration