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 01:34 pm, Payal Rathod wrote:
> On Thu, Jun 30, 2005 at 01:10:43PM -0500, Jeremy Kitchen wrote:
> > try mailfront then, as its mailrules file can do this.
>
> But I cannot give it a list of domains? Like for IP 192.168.0.11
> block all domains in file /etc/blocked? Can I? If yes how do I go about
> it?
> With warm regards,
> -Payal
with mailfront you would put in a tcprules rule for that IP to use
MAILRULES="/some/file/somewhere" and that file would contain the rules for
that user.
for instance, I have in my tcprules file:
68.78.194.73-78:allow,RELAYCLIENT="",RBLSMTPD="",MAILRULES="/var/qmail/control/norules"
which is my IP range, /var/qmail/control/norules is a blank file. I don't
restrict myself in any way (I don't even bother virus scanning :)
and everyone else uses /var/qmail/control/mailrules, which is the MAILRULES
environment variable set in my run script by envdir.
-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) iD8DBQBCxEVZyBTJv0gb9+IRArelAJ9zL2qkPVKDGIDATRWI0ACKV8jNlgCg1iBj x7tF+qEtue054aKDfLkA/eU= =ralZ -----END PGP SIGNATURE-----