I don't know off hand. You'll have to learn more about README.qregex. See
/var/qmail/doc/README.qregex. I think that badmailfromnorelay may be what
you want.

Gabriel Lai wrote:
> Hi Eric,
> 
> How can I use qregex in /var/qmail/control/badmailto to accomplish this??
> 
> Please advice.
> 
> ----- Original Message ----- From: "Eric "Shubes"" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, October 19, 2006 1:05 AM
> Subject: Re: [qmailtoaster] Control Sending Externally & Locally
> 
> 
>> Gabriel Lai - E Technology wrote:
>>> Hello all,
>>>
>>> Does anyone have tried to setup a qmail box that contains 2 domains.
>>> Users in domain 1 is allow to send emails externally, while domain 2 is
>>> only allow to relay locally and whenever the users in domain try to
>>> sends email externally, failed message will be return to the sender
>>>
>>> Please assist.
>>
>> I think you can use qregex in /var/qmail/control/badmailto to
>> accomplish this.
>>
>> -- 
>> -Eric 'shubes'
>>


-- 
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to