Zentyal Forum, Linux Small Business Server
Zentyal Server => Email and Groupware => Topic started by: mscfw on March 23, 2021, 10:47:02 am
-
Hi all,
upgraded my server a few days ago. I noticed the daily mail clean up job is generating an error:
xargs: archivemail: No such file or directory
xargs: archivemail: No such file or directory
run-parts: /etc/cron.daily/archivemail exited with return code 127
First I though this is linked to xargs, but I was wrong - archivemail is the name of the cron job and the name of an program to clean up the mail directories.
Searching a bit it looks like archivemail was avaliable up to Ubuntu 18, in Ubuntu 20 it tagged as "Deleted". => https://launchpad.net/ubuntu/focal/amd64/archivemail/0.9.0-1.1
How do you deal with this? Are there alternatives?
Thanks for any input,
bye
Markus
-
Got the same issue.
@mscfw, have you got a solution yet?
-
@caguiar: Unfortunately not yet ...
-
Hi,
Dovecot has a command called 'doveadm' that helps to maintain and debug issues. For this particular case, I think that you could use the command 'doveadm expunge' to clean up the emails.
-
Did you test it?
-
I used the autoexpunge=15d configuration in dovecot.conf.mas stub, and it works.
For an example of this feature see: https://notes.sagredo.eu/en/qmail-notes-185/expunging-expired-junk-and-trash-emails-with-dovecot-124.html