procmail
[Top] [All Lists]

Re: list-problem

2002-08-29 12:36:12
On Thu, 29 Aug 2002, alois blasbichler wrote:

ab>
ab> usera have an entry in his procmailfile:
ab> ############
ab> :0 c
ab> | /usr/sbin/sendmail -f ${SENDER} mame(_at_)extern(_dot_)domain(_dot_)it
ab> ############
ab>
ab> and usera are over quota and dont can recieve e-mail.
ab> when i send a mail to list1 usera dont get the mail, but the mail goes to
ab> mame(_at_)extern(_dot_)domain(_dot_)it, and userb and userc get the mail
ab>
ab> after half hour procmail tries to deliver the mail to usera, this is not
ab> possible, but the mail goes another time to 
mame(_at_)extern(_dot_)domain(_dot_)it
ab>

I don't know anything about quotas but it would seem logical to do some
sort of check before the sendmail.  If you can check for over quota, maybe
do that.  Or use a message id cache to destroy the message for the second
and subsequent tries.

:0 c
{
  # duplicates
  :0 Wh: msgid.lock
  | formail -D 8192 msgid.cache

  :O
  | /usr/sbin/sendmail -f ${SENDER} mame(_at_)extern(_dot_)domain(_dot_)it
}


This seems to me to be a legitimate use of the c before a block as both
recipes are delivering recipes so the clone should not continue after the
brace.


Alan

( Please do not email me AS WELL as replying to the list. Personal
  email is welcome but may invoke a password autoresponder. )


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>