Ubuntu 18.04 /etc/postfix/master.cf
short description
What is happening and what is wrong with that?
SMTP does not work correctly.
Config in vim:
#submission inet n - y - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
^M -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o smtpd_tls_auth_only=yes
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#smtps inet n - y - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
^M -o smtpd_client_restrictions=permit_sasl_authenticated,reject
correct behaviour
What should happen instead?
environment
Server OS: (debian/ubuntu/centos/...)
Server OS version: (wheezy/trusty/centos6/...)
ISPConfig version: (3.0.5.4/3.1.5/3.1dev/...)
you can use grep 'ISPC_APP_VERSION' /usr/local/ispconfig/server/lib/config.inc.php
to get it from the command line
If it might be related to the problem
insert the output of `nginx -v` or `apachectl -v` here
insert the output of `php -v` here
proposed fix
optional, of course.
if you want to post code snippets, please use
submission inet n - y - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o smtpd_tls_auth_only=yes
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
smtps inet n - y - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
or attach a code file. Best is to create a merge request of course.
references
if you know of related bugs or feature requests, please reference them by using #<bugnumber>
, e. g. #123 (closed)
if you have done a merge request already, please reference it by using !<mergenumber>
, e. g. !12 (merged)
if you know of a forum post on howtoforge.com that deals with this topic, just add the link to the forum topic here
screenshots
optional, of course.
Add screenshots of the problem by clicking "Attach a file" on the bottom right.
log entries
apache / nginx error.log lines (if related)