teste teste1 <[EMAIL PROTECTED]> wrote:
>
> How ca I do a configuration for some users send email
> only local domain and others users send email in local
> domain and outside domains.
Tricky.
Basically, you have to either grant users permission to send mail or not
-- it's hard to filter out who they can send mail to. One approach,
that would require a lot of work, would be to use Bruce Guenter's
QMAILQUEUE patch and qmail-qfilter package. You then have to write a
filtering script which can detect which user sent the mail (remember,
they can trivially forge the envelope sender address), determine whether
the recipient address is allowed, and then either let the mail through
or bounce it.
Why do you need to do this? They can always get their mail out by some
other means.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------