Re: qmail-qfilter script
Payal Rathod <[email protected]>
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jun 30, 2005 at 02:17:41PM -0500, Jeremy Kitchen wrote: > 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. Will qmail-qfilter be easier? I mean just see the recipent, if present in say /etc/blocked ... exit with exit code 31. Right? Now maybe you can give me a tip to start on it. Thanks for the help. With warm regards, -Payal > > 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 !!