Managing numerous email forwarders

[email protected]

Registered
Dec 11, 2004
2
0
151
I manage a web-site for my neighbor association. As a part of this, I have set up about 150 email forwarders. Managing these through the web interface is quite a chore. Is there an easier way to do this? I.e., can I create a file in some ofrmat an upload it in some manner?

Thanks!
 

sb-host

Member
Apr 17, 2002
8
0
301
I manage a web-site for my neighbor association. As a part of this, I have set up about 150 email forwarders. Managing these through the web interface is quite a chore. Is there an easier way to do this? I.e., can I create a file in some ofrmat an upload it in some manner?

Thanks!
I have done this before using a text file. It was quite a while ago, so I may be a bit rusty, double check before you proceede. :)

You can go to the cPanel in question, create a few forwarders. Then, look at [/etc/valiases] for that domain. You can follow that format and paste them in as needed, or however you prefer to work in SSH.
Glenn
 

[email protected]

Registered
Dec 11, 2004
2
0
151
Thank you all for your suggestions.

Chirpy - your suggestion seems to be rather straight-forward. But, maybe you can add a little more detail.

My workstation is a Windows box. I can install Perl if needed. I assume that I would run the Perl script on my box and it would access /etc/valiases on the host computer? Thus, username/password information would have to be provided? If my understanding is correct, there is nothing special about Perl - I could use any scripting language.

Any guidance you can offer is greatly appreciated!
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,441
31
473
Go on, have a guess
No, you'd run a perl script on the server under the account whose valiases file you want to modify, for example, as a CGI script.