.forward problem

Randal Schwartz merlyn at iwarp.intel.com
Thu Nov 1 12:37:06 AEST 1990


In article <10161 at ur-cc.UUCP>, lm03_cif at uhura (Larry Moss) writes:
| According to documention, man pages, and several other people I know, I
| should be able to have my mail sent to me and through a program if my
| .forward looks like:
| 	\lm03_cif,"|/u/cif/lm03_cif/prog"
| 
| When I do this, I do get a copy of the mail, but the second copy bounces
| back with the error "unknown mailer 1".  I also get "getwd: can't stat .".
| The program is readable and executable by world.  The directory it's in
| is executable by world and every parent directory to that is executable.
| Oh, this is on SunOS 4.0.3.  I hope that's enough information.
| 
| Does anyone have any suggestions?

We had that problem until I noticed that some bozo had made the "prog"
mailer csh (blech) in the sendmail.cf.  When I removed that, things
went away.  As a further guess, lemme suggest that maybe your program
is a csh script, and that you shouldn't do that unless *all* the
directories to the script are *readable* as well as executable, since
the script will run "setuid you", and csh's pwd will have problems
unless the dirs are "rx" at least.

If it's neither of those, mail me back, cuz I really like to be told
when I'm wrong (he says, setting himself up for a flame :-).

And by the way, *my* mail handler is a Perl script.  :-)

Just another mail handler,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn at iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Intel put the 'backward' in 'backward compatible'..."=========/



More information about the Comp.unix.questions mailing list