dunno what to tell ya there, let me get into details of what i did here:

dns:
safari.net. in mx mail1.safari.net.
reefnet.com. in mx mail1.safari.net.

qmail:
xs@mail1# echo "reefnet.com">/var/qmail/control/rcpthosts
xs@mail1# echo "reefnet.com:alias-reefnet"> \
          /var/qmail/control/virtualdomains
xs@mail1#: for i in `cat ~/passwd-reefnet|awk -F: '{print $}'`; \
           do adduser $i;echo "&$[EMAIL PROTECTED]"> \
           /var/qmail/alias/.qmail-reefnet-$i;done

# this should produce error for ever dupe user, then just write em down,
# and add them as uname2, and then fix the apropriate .qmail-file-*

anyway i'm sure this wont help, but i'll submit it for reviewing.

thanks

end 
-------------------------------------------------
Greg Albrecht                     Safari Internet
System Administrator          Fort Lauderdale, FL
[EMAIL PROTECTED]                      www.safari.net              
              +1[888|954]537-9550
-------------------------------------------------

On Thu, 11 Mar 1999, Adam D. McKenna wrote:

>Right.  We've already done that.  But some users were not duplicates, so
>they were given regular usernames.  I will be putting in .qmail files for
>all the duplicates, but I need some way to use .qmail-default to rewrite the
>To: domain for those that aren't duplicates.  I.E. if there is no other
>qmail file to process the message, convert [EMAIL PROTECTED] to
>[EMAIL PROTECTED], and process the mail from there.
>
>--Adam
>
>-----Original Message-----
>From: xs <[EMAIL PROTECTED]>
>To: Adam D. McKenna <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Thursday, March 11, 1999 2:18 PM
>Subject: Re: rewriting to: addresses
>
>
>:
>:i had a similar situation when we bought another isp here,
>:what we had to do was create a virtualhost entry for the other isp, and
>:for each user create a .qmail-reefnet-username (we bought reefnet). and
>:for duplicates, give them a new username to use for dialing up, but tell
>:them they could keep their email addy. we had to do this with about 10
>:users, and it worked out ok.
>:
>:later
>:
>:
>:
>:end
>:-------------------------------------------------
>:Greg Albrecht                     Safari Internet
>:System Administrator          Fort Lauderdale, FL
>:[EMAIL PROTECTED]                      www.safari.net
>:              +1[888|954]537-9550
>:-------------------------------------------------
>:
>:On Thu, 11 Mar 1999, Adam D. McKenna wrote:
>:
>:>An ISP I am working for recently bought another ISP.  Some of the
>usernames
>:>they are importing are the same as users they currently have on the
>system.
>:>If there is duplication of usernames, we are going to create new accounts,
>:>username.nn and forward the mail to them using .qmail files.  What I want
>to
>:>do is, if the username is unique, the mail can just be forwarded to that
>:>username.  Can I do this with a .qmail-domain-default alias?  It should be
>:>just a rewrite of the domain in the To: field.
>:>
>:>I was thinking I could do something just using a |forward, is this
>possible?
>:>
>:>--Adam
>:>
>:>
>:>
>:>
>:
>:
>
>
>

Reply via email to