Package: postfix
Version: 3.10.1-1
Severity: normal

Updated postfix from some previous version.  Failed to restart
afterwards:
Mar 13 18:28:45 cirrus systemd[1]: Starting postfix.service - Postfix
Mail Transport Agent (main/default instance)...
Mar 13 18:28:46 cirrus postfix[2781841]: postfix: fatal: bad numerical
configuration: message_size_limit = 150000000cyrus_sasl_config_path =
/etc/postfix/sasl
Mar 13 18:28:46 cirrus postfix[2781841]: fatal: bad numerical
configuration: message_size_limit = 150000000cyrus_sasl_config_path =
/etc/postfix/sasl
Mar 13 18:28:47 cirrus systemd[1]: postfix.service: Control process
exited, code=exited, status=1/FAILURE
Mar 13 18:28:47 cirrus systemd[1]: postfix.service: Failed with result
'exit-code'.
Mar 13 18:28:47 cirrus systemd[1]: Failed to start postfix.service -
Postfix Mail Transport Agent (main/default instance).

It appears that my main.cf did not end with a carriage return, and a
new config item was appended:

root@cirrus:/etc/postfix# diff -u main.cf~ main.cf
--- main.cf~2018-02-02 12:13:18.000000000 -0800
+++ main.cf2025-03-13 18:18:53.000000000 -0700
@@ -15,7 +15,7 @@
 # Uncomment the next line to generate "delayed mail" warnings
 #delay_warning_time = 4h
 
-readme_directory = no
+#readme_directory = /usr/share/doc/postfix
 
 # TLS parameters
 #smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
@@ -87,4 +87,4 @@
 smtpd_sasl_security_options = noanonymous
 ###
 
-message_size_limit = 50000000
\ No newline at end of file
+message_size_limit = 150000000cyrus_sasl_config_path = /etc/postfix/sasl

Putting the cyrus_sasl_config_path element onto its own line fixed
things


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.13-amd64 (SMP w/1 CPU thread; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages postfix depends on:
ii  adduser                3.137
ii  debconf [debconf-2.0]  1.5.89
ii  init-system-helpers    1.68
ii  libc6                  2.41-4
ii  libdb5.3t64            5.3.28+dfsg2-9
ii  libicu72               72.1-6
ii  libnsl2                1.3.0-3+b3
ii  libsasl2-2             2.1.28+dfsg1-9
ii  libssl3t64             3.4.1-1
ii  libtlsrpt0             0.5.0rc1-2
ii  netbase                6.4

Versions of packages postfix recommends:
ii  ca-certificates  20241223
ii  python3          3.13.2-2
ii  ssl-cert         1.1.3

Versions of packages postfix suggests:
ii  bsd-mailx [mail-reader]        8.1.2-0.20220412cvs-1
ii  dovecot-core [dovecot-common]  1:2.3.21.1+dfsg1-1+b1
ii  jed [mail-reader]              1:0.99.20~pre.189+dfsg-1
ii  libsasl2-modules               2.1.28+dfsg1-9
ii  mutt [mail-reader]             2.2.13-1
pn  postfix-cdb                    <none>
pn  postfix-doc                    <none>
pn  postfix-ldap                   <none>
pn  postfix-lmdb                   <none>
pn  postfix-mongodb                <none>
pn  postfix-mta-sts-resolver       <none>
pn  postfix-mysql                  <none>
pn  postfix-pcre                   <none>
pn  postfix-pgsql                  <none>
ii  postfix-sqlite                 3.10.1-1
ii  procmail                       3.24+really3.22-4
pn  resolvconf                     <none>
pn  ufw                            <none>

-- Configuration Files:
/etc/postfix/main.cf.proto changed:
compatibility_level = 2
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix/sbin
data_directory = /var/lib/postfix
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8
 
  
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path =
newaliases_path =
mailq_path =
setgid_group =
html_directory =
manpage_directory =
sample_directory =
readme_directory =
inet_protocols = ipv4

/etc/postfix/master.cf.proto changed:
smtp      inet  n       -       y       -       -       smtpd
pickup    unix  n       -       y       60      1       pickup
cleanup   unix  n       -       y       -       0       cleanup
qmgr      unix  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       y       1000?   1       tlsmgr
rewrite   unix  -       -       y       -       -       trivial-rewrite
bounce    unix  -       -       y       -       0       bounce
defer     unix  -       -       y       -       0       bounce
trace     unix  -       -       y       -       0       bounce
verify    unix  -       -       y       -       1       verify
flush     unix  n       -       y       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       y       -       -       smtp
relay     unix  -       -       y       -       -       smtp
showq     unix  n       -       y       -       -       showq
error     unix  -       -       y       -       -       error
retry     unix  -       -       y       -       -       error
discard   unix  -       -       y       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       y       -       -       smtp
anvil     unix  -       -       y       -       1       anvil
scache    unix  -       -       y       -       1       scache
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} 
${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}


-- debconf information:
* postfix/relayhost: [smtp.snurgle.org]
* postfix/root_address: chris
  postfix/lmtp_retired_warning: true
  postfix/mydomain_warning:
  postfix/relay_restrictions_warning:
* postfix/destinations:
  postfix/retry_upgrade_warning:
  postfix/kernel_version_warning:
  postfix/dynamicmaps_conversion_warning:
* postfix/mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 
library-of-babel.snurgle.org
  postfix/sqlite_warning:
* postfix/mailname: cirrus.snurgle.org
  postfix/main_cf_conversion_warning: true
  postfix/tlsmgr_upgrade_warning:
* postfix/mailbox_limit: 0
* postfix/procmail: false
  postfix/rfc1035_violation: false
* postfix/main_mailer_type: Internet with smarthost
* postfix/protocols: all
* postfix/chattr: false
  postfix/compat_conversion_warning: true
  postfix/not_configured:
* postfix/recipient_delim: +
  postfix/newaliases: false
  postfix/bad_recipient_delimiter:

Reply via email to