procmail
[Top] [All Lists]

Re: [procmail] Finding mail size

2002-04-09 06:44:45
A.Johnson Jeba Asir wrote:
Hello,
I want to do the following through procmail

maxFileSize = 1000000

if receivedMailSize > maxFileSize then
discard it
else
deliver it to user
end if

Something along these lines:

  maxFileSize = 1000000

  :0 B
  * $ > $maxFileSize
  /dev/null

And then maybe a ":0 E"-recipe.

Ruud


_______________________________________________
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>