On Thu, 18 Feb 1999 [EMAIL PROTECTED] wrote:

> I have a user ezmlm handling two virtual domains. The problem is that
> we have a few users have email addresses in both domain, but some of
> them want to have their mail in different domain treated differently.
> 
> ~qmail/control/virtualdomains
> dom1.net:ezmlm
> dom2.net:ezmlm
> 
> Say the user name is bob. then ~ezmlm/.qmail-bob will handle both
> [EMAIL PROTECTED] and [EMAIL PROTECTED] with the same mean.
> 
> what can I do to treat them differently.

        You run into the problems because each domain is pointing to the 
same 'real' account. The first thing to do is to have a different account 
handling QMAIL duties for each domain.

        The real issue with virtual domains (versus the actual host's 
domain) is the way QMail handles accounts for virtual domains. I'll 
illustrate like so:

dom1.net:domain1
dom2.net:domain2

su - domain1
ezmlm-make ~/LIST ~/.qmail-bob domain1-bob dom1.net

        You will have to edit the ~/LIST/config file to remove "domain1-" 
from the line containing "domain1-bob". You may also have to edit the 
~/LIST/text/* files in the same way.

        With virtual domains, you are dealing with the fact that QMail is 
using the real account for controlling the virtual accounts, besides 
using virtual accounts to deal with virtual-virtual accounts.

        I just downloaded ezmlm-idx a couple of days ago and have done 
just this to set up two mailing lists for separate domains.

--
Roger Walker                    Voice/Fax 780-440-2685   Network Manager,
Director & Senior Consultant,   Pager 780-917-5817       ROPE Internet Services
ROSCO Associates Technology     <[EMAIL PROTECTED]>      <[EMAIL PROTECTED]>
Staffing Ltd. (RATS!)           <www.rat-hole.com>       <www.rope.net>
"HIS Pain; YOUR Gain"           BLACK RAT: <www.rat-hole.com/black-rat>

Reply via email to