Ok, I've spotted the error thanks to switch
-v added to command
mail:
Code:
T=remote_smtp: message is too big (transport limit = 1)
Indeed,
quotacheck is somewhat interactive as its output displays a kind of ASCII spinning wheel while user is waiting for it to check quotas. Thus each step of this spinning wheel is decomposed of non printable
|/-\ characters (like sprites) in my
$quota_report redirected output file and I end up with too long lines inside the file (when waiting time has been very long) to be sent by
mail.
I know there is flag
IGNORE_SMTP_LINE_LENGTH_LIMIT you can set to 1 in exim4 config files but I've simply switched to
mutt instead of
mail command in my script.
Problem resolved
Quote:
Originally Posted by MadeInGermany
One question:
what is the purpose of running quotacheck?
It is high stress for the disk.
|
I want to verify there is no discrepancies with my samba shared quotas. Is it bad practice?