I would like to use procmail on my Mandrake Linux 6.1 box. Sendmail
appears to be working correctly (as far as this non-mail guru can tell
:-).
ccurley(_at_)charlesc $ uname -a
Linux charlesc 2.2.13-7mdk #1 Wed Sep 15 18:02:18 CEST 1999 i686 unknown
.forward:
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 USER=ccurley"
.procmailrc:
SHELL=/bin/bash
# Set to yes when debugging
VERBOSE=no
# Remove ## when debugging; set to no if you want minimal logging
## LOGABSTRACT=all
# Replace $HOME/Msgs with your message directory
# Mutt and elm use $HOME/Mail
# Pine uses $HOME/mail
# Netscape Messenger uses $HOME/nsmail
# Some news clients, such as slrn & nn, use $HOME/News
MAILDIR=$HOME/Mail #you'd better make sure it exists
# Directory for storing procmail-related files
PMDIR=$MAILDIR/Procmail
# Put ## before LOGFILE if you want no logging (not recommended)
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/testing.rc
INCLUDERC=$PMDIR/lists.rc
DEFAULT=$MAILDIR/mbox #completely optional
LOGFILE=$MAILDIR/from #recommended
# the next two stanzas are the default backup in case recipes fail.
:0 c
backup
:0 ic
| cd backup && rm -f dummy `ls -t msg.* | sed -e 1,300d`
Root recieves the following email when I send a message as root to
ccurley:
[-- Attachment #1 --]
[-- Type: text/plain, Encoding: 7bit, Size: 0.4K --]
The original message was received at Sun, 19 Mar 2000 17:07:23 -0700
from root(_at_)localhost
----- The following addresses had permanent fatal errors -----
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 USER=ccurley"
(expanded from: ccurley(_at_)charlesc(_dot_)localdomain)
----- Transcript of session follows -----
sh: cannot use & in command
554 "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 USER=ccurley"... Service
unavailable
[-- Attachment #2 --]
[-- Type: message/delivery-status, Encoding: 7bit, Size: 0.3K --]
Reporting-MTA: dns; trib.com
Arrival-Date: Sun, 19 Mar 2000 17:07:23 -0700
Final-Recipient: RFC822; ccurley(_at_)charlesc(_dot_)localdomain
X-Actual-Recipient: RFC822; |IFS=' ' && exec /usr/bin/procmail -f- || exit 75
USER=ccurley(_at_)trib(_dot_)com
Action: failed
Status: 5.5.0
Last-Attempt-Date: Sun, 19 Mar 2000 17:08:38 -0700
[-- Attachment #3 --]
[-- Type: message/rfc822, Encoding: 7bit, Size: 0.4K --]
Date: Sun, 19 Mar 2000 17:07:23 -0700
From: root <root(_at_)charlesc(_dot_)localdomain>
To: Charles Curley <ccurley(_at_)charlesc(_dot_)localdomain>
Subject: test 05
X-Mailer: Mutt 0.95.5us
another test.
I don't think procmail is even being executed; I have no log file.
Any ideas?
Thanks
--
-- C^2
No windows were crashed in the making of this email.
Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley