lashampoo
02-25-2002, 12:42 PM
I tried to configure sendmail via /etc/mail/aliases to run an autoreply perl script. The log reports an smrsh error :
----- The following addresses had permanent fatal errors -----
"|/etc/smrsh/autoreply.pl /Users/john/Sites/john.txt john"
(reason: service unavailable)
(expanded from: <john@localhost>)
----- Transcript of session follows -----
smrsh: autoreply.pl not available for sendmail programs
So I tried to put the autoreply.pl script in the proper smrsh location but here is the new error that occured :
----- The following addresses had permanent fatal errors -----
"|/etc/smrsh/autoreply.pl /Users/john/Sites/john.txt john"
(reason: 2)
(expanded from: <john@localhost>)
----- Transcript of session follows -----
Failed to open /usr/adm/sm.bin/config at /usr/adm/sm.bin/autoreply.pl line 8.
554 5.3.0 "|/usr/adm/sm.bin/autoreply.pl /Users/john/Sites/john.txt john"... unknown mailer error 2
Does anyone knows how to by-pass the smrsh (Send Mail Restricted SH) program ? Or how to configure the /usr/adm/sm.bin/config file ? Or is Postfix better for running these script without been restricted by smrsh ?
----- The following addresses had permanent fatal errors -----
"|/etc/smrsh/autoreply.pl /Users/john/Sites/john.txt john"
(reason: service unavailable)
(expanded from: <john@localhost>)
----- Transcript of session follows -----
smrsh: autoreply.pl not available for sendmail programs
So I tried to put the autoreply.pl script in the proper smrsh location but here is the new error that occured :
----- The following addresses had permanent fatal errors -----
"|/etc/smrsh/autoreply.pl /Users/john/Sites/john.txt john"
(reason: 2)
(expanded from: <john@localhost>)
----- Transcript of session follows -----
Failed to open /usr/adm/sm.bin/config at /usr/adm/sm.bin/autoreply.pl line 8.
554 5.3.0 "|/usr/adm/sm.bin/autoreply.pl /Users/john/Sites/john.txt john"... unknown mailer error 2
Does anyone knows how to by-pass the smrsh (Send Mail Restricted SH) program ? Or how to configure the /usr/adm/sm.bin/config file ? Or is Postfix better for running these script without been restricted by smrsh ?