Hi there, just wondering abot something here.
I understand that putting an entry into the badhostfrom file should be able
to block all mails from sent from an email source such as [EMAIL PROTECTED]
My mail server is currently hosting multiple domains. I wish to block
senders according to my different domains. For example, is it possible to
block an email address for myfirstdomain.com and not for myseconddomain.com
?? Is there multiple "badhostfrom" files from different domains ??
Regards,
Sunil
>From: Johan Almqvist <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Fw: How to block an email id in qmail?
>Date: Tue, 3 Apr 2001 10:51:00 +0200
>
>* 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/
><< attach3 >>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.