Maildrop permission problems
I have been trying to get a script to run on
a server which runs potato. I've checked the
script using perl -cw <script_name> and it checks
out okay.
The script has been put in /usr/local/bin and
to test it out I have created a user called
testuser. In this user's home directory I have
made a forward file containing one line:
"|/usr/bin/maildrop"
This file is set to 0644.
I have made a file called .mailfilter in the home
directory with the following:
DEMIMEFILTER="/usr/local/bin/demime -"
if (/^Content-Type:.*html/ || \
/^Content-Type:.*rtf/ || \
/^Content-Type:.*multipart/)
{
xfilter $DEMIMEFILTER
}
again, the file is set to 0644.
When I send mail to testuser from one of the workstations
on the LAN, the mail bounces with the following error message:
------ |/usr/bin/maildrop ------
usr/bin/maildrop: Unable to create a dot-lock.
------ This is a copy of the message, including all the headers. ---
The maildrop version is 0.75-2.1. The permissions on the
maildrop files are as under:
-rwxr-xr-x 1 root root 23576 Aug 12 2000 dotlock
-rwxr-xr-x 1 root root 4312 Aug 12 2000 maildirmake
-rwxr-sr-x 1 root mail 139448 Aug 12 2000 maildrop
-rwxr-xr-x 1 root root 36376 Aug 12 2000 reformail
-rwxr-xr-x 1 root root 31228 Aug 12 2000 reformime
What am I doing wrong?
Sam
--
(Sam Varghese)
http://www.gnubies.com
Reply to: