Your message dated Sun, 17 Dec 2017 22:00:10 +0000
with message-id <[email protected]>
and subject line Bug#873040: fixed in getmail 5.4-1
has caused the Debian Bug report #873040,
regarding getmail4: Parallel version of /usr/bin/getmails
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
873040: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873040
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: getmail4
Version: 4.53.0-1
Severity: wishlist
Tags: patch
Attached is an improved (IMO) version of /usr/bin/getmails that launches a
separate getmail process for each config file, in parallel, and then waits
for them to all complete, exiting with the "worst" (greatest) exit code of
any of the individual instances.
I wrote this for myself because I'm using it to keep a backup of a couple
gmail accounts that are now, for some reason, taking nearly 30 minutes each
just to enumerate the list of messages (I have a feeling I may have hit some
overuse throttle at Google since the message list data is coming down at
dialup speeds).
Loosely relates to #863856, but does not implement that suggestion. Also
not handled (at least not in any pretty way) is what happens if you run it
with no getmail configs in the specified directory.
-- System Information:
Debian Release: 9.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable-debug'), (500, 'stable-debug'),
(500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
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: systemd (via /run/systemd/system)
Versions of packages getmail4 depends on:
ii python 2.7.13-2
getmail4 recommends no packages.
getmail4 suggests no packages.
-- no debconf information
#!/bin/sh
# vim:se tw=78 sts=4:
# Copyright (C) Osamu Aoki <[email protected]>, GPL2+
set -e
UID_BY_ID=$(id -u)
PID_GETMAILS=$(pgrep -U $UID_BY_ID '^getmails$')
if [ "x$PID_GETMAILS" != "x$$" ]; then
echo "The getmails script is already running as PID=\"$PID_GETMAILS\"
." >&2
exit 1
fi
if [ -f $HOME/.getmail/stop ]; then
echo "Do not run getmail ... (if not, remove $HOME/.getmail/stop)" >&2
exit 1
fi
pids=""
rcfiles="/usr/bin/getmail"
for file in $HOME/.getmail/config/* ; do
/usr/bin/getmail --rcfile "$file" &
pids="$pids $!"
done
rc=0
if [ -n "$pids" ]; then
for pid in $pids ; do
wait $pid
prc=$?
if [ $prc -gt $rc ]; then
rc=$prc
fi
done
fi
exit $rc
--- End Message ---
--- Begin Message ---
Source: getmail
Source-Version: 5.4-1
We believe that the bug you reported is fixed in the latest version of
getmail, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Osamu Aoki <[email protected]> (supplier of updated getmail package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 17 Dec 2017 21:45:09 +0900
Source: getmail
Binary: getmail
Architecture: source all
Version: 5.4-1
Distribution: unstable
Urgency: medium
Maintainer: Osamu Aoki <[email protected]>
Changed-By: Osamu Aoki <[email protected]>
Description:
getmail - mail retriever with support for POP3, IMAP4 and SDPS
Closes: 863856 873040 877909
Changes:
getmail (5.4-1) unstable; urgency=medium
.
* New upstream release. Closes: #877909
* Change binary package name from getmail4 to getmail.
* Update policy to 4.1.2 and debhelper to compat=10
* Skip editor generated files such as foo~ for the configuration
file. Closes: #863856
* Add an optional -p option to getmails. Closes: #873040
Checksums-Sha1:
dd8c7b170cca3b1486aa2b640aaecfeec2ef7fee 1855 getmail_5.4-1.dsc
2102958c8d20bf34708a6ca3db58d98a63216a96 194884 getmail_5.4.orig.tar.gz
58ef019fec4be31527a8326edb291ed49a8851e6 7272 getmail_5.4-1.debian.tar.xz
76f3c208463300ea23d4ebe38a8ba4442c335691 175348 getmail_5.4-1_all.deb
16363725ab304db48c337ff71e5b6ffc43b391b7 6184 getmail_5.4-1_amd64.buildinfo
Checksums-Sha256:
9609dee35bbfdb4525addced9c1edfb8f1f1149810a8b82852b282dbf416c0d2 1855
getmail_5.4-1.dsc
ba896f7b3fbae4e9e79f7135e6c2b10b281170d2877b91fb2b265c927ed29ac7 194884
getmail_5.4.orig.tar.gz
ff0cf2e0f88288e9b8ade846efeb15e1168bc992be7c00f07422708709f01319 7272
getmail_5.4-1.debian.tar.xz
4d5b81f637b732b60854e3ec3baabb3a6eb5f787db0473e37d76768a7aa859ee 175348
getmail_5.4-1_all.deb
996909557e73938a26d596276945145dce30c6c748f2803c6aa3ff0c9992fa09 6184
getmail_5.4-1_amd64.buildinfo
Files:
26e3527fafc3f310f07dfddea992ab84 1855 mail optional getmail_5.4-1.dsc
c46b97ee827e05b8dd332c2e991e6c47 194884 mail optional getmail_5.4.orig.tar.gz
6bfaae036354593be6bb8ace9fe3a3b8 7272 mail optional getmail_5.4-1.debian.tar.xz
ff6f350bc4a38d24321c0b50dd29a895 175348 mail optional getmail_5.4-1_all.deb
ae42c286272420ee1ba5218bf5a49c38 6184 mail optional
getmail_5.4-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEMTNyTWIHiBV56V1iHhNWiB3Y15EFAlo2ba8ACgkQHhNWiB3Y
15FM1g//T+5yhpFEjVmkUywygdrvAQTlEQ/pNiqLYeGM7P3AB5QlIRsW/sO5hy/t
Yv9nAISDdsi+y25WkXhE4sY2E05d0H56fgVvzy7HSby9xE6o55KKWS96vp8h1sCR
IjL4+mKBYW7cBcILYCELhxDtiqfavcRqU76/sHABXdXEvk4pGaf71Qac+CMQ1+U5
AstNxdeixyNieWaYGeEFGQBp/Dlx4dS6E9vK8KXrvYp4PXneNynaAAebQ+ed7sfG
QrCU4swHswH5RJiEdDtJ4Ss7BNQ+bp8QG3ASNWOon0gSbDgfmShSGuJubbCxMP95
BG6VeGmG4KeFOl0tHShyDip7pDA+2j6RnW22Y55+zLafmuBHK4rfRVUtj93y4uA5
jLGCHF+Dm6VjEwc358exC0qWkk8S/8+1PVSQCJ4hWMj2mPb4A8c3vpgVEkcBdWNu
BvYKg2VNXRgQ2fe8mKzXTb+lnVOwQRF5RozWTUCYCKLNt8ofh37avTR7d1hATIYe
ik4AFoAnbAwu1mTqnFnKXLv1yd/GdlXBel0E40glscqqnlwm0NfKBQ5LRf/Rx0bQ
b1xwTibm/Ag9Dl/elkpuHRFLfmKHU6arpSeo3uwfrXXRUudwaKTzNc7ZdoqivCas
hli77m0Se73WvnvoBycQ7KXcq1aEGeyM/cIjwjbdRNdJs/la5/o=
=b4yx
-----END PGP SIGNATURE-----
--- End Message ---