Some people actually delete /var/mail to fix it :).
When I try to use deliverquota from procmail, in the similar fomrat you're suggesting, but appending $HOME/Maildir to the command.,
it kind of seems to to work halfway. Once the user is approaching the quotas ( both ufs and maildirmake -q ), a blank message starts coming
into the inbox. It has no headers, wrong date ( 1969 ) and no content. It appears in the inbox of imap client, but in reality it's not in maildir, it's just a 0 byte file in /var/mail/ . If I delete the file, it gets recreated with 0 bytes with the next message that comes in. It's a bit puzzling.
I renamed the quotawarnmsg file and it is world readable. Anyone ??
DEFAULT="$HOME/Maildir/"
:0 fwh | /usr/libexec/courier-imap/bin/deliverquota -w 85 $DEFAULT
Michael J Wise wrote:
On Nov 11, 2003, at 1:54 AM, synrat wrote:
that explains how to use maildirs with procmail. I figured that out easily. Procmail delivers just fine to the Maildirs, but when the user goes over quota, Procmail starts dumping e-mail in /var/mail in mbox format!!!!
" Interesting.
% sudo chown root /var/mail/$user % sudo chmod 000 /var/mail/$user
What I need is a way to use deliverquota as procmail recipe ?!
Sorry, hazy on that, having never done it. If deliverquota is a command, then something like this MIGHT work:
:0 fwh | deliverquota
and hopefully prevent Procamil from being stupid when the user goes over quota.
Just out of curiosity, what would "not stupid" look like, exactly? A bounce message that sez, "Over Quota"?
Do you know how to do that ?
No, but I have some ideas.
Aloha mai Nai`a!
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
