HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   How to set a rule to forward email to perl script (http://www.howtoforge.com/forums/showthread.php?t=6402)

ametade 23rd August 2006 19:18

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.

falko 24th August 2006 17:51

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!

ametade 4th September 2006 19:22

It worked perfectly. Thanks!


All times are GMT +2. The time now is 13:50.

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