greg@cityzoo.acs.umbc.edu (Greg Sylvain,Lib 007a,3929,6445148) (11/29/90)
Hi,
I hope someone has figured this out ?
First off, filter does work if I use it in conjunction with readmsg.
And the logging seems to work.
But I can't get sendmail to work with the filter program via the
.forward file, like the Filter Guide says. I have an entry just like the
guide says, but sendmail keeps complaning about "host unknown". My ~/.forward
file looks like :
greg@cityzoo.acs | /usr/local/unsupported/filter -v -o ~/.elm/filter-errors
And I get the following output from sendmail logged in syslog :
Nov 28 16:28:31 localhost.umbc.edu: 28158 sendmail: AA28156: to=<greg@cityzoo.ac
s.umbc.edu>, delay=00:00:08, stat=Sent
Nov 28 16:28:37 localhost.umbc.edu: 28162 sendmail: AA28160: to=<greg@cityzoo.ac
s"| /usr/local/unsupported/filter -v -o ~/.elm/filter-errors">, delay=00:00:05,
stat=Host unknown
And the mail gets bounced to the epostmaster. How can you convince
sendmail to pipe the mail message through filter ?
Any help would be appreciated,
greg
I'm running hpux 7.0 B on a hp9000/300 model 340. and I'm try to run version
2.3 of elm PL 8. And filter is filter.c,v 4.1 90/04/28 22:41:55.
Greg Sylvain
Academic Computing Services
Systems Programmer
UUCP: ...!{uunet}!umbc5!greg
Internet (Arpa) : greg@umbc5.umbc.edu
BITNET : GREGS@UMBCedwin@cs.ruu.nl (Edwin Kremer) (11/29/90)
In <4552@umbc3.UMBC.EDU> greg@cityzoo.acs.umbc.edu (Greg Sylvain) writes: | But I can't get sendmail to work with the filter program via the | .forward file, like the Filter Guide says. I have an entry just like the | guide says, No, you haven't!!! Check the Filter Guide again and notice the missing quotes (") in your .forward file. RTFM better... | My ~/.forward file looks like : | greg@cityzoo.acs | /usr/local/unsupported/filter -v -o ~/.elm/filter-errors A few remarks: 1) multiple ``delivery'' entries in .forward (your mailbox and the pipe to filter) must be seperated by a ',' 2) if one of the delivery parts contains blanks, it must be quoted 3) when sendmail if processing .forward, "~" has no meaning, at least not what you expect -- use a full pathname instead So, your .forward file should look like: greg@cityzoo.acs, "|/usr/local/unsupported/filter -v -o /anypath/filter-errors" hope this helps, --[ Edwin ]-- -- Edwin Kremer (SysAdm), Dept. of Computer Science, Utrecht University Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands Telephone: +31-30-534104 | UUCP: ...!uunet!mcsun!hp4nl!ruuinf!edwin Telefax : +31-30-513791 | Email: edwin@cs.ruu.nl [131.211.80.5]