chedder123
Programmer
I'm running Linux, Redhat 7.3, and Qmail. I do have procmail installed, however if I don't need to, I don't want to use procmail as it seems just a little more difficult. My question is, how can I setup a mailbox so whenever it receives an email, it runs a perl script? I've read the manuals on qmail and it seems that all I have to do is enter in:
| /home/httpd/vhosts/domainname.com/httpdocs/admin/esi-orders.cgi
Into the .qmail file. I did that, however it's not running the script. I'm using virtual hosting on this, so would that make a difference? The qmail is in the home directory of the user.. ie:
/var/qmail/mailnames/domainname.com/orders/.qmail
Do I have to restart qmail once I make changes to the alias files? Or is there something I need to do so the changes take affect?
The entire .qmail file reads:
| /home/httpd/vhosts/successmm.com/httpdocs/admin/esi-orders.cgi
| true
./Maildir/
Any help?
Thanks...
| /home/httpd/vhosts/domainname.com/httpdocs/admin/esi-orders.cgi
Into the .qmail file. I did that, however it's not running the script. I'm using virtual hosting on this, so would that make a difference? The qmail is in the home directory of the user.. ie:
/var/qmail/mailnames/domainname.com/orders/.qmail
Do I have to restart qmail once I make changes to the alias files? Or is there something I need to do so the changes take affect?
The entire .qmail file reads:
| /home/httpd/vhosts/successmm.com/httpdocs/admin/esi-orders.cgi
| true
./Maildir/
Any help?
Thanks...