procmail
[Top] [All Lists]

Re: save to archive and delete

1999-06-11 04:54:41
On Fri, 11 Jun 1999, Jost Schaper wrote:

era eriksson wrote:
    :0
    * some expression which uniquely identifies mail from the list
    /dev/null

Era,
sorry, you may laugh.
I have a directory /dev/nul, owned by root.root drwxr-xr-r
and a file /dev/null owned by root.root crwxr-xr-x

Procmail gives me the error: Error while writing to "dev/null"

That is _kinda_ funny, from over here :)
Quoting a manpage, though:
"
       Data  written on a null or zero special file is discarded.

       Reads from the null special  file  always  return  end  of
       file, whereas reads from zero always return \0 characters.

       null and zero are typically created by:

              mknod -m 666 /dev/null c 1 3
              mknod -m 666 /dev/zero c 1 5
              chown root.mem /dev/null /dev/zero

NOTES
       If these devices are not writable  and  readable  for  all
       users, many programs will act strange.
"

I would say:
a) bug your sysadmin to fix /dev/null's permissions
b) try writing to /dev/zero for now

-jeff
-- 
Another possible source of guidance for teenagers is TV, but TV's message
has always been that the need for truth, wisdom and world peace pales by
comparison with the need for a toothpaste that offers whiter teeth *and*
fresher breath. -- Dave Barry, "Kids Today: They Don't Know Dum Diddly Do"

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