On Tue, 27 Sep 2005, S.A. Birl wrote:
On Sep 27, Pieter Donche
(nospam-Pieter(_dot_)Donche(_at_)ua(_dot_)ac(_dot_)be(_dot_)ns) typed:
Pieter: On Mon, 26 Sep 2005, Cerebus the Aardvark wrote:
Pieter:
Pieter: > On 9/26/05, Pieter Donche
<Pieter(_dot_)Donche(_at_)ua(_dot_)ac(_dot_)be> wrote:
Pieter: >> setup:
Pieter: >> # cd /
Pieter: >> # mkdir .procmail
Pieter: >> # chmod 700 .procmail
Pieter: >
Pieter: > Are you sure the / is root's home? On my systems it's been years
and
Pieter: > years since root's $HOME was set to /. It's normally /var/root/
on my
Pieter: > machines, for example (OS X, FreeBSD).
Pieter: > try cd ~root instead
Pieter:
Pieter: / is what is in the /etc/passwd file for the user root
Pieter: cd ~root puts one into /
Yes, Solaris 9 puts root at / . I never quite understood it and when I
changed it on my Solaris 9 box vipw whines.
Pieter: First, to avoid losing email I would suggest you edit your
.forward file
-----
root,|/home/local/bin/procmail
-----
So that way it'll at least keep a copy in your INBOX.
(odd location for a binary, imo)
( /usr/local is soft link to /home/local, making pub dom software
added, in fact to be placed outside the 'system' directory /usr .. )
Well, I had that already put in place for the reason you state and also
to be sure it is not the .forward that causes problems..
# cat /.forward
\root, "|/home/local/bin/procmail"
And I would change the procmailrc to write to a local file, rather than
forwarding the message.
-----
:0:
/Procmail_test
-----
Well, this also I tried: writing to a file.. although specified by a
relative path, so to write to a file under the $PMDIR directory as defined
in /.procmailrc. But as a test I just used an absolute path (to a file
under /tmp) but still nothing happening..
Second, have you look in /var/log for a procmail log file?
(I dont think I compiled it to log there ...)
It could be possible that procmail is still logging there.
Nothing either to see under /var/log
In my /var/log/syslog file I can see that the test mail I sent to the
root user on my mychine was processed (that is: was delivered to \root
and to "|/home/local/bin/procmail")
Also tried with .forward containing \root,|/home/local/bin/procmail
(no "). Same results..
So far no success..
Pieter
Thanks
Birl
Archives http://www.xray.mpe.mpg.de/mailing-lists/procmail/
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
\_______________
/ Pieter Donche \____________________________________________
| ITC Manager e-mail
Pieter(_dot_)Donche(_at_)ua(_dot_)ac(_dot_)be \
| Dept. Mathem. & Computer Science, University of Antwerp |
| (UA) Middelheimlaan 1, B 2020 Antwerpen, BELGIUM (EU) |
| room G1.16, tel +32 03.265.3870, fax +32 03.265.3777 |
|____________________________________________________________|
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail