Sorry, typo... the procmail filter shoul djust have one trailing dot
("." character, otherwise it will also filter out messages of length one
and 2 characters, as well. Also, it's better to lock the process, so
use ":0:" preferably instead of ":0" on the first line:
:0:
* ! B ?? .
zero-length-body-folder
--Tobias
Tobias Kreidl wrote:
> From my understanding of RFC 1870, there is nothing wrong with a
> message with a content of zero size.
>
> One option to trap such messages would be to use the body_checks postfix
> filter, but that's "expensive".
> Another option that might be more efficient would be to use a procmail
> filter on the mail host side to
> check the message content. The following works if put in your
> .procmailrc file:
>
> :0
> * ! B ?? ...
> zero-length-body-folder
>
> or if you want to just throw it away,
>
> :0
> * ! B ?? ...
> /dev/null
>
> I'm not sure why you have a problem with zero-length messages in the
> first place -- is it a spam or DOS issue?
>
> --Tobias
>
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
policyd-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/policyd-users