On Mon, 2004-02-23 at 16:41, QuickBrownFox wrote:
> Hello all,
> 
> Is there a sendmail guru in the house?  I've been trying to get a 
> certain feature to work for several weeks now at work, with no luck.
> 
> I'm trying to get sendmail to forward email to a program, using the 
> "prgmforward:   "|/fully/qualified/path/to/script"" syntax in the 
> /etc/aliases file.  I've put the appropriate shortcuts to allow the 
> smrsh to execute m program.  Somehow, though, I get errors in my maillog 
> like this one:
> 

The key is that you have to put a symlink in /etc/smrsh of the program
that you want to run.  For example, the mailman mailing list requires
the mailman binary to be symlinked into the smrsh file.  Sendmail will
only run programs that are symlinked into that directory for security
reasons.

Michael


> <quote>
> 
> Feb 23 15:01:55 dbtest2 sendmail[32150]: i1NM0Ohx032097: SYSERR(root): 
> mailer prog died with signal 11
> Feb 23 15:01:55 dbtest2 sendmail[32150]: i1NM0Ohx032097: 
> to="|/opt/repeat_temp/repeat", ctladdr=<[EMAIL PROTECTED]> 
> (8/0), delay=00:01:31, xdelay=00:00:00, mailer=prog, pri=120613, 
> dsn=4.0.0, stat=Deferred: prog mailer (/usr/sbin/smrsh) exited with 
> EX_TEMPFAIL
> 
> </quote>
> 
> Any ideas?  I've already tried invoking the program by hand, both using 
> bash directly, and using "smrsh -c /opt/repeat_temp/repeat".  I've also 
> hoped that it was just some sort of configuration or package issue, and 
> tried using other distros, namely Redhat 9.0, Mandrake 9.2, and SuSE 9.0.
> 
> System background info:
> 
> Distro: Fedora Core 1
> Kernel: 2.4.22-1.2140.nptl
> Sendmail version: 8.12.10-1.1.1
> 
> 
> 
> Thanks,
> Lloyd Brown
> 
> --------------------
> "Open Source is not a crime."
>                -Seen on a bumper sticker
> --------------------
> 
> 
> ____________________
> BYU Unix Users Group 
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
-- 
Michael L Torrie <[EMAIL PROTECTED]>

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to