Re: qmail-qfilter script

Jeremy Kitchen <[email protected]>
Newsgroups gmane.comp.sysutils.bgware
Organization Inter7 Internet Technologies, Inc.
Message-ID <[email protected]>
On Thursday 30 June 2005 12:03 pm, Payal Rathod wrote:
> Hi,
> Can someone please give a tip on writing a simple shell or awk script
> for qmail-qfilter which will reject mails if receipent is an address
> listed in /var/qmail/block_recpt. I don't understand perl at all, but if
> awk/shell script is not possible, perl will also do.
> Thanks a lot in advance.
> With warm regards,
> -Payal

you'd be better off with a badrcptto patch to qmail, imo.  That way 
qmail-smtpd can reject the message (or at least, the recipient) well before 
the data verb, which will save bandwidth.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
    [email protected] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
      kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
          GnuPG Key ID: 481BF7E2 ++ qmail wiki @ qmailwiki.org !!
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCxCg8yBTJv0gb9+IRAgHYAKDATqbCf5RgJlQbzvhrMKlmJ9oLeACfbhIZ
i8R/9OccF3gfJzelQZBrKDk=
=LfiI
-----END PGP SIGNATURE-----
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.