Philip Guenther wrote:
Ken Murchison <ken(_at_)oceana(_dot_)com> writes:
I am a procmail newbie, but I successfully have procmail working with
our Cyrus IMAP server to allow users to filter their mail. I am now
trying to implement a vacation-type recipe like the one shown in
procmailex(5). My problem is that the "formail -rD 8192 vacation.cache"
part of the rule always fails with a "formail: Cannot open" error in my
procmail log. My question is this: What owner/group/permissions need to
be set on the vacation.cache file in order for this to work? Or is it
not a permissions problem at all? Does formail use something like
Berkeley db to check this file? Any help is greatly appreciated.
The correct permissions are usually 600 (u+rw,go=). If the file
doesn't exist, formail will try to create it. It that's not happening,
check to make sure that the current directory is what you think it is:
is there an assignment to MAILDIR earlier in the procmailrc to a
directory that you can't write to?
Philip,
Thanks for your response. Because of how I had to set up procmail to
work with sendmail and Cyrus, each person's procmail recipes are run by
the 'cyrus' user -- so MAILDIR is set to /usr/cyrus. So I tried
creating a vacation.cache file in /usr/cyrus and still have the same
'Cannot open' error. Any other ideas?
I have not had any problems with my configuration with any other recipes
so far (including using lockfiles). BTW, are the lockfiles created in
MAILDIR?
Regards,
Ken
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
mailto:ken(_at_)oceana(_dot_)com Orchard Park, NY 14127
http://www.oceana.com 716-662-8973 x26