hi
just installed procmail... no luck ... no mail gets through to SUN mailtool
mail runs ok normally.
But, When same email sent with .forward file in place,
no mail appears ...
permissions, etc. look like that recommended.
heeeeeeeeeeeellllllllllllllllllllllllllllllllllpppppppppppp!!!!!
please email responses to my address.
Thanx
Darrell Kachilla - working but not necessarily speaking for:`
M.D. Anderson Cancer Center, Diagnostic Imaging Physics-57
1515 Holcombe Blvd., Houston, Tx 77030
drk(_at_)spec(_dot_)mda(_dot_)uth(_dot_)tmc(_dot_)edu W
: 713-745-2361
FAX: 713-745-0581
---------------------
GENERAL INFORMATION
Host Name : spec
Host Aliases : spec.mda.uth.tmc.edu loghost mailhost sqlnet
Host Address(es) : 129.106.50.32
Manufacturer : Sun (Sun Microsystems Incorporated)
System Model : 4/75 (SPARCstation 2)
Main Memory : 64 MB
Virtual Memory : 32 MB
ROM Version : 2.4
CPU Type : sparc
App Architecture : sun4
Kernel Architecture : sun4c
OS Name : SunOS
OS Version : 4.1.3_U1
Kernel Version : SunOS Release 4.1.3_U1 (GENERIC) #1: Wed Aug 24 14:36:06
CDT 1994
---------------------
----spec-/home/drk/.procmail procmail -v
procmail v3.10 1994/10/31 written and created by Stephen R. van den Berg
berg(_at_)pool(_dot_)informatik(_dot_)rwth-aachen(_dot_)de
Submit questions/answers to the procmail-related mailinglist by sending to:
procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
And of course, subscription and information requests for this list to:
procmail-request(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Locking strategies: dotlocking, fcntl(), lockf(), flock()
Default rcfile: $HOME/.procmailrc
System mailbox: /usr/spool/mail/$LOGNAME
---------------------
----spec-/home/drk/.procmail procmail "VERBOSE=on"
aaaaaaaaa
ssssssssss
...control D...
procmail: [4588] Fri Oct 20 14:24:24 1995
procmail: Rcfile: "/home/drk/.procmailrc"
procmail: Assigning "MAILDIR=/home/drk/"
procmail: Assigning "VERBOSE=on"
procmail: Assigning "PATH=/bin:/usr/bin:/usr/ucb/lpr:/usr/local/bin"
procmail: Assigning "MAILDIR=/home/drk/Mailbox"
procmail: Assigning "DEFAULT=/home/drk/Mailbox/Mailbox"
procmail: Assigning "PMDIR=/home/drk/.procmail"
procmail: Assigning "LOGFILE=/home/drk/.procmail/log"
procmail: Opening "/home/drk/.procmail/log"
---------------------
when i try other tests...
log
...
procmail: Assigning "INCLUDERC=/home/drk/.procmail/rc.test"
procmail: No match on "^Subject:.*test"
procmail: Locking "/usr/spool/mail/drk.lock"
procmail: Assigning "LASTFOLDER=/usr/spool/mail/drk"
procmail: Opening "/usr/spool/mail/drk"
procmail: Acquiring kernel-lock
procmail: [3646] Fri Oct 20 08:54:28 1995
procmail: Unlocking "/usr/spool/mail/drk.lock"
Folder: /usr/spool/mail/drk 22
procmail: Notified comsat: "drk(_at_)0:/usr/spool/mail/drk"
procmail: Assigning "INCLUDERC=/home/drk/.procmail/rc.test"
procmail: No match on "^Subject:.*test"
procmail: Locking "/usr/spool/mail/drk.lock"
procmail: Assigning "LASTFOLDER=/usr/spool/mail/drk"
procmail: Opening "/usr/spool/mail/drk"
procmail: Acquiring kernel-lock
procmail: [3648] Fri Oct 20 08:54:51 1995
procmail: Unlocking "/usr/spool/mail/drk.lock"
Folder: /usr/spool/mail/drk 6
procmail: Notified comsat: "drk(_at_)22:/usr/spool/mail/drk"
-
---------------------
.forward file set to
"|exec /usr/local/bin/procmail -f- #drk"
---------------------
----spec-/home/drk cat .procmailrc
# this is triggered by the .forward file command:
# "|IFS=' ';exec /usr/local/bin/procmail #drk"
#
# the tests on the incoming mail are specified in the INCLUDERC file
#
VERBOSE=on
PATH=/bin:/usr/bin:/usr/ucb/lpr:/usr/local/bin
MAILDIR=$HOME/Mailbox #you'd better make sure it exists
DEFAULT=$MAILDIR/Mailbox
#Directory for storing procmail log and rc files
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/rc.test
---------------------
----spec-/home/drk/.procmail cat rc.test
:0
* ^Subject:.*test
IN.testing
---------------------
i checked the syslog file to see if there was more info...
there was , but i do not understand it.
Oct 20 09:22:54 spec sendmail[3874]: AB03874:
message-id=<9510201422(_dot_)AB03874(_at_)spec(_dot_)mda(_dot_)uth(_dot_)tmc(_dot_)edu>
Oct 20 09:22:54 spec sendmail[3874]: AB03874: from=Mailer-Daemon, size=0,
class=0
Oct 20 09:22:55 spec sendmail[3880]: AB03874: to="| exec
/usr/local/bin/procmail -f- #drk", delay=00:00:01, stat=Service unavailable
------------------------------------
now, when i do
$ cat xxx|IFS=' ' && exec /home/drk/bin/procmail -f- || exit 75 #drk
and it hangs
syslog says...
Oct 20 12:05:05 spec sendmail[4086]: AA04084: to=<drk(_at_)spec>,
delay=00:00:01, stat=Sent
then i killed it...
( control c and kill pid both produce
procmail: Terminating prematurely)
------------------------------------
tried again with
$ cat xxx | exec /usr/local/bin/procmail -f- || exit 75 #drk
exited cleanly
syslog has...
Oct 20 14:05:07 recon.mda.uth.tmc.edu sendmail[20944]: AA20942:
to=drk(_at_)spec, delay=00:00:00, stat=Sent
Oct 20 14:05:07 spec sendmail[4513]: AA04511: to=<drk(_at_)spec>,
delay=00:00:01, stat=Sent