Your message dated Thu, 22 Oct 2020 19:46:09 +0000
with message-id <[email protected]>
and subject line Bug#972653: Removed package(s) from unstable
has caused the Debian Bug report #845277,
regarding undocumented need for large tmp directory when archiving large 
mailboxes
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.)


-- 
845277: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845277
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: archivemail
Version: 0.9.0-1.1
Severity: normal

archivemail fails on large mailboxes:

Traceback (most recent call last):
  File "/usr/bin/archivemail", line 1951, in <module>
    main()
  File "/usr/bin/archivemail", line 700, in main
    archive(mailbox_path)
  File "/usr/bin/archivemail", line 1133, in archive
    _archive_dir(mailbox_name, "mh")
  File "/usr/bin/archivemail", line 1266, in _archive_dir
    archive.write(msg)
  File "/usr/bin/archivemail", line 566, in write
    self.mbox_file.write(body)
  File "/usr/lib/python2.7/gzip.py", line 243, in write
    self.fileobj.write( self.compress.compress(data) )
IOError: [Errno 28] No space left on device

This is despite the output directory ("-o some_directory") having plenty of
space. The problem is that archivemail constructs a temporary mailbox
containing all the messages to archive in the default temporary directory, and
will therefore fail if that directory is not large enough. I do not believe
this is documented in the program's documentation, and the program itself should
exit more gracefully and provide the user with a clearer explanation of the
problem. In any event, the solution is to use environment
variables to point archivemail toward a tmp directory with enough space, by
prefacing the call to archivemail with something like:

export TMPDIR=/some_dir


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

Kernel: Linux 4.4.30-lizzie (SMP w/2 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 archivemail depends on:
ii  python  2.7.9-1

archivemail recommends no packages.

archivemail suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 0.9.0-1.1+rm

Dear submitter,

as the package archivemail has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/972653

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to