Hi Steven,

This is probably an MTA problem.  Cyrus does not require anything in /etc/password 
except possibly  for authntication (and you can use LDAP, etc for that instead.)    
Have you tried calling deliver directly like:

/usr/cyrus/bin/deliver jwade < /tmp/testmessage

where test message is something like:
---------------------
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: test

body test
---------------------
Don't call it with the -m option, see the deliver man page for more details.

Hope this helps,

John



"Steven J. Sobol" wrote:

> Hello,
>
> I have a very odd situation.
>
> I'm migrating to LDAP. I have written a custom pwcheck() function that
> checks for users in both /etc/passwd and on the LDAP server. That part of
> the system works fine. Delivery doesn't.
>
> I can use deliver-wrapper to deliver to mailboxes for those users who are
> still in /etc/passwd. But when I try to deliver to one of the test
> mailboxes held by a user who is in LDAP, I get "mailbox does not exist"
> even though cyradm can find the mailbox with no problem.
>
> What I need to know is where to patch Cyrus. I'm assuming there are calls
> to getpwnam() somewhere that need to be modified, but I'm not sure where I
> need to go (mboxlist.c seems a likely place but I'm not sure.)
>
> I'm using Cyrus 1.6.24.
>
> Help, please. Thanks
>
> --
> JustThe.net LLC - Steve "Web Dude" Sobol, CTO      ICQ: 56972932/WebDude216
> website: http://JustThe.net  email: [EMAIL PROTECTED]  phone: 216.619.2NET
> postal: 5686 Davis Drive, Mentor On The Lake, OH 44060-2752  DalNet: ZX-2

Reply via email to