LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-09-2018, 07:12 AM   #1
circus78
Member
 
Registered: Dec 2011
Posts: 273

Rep: Reputation: Disabled
Doubt about Postfix and smtp / submission


Hi,
let's say I configured some parameters on main.cf file:

Code:
smtp_use_tls = yes
smtp_tls_security_level = may
smtp_sasl_path = /var/run/saslauthd/mux
smtp_sasl_mechanism_filter = plain, login

and so on..

Now, I would like to provide some functionalities on 587/TCP port.
Should I use master.cf (the line which starts with "submission" string) and repeat same options? I mean:

Code:
submission inet n      -       n       -       -       smtpd
        -o smtp_use_tls = yes
        -o smtp_tls_security_level = may
        -o smtp_sasl_path = /var/run/saslauthd/mux
..
or is there a better way?
Thank you very much
 
Old 02-11-2018, 05:40 AM   #2
circus78
Member
 
Registered: Dec 2011
Posts: 273

Original Poster
Rep: Reputation: Disabled
According to master.cf man page:

http://www.postfix.org/master.5.html

Code:
-o name=value (short form)
                     Override the named main.cf configuration  parameter.  The
                     parameter  value  can  refer to other parameters as $name
                     etc., just like in main.cf.  See postconf(5) for  syntax.
Only overrides are evaluated in master.cf

So, if I want same options on 25/TCP and 587/TCP port, I don't need to config anything in master.cf (I need to comment out "submission" line, of course).

Last edited by circus78; 02-11-2018 at 05:52 AM. Reason: solved by myself
 
Old 02-11-2018, 05:52 AM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Yes.
 
  


Reply



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
[SOLVED] Postfix MTA conceptual doubt matiasar Linux - Newbie 2 03-21-2011 08:03 PM
POSTFIX SMTP banner based on MX hostname (PostFix 2.3.3 on RHEL) samarudge Linux - Server 1 02-15-2011 01:59 AM
Postfix Submission Error brokenmaize Linux - Server 1 08-21-2008 09:05 AM
SMTP with POSTFIX shipon_97 Linux - Newbie 2 05-02-2006 03:33 PM
Postfix and SMTP Phaethar Linux - Software 0 03-09-2004 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:59 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