* Mathew Chandy <[EMAIL PROTECTED]> [010403 10:41]:
> > > I have a problem . I have to block an user say [EMAIL PROTECTED] from sending
> > > mails to [EMAIL PROTECTED] . How can i acheive this in qmail.
> > >
> > > The mail server on mydomain.com is a qmail mail server. I tried doing
> > > this using the control file badrecipient in /var/qmail/control
> > > directory. But that doesn't work out.

Standard qmail does not have a badrecipient file. However, there is a
badmailfrom file. So echo "[EMAIL PROTECTED]" >> /var/qmail/control/badmailfrom
should do the trick. Then, [EMAIL PROTECTED] can't send mail to anyone on your
host.

control/badrcptto is possible with patches from www.qmail.org. Putting
[EMAIL PROTECTED] in that file will stop all mail to [EMAIL PROTECTED]

If you only want to stop [EMAIL PROTECTED] from sending mail to
[EMAIL PROTECTED], you'll need to put things in that users' qmail file.

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

PGP signature

Reply via email to