procmail
[Top] [All Lists]

[Q] Permission and authentication (or Who is the landlord?) (fwd)

2002-03-10 15:12:43

        I am sorry about the last message, Maybe I missed some info.
        Here is my question again:

        I am the sysadmin and I add this test to /etc/procmailrc:

:0 H
* test123
$HOME/mail/$LOGNAME

        I sent to myself an email with "test123" in the Subject line.
        (my username is "uuddii")    The log report:

procmail: Assigning "SHELL=/bin/sh"
procmail: Match on "test123"
procmail: Assigning "LASTFOLDER=/home/ayalon/sysgrp/uuddii/mail/uuddii"
procmail: Opening "/home/ayalon/sysgrp/uuddii/mail/uuddii"
procmail: Acquiring kernel-lock
procmail: Notified comsat: 
"uuddii(_at_)775:/home/ayalon/sysgrp/uuddii/mail/uuddii"
From udi(_at_)ccsg(_dot_)tau(_dot_)ac(_dot_)il  Sun Mar 10 23:07:59 2002
 Subject: test123
  Folder: /home/ayalon/sysgrp/uuddii/mail/uuddii                     772

        Procmail created new folder (/home/ayalon/sysgrp/uuddii/mail/uuddii)
        and set the owner to be "root".  I understand from  Sean B. Straw 
        that it is normal.  What happen in $DEFAULT cases (/var/spool/mail)?
        iow. why the owner is the $LOGNAME in the ordinary spool?   
        What should I do to creat new folders in users home?

        More details:

Prompt# ls -l /usr/bin/procmail /etc/procmailrc 
-rw-r--r--    1 root     root         2529 Mar 10 21:26 /etc/procmailrc
-rwsr-xr-x    1 root     mail        67980 Dec 10 10:53 /usr/bin/procmail*
Prompt# ls -ld ~uuddii/mail
drwx------    2 uuddii   man         12288 Mar 10 21:12
/home/ayalon/sysgrp/uuddii/mail/
Prompt# 


        From my sendmail.cf:

Mlocal,       P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL,
              R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
              A=procmail -t -Y -a $h -d $u

Mprocmail,    P=/usr/bin/procmail, F=DFMSPhnu9, S=EnvFromSMTP/HdrFromSMTP,
              R=EnvToSMTP/HdrFromSMTP, T=DNS/RFC822/X-Unix,
              A=procmail -Y -m $h $f $u

        Can I do:   

                 A=procmail -Y -m $h $f  -d $u
 

        Hope I did not missed more info.

Thanks,
 Udi



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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