Hi, i've a mail server with postfix and procmail, all work fine but if user is over quota the serder receive this message: Code: can't create user output file. Command output: procmail: Couldn't create "/var/mail/test.domain.com" The message should be like this: Code: Account [email protected] is over quota... The Maildir of user is wrong too (it's in /var/spool/vmail/domain.com/test/Maildir/ and not /var/mail), this is my procmailrc: Code: # Use maildir-style mailbox in user's home directory DEFAULT=$HOME/Maildir/ #LOG LOGFILE=$HOME/procmail.log VERBOSE=no LOG=" " :0fw | /usr/local/bin/clamassassin :0: * ^X-Virus-Status: Yes /var/spool/quarantine :0 * ^X-Attachments:.*name=".*\.(pif|scr|bat|vbs|vba|lnk|com) /var/spool/mail/virus :0: * ^X-Spam-Status: Yes $DEFAULT.Junk/
What's the $HOME directory of your user? Is it /var/mail/test.domain.com/ or /var/spool/vmail/domain.com/test/?
Hi, I still have this problem, can someone help me? Can i set a custom message for the over quota error? There is a script that controls the size of the boxes according to the quota setting send an email that says that the box is almost full? Thanks in advance