Re: qmail-qfilter script

Adrian Ho <[email protected]>
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
On Fri, Jul 01, 2005 at 08:44:38AM -0400, Payal Rathod wrote:
> I have done a script to restrict particular domains to send me big 
> mails. But it is not working. Can someone check please?
> [...]
> MSGSIZE=`cat - | wc -c`
> [...]
> 
> This is not working. I have already saved the fd to fd 3 so I can use it, still
> it is not working. Can anyone suggest on some way for this?

Yes.  Read the ENVIRONMENT section of the qmail-qfilter man page
(assuming you're using v2.0).  You're setting a variable that's already
defined for you.

- Adrian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.