Hello everyone, I have a Mandrake (8.1) server and am having trouble with Sendmail. Basically, I want to have an alias that forwards the email sent to it to a perl script. I know stuff like this can be done and does work, because that is how Majordomo is setup. Majordomo works fine, but when I setup an alias like below Sendmail says "Cannot mail directly to programs" in the maillog.
Here's my Majordomo forwards (in /etc/aliases): forward22: :include:/usr/maj/majordomo-1.94.5/lists/informer forward23: "|/usr/maj/majordomo-1.94.5/wrapper request-answer informer" forward24: :include:/usr/maj/majordomo-1.94.5/lists/ocnews forward25: "|/usr/maj/majordomo-1.94.5/wrapper request-answer ocnews" forward26: "|/usr/maj/majordomo-1.94.5/wrapper majordomo" The key one's to look at are forward23, 25 and 26....they actually pipe to the wrapper program and it spits back an email to send to the user who origninated the email. My line looks like this: forward155 "| /home/admin/yptest.pl" They are basically doing the same thing, but I can't get mine to work. Any help is appreciated, Kevin
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
