RedHat 8, SENDMAIL message piping - indestructible SMRSH error!
Posted on 2005-02-24
I'm running Red Hat Linux 8 with Sendmail 8.12.8 and hylafax (having some success using it as email-to-fax gateway.)
I'm trying to pipe emails addressed to a certain user (email@example.com) to a script called
attachmentfaxer with a line in /etc/aliases :
I'm getting an smrsh error (stat failed), so I've added a symbolic link to /home/attachmentfaxer/attachmentfaxerscript to /etc/smrsh like this:
# ln -s /home/attachmentfaxer/attachmentfaxerscript
BUT - i still get the error! :(
The Email I get back:
The original message was received at Fri, 25 Feb 2005 16:38:19 +1100 from dska006.hollard.com.au [192.168.0.76]
----- The following addresses had permanent fatal errors ----- "|/home/attachmentfaxer/attachmentfaxerscript"
(reason: Service unavailable)
(expanded from: <firstname.lastname@example.org>)
----- Transcript of session follows -----
smrsh: "attachmentfaxerscript" not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable