#1 (permalink)  
Old 06-02-2009, 12:12 PM
Registered User
 
Join Date: Oct 2007
Posts: 1
shiznatix is on a distinguished road
Adding forwarder via script

I am trying to create email addresses via the command line and all is going well except for creating a forwarder. I have found this command to create the address:
Quote:
/scripts/addpop username@domain.com password
but what would the command be to add a forwarder? I want to pipe all email to these addresses to a php script and I need to do it via a command-line command.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-02-2009, 01:58 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,033
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by shiznatix View Post
I am trying to create email addresses via the command line and all is going well except for creating a forwarder. I have found this command to create the address:

but what would the command be to add a forwarder? I want to pipe all email to these addresses to a php script and I need to do it via a command-line command.
You can have your PHP script call our APIs to create forwarders, as described at:

PHP Script generating forwarders programmatically
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automated adding of email forwarder MHz cPanel and WHM Discussions 3 10-29-2007 02:52 PM
/etc/valiases being overwritten when adding forwarder riffer cPanel and WHM Discussions 3 05-30-2007 12:46 PM
Adding forwarder users to a domain from a script? mrcpu cPanel and WHM Discussions 4 05-19-2005 02:31 PM
adding forwarder AG-Soft cPanel and WHM Discussions 0 07-01-2004 05:42 PM
Adding Forwarder at Cpanel. Jorang cPanel and WHM Discussions 2 09-30-2001 06:00 PM


All times are GMT -5. The time now is 11:10 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc