Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!ccu.umanitoba.ca!mills From: mills@ccu.umanitoba.ca (Gary Mills) Newsgroups: comp.mail.sendmail Subject: Re: full description of .forward Message-ID: <1990Nov1.015509.26401@ccu.umanitoba.ca> Date: 1 Nov 90 01:55:09 GMT References: <1990Oct29.230614.4328@mp.cs.niu.edu> Distribution: comp Organization: University of Manitoba, Winnipeg, Canada Lines: 15 In <1990Oct29.230614.4328@mp.cs.niu.edu> rickert@mp.cs.niu.edu (Neil Rickert) writes: > In other words, any string valid for the -c option of /bin/sh should be >ok. As long as the command is quoted with ", the actual details of what is >in the command are not parsed by sendmail, but just fed directly to the >shell. The standard input to /bin/sh is the message concerned. The mailer >flags control the header lines added to the mail before pumping it into >/bin/sh. Watch out for the quoting requirements of /bin/sh. I recently helped a user who had "| /usr/local/lib/foo/mailer #user@host.dom.ain" in his .forward file. I had to quote the `#' character to make it work. It was a valid, albeit unfortunate, address. -- -Gary Mills- -Networking Group- -U of M Computer Services-