#1  
Old 21st August 2009, 16:57
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 6 Times in 3 Posts
Default Postfix SMTP Port

Hi all

I want, that postfix has only port 25 authentificated and port 587 authentificated open.

How could I do this?

Thanks
admins
Reply With Quote
Sponsored Links
  #2  
Old 21st August 2009, 17:12
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 6 Times in 3 Posts
Default

I've it:

Code:
587      inet  n       -       -       -       -       smtpd
  -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
25      inet  n       -       -       -       -       smtpd
  -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
Reply With Quote
  #3  
Old 21st August 2009, 17:23
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 6 Times in 3 Posts
Default

May how could I deactivate port 25 for outgoing mails?

Thanks
admins
Reply With Quote
  #4  
Old 25th August 2009, 16:40
fbnewtz fbnewtz is offline
Member
 
Join Date: Apr 2006
Location: Houston
Posts: 43
Thanks: 1
Thanked 2 Times in 2 Posts
 
Default

Quote:
Originally Posted by admins View Post
May how could I deactivate port 25 for outgoing mails?

Thanks
admins
That doesn't sound like a very good idea? The server even if you are only receiving emails still has to send out bounce messages and other communication.

This line in the master.cf file pretty much explains what you need to do to secure the server from spammers.

Code:
#submission inet n       -       -       -       -       smtpd
#  -o smtpd_enforce_tls=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
Of course you want to remove any #'s in there.

This is all explained in various How To's on the site. A little searching will pull this information up with out a problem.

Thanks,

Fred
__________________
ServerPronto
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 not responding to telnet CarbonCopy Server Operation 6 8th May 2009 06:39
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 12:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
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 12:02.


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