procmail
[Top] [All Lists]

Re: Insufficient Permissions with local accounts

2001-01-16 16:10:52
Hi,
Stop / Start sendmail didn't help.
during the last days i also did already try "kill -SIGHUP sendmail-pid "

Here are the outputs :

ls -ld /var /var/spool /var/spool/mail /var/spool/mail/hareter
drwxr-xr-x  23 root     root         4096 Dec 30  1999 /var
drwxr-xr-x  20 root     root         4096 Dec 31  1999 /var/spool
drwxrwxrwt   3 root     root         4096 Jan 17 00:02 /var/spool/mail
-rw-------   1 hareter  users      249599 Jan 16 21:35 /var/spool/mail/hareter 
-rw-------   1 adabas   users       17319 Jan 16 13:21 /var/spool/mail/adabas

here is another funny thing, as adabas i can't  read emails for adabas
elm says : "Can't open folder '/var/spool/mail/adabas' for reading!  "
(long time ago we used Adabas as our DB, but i still use this account a lot, 
and would need the emails)


ls -ld /usr /usr/bin /usr/bin/procmail  # if that's where your procmail is
drwxr-xr-x  28 root     root         4096 Dec 30  1999 /usr
drwxr-xr-x   3 root     root        24576 Dec 30  1999 /usr/bin
-rwxr-xr-x   1 root     root        65044 Nov  8  1999 /usr/bin/procmail    

ps -fp `head -1 /var/run/sendmail.pid`
UID        PID  PPID  C STIME TTY          TIME CMD
root     20560     1  0 00:00 ?        00:00:00 sendmail: accepting connections

procmail -v
procmail v3.13.1 1999/04/05, Copyright (c) 1999, Stephen R. van den Berg
                                                        <srb(_at_)cuci(_dot_)nl>

Submit questions/answers to the procmail-related mailinglist by sending to:
        <procmail-users(_at_)procmail(_dot_)org>

And of course, subscription and information requests for this list to:
        <procmail-users-request(_at_)procmail(_dot_)org>

Locking strategies:     dotlocking, flock()
Default rcfile:         $HOME/.procmailrc
Your system mailbox:    /var/spool/mail/root     

grep '^Mlocal' /etc/sendmail.cf
Mlocal,         P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40, 

Can you see something wrong ?



Collin Park wrote:

Nenad Steric wrote:
.......
   ----- Transcript of session follows -----
procmail: Insufficient privileges
550 hareter... Insufficient permission
.........

Ouch!  How about stopping and restarting sendmail?

(as root, cd to /sbin/init.d and execute "./sendmail stop" then
"./sendmail start")  Does the problem persist?  If not, read on.

 
when i send an email from or to an outside account everything works fine.

I couldn't find anything particular useful in the archives, so hopfully
somebody can tell me where to look.

The output of the following commands might be a good place to start;
post your results to the list and we might be able to help.

ls -ld /var /var/spool /var/spool/mail /var/spool/mail/hareter
ls -ld /usr /usr/bin /usr/bin/procmail  # if that's where your procmail is
ps -fp `head -1 /var/run/sendmail.pid`
procmail -v
grep '^Mlocal' /etc/sendmail.cf

hth
--
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information.  Sorry.
Collin Park                         Not a statement of my employer.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail