On 8/26/19 5:18 PM, postfix-user-2019-8-26 wrote:
> That's it!!
>
> I applied this patch (that disables chroot) and then it works [1]. Thank
> you, Viktor!
>
> (...)
>
> [1] (I think is an untouched master for debian10, yes! it is in two places!)
>
> # diff -u /etc/postfix/master.cf.orig /etc/postfix/master.cf
> --- master.cf.orig    2019-08-26 16:49:09.231356916 +0200
> +++ master.cf    2019-08-26 16:49:37.100024149 +0200
> @@ -9,7 +9,7 @@
>  # service type  private unpriv  chroot  wakeup  maxproc command + args
>  #               (yes)   (yes)   (no)    (never) (100)
>  #
> ==========================================================================
> -smtp      inet  n       -       y       -       -       smtpd
> +smtp      inet  n       -       n       -       -       smtpd
>  #smtp      inet  n       -       y       -       1       postscreen
>  #smtpd     pass  -       -       y       -       -       smtpd
>  #dnsblog   unix  -       -       y       -       0       dnsblog
> @@ -51,7 +51,7 @@
>  flush     unix  n       -       y       1000?   0       flush
>  proxymap  unix  -       -       n       -       -       proxymap
>  proxywrite unix -       -       n       -       1       proxymap
> -smtp      unix  -       -       y       -       -       smtp
> +smtp      unix  -       -       n       -       -       smtp
>  relay     unix  -       -       y       -       -       smtp
>          -o syslog_name=postfix/$service_name
>  #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
>

Reviewing my config patch to make it work it is only needed to disable
chroot for the smtp client part:

# diff -u /etc/postfix/master.cf.orig /etc/postfix/master.cf
--- master.cf.orig    2019-08-26 16:49:09.231356916 +0200
+++ master.cf    2019-08-26 17:45:10.926390350 +0200
@@ -51,7 +51,7 @@
 flush     unix  n       -       y       1000?   0       flush
 proxymap  unix  -       -       n       -       -       proxymap
 proxywrite unix -       -       n       -       1       proxymap
-smtp      unix  -       -       y       -       -       smtp
+smtp      unix  -       -       n       -       -       smtp
 relay     unix  -       -       y       -       -       smtp
         -o syslog_name=postfix/$service_name
 #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5

Attachment: 0xCF8ACB83E96003E3.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to