http://www.perlmonks.org?node_id=224248


in reply to Re: Re: Server wide spam stop with qmail
in thread Server wide spam stop with qmail

Ah, good point. In that case you might consider using, say, $/ = \32768; to read 32k chunks while printing the body - gets rid of the useless end-of-line scanning overhead.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re^3: Server wide spam stop with qmail
by Juerd (Abbot) on Jan 04, 2003 at 14:05 UTC

    you might consider using, say, $/ = \32768; to read 32k chunks while printing the body - gets rid of the useless end-of-line scanning overhead.

    Oh, that be a very good idea. *implements*

    Thanks!

    - Yes, I reinvent wheels.
    - Spam: Visit eurotraQ.
    

      When I ran the original code verbatim in my qfilter, the log reported: Not enough arguments for main::link at /usr/local/spam/redir line 34, near ""$maildir/tmp/$tph";" Any thoughts on my mistake?
        solution: permissions, permissions, permissions.