I get errors in my procmail log. I am trying to set up a recipe to deal
with the errors, which come from the mail2news perl script posted.
The problem seems to be having the perl script return the error status.
If I manually execute "echo fish|/usr/local/news/inews", I get a return
status of 1. If I use the following loop in my mail2news script:
-
while (<STDIN>) {
s/^>/ >/;
print INEWS;
}
close INEWS;
exit $?;
-
the :e recipe is not taken. I am assuming that the mail2news script is
not returning the error status. My recipe is:
-
:0
* !^X-Loop: max
* ^Subject:.*xyzzy
| /usr/local/share/mail2news texmicro.test
:0 e:
/home/max/.procmail/errors
-
I get the errors in the log:
From max Fri Jan 26 14:48:25 1996
Subject: xyzzy
Folder: /usr/local/share/mail2news texmicro.test 801
Can't send article to the server
441 From: address not in Internet syntax
(Article not posted.)
yet no "/home/max/.procmail/errors" file.
Any ideas?
TIA
--
Max Heffler, Supervisor - Telco Software Engineering
max(_at_)texmicro(_dot_)com
Web: http://www.texmicro.com/~max - (More of my songs and remixed)
___________________________________________________
/ // /// // /// // /// // /// // /// // /// // ///
---------------------------------------------------