Package: postfix
Version: 3.3.0-1
Severity: normal

Dear Maintainer,

When running the postconf tool as a user that cannot read a database map
file listed in main.cf, a segfault happens.

Bug reported upstream:
https://marc.info/?l=postfix-users&m=152578690131086&w=2
Also in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470
Fix by upstream:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1753470

Steps to reproduce:
- install postfix 3.3.0
- add this line to main.cf:
virtual_alias_maps = pgsql:/etc/postfix/valiases.cf
- run "sudo truncate -s 0 /etc/postfix/valiases.cf"
- run "sudo chmod 0600 /etc/postfix/valiases.cf"
- run "sudo -u postfix -H postconf"
- observe the segfault

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

Kernel: Linux 4.15.0-20-generic (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages postfix depends on:
ii  adduser                3.117
ii  cpio                   2.12+dfsg-6
ii  debconf [debconf-2.0]  1.5.66
ii  dpkg                   1.19.0.5+b1
ii  e2fsprogs              1.44.1-2
ii  libc6                  2.27-3
ii  libdb5.3               5.3.28-13.1+b1
ii  libicu57               57.1-9
ii  libsasl2-2             2.1.27~101-g0780600+dfsg-3.1
ii  libssl1.1              1.1.0h-2
ii  lsb-base               9.20170808
ii  netbase                5.4
ii  ssl-cert               1.0.39

Versions of packages postfix recommends:
ii  python3  3.6.5-3

Versions of packages postfix suggests:
pn  dovecot-common    <none>
ii  libsasl2-modules  2.1.27~101-g0780600+dfsg-3.1
pn  mail-reader       <none>
pn  postfix-cdb       <none>
pn  postfix-doc       <none>
pn  postfix-ldap      <none>
pn  postfix-lmdb      <none>
pn  postfix-mysql     <none>
pn  postfix-pcre      <none>
pn  postfix-pgsql     <none>
pn  postfix-sqlite    <none>
pn  procmail          <none>
pn  resolvconf        <none>
pn  sasl2-bin         <none>
pn  ufw               <none>

-- debconf information:
  postfix/chattr: false
  postfix/tlsmgr_upgrade_warning:
  postfix/recipient_delim: +
  postfix/protocols: all
  postfix/relay_restrictions_warning:
  postfix/mailbox_limit: 0
* postfix/main_mailer_type: Internet Site
* postfix/mailname: debian-postfix
  postfix/bad_recipient_delimiter:
  postfix/lmtp_retired_warning: true
  postfix/destinations: $myhostname, debian-postfix, localhost.localdomain,
, localhost
  postfix/root_address:
  postfix/not_configured:
  postfix/rfc1035_violation: false
  postfix/compat_conversion_warning: true
  postfix/relayhost:
  postfix/main_cf_conversion_warning: true
  postfix/kernel_version_warning:
  postfix/sqlite_warning:
  postfix/retry_upgrade_warning:
  postfix/newaliases: false
  postfix/mydomain_warning:
  postfix/mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  postfix/dynamicmaps_conversion_warning:
  postfix/procmail: false

Reply via email to