dit@frenzy.sybase.com (frustrated) (11/28/90)
Ok, I wouldn't post this to the net, except that noone around here seems to be able to help me.. Here's my problem : I am trying to use filter. I believe that all of my rules and everything are alright, and the logfile tells me that they are being applied, but everything gets dumped in my regular mailbox, regardless.. here are my rules and log file.. if ( from contains "funky" ) then save "$HOME/Mail/funky" if ( from contains "telecom" ) then save "$HOME/Mail/telecom" if ( subject contains "cheapo" ) then save "$HOME/Mail/cheapo" if ( to contains "receive" ) then save "$HOME/Mail/receive" and my log file-- Mail from sun!ai.mit.edu!trotsky about PUT in mailbox: the default action Mail from sun!CS.UCLA.EDU!alex about Re: You cant Copyright no beat PUT in mailbox: the default action Mail from sun!mailinglists.eecs.nwu.edu!telecomlist-request about TELECOM Digest V10 #832 by rule #2 Mail from dit about telecom PUT in mailbox: the default action Mail from dit about cheapo by rule #3 Mail from dit about cheapo by rule #3 Mail from dit about cheapo by rule #3 Mail from joan about Update on Open P.O.s (addressed to deborah, receivejoan, kat) by rule #4 Mail from sun!hyper.lap.upenn.edu!funky-music-request about Re: How to Make Love to a Negro Without Getting Tired by rule #1 Mail from sun!hyper.lap.upenn.edu!funky-music-request about Re: How to Make Love to a Negro Without Getting Tired by rule #1 Mail from sun!mailinglists.eecs.nwu.edu!telecomlist-request about TELECOM Digest V10 #846 by rule #2 Mail from sun!mailinglists.eecs.nwu.edu!telecomlist-request about TELECOM Digest V10 #847 by rule #2 Mail from sun!hyper.lap.upenn.edu!funky-music-request about Several Reveiews requested by rule #1 Mail from sun!hyper.lap.upenn.edu!funky-music-request about Milli Vanilli bill by rule #1 Mail from sun!hyper.lap.upenn.edu!funky-music-request about Billboard awards by rule #1 Mail from MAILER-DAEMON about Returned mail: User unknown PUT in mailbox: the default action Mail from dit about cheapo by rule #3 ________________________________________________________________________________ David Trumbull \ My motto, as I live and learn, is: dit@sybase.com / Dig and be Dug Indeed / In Return
wls@garden-brau.csd.uwm.edu (Bill Stapleton) (11/29/90)
In article <11897@sybase.sybase.com>, dit@frenzy.sybase.com (frustrated) writes: ... > if ( from contains "funky" ) then save "$HOME/Mail/funky" You can't count on having your normal environment when sendmail runs filter via your ".forward" file, and I'm not sure if filter even expands $HOME. Filter probably gets an error trying the first save, and backs off to saving the mail in your mailbox. You might get more information if you use the "-o" option, with a full pathname. The easiest fix is to just completely specify the path, without using $HOME. -- Bill Stapleton wls@csd4.csd.uwm.edu uwmcsd4!wls