procmail
[Top] [All Lists]

Re: .forward invocation

1995-11-05 10:28:32
On Saturday 4 November 95, at 11 h 50, the keyboard of Jim Osborn 
<jimo(_at_)eskimo(_dot_)com> wrote:

I can't seem to get any response from the mail system when I try to
invoke procmail from a .forward file, as shown in the man page example.

The information you gave seems to indicate .forward is not invoked at 
all. To know why, a good solution is to invoke mail with a verbose 
option. The details can vary along operating systems. Here is an example 
on Ultrix: 

% date | mail -s test -v bortz
/users/labinf/bortz/.forward: line 1: forwarding to "|IFS=' ';exec 
/usr/local/bin/procmail #bortz"
"|IFS=' ';exec /usr/local/bin/procmail #bortz"... Sent

See? It worked. Any error in .forward would have been reported here.

here's a representative .forward file I've tried
"|/usr/local/bin/procmail -f- #jimo"

It seems OK but I'm unsure about the dash '-' just after the '-f'. Try 
with simply "/path/procmail". My .forward is:

"|IFS=' ';exec /usr/local/bin/procmail #bortz"

Stephane Bortzmeyer           Institut Pasteur
bortzmeyer(_at_)pasteur(_dot_)fr         Service d'Informatique Scientifique
                              Paris, France
+33 1 40 61 34 62

http://web.cnam.fr/personnes/bortzmeyer/home_page.dom

<Prev in Thread] Current Thread [Next in Thread>