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: problem with postfix + cyrus-imapd
From: Matthew Hawkins (matthewtopic.com.au)
Date: Mon Dec 11 2000 - 16:33:25 CST


On Mon, 11 Dec 2000, John xing wrote:
> a cyrus-imapd user must also be created as unix user
> in order to have mails delivered to that user's mail box in cyrus mail
> store.

This is false.

> The error I got in /var/log/maillog is:
> Dec 11 11:28:20 eyre postfix/local[5948]: AE77318D02:
> to=<tryeyre.example.com>, relay=local, delay=1224, status=bounced (unknown
> user: "try")

You'll note its using the local transport, not the cyrus one. Therefore it
should not be surprising that adding a local user lets mail to that user get
delivered with the local transport. You should be seeing:

Dec 11 11:28:20 eyre postfix/local[5948]: AE77318D02:
to=<tryeyre.example.com>, relay=cyrus, delay=0, status=sent (tryeyre.example.com)
                           ^^^^^^^^^^^

I can't tell from your config though why this is happening, as the important
bits are reasonably identical to those in use here. Have you restarted postfix
after changing it to deliver with cyrus? Have you put in the correct path to
cyrus' deliver in master.cf? Is the postfix user able to execute cyrdeliver?

-- 
Matt