Friends,

I am very interested in this matter of scripting forwards..
my situation is ...simpler because I have a postfix server that I will be 
replacing with the qmailtoaster.

but ( alas ) my understanding of where to start with such a script is fuzzy .
( i have written a script to add users )

my Q would be 

where would such a thing as
groupname   member1, member2, member3
get written?

when you create a forward via the GUI ... what text file / db is being changed?
and can a mere mortal just VI that?   how?  where?

thanks

js


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

Reply via email to