[Python-apps-team] Bug#789313: painintheapt: Allow SMTP AUTH to be optional

Gerald Turner gturner at unzane.com
Fri Jun 19 17:43:27 UTC 2015


Package: painintheapt
Version: 0.20150504-2~bpo8+1
Severity: minor
Tags: patch

Dear Maintainer,

I have postfix relays running on my servers and would prefer that
painintheapt use /usr/lib/sendmail like many other monitoring scripts.
In lieu of this, I've configured painintheapt to connect to localhost,
however SMTP AUTH is required even when the username and password
configuration options are missing.  I've modified painintheapt to only
attempt SMTP AUTH if username or password are non-empty.

-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages painintheapt depends on:
ii  python3              3.4.2-2
ii  python3-apt          0.9.3.11
ii  python3-prettytable  0.7.2-3
ii  python3-sleekxmpp    1.0~beta5-2

Versions of packages painintheapt recommends:
ii  cron [cron-daemon]  3.0pl1-127

painintheapt suggests no packages.

-- Configuration Files:
/etc/cron.d/painintheapt changed [not included]
/etc/painintheapt.conf [Errno 13] Permission denied: u'/etc/painintheapt.conf'

-- no debconf information

-- 
Gerald Turner <gturner at unzane.com>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smtp-login-optional.patch
Type: text/x-diff
Size: 571 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20150619/7ce688e5/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20150619/7ce688e5/attachment.sig>


More information about the Python-apps-team mailing list