#1  
Old 16th November 2009, 05:50
acumen acumen is offline
Member
 
Join Date: Jun 2009
Posts: 57
Thanks: 1
Thanked 0 Times in 0 Posts
Default smtp port other than 25

some of my client's port 25 blocked by their ISP. So, i want to add one more listen port to postfix. What's the best way?

1. can I change postfix conf file manually? master.conf? how? or,
2. I use ispconfig's firewall, can i also use iptables to redirect the additional port to 25?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 16th November 2009, 09:14
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

Maybe you can find a answer here: http://www.faqforge.com/linux/how-to...ix-mailserver/
Reply With Quote
  #3  
Old 16th November 2009, 17:57
acumen acumen is offline
Member
 
Join Date: Jun 2009
Posts: 57
Thanks: 1
Thanked 0 Times in 0 Posts
Default

ammm... what I want to do is, setup another port to redirect to port 25. Not the one smtps.

If I use ISPConfig's firewall, can I also setup the redirect just like iptables?

Code:
iptables -t nat -A PREROUTING -p tcp --dport 9925 -j REDIRECT --to-ports 25
Reply With Quote
  #4  
Old 16th November 2009, 18:31
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 419
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
Default

All you have to do is go to /etc/postfix/master.cf and uncomment
lines about submission and smtps.

Then you will be able use port:

25 - also with TLS Enctyption
465 - also with SSL Encryption
587 also with TLS Encryption

Don't forget allow these port in firewall if you use dome...

# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - - - - smtpd
submission inet n - - - - smtpd
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticate d,reject
-o milter_macro_daemon_name=ORIGINATING
smtps inet n - - - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticate d,reject
-o milter_macro_daemon_name=ORIGINATING
Reply With Quote
  #5  
Old 6th February 2010, 01:12
TheBirdMan TheBirdMan is offline
Junior Member
 
Join Date: Apr 2008
Posts: 27
Thanks: 8
Thanked 2 Times in 2 Posts
Default SMTPs SSL/TLS secure?

Hi,

I was wondering if someone could help me verify the security of smtps. I have configured Postfix (with ispconfig2) to use pop3s, Imaps and smtps port 645. The maillog shows they are all using TLS and thunderbird picks up the cert for (server.com:465). When I use wireshark however smtps is using TCP not TLS. Is there something beyond my understanding going on? STARTTLS maybe?

Thanks,

Scott
Reply With Quote
  #6  
Old 6th February 2010, 19:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

TCP is just the protocol: http://en.wikipedia.org/wiki/Transmi...ntrol_Protocol
There's nothing wrong with that.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
TheBirdMan (6th February 2010)
  #7  
Old 6th February 2010, 21:37
TheBirdMan TheBirdMan is offline
Junior Member
 
Join Date: Apr 2008
Posts: 27
Thanks: 8
Thanked 2 Times in 2 Posts
 
Default

Thank you,

Now I can sleep at night.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix issues NewMee Installation/Configuration 7 20th April 2009 18:52
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Mail Question: installed smf forum on centos perfect server setup with ispconfig happz Installation/Configuration 7 22nd August 2008 13:15
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 06:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.