1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Issue Debian Postfix smtpd_tls_cert_file changed

Discussion in 'Plesk Onyx for Linux' started by TimReeves, Dec 6, 2017.

  1. TimReeves

    TimReeves Basic Pleskian

    13
    85%
    Joined:
    Jul 17, 2014
    Messages:
    53
    Likes Received:
    8
    Location:
    Dachau, Germany
    Hi all,

    up until about a couple of months ago, in /etc/postfix/main.cf it said:

    smtpd_tls_cert_file = /etc/postfix/postfix_default.pem
    smtpd_tls_key_file = $smtpd_tls_cert_file

    Since recently this has changed (Debian 8.9), on the last 2 servers I installed it reads:

    smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key

    This means that my scripts, which set the server default cert for postfix at /etc/postfix/postfix_default.pem, no longer work. Shame, in several Plesk articles those values are referred to, so now, for Debian the articles are no longer correct.

    I checked out the Plesk CLI mail server utility, but it does not offer any option to set this value. And I don't really want to overwrite /etc/ssl/certs/ssl-cert-snakeoil.pem. So I have tried manually editing /etc/postfix/main.cf to restore the previous standard values (which of course works), and then I tried:

    # /usr/local/psa/admin/sbin/mchk

    # /usr/local/psa/bin/repair --mail

    and found out that the do not overwrite my manual edit. So I'm OK (I think) but this is all very annoying. If Plesk articles state that the value is such-and-such, then Plesk distribution packages (or utilities) should ensure that those values are reliably set.

    Does anyone have any more info on this topic, why the standard value has been changed?

    Cheers,

    Tim
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Could you please clarify which particular article you have in mind?
     
  3. TimReeves

    TimReeves Basic Pleskian

    13
    85%
    Joined:
    Jul 17, 2014
    Messages:
    53
    Likes Received:
    8
    Location:
    Dachau, Germany
Loading...