Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archivemail through cron sending needless verbose email #1913

tomasz89 opened this issue Nov 2, 2019 · 1 comment


Copy link

@tomasz89 tomasz89 commented Nov 2, 2019

Zentyal runs archivemail from a cron job without the --quiet flag, so I get daily emails about things that aren't errors.

/usr/share/zentyal/stubs/mail/archivemail.mas should include the --quiet flag for archivemail.


This comment has been minimized.

Copy link
Contributor Author

@tomasz89 tomasz89 commented Nov 2, 2019

--- archivemail.mas.bak 2019-11-03 07:10:50.927934099 +1030
+++ archivemail.mas 2019-11-03 07:10:57.568486251 +1030
@@ -22,7 +22,7 @@
% if ($days) {
-find <% $mailDir%> -type d -name <% $folder %> | su ebox -s /bin/bash -c "xargs -n 1 -r archivemail -d <% $days %> --delete --include-flagged"
+find <% $mailDir%> -type d -name <% $folder %> | su ebox -s /bin/bash -c "xargs -n 1 -r archivemail -d <% $days %> --delete --include-flagged --quiet"

% }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.