Re: From root to users

Arthur Dent <[email protected]> Sat, 31 May 2014 10:15:33 +0100
Newsgroups gmane.mail.procmail
Message-ID <1401527733.2275.14.camel@localhost>
On Fri, 2014-05-30 at 16:42 -0600, LuKreme wrote:
> On 30 May 2014, at 11:51 , Arthur Dent <[email protected]> wrote:
> > From [email protected]  Fri May 30 18:27:03 2014
> > Subject: Testing14783
> >  Folder: /bin/procmail -d mark						   4191
> 
> Is that the right path to procmail?
> my path to procmail is /usr/local/bin/procmail, I don't think I've
ever seen procmail installed in /bin/
> 

I'm guessing that on my Fedora system there is some sort of hard link. I
have no idea why.
[mark@Zaphod ~]$ which procmail
/usr/bin/procmail
[mark@Zaphod ~]$ su -
Password: 
Last login: Fri May 30 21:33:12 BST 2014 on pts/2
[root@Zaphod ~]# which procmail
/bin/procmail
[root@Zaphod ~]# ll /bin/procmail
-rwxr-xr-x. 1 root mail 112048 Aug  4  2013 /bin/procmail
[root@Zaphod ~]# ll /usr/bin/procmail
-rwxr-xr-x. 1 root mail 112048 Aug  4  2013 /usr/bin/procmail

But in any case I tried with both during my testing.

> Did you forget the | character?

On the first run through that was my first thought too - I went straight
to that to check - but no, I did have the | character all along.

Other stuff I have tried:
I have tried both with and without the "w" switch. With w it just
endless tries but does not get as far as logging the attempt. Without
the w it obviously loops, each attempt being logged, until I change
the /etc/procmailrc to allow it to complete.

I have also tried:
| /bin/procmail -d mark	
| /usr/bin/procmail -d mark	
| /bin/formail -s procmail -d mark
| /bin/formail -s /usr/bin/procmail -d mark
| /bin/formail -s  | /usr/bin/procmail -d mark 
| /usr/bin/formail -s /usr/bin/procmail -d mark
| /bin/formail -s /usr/bin/procmail -d mark
| /bin/formail -s /bin/procmail -d mark

All with the same result.

Anything else I can try?

Thanks for the help so far...

Mark