bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] sieve MDA


From: Kostas Zorbadelos
Subject: Re: [bug-mailutils] sieve MDA
Date: Tue, 20 Jun 2006 10:21:47 +0300
User-agent: Mutt/1.5.11

On Mon, Jun 19, 2006 at 11:08:53PM +0300, Dimitrios Apostolou wrote:
> On Monday 19 June 2006 21:53, Sergey Poznyakoff wrote:
> > Dimitrios Apostolou <address@hidden> wrote:
> > > Hello,
> > >
> > > I was wondering if there is a Mail Delivery Agent in mailutils.
> >
> > Yes, there is: mail.local.
> 
> Thank you for you answer, 
> 
> however I had already tried mail.local but I guess I do something wrong. If I 
> run: 
> 
> $ mail.local -S test.sieve
> 
> it just returns immediately without any error message and without waiting for 
> input from stdin. If I run it with my username at the end (why should I do 
> this if I run it as a user?) it returns an error: 
> 
> $ mail.local -S test.sieve jimis
> blah blah
> ^D
> setreuid(0, 1000): Operation not permitted (r=1000, e=1000)
> 
> So the question remains: Is there a program with procmail-like functionality? 
> 

Hi Dimitris.
Read the man page of mail.local of GNU Mailutils.
The error you described seems to be a problem with seteuid(). You have
to run mail.local as root because it needs to set its effective uid to
the user it is delivering to. GNU mail.local follows the BSD
convention in mail delivery. Sergey and the other developers have done
a great job, although in our case I had to create a custom mail.local
for our needs. I used the libsieve library though and also many ideas
from GNU mail.local plus sendmail mail.local :) 

Kostas

> 
> Thanks, 
> Dimitris
> 

-- 
  Kostas Zorbadelos
  address@hidden 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]