On Tue, Jun 20, 2006 at 02:40:59PM +0300, Dimitrios Apostolou wrote: > On Tuesday 20 June 2006 10:53, Sergey Poznyakoff wrote: > > Dimitrios Apostolou <[EMAIL PROTECTED]> wrote: > > The problem is that I want to call it via fetchmail/getmail, not by the MTA, > so root privileges is a little too much. Thanks for your answers, I now know > that in mailutils there is no tool that does this specific job. >
OK, so you need a sieve processor for your account. Have you tried/seen the program 'sieve' included in mailutils? > However, would you think it would be worth fixing this behavior in > mail.local? > In particular I see 2 possible solutions: > 1) if mail.local already has the effective uid of the user specified on its > command line, then it doesn't call setreuid(0,x) since it doesn't need to. > 2) A new command line option is implemented which makes mail.local work like > procmail. No username should be specified on the command line. > > Am I right? Do you think such changes would be easy to implement? > mail.local is a local delivery agent and its job is exactly to deliver mail to several user accounts. No functionality modifications should be made to the program. > > Dimitris > Kostas PS: by the way procmail is a setuid root executable. If you make mail.local a setuid root program, it will perform. However this is not a good thing to do from a security point of view... -- Kostas Zorbadelos [EMAIL PROTECTED] contact: kzorba (at) otenet.gr Out there in the darkness, out there in the night out there in the starlight, one soul burns brighter than a thousand suns. _______________________________________________ Bug-mailutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-mailutils
