[NTLUG:Discuss] special sendmail alias

Rusty Haddock rusty at fe2o3.lonestar.org
Thu Feb 3 18:02:28 CST 2000


David Camm wrote:
    >is 
    >
    >user1 |/dev/null 
    >
    >a valid alias in sendmail?
    >

Nope.   First, there needs to be a colon after user1.
	Seconds, when using the | "operator", the path name
	    after it needs to be runnable program.
	Third, there needs(?) to be double quotes around the alias.

Try this, it works on a stock RH5.2 system:

    user1: "| /bin/cat >/dev/null"


	-Rusty-

-- 
   _____        Rusty Haddock  =  KD4WLZ  =  rusty at fe2o3.lonestar.org
|\/   o \   o
|   (  -<  O o  Some days it's just not worth chewing through the leather
|/\__V__/       straps in the morning.   [seen on a bumper sticker]




More information about the Discuss mailing list