Hey Brett,

Thanks for the reply...

I tried changing the %1 to $LOCAL in my /etc/aliases file so that it
looks like:

@virtdomain.com $LOCAL~[EMAIL PROTECTED]

but after running /var/qmail/bin/newaliases and testing I still get:

# env DEFAULT=george HOST=virtdomain.com /var/qmail/bin/fastforward -nd
/etc/aliases.cdb
from <original envelope sender>
to <$LOCAL~[EMAIL PROTECTED]>

I guess I would like to stay away from .qmail files because I would probably
end up
having about 300+ of them for different domains... I think the
directory/file access
would be very slow compared with using a cdb file like /etc/aliases.cdb, but
then again
I might be wrong... and I guess I did not explain that part initially or
very well...
lack of sleep to solve this problem due to disgust with sendmail has cause a
lack of
good explanation skills...

BTW: I have posted two other email without any response to this mailing list
and no
ever replied... I guess that is why I put the URGENT in there..


-----Original Message-----
From: Brett Randall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 29, 2000 1:00 AM
To: Timothy Lorenc; qmail
Subject: RE: URGENT: sendmail virtusertable conversion to qmail


OK I didn't totally understand that rushed e-mail, but you may like to know
that the username that the mail is being delivered to can be referenced in
.qmail files as $LOCAL . ie in .qmail , you could have a line ' | forward
"$[EMAIL PROTECTED]" ' to forward to whatever the username is,
plus "-blah" at the domain name. Hope this helps

/BR


Manager
InterPlanetary Solutions
http://ipsware.com/


---MY ORIGINAL MESSAGE---


Hello QMailers:

I am trying to figure out how to convert from a sendmail virtusertable file
in
the format of:

@virtdomain.com %1~[EMAIL PROTECTED]

to be used with qmail. I have investigated fastforward and using the
newaliases
command which says that it will use /etc/aliases entries and virtualdomain
entries...
but when I have the above in the /etc/aliases file and create a
/etc/aliases.cdb
and try to verify it by:

mailhost% env DEFAULT=george HOST=virtdomain.com
/var/qmail/bin/fastforward -nd /etc/aliases.cdb
from <original envelope sender>
to <%1~[EMAIL PROTECTED]>

I think it should resolve to: <george~[EMAIL PROTECTED]>

The reason for this setup is to have several load balanced MX mail servers
on the front
end with a large back-end database storage for email.

Thanks for any help or advice!

Reply via email to