D . Cook <[EMAIL PROTECTED]> wrote:
> Oops. I actually wanted only to be able to send mails OUT to every host
> except what is banned.
You can "ban" your users from sending mail to certain domains by making them
virtualdomains on your own server, and blackholing the mail. You set up a
virtualdomain like domain.org:alias-domain.org, and then have a file
~alias/.qmail-domain:org-default which contains only '#'. Then either fiddle
with your DNS, or use an smtproutes entry to ensure mail for that domain goes
to your mailserver.
> I only found out by specifying the domain in rcpthosts I could send mails to
> that domain. Could you please point out the exact what-to-do in man page?
Go to cr.yp.to and read everything you can find about "selective relaying" or
tcpserver. Then read the same topics at www.qmail.org and
www.lifewithqmail.org.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------