Old 16th November 2009, 06:50
acumen acumen is offline
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?

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

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

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?

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

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
Old 6th February 2010, 02:12
TheBirdMan TheBirdMan is offline
Junior Member
Join Date: Apr 2008
Posts: 28
Thanks: 8
Thanked 2 Times in 2 Posts
Default SMTPs SSL/TLS secure?


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?


Reply With Quote
Old 6th February 2010, 20:46
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

TCP is just the protocol: http://en.wikipedia.org/wiki/Transmi...ntrol_Protocol
There's nothing wrong with that.
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)


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 19:52
localhost postfix/master: fatal: bind port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
Mail Question: installed smf forum on centos perfect server setup with ispconfig happz Installation/Configuration 7 22nd August 2008 14:15
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 23:40

All times are GMT +2. The time now is 11:39.

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