[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: testing preline and trying to reproduce an recurring error
On Tue, 6 Dec 2005 14:56:11 -0500
Peter Samuel <Peter.Samuel@xxxxxxxxxxxxxx> wrote:
> Quoting "Zane C. B." <zanecb@xxxxxxxxxxxxxxxxxxxxxxx>:
>
> > I know this. Setting LINEBUF to any value does not work. I can take
the
> > email, from the queue, and run it through preline and procmail with
out
> > a problem. But if qmail tries to deliver it, I get that error.
> >
>
> Try and eliminate procmail from the equation for your testing. Add
>
> | preline /bin/cat > testing.$$
>
> And see what the contents of testing.* are. If the contents look good,
> then try feeding that file into procmail. If procmail fails then ask
> the procmail list for help.
>
> If preline fails, double check that preline is not corrupt in some way
> (ie rebuild it from qmail source and see if it is the same).
Hmm... apparently it is some sort of permission problem.
Dec 6 15:45:37 mail qmail: 1133905537.202805 delivery 772: deferral:
/bin/sh:_/home/zanecb/testing.13118:_Permission_denied/
After I did a bit of looking, I eventually tracked it down to the
users/assign file. Despite copying everyting over during the migration
to the test system and leaving it exactly the same, one thing changed. I
forgot my G/UID is different on those two boxes and forgot to modify the
assign file during the migration.