🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.elm
Article #3529

Using filter

#3529
From: James Deibele
Date: Mon, 25 Jan 1993 05:48
25 lines
1155 bytes
I would like to have a address save a copy of incoming mail but
automatically bounce back a standard text file to anyone who sends mail
to that address.

.forward: "| /usr/local/bin/filter -o problems"

.elm/filter-rules: if (not from = "jamesd") then executec "reply %S %r"

reply: elm -s "$1" $2 </home/users/me/somefile

.elm/filterlog below:

Mail from testuser about Testing
	EXECUTED "reply "Re: Testing" testuser" AND PUT in mailbox by rule #1

"testuser" never sees a reply, although it looks like it should.

Can somebody help?

Thanks!
--
jamesd@techbook.COM                   "2091 newsgroups & nothing on ..."  
PDaXs gives free access to news & mail. (503) 220-0636 - 1200/2400, N81  
Full internet (ftp, telnet, irc) access available. Voice: (503) 223-4245
PC GrabDisc - 300 megs of programs every month on CD-ROM - email for info
Technical Details
Message-ID: <C1EAt9.2Dv@techbook.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!techbook!jamesd

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.elm
Path: arc1-ca.pugleaf.net!sparky!uunet!techbook!jamesd
From: jamesd@techbook.com (James Deibele)
Subject: Using filter
Message-ID: <C1EAt9.2Dv@techbook.com>
Organization: TECHbooks --- Public Access UNIX --- (503) 220-0636
Date: Mon, 25 Jan 1993 05:48:40 GMT
Lines: 25