Question re: postconf -M output

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Question re: postconf -M output

Charles Marcus
Hello,

I just noticed this and wanted to make sure this is the way it is
supposed to show.

When I do postconf -M, the output shows:

> submission inet  n       -       n -       -       smtpd
>     -o syslog_name=postfix-587 -o smtpd_tls_security_level=encrypt
>     -o smtpd_tls_auth_only=yes
>     -o smtpd_client_restrictions=$submission_client_restrictions
>     -o smtpd_data_restrictions= -o smtpd_end_of_data_restrictions=
>     -o smtpd_helo_restrictions= -o smtpd_sender_restrictions=
>     -o smtpd_recipient_restrictions=
>     -o smtpd_relay_restrictions=permit_sasl_authenticated,reject

Notice the -o smtpd_data_restrictions= and -o smtpd_helo_restrictions
lines both have a second -o setting on the same line.

Why is this? Shouldn't they all be on their own, separate line?

Thx

Reply | Threaded
Open this post in threaded view
|

Re: Question re: postconf -M output

Wietse Venema
Charles Marcus:
> Hello,
>
> I just noticed this and wanted to make sure this is the way it is
> supposed to show.
>
> When I do postconf -M, the output shows:
>
> > submission inet  n       -       n -       -       smtpd
> >     -o syslog_name=postfix-587 -o smtpd_tls_security_level=encrypt

No it doesn't'. Just like main.cf, you need to use the -f option
if you want multi-line output.

> Shouldn't they all be on their own, separate line?

With Postfix 2.11, postconf -Mf shows each -o name=value on a
separate line.

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: Question re: postconf -M output

Charles Marcus
On 2014-01-05 10:17 AM, [hidden email] (Wietse Venema)
<[hidden email] (Wietse Venema)> wrote:

> Charles Marcus:
>> I just noticed this and wanted to make sure this is the way it is
>> supposed to show.
>>
>> When I do postconf -M, the output shows:
>>
>>> submission inet  n       -       n -       -       smtpd
>>>      -o syslog_name=postfix-587 -o smtpd_tls_security_level=encrypt
> No it doesn't'. Just like main.cf, you need to use the -f option
> if you want multi-line output.

That output above was the result of postconf -Mf

This is on 2.10.2 though, not 2.11


Reply | Threaded
Open this post in threaded view
|

Re: Question re: postconf -M output

Charles Marcus
On 2014-01-05 10:42 AM, Charles Marcus <[hidden email]> wrote:
>
> That output above was the result of postconf -Mf

Sorry, in my original email I did say -M, but I meant -Mf