raylin
04-18-2001, 07:52 PM
Anyone knows how to set up a MTA (such as sendmail or qmail) to send mail for an address to a program?
I would like to install ticketsmith on my server. But don't know how to set up sendmail to pipe mail to gateway.pl
Add the following to your sendmail aliases file:
aliase for ticket smith "|path to gateway.pl"
And that should do it.
raylin
04-19-2001, 12:41 AM
I have done these steps:
1. mkdir /etc/smrsh
2. mv gateway.pl to /etc/smrsh
3. vi /etc/aliases to contain only one line:
support: "|/etc/smrsh/gateway.pl"
But when I mailed to support@mysite.com, mails were not piped to ticketsmith. :confused:
You'll have to run the program newaliases.
erapid
04-23-2002, 12:40 PM
Originally posted by raylin
I have done these steps:
1. mkdir /etc/smrsh
2. mv gateway.pl to /etc/smrsh
3. vi /etc/aliases to contain only one line:
But when I mailed to support@mysite.com, mails were not piped to ticketsmith. :confused:
At first, what is the file you need to edit depends on your mail programm settings.
On my server .forward is down, i wrote to
/etc/valiases/site.name
Anyway, format is the next
message@site.name: "| /home/user/pager.php"
*: global@email
Regards