[thelist] Sendmail aliasing problem

Jeremy Ashcraft ashcraft at 13monkeys.com
Thu Dec 21 16:34:56 CST 2000


Hey all,

Been lurking for a little while due to high volume at work, but anyway.....

I'm trying to set up an alias within sendmail on a RH6.2 system to point to
a perl script to handle the email, easy enough, right?  My line in the
/etc/aliases fine looks like this:

helpdesk:       "|/home/httpd/gocopernicus/mailtransfer.pl"

I send an email to helpdesk and I get the following errors in my sendmail
logs:

Dec 21 15:46:15 localhost sendmail[30651]: PAA30651:
from=<ashcraft at egdev.dynip.com>, size=328, class=0, pri=30328, nrcpts=1,
msgid=<Pine.LNX.4.21.0012211545480.30644-100000 at localhost>, proto=ESMTP,
relay=IDENT:ashcraft at localhost [127.0.0.1]
Dec 21 15:46:15 localhost smrsh: uid 8: attempt to use mailtransfer.pl
Dec 21 15:46:15 localhost sendmail[30652]: PAA30651:
to="|/home/httpd/gocopernicus/mailtransfer.pl", delay=00:00:00,
xdelay=00:00:00, mailer=prog, stat=Service unavailable
Dec 21 15:46:15 localhost sendmail[30652]: PAA30651: PAA30652: DSN: Service
unavailable

and, I get the following message bounced back to me:

   ----- The following addresses had permanent fatal errors -----
"|/home/httpd/gocopernicus/mailtransfer.pl"
    (expanded from: <helpdesk at egdev.dynip.com>)

   ----- Transcript of session follows -----
sh: mailtransfer.pl not available for sendmail programs
554 "|/home/httpd/gocopernicus/mailtransfer.pl"... Service unavailable

(yes, mailtransfer.pl is world executable)
I didn't think I had to do anything special to sendmail to get this
working.......
Any help is much appreciated....

TIA

jeremy







More information about the thelist mailing list