Fwd: Re: [nzlug] wrong user/group on mail in imap maildir

Matt matt-lists at comnet.net.nz
Sat Sep 1 18:45:37 NZST 2007


On Fri, 31 Aug 2007 21:21:31 Nick Rout wrote:
> Matt wrote:
> > I've tried invoking procmail from a .forward file, and direct with
> > fetchmail using:
> >
> > fetchmail -m "/usr/bin/procmail -f - "
> >
> > which I run as a normal user.
> >
> > Using both methods, the that is processed by procmail (ie matches one of
> > the procmail rules) is dropped into the relevant maildir directory as
> > root/mail for the uid/gid.
> >
> > I'm mystified.  Anyone else got suggestions?  The bit I don't understand
> > is that mail that doesn't match a rule is delivered as user/user.  Which
> > leads me to suspect procmail as the culprit.  However, is that just a red
> > herring?
>
> Why do you have fetchmail delivering to procmail. IME the proper chain
> is fetchmail delivers to postfix and postfix delivers to procmail.
>
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug

I was trying to cut postfix out of the loop to see if that's the culprit.  
Given that it does the same thing with and without postfix delivering, it's 
got to be something else.  Is there any way to trace the ownership of the 
mail as it passes through the chain?


-- 
Regards

Matt

-------------------------------------------------------

-- 
Regards

Matt



More information about the NZLUG mailing list