diff --git a/.gitattributes b/.gitattributes index 402df2f5..ab27ade8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -522,7 +522,6 @@ src/fixperms.sh -text src/functions.sh -text src/functions_dns.sh -text src/functions_hosting.sh -text -src/mail_deletion.sh -text src/mem_add -text src/mem_del -text src/quota-warning.sh -text @@ -536,6 +535,7 @@ src/slave_dns -text src/spoolsize.php -text src/sqlbackup.sh -text src/update_domains.sh -text +src/update_mails.sh -text /svnup.sh -text tests/make_mail_dataset.sh -text tests/mechdump.pm -text diff --git a/debian/alternc.cron.d b/debian/alternc.cron.d index 33596b98..f40cf040 100644 --- a/debian/alternc.cron.d +++ b/debian/alternc.cron.d @@ -14,8 +14,8 @@ # Every 5 minutes, spool waiting domain changes */5 * * * * root /usr/lib/alternc/update_domains.sh -# Every 5 minutes, delete mails -*/5 * * * * root /usr/lib/alternc/mail_deletion.sh +# Every 5 minutes, do mails actions +*/5 * * * * root /usr/lib/alternc/update_mails.sh # Every hour, check for slave_dns refreshes 5 * * * * root /usr/lib/alternc/slave_dns diff --git a/src/mail_deletion.sh b/src/update_mails.sh similarity index 100% rename from src/mail_deletion.sh rename to src/update_mails.sh