Hi all

Sorry for the WOT post, but whenever I get hairless with a problem someone
here always seems able to help.

Basically, I have a PHP script which will become the means for taking STDIN
and sending it into a MySQL database.

I have a line in my /etc/aliases file, much like:
mailtodb:   |"/opt/mailtodb/bin/gotmail.php"

and ran:
# newaliases

I have linked to the file in smrsh so that security allows the file to be
run by sendmail:

# cd /etc/smrsh/
# ln -s /opt/mailtodb/bin/gotmail.php gotmail.php

That is all fine so far.

When sending the mail to that user, I get:

 ----- The following addresses had permanent fatal errors -----
|"/opt/mailtodb/bin/gotmail.php"
    (reason: 255)
    (expanded from: <[EMAIL PROTECTED]>)

   ----- Transcript of session follows -----
554 5.3.0 unknown mailer error 255


Please can someone tell me what that error means or better still, how to fix
it.

Advice, URLs, anything.

Thanks in advance.

- Peter Harrison


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to