There doesn't appear to be a CLI command for that. You'll need to add
entries to the valias table in the vpopmail database in mysql.

James F. Jarrett wrote:
> I already have all that, I'm just not sure what to have the script *DO*.
> 
> I didn't seem to find a command line to create a forward, and am a bit
> loathe to mess with the files directly.  
> 
> Any suggestions on that?
> 
> James
> 
> On Tue, 2007-03-06 at 08:33 -0500, Jake Vickers wrote:
>> James F. Jarrett wrote:
>>> I have a question regarding forwards.
>>>
>>> We currently have two e-mail systems in place (one legacy, that is going
>>> away and our new toaster), when the legacy system goes away, it would be
>>> advantageous to re-create its domain on the toaster and forward all mail
>>> going to the old accounts to the new accounts.
>>>
>>>
>>> The new accounts are not just the same old name at a new domain, but
>>> completely different.  To make this work, I would have to create a
>>> forward for every old account on the old system to it's equiv. account
>>> on the new.
>>>
>>> Is there a way to script this so I don't have to manually put in 300+
>>> forwards?
>>>
>>>   
>> With some scripting you could dump the old email addresses as a text 
>> file, create the old domain on the Toaster, and run your text file 
>> through a script to create the forwards for you. It'd be difficult, 
>> since the new email addresses are not similar to the old, but I guess 
>> you could create the text file like this:
>> [EMAIL PROTECTED] [EMAIL PROTECTED]
>> [EMAIL PROTECTED] [EMAIL PROTECTED]
>> ....
>>
>> and have the script run that way.


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