procmail
[Top] [All Lists]

Re: Looking for the recipe

1999-09-30 21:55:16
I'm trying to find out if using procmail I can filter out
email larger than 3,00k, and if so, delete that e-mail
and send an auto-reply to the sending with a message
pointing to a FTP site where they can upload to.

I use this in my ~/.procmailrc :

:0
{
  :0:
  * < 102400
  mbox
  
  :0 Efbwi
  | head -25; echo "***** ===> msg truncated by procmail filter. Size
          limit 100k. <=== *****"
  :0 A:
  mbox
}

Adjust the size, and replace the actions. I haven't tried any
autoresponders yet, but there are examples in the FAQ.

Volker

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