Erik Espinoza wrote:
>> 1) Does qmail(toaster) support email-aliases? I don't see it in any of
>> the
>> mysql tables - is there a flat file that holds this info, and where is
>> it? I
>> have to migrate hundreds of email aliases and I really don't want to use
>> "valias" to do it 1 by 1 (assuming that's what that file is for)
> 
> 
> You can create a single file for each alias in
> /home/vpopmail/domains/blah.com/.qmail-$alias that contains
> &[EMAIL PROTECTED] (one address per line).
> 
> So if the alias is [EMAIL PROTECTED] forwarded to [EMAIL PROTECTED],
> create a file called /home/vpopmail/domains/blah.com/.qmail-foo that
> contains &[EMAIL PROTECTED]
> 
> Once done, you can execute the following:
> # /home/vpopmail/bin/dotqmail2valias -a

If you are any good at sql, the table is valiases.  There are 3 columns
in the table.  domain which has the domain name, alias which is the
local alias without any domain name and valias_line, which should be the
email address you want the mail to forward to, preceeded by an ampersand
(&).

So to forward mail from [EMAIL PROTECTED] to [EMAIL PROTECTED], you would
set:
domain: mydomain.com
alias: me
valias_line: &[EMAIL PROTECTED]

If you send a few lines from your flat file I might just be able to give
you a quick script to do the conversion directly.

Regards,
W

---------------------------------------------------------------------
     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