OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: postfix and cyrus
From: Damien Miller (djmmindrot.org)
Date: Wed Oct 18 2000 - 21:58:04 CDT


On Thu, 19 Oct 2000, Nick Rout wrote:

> Greetings from New Zealand, I have just rejoined this list (as i am wont to
> do from time to time when i have a problem)
>
> Please forgive me if this question has been asked before or if the answer is
> in the docs. I have been unable to find the answer.
>
> I am playing with postfix and cyrus-imapd rpm's from the redhat 7 powertools
> distro. versions are
> cyrus-imapd-2.0.6-3.i386.rpm
> and
> postfix-20000531-7.i386.rpm

I feel your pain. I am currently trying to simultaneously get postfix+cyrus
to work and debug these rather shoddy RPMs.

First you will need to rebuild cyrus from the source RPM on the powertools
CD, with the following line commented out:

%patch3 -p1 -b .nossl

Otherwise you won't be able to run cyradm.

> I have managed to get cyrus compiled successfully from the source rpm (see
> thread on comp.mail.imap if you are interested)
>
> However postfix will not seem to deliver to cyrus. I was a litttle puzzled
> about what to put in main.cf.

I am using "mailbox_transport = cyrus", mail is getting sent to deliver,
but lmtpd is rejecting it there.

The bounce message in this case is a rather unhelpful "data format error",
with no diagnostics from lmptd itself. Would enabling delivery via
postfix's lmtp transport give more useful information?
 
> Oct 19 00:01:42 home postfix/pipe[10790]: fatal: request to use mail system
> owner group id 12

This error comes from postfix itself. The Redhat RPMs of postfix ship
with a mail_owner of mail.mail. Postfix doesn't like delivering using its
own GID. I edited master.conf and changed "user=cyrus" to
"user=cyrus:mail". This will allow the executing of deliver, but I haven't
gotten much further.

Any tips will be greatly appreciated :)

-d

-- 
| ``We've all heard that a million monkeys banging on | Damien Miller -
| a million typewriters will eventually reproduce the | <djmmindrot.org>
| works of Shakespeare. Now, thanks to the Internet, / 
| we know this is not true.'' - Robert Wilensky UCB / http://www.mindrot.org