I'm a little out of my depth here & struggling ...
I am running cyrus-imap on my e-smith. I produced the How-to & contrib some while ago (it can be downloaded from
www.westcountrybusiness.com if you want it) and it all works fine.
I an now trying to use Procmail with it. I installed the User-Manager contrib, which works fine but not with cyrus.
The cyrus-imap development for SME was done by someone else & passed to me, & I'm not so great in this area, so bear with me.
Qmail delivers mail to cyrus by calling the following command in the users .qmail file:
preline -f /usr/libexec/cyrus/deliver -m "$USER" "$USER"
all fine & dandy. So what I need to do is replicate that in the procmailrc file, but I can't.
If I call it direct from procmail (| /usr/libexec/cyrus/deliver -m "jon" "jon") I initially get a "Cannot execute binary file". So I chmod'ed 777 the cyrus folder (its not a live system!) and then the error became "couldn't connect to lmtpd: Permission denied".
I assume its a permissions problem as QMAIL can deliver OK. I can also call the cyrus deliver from command line (logged in as root) and it delivers OK.
So any ideas how I can either:
a. Get procmail to deliver to cyrus directly
or
b: Use procmail as a filter only & pass back to qmail so that qmail can then deliver (as this seems to work).
I'm still working on that last one, but if anyone has any tips or advice, I'm ready to try anything.
Cheers
Jon