To all,
Howdy. I'm receiving an error message from procmail that I don't
understand. I've looked through the man pages but do not see a
reference to it. Can anyone help?
Here's the situation. There is a mail alias called 'mcscmail' that is
defined in the mail.aliases map as:
mcscmail "| /usr/misc/bin/procmail -m /usr/test/mcsc/etc/procmailrc"
The procmailrc file is owned by me with the following permissions:
-rw-rw-r-- 1 ellis mcscadm 240 Mar 4 16:52 procmailrc
The log file is owned by sendmail with the following permissions:
-rw-rw---- 1 sendmail mcscadm 13162 Mar 4 17:03 log
The mail file is owned by sendmail with the following permissions:
-rw-rw---- 1 sendmail mcscadm 14921 Mar 4 17:03 mcscmail
The procmailrc file is a simple few lines as follows:
LOGFILE=/usr/test/mcsc/etc/log
MAILDIR=/usr/test/mcsc/var/spool/mail/
SHELL=/bin/sh
VERBOSE=on
:0 c
mcscmail
:0
* ^Subject:.*update
updspool
:0
* ^Subject:.*open
opnspool
:0
* ^Subject:.*close
clsspool
The log output for my test mail is as follows:
procmail: [3630] Tue Mar 4 17:03:03 1997
procmail: Assigning "LASTFOLDER=mcscmail"
procmail: Opening "mcscmail"
procmail: Acquiring kernel-lock
procmail: No match on "^Subject:.*update"
procmail: No match on "^Subject:.*open"
procmail: No match on "^Subject:.*close"
From ellis(_at_)cork(_dot_)cig(_dot_)mot(_dot_)com Tue Mar 4 17:03:02
1997
Subject: test #4
Folder: **Bounced** 1117
I'm running procmail v3.11pre4 with dotlocking and flock enabled on a Sun4
under SunOS 4.1.3.
The /usr/test/mcsc/var../mail directories have permissions as:
drwxrwsr-x 3 ellis mcscadm 512 Mar 4 12:21 var/
drwxrwsr-x 3 ellis mcscadm 512 Mar 4 12:21 spool/
drwxrwsr-x 2 ellis mcscadm 512 Mar 4 13:49 mail/
When I send mail to 'mcscmail', the log file is updated as shown above. In
addition, the mail is deposited into the 'mcscmail' folder. However, the
original mail is bounced back to me as shown below.
I'd appreciate any pointers/comments on what the error is and how best to
fix it.
Thanks in advance.
jte
---------- Forwarded message ----------
Date: Tue, 4 Mar 1997 17:03:03 GMT
From: Mail Delivery Subsystem
<MAILER-DAEMON(_at_)cork(_dot_)cig(_dot_)mot(_dot_)com>
To: ellis(_at_)cork(_dot_)cig(_dot_)mot(_dot_)com
Subject: Returned mail: Can't create output: Error 0
The original message was received at Tue, 4 Mar 1997 17:03:02 GMT
from airgead200.cork.cig.mot.com [175.3.48.200]
----- The following addresses had permanent fatal errors -----
"| /usr/misc/bin/procmail -m /usr/test/mcsc/etc/procmailrc"
(expanded from: <mcscmail(_at_)cork(_dot_)cig(_dot_)mot(_dot_)com>)
----- Transcript of session follows -----
procmail: Couldn't chdir to "/no/such/dir"
procmail: Couldn't chdir to "/no/such/dir"
550 "| /usr/misc/bin/procmail -m /usr/test/mcsc/etc/procmailrc"... Can't create
output: Error 0
----- Original message follows -----
Return-Path: <ellis(_at_)cork(_dot_)cig(_dot_)mot(_dot_)com>
Received: from airgead200.cork.cig.mot.com (airgead200.cork.cig.mot.com
[175.3.48.200])
by glas.cork.cig.mot.com (8.8.5/8.8.5) with ESMTP id RAA03627
for <mcscmail(_at_)cork(_dot_)cig(_dot_)mot(_dot_)com>; Tue, 4 Mar 1997
17:03:02 GMT
Received: from localhost (ellis(_at_)localhost)
by airgead200.cork.cig.mot.com (8.8.5/8.8.5) with SMTP id RAA28329
for <mcscmail(_at_)cork(_dot_)cig(_dot_)mot(_dot_)com>; Tue, 4 Mar 1997
17:02:59 GMT
X-Authentication-Warning: airgead200.cork.cig.mot.com: ellis owned process
doing -bs
Date: Tue, 4 Mar 1997 17:02:58 +0000 (GMT)
From: John T Ellis <ellis(_at_)cork(_dot_)cig(_dot_)mot(_dot_)com>
X-Sender: ellis(_at_)airgead200
To: mcscmail(_at_)cork(_dot_)cig(_dot_)mot(_dot_)com
Subject: test #4
Message-ID:
<Pine(_dot_)SUN(_dot_)3(_dot_)95(_dot_)970304165920(_dot_)2506T-100000(_at_)airgead200>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
this is a test.
jte
------------------------------+-------------------------------------------------
John Ellis +353-21-511-487 | Grelb's Reminder:
Motorola Cellular - Cork | Eighty percent of all people consider
ellis(_at_)cig(_dot_)mot(_dot_)com | themselves to be above
average drivers.