From: Voytek <vo...@sb...> - 2011-08-22 01:35:02
|
Hi, thanks for archivemail I was just running against several users, I noticed on one mail box it had error like below, it then continued OK with reminder: just reporting, it's not causing any issue that I can see ad...@aa...: archived 0 of 0 message(s) (0B of 0B) in 0.0 seconds an...@aa...: archived 0 of 0 message(s) (0B of 0B) in 0.0 seconds Traceback (most recent call last): File "/usr/local/bin/archivemail", line 1951, in <module> main() File "/usr/local/bin/archivemail", line 700, in main archive(mailbox_path) File "/usr/local/bin/archivemail", line 1130, in archive _archive_dir(mailbox_name, "maildir") File "/usr/local/bin/archivemail", line 1266, in _archive_dir archive.write(msg) File "/usr/local/bin/archivemail", line 546, in write unix_from = make_mbox_from(msg) File "/usr/local/bin/archivemail", line 747, in make_mbox_from address = guess_return_path(message) File "/usr/local/bin/archivemail", line 768, in guess_return_path login = pwd.getpwuid(os.getuid())[0] KeyError: 'getpwuid(): uid not found: 5000' as...@aa...: archived 0 of 0 message(s) (0B of 0B) in 0.0 seconds as...@aa...: archived 0 of 1 message(s) (0B of 4.0kB) in 0.0 seconds ------------------------ # archivemail -V archivemail v0.9.0 script has like so: .... if [ -s /var/mail/vhosts/$1 ] ; then cd /var/mail/vhosts/$1 for j in *@* do sudo -u#5000 archivemail -d90 $j done .... |