On Thu, 2003-09-04 at 00:25, Jake Di Toro wrote:
Since you said you're running as root in another email why not di the
following:
su popuser -s /bin/sh -c formail -s procmail < mbox
That lets you run the command more resembling the default enviroment
w/o giving the user a defined shell.
Hi Jake,
Thanks for the tip. I had to modify it slightly and then it worked!
# su popuser -s /bin/sh -c "formail -s /usr/bin/procmail \
/var/qmail/mailnames/linuxaus.com/gonzalo/.procmailrc \
</var/qmail/mailnames/linuxaus.com/gonzalo/Maildir/cur/1062568332.14303_0.mercury.linuxaus.com:2,"
Thanks again :)
Regards,
Gonzalo
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail