procmail
[Top] [All Lists]

Re: [Announcem.] SoftlabsAV 0.6.8 released

2004-04-20 06:00:23
On Tue, 20 Apr 2004, 10:31 GMT+02 Ruud H.G. van Tol wrote:

I wrote *body*, you write 'mail'. Do you check the size of the total
message
or the size of only the body of the message?

oops, didn't notice that we have been speaking of different kinds of
sizes. I am only checking for the mail's total size, simply like this:

 :0
  * > 1024
  * < 1024000
  { something }

I would prefer to check only the body's size instead, but am not aware
of a simple way to do it.

 :0 B
  * > 1024
  * < 1024000
  { something }

does not seem to work as intended - it seems to be the same as above.

Is it a configurable setting,
something like av_MINBODYSIZE? (I didn't check the code yet.)

Not yet, but that's a good idea - I will probably make this setting
configurable. However, as mentioned above, as I have it now, the
setting could only be something like av_MINMAILSIZE.

I'll send myself a 994 bytes attachment with a very short filename later
and check the size of the body.

Just did it. The body's size have been 1657 B.

rob.


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