Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-10-2008, 10:05 AM
Elite Member
 
Posts: 360
Default Hopefully an easy Postfix question....

Code:
smtp      inet  n       -       n       -       -       smtpd
submission inet n      -       n       -       -       smtpd
	-o smtpd_etrn_restrictions=reject
	-o smtpd_client_restrictions=permit_sasl_authenticated,reject
465    inet  n       -       n       -       -       smtpd
  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
In the code above from the master.cf file...
Currently, anyone connecting via imap or pop for smtp requires user authentication, SSL, and port 465.

What would I have to change here to turn off user authentication, SSL, but still allow on port 465?

And what would I have to do to add port 587? So that ports 25, 465, and 587 can be used, Do I just add these lines again...so that it would look like this?
Code:
smtp      inet  n       -       n       -       -       smtpd
submission inet n      -       n       -       -       smtpd
	-o smtpd_etrn_restrictions=reject
	-o smtpd_client_restrictions=permit_sasl_authenticated,reject
465    inet  n       -       n       -       -       smtpd
submission inet n      -       n       -       -       smtpd
	-o smtpd_etrn_restrictions=reject
	-o smtpd_client_restrictions=permit_sasl_authenticated,reject
587    inet  n       -       n       -       -       smtpd
  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
Thanks for any clarification.
Reply With Quote
  #2 (permalink)  
Old 09-11-2008, 10:03 AM
Elite Member
 
Posts: 360
Default

I guess I just have to make the changes and go by trial and error...
Reply With Quote
  #3 (permalink)  
Old 09-11-2008, 12:06 PM
Elite Member
 
Posts: 380
Default

If you were suggesting that you're not going to require authentication on ports 465 and 587, *please* don't do that.

That's a great way to become an open relay.
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
Try to Ask Questions The Smart Way -- you'll get better answers.

Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.
Reply With Quote
  #4 (permalink)  
Old 09-11-2008, 01:19 PM
Elite Member
 
Posts: 360
Default

The reason being?
And what's an open relay?
Reply With Quote
  #5 (permalink)  
Old 09-11-2008, 01:36 PM
Elite Member
 
Posts: 360
Default

ok, I've never heard it called an open relay before...
But essentially you're talking about a public port on which spam can be sent via my smtp server....
But how is it any different than port 25 being public? Is port 25 handled/treated differently by the server?
Reply With Quote
  #6 (permalink)  
Old 09-29-2008, 11:59 AM
Elite Member
 
Posts: 360
Default

Actually, I realized the second part of my question wasn't answered...

As I showed above, is that what I would have to put for the code to have 25, 465, AND 587 active? Possible?
Reply With Quote
  #7 (permalink)  
Old 09-29-2008, 01:45 PM
Elite Member
 
Posts: 380
Default

Quote:
Originally Posted by NoDoze View Post
ok, I've never heard it called an open relay before...
But essentially you're talking about a public port on which spam can be sent via my smtp server....
Nope.

Quote:
But how is it any different than port 25 being public? Is port 25 handled/treated differently by the server?
You *can't* *require* authentication on port 25, because you can't guarantee that The General Public can do it.

Therefore, you don't allow mail delivered to 25 for any domain you don't run.

Port 587, on the other hand, you *can* require auth on, because no one tries to deliver mail there except your users, and since you can *prove* they're your users, you can allow unrestricted forwarding on that port without being an open relay.

Clearer now? :-)
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
Try to Ask Questions The Smart Way -- you'll get better answers.

Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.
Reply With Quote
  #8 (permalink)  
Old 09-29-2008, 02:39 PM
Elite Member
 
Posts: 360
Default

ok, if you read my last part, it wasn't about port authentication... it's about making the ports available reguardless of authentication...

Quote:
...what would I have to do to add port 587? So that ports 25, 465, and 587 can be used...
I understand that port 25 will be the only one "open" and the rest will have to use authentication, but is it possible and how would I enable the other ports to be used IN ADDITION to the default 25...?

Thanks.
Reply With Quote
  #9 (permalink)  
Old 10-01-2008, 07:59 AM
Elite Member
 
Posts: 380
Default

Port 587 is the port listened to by the 'submission' daemon in Postfix; if you enable that in master.cf, that's the port that will get listened to.

I believe the default config requires auth; the RFC didn't originally, but does now.
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
Try to Ask Questions The Smart Way -- you'll get better answers.

Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.