userdb query return correct UID/GID, I test this before. The log show the correct UID/GID.
I have "Fatal: Running as root isn't permitted" only if I had setuid bit to deliver.
I use pgsql for userdb
Le vendredi 16 juin 2006 à 21:17 +0300, Timo Sirainen a écrit :
On Fri, 2006-06-16 at 16:57 +0200, Dominique Feyer wrote:
Thanks.
The log is really useful ;-)
deliver(info@lda.net4all.ch): Fatal: Running as root isn't permitted
So it's not possible acutally to use LDA to deliver mail with different UID/GID
Unless your mails are owned by root user, that's not really the problem. Rather it looks like your userdb query returns user's UID as 0. I guess I'll have to add some extra code to give nicer error message in that case.
-- Dominique Feyer Administrateur Système Ch. de la Colline 5bis CH-1007 Lausanne dfeyer@net4all.ch