procmail
[Top] [All Lists]

procmail will not start (?!)

2003-09-15 09:44:22

I have a pretty basic procmail question.  procmail stopped working about
two weeks ago and I cannot get it to start up again.  I have run out of
ideas about what to try, so I am hopeful that someone on this list can help.

This is Sun, the mailhost is Solaris 7.  It is running the stock sendmail as
shipped by Sun.  Procmail is not integrated into Sendmail.  Instead I have in
my .forward 
"|/opt/local/bin/procmail -f- #cbar44"

This has been working for years  -- /opt/local/bin/procmail is version 3.13
but it works fine.

------
(~) shalmaneser 458 % /opt/local/bin/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, fcntl(), lockf()
Default rcfile:         $HOME/.procmailrc
Your system mailbox:    /var/mail/cbar44
------

But what procmail appears to be doing now is consantly fighting over the lock
on my mailspool file.  From my procmail log:
[...]
procmail: [3178] Thu Sep 11 09:34:58 2003
procmail: Locking "/var/mail/cbar44.lock"
procmail: [3178] Thu Sep 11 09:35:06 2003
procmail: Locking "/var/mail/cbar44.lock"
procmail: [3178] Thu Sep 11 09:35:14 2003
procmail: Locking "/var/mail/cbar44.lock"
procmail: [3178] Thu Sep 11 09:35:22 2003
procmail: Locking "/var/mail/cbar44.lock"
procmail: [3178] Thu Sep 11 09:35:30 2003
procmail: Locking "/var/mail/cbar44.lock"
procmail: [3178] Thu Sep 11 09:35:38 2003
procmail: Locking "/var/mail/cbar44.lock"
[...]

If I delete the lockfile as root, I will get one message and then the lock
file comes back and the log continues to fill as above.

my sendmail logs show a test message going out but it never comes back.
I re-enabled my .forward for a few seconds to get this output.  As you
can see, mail builds up pretty fast:

-----
    root 24240     1  0   Sep 11 ?        0:00 /usr/lib/sendmail -bd -q15m
    root 21657     1  0   Sep 11 ?        0:27 /usr/lib/sendmail -bd -q15m
    root 17411     1  0 10:24:46 ?        0:00 /usr/lib/sendmail -bd -q15m
  cbar44 17441 17425  0 10:25:14 pts/2    0:00 grep mail
  cbar44 17416 17411  0 10:24:46 ?        0:00 /opt/procmail/bin/procmail -f-
  cbar44 24227 24222  0   Sep 11 ?        0:00 /opt/procmail/bin/procmail -f-
    root 24222     1  0   Sep 11 ?        0:00 /usr/lib/sendmail -bd -q15m
  cbar44 24245 24240  0   Sep 11 ?        0:00 /opt/procmail/bin/procmail -f-
-----

I deleted the .forward so that I could continue to get mail.

I tried compiling the latest and greatest procmail, 3.22, and put it in a
different location.  Hence the /opt/procmail/bin/procmail reference in the
ps -ef output.

I have moved all of my procmail filters out of the way, btw.  So this is
with no rules at all:

------
(~) shalmaneser 470 % more .procmailrc
#Set on when debugging
VERBOSE=on

PATH = 
/opt/local/mh/lib:/bin:/usr/bin:/usr/sbin:/opt/local/bin:/opt/bogofilter/bin
 
MAILDIR = $HOME/Mail
     
#Directory for storing procmail log and rc files
PMDIR=$HOME/.procmail

LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/rc.maillists
-----

and my rules file:

(~) shalmaneser 471 % ls -lFa .procmail/rc.maillists
-rw-r--r--   1 cbar44   sysadm         0 Aug 28 09:59 .procmail/rc.maillists

after five days, sendmail will finally reject these going through procmail
with the error message that procmail is not found:

------
Date: Sat, 13 Sep 2003 04:05:14 -0500 (CDT)
From: Mail Delivery Subsystem <MAILER-DAEMON>
To: postmaster
Subject: Postmaster notify: see transcript for details
Auto-Submitted: auto-generated (postmaster-notification)

This is a MIME-encapsulated message

--h8D956DA000892.1063443914/shasta.tsg.cbot.com

The original message was received at Sat, 13 Sep 2003 04:05:06 -0500 (CDT)
from localhost
with id h8D956D9000892

   ----- The following addresses had permanent fatal errors -----
"|/usr/local/bin/procmail.nvs -f- #rros44"
    (reason: 1)
    (expanded from: rros44)
"|/usr/local/bin/procmail #jedd44"
    (reason: 1)
    (expanded from: jedd44)

   ----- Transcript of session follows -----
sh: /usr/local/bin/procmail.nvs: not found
554 5.3.0 unknown mailer error 1
sh: /usr/local/bin/procmail: not found
554 5.3.0 unknown mailer error 1

--h8D956DA000892.1063443914/shasta.tsg.cbot.com

------
but it is there:

(~) shalmaneser 472 % ls -lFa /usr/local/bin/procmail
-rwsr-xr-x   1 root     mail       75484 May 21  1999 /usr/local/bin/procmail*

Anyone have any other ideas to check?

+-----------------------------------------------------------------------+
| Christopher L. Barnard         O     When I was a boy I was told that |
| cbarnard(_at_)tsg(_dot_)cbot(_dot_)com         / \    anybody could become 
president.  |
| (312) 347-4901               O---O   Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard                --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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