procmail
[Top] [All Lists]

Re: procmail config trouble - help! :)

1997-09-02 03:56:54

#Set on when debugging
SHELL=/bin/ksh

 Interesting. I cannot find a Korn shell on our SunOS 4.1.3_U1 sun4c machines.

.forward file

"|IFS=' ' && exec /home/adam/procmail-3.11pre7/new/procmail -Yf- #adam"
 
 My .forward file, which is executed on our SunOS 4.1.3 mailhost, looks
 like this:

"|IFS=' ' && exec /user/lhecking/bin/`machine`/procmail -f- || exit 75 
#lhecking"

 The difference is (I think) that the "|| exit 75" part will signal 
 EX_TEMPFAIL to the MDA if procmail fails, so that mail delivery can be
 retried.

rc.testing <which is lcated in .procmail>

:0:
* ^Subject:.*test
* ^From.*adam
IN.testing

Now what's the trouble? I follow the instructions of the faq, send myself
test messages with and without the subject test. <I'm using Pine 3.96 and
I believe sendmail is the local delivery agent on the system> 
 
 The local delivery agent is `grep '^Mlocal' /etc/sendmail.cf`, which is
 /bin/mail on our SunOS systems.

After doing this I exit pine but I can't find those messages any where

I gather one should appear IN.testing <maybe the a new folder??> but they
just disappear.

 IN.testing should appear in $MAILDIR.

I found something interesting

/home/adam/procmail-3.11pre7/new $ ls -l
total 247
-rwxrwxr-x  2 adam        40960 Aug 30 02:50 formail
-rw-rw-r--  2 adam        11645 Aug 30 02:50 formail.1
-rwxrwxr-x  2 adam        16384 Aug 30 02:49 lockfile
-rw-rw-r--  2 adam         6235 Aug 30 02:50 lockfile.1
-rwxr-xr-x  2 adam         5393 Aug 30 02:50 mailstat
-rwxrwxr-x  2 adam        90112 Aug 30 02:49 procmail
-rw-r--r--  1 adam         1247 Sep  1 21:24 procmail -Yf- #adam
-rw-rw-r--  2 adam        25168 Aug 30 02:50 procmail.1
-rw-rw-r--  2 adam        16313 Aug 30 02:50 procmailex.5
-rw-rw-r--  2 adam        27579 Aug 30 02:50 procmailrc.5
-rw-rw-r--  2 adam         7944 Aug 30 02:50 procmailsc.5

the file with the name #adam

I can't cat it. Just get garbarge.. What is it?

 Good question. Have you tried less/vi/emacs? From the size of this file I
 would gather that it actually contains your (one or two) test message(s).
 Possibly garbled, if you can't cat it.

 Other than that, I can only follow Era's suggestion ...

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