Help on setting up PIPE Gateway.... ....
I am trying to get all emails to go to a script to be processes and then sent to a program but then my emails keep bouncing....Here is what I entered.
on the "aliases" at /etc/mail/aliases it looks like
galacmail: |/usr/adm/sm.bin/hivemail_process.php
# catch-all aliases
@galacmail.com galacmail
@server17.galacnet.com error:nouser No such user here
@www.galacmail.com galacmail
@galacmail.com galacmail
@server17.galacnet.com error:nouser No such user here
@www.galacmail.com galacmail
When I send a mail to a test account at tester@galacmail.com this was what was returned to me....
The original message was received at Mon, 17 Jan 2005 00:00:29 +0800
from santiago.pacific.net.sg [203.120.90.135]
----- The following addresses had permanent fatal errors -----
|/usr/adm/sm.bin/hivemail_process.php
(reason: 1)
(expanded from: <tester@galacmail.com>)
----- Transcript of session follows -----
Usage: php [options] [-f] <file> [args...]
php [options] -r <code> [args...]
php [options] [-- args...]
-a Run interactively
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f <file> Parse <file>.
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-r <code> Run PHP <code> without using script tags <?..?>
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.
args... Arguments passed to script. Use -- args when first argument
starts with - or script is read from stdin
554 5.3.0 |/usr/adm/sm.bin/hivemail_process.php... unknown mailer error 1
from santiago.pacific.net.sg [203.120.90.135]
----- The following addresses had permanent fatal errors -----
|/usr/adm/sm.bin/hivemail_process.php
(reason: 1)
(expanded from: <tester@galacmail.com>)
----- Transcript of session follows -----
Usage: php [options] [-f] <file> [args...]
php [options] -r <code> [args...]
php [options] [-- args...]
-a Run interactively
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f <file> Parse <file>.
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-r <code> Run PHP <code> without using script tags <?..?>
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.
args... Arguments passed to script. Use -- args when first argument
starts with - or script is read from stdin
554 5.3.0 |/usr/adm/sm.bin/hivemail_process.php... unknown mailer error 1
Any advice on this??