Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd August 2006, 19:18
ametade ametade is offline
Junior Member
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to set a rule to forward email to perl script

Hi everybody,

I want to forward all emails sent to some email account (support@site.com) to a perl script (/home/www/www.site.com/web/script.pl). I've tried to set the following forward rules at ispconfig email account advanced settings, none of them without success:
Code:
/home/www/www.site.com/web/script.pl
Code:
|/home/www/www.site.com/web/script.pl
Code:
support@site.com|/home/www/www.site.com/web/script.pl
How can I do this? Is is possible? Help please.
Reply With Quote
Sponsored Links
  #2  
Old 24th August 2006, 17:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Go to the user's homedir. You'll find the file .forward there. Edit it and put

Code:
|/home/www/www.site.com/web/script.pl
into it (remove everything else). But be aware: whenever you change one of this user's settings in ISPConfig, .forward will be overwritten!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 4th September 2006, 19:22
ametade ametade is offline
Junior Member
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

It worked perfectly. Thanks!
Reply With Quote
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay forward all outgoing email simplyworks Installation/Configuration 3 20th July 2006 18:06
Auto-Submit and Verification @ Spamcop sjau Technical 0 21st May 2006 22:30
Help forward root email to me domino Technical 10 2nd May 2006 15:01
Perl and cgi script installation linuxuser1 General 30 26th April 2006 23:09
perl script for my dns service gjcomputer Programming/Scripts 3 15th March 2006 00:28


All times are GMT +2. The time now is 00:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.