Package: opensmtpd
Version: 6.6.4p1-1~bpo10+1
Severity: important

Dear Maintainer,

I ran into a local mbox delivery problem.  Log file repeatedly shows:

  lockspool: /var/mail/<user>.lock: Permission denied

/var/mail is root:mail 2775

Messages remain "inflight" or "pending".

Anonymized smtpd.conf:

  listen on localhost

  table aliases file:/etc/aliases
  table secrets file:/etc/mail.secrets

  action "local_mail" mbox alias <aliases>

  action "gmail" relay host smtp+tls://gm...@smtp.gmail.com:587 auth <secrets>

  match from any for domain "example.net" action "local_mail"
  match from any for domain "host.example.net" action "local_mail"

  match for local action "local_mail"
  match from local for any action "gmail"

Thanks for your assistance looking into this.

-Chris

-- System Information:
Debian Release: 10.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages opensmtpd depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.71
ii  ed                     1.15-1
ii  init-system-helpers    1.56+nmu1
ii  libasr0                1.0.2-2
ii  libc6                  2.28-10
ii  libdb5.3               5.3.28+dfsg1-0.5
ii  libevent-2.1-6         2.1.8-stable-4
ii  libpam0g               1.3.1-5
ii  libssl1.1              1.1.1d-0+deb10u3
ii  lsb-base               10.2019051400
ii  zlib1g                 1:1.2.11.dfsg-1

Versions of packages opensmtpd recommends:
ii  opensmtpd-extras  6.6.0-1~bpo10+1

Versions of packages opensmtpd suggests:
ii  ca-certificates  20190110

-- Configuration Files:
/etc/smtpd.conf changed [not included]

-- debconf information excluded

Reply via email to