[comp.mail.mh] .maildelivery problem

rbeck@frc2.frc.ri.cmu.edu (Robert Beck) (10/08/90)

I am using "xmh" and have problems with automatic incorporation of all
incoming mail into inbox.

My .forward file
"| /usr/local/lib/slocal -user rbeck"

My .maildelivery file

default,-,|,R,"/usr/local/lib/rcvstore +inbox"


I have tried it with quotes and with quotes in both files.
When I click the middle mouse button on the inbox folder nothing is in
it and I then have to incorporate new mail.

Thank you,


Robert Beck
rbeck@ri.cmu.edu

sengillo@isdc11.Kodak.COM (Alan Sengillo) (10/10/90)

>I am using "xmh" and have problems with automatic incorporation of all
>incoming mail into inbox.
>
>My .forward file
>"| /usr/local/lib/slocal -user rbeck"
>
>My .maildelivery file
>
>default,-,|,R,"/usr/local/lib/rcvstore +inbox"
>
>
>I have tried it with quotes and with quotes in both files.
>When I click the middle mouse button on the inbox folder nothing is in
>it and I then have to incorporate new mail.

Make sure your .maildelivery file does not allow for group or world write.
"slocal" checks to make sure that .maildelivery cannot be written to by either
the world or group. If either the world or group can write to .maildelivery,
"slocal" stuffs the incoming mail message into your normal UNIX mail folder.

-     Alan Sengillo                    PHONE: (716) 726-9716                 -
-  Internet: sengillo@isdc00.kodak.com                                       -
-  USMAIL: Eastman Kodak Co., Dept. 698, 2 1 EP, Rochester NY, 14653-5108    -

esaffle@gmuvax2.gmu.edu (Ed Zepplin) (10/16/90)

     I've been having problems using my .maildelivery file with
slocal....  The file looks something like this:

#field   pattern   action  result  string
Subject   report      |       A    "cat report|mail $(sender)"
default     -         |       A    "rcvdist esaffle"


  This file is in a secondary account and the default works when the
subject line is not report.  It forwards my mail to my account just
fine.  The problem comes when the subject line IS report.  It doesn't
seem to want to mail the reportfile back to the sender.  I don't receive
anything back at all.
  Anybody got any ideas about it?  I read this group, but I prefer email
at :
     esaffle@gmuvax2.gmu.edu
            or
     esaffle@gmuvax

Thanks in advance. 

Ed