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: Wietse Venema (wietseporcupine.org)
Date: Mon Dec 11 2000 - 16:13:02 CST


The mailbox_transport feature was broken on 20000625 (resulting in
"unknown user" errors) and was fixed on 20001116. You need a
snapshot that post-dates this episode.

        Wietse

John xing:
> Hi,
>
> I tried to make postfix (20001030) and cyrus-imapd (2.0.7) work together
> on a single host (Redhat 7.0). So far, everything looks fine, except that:
> 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 defeated one of the important purposes to use cyrus-imapd.
>
> 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")
> Here user 'try' is a cyrus-imapd user, but not a unix user.
> If I make 'try' a unix user, the problem will be gone.
>
> Any help will be greatly appreciated.
>
> John
>
> List below are configurations in my setup.
>
> (1) /etc/postfix/main.cf:
>
> queue_directory = /var/spool/postfix
> command_directory = /usr/sbin
> daemon_directory = /usr/libexec/postfix
> mail_owner = postfix
> myhostname = eyre.example.com
> myorigin = $myhostname
> mydestination = $myhostname, localhost.$mydomain
> alias_maps = hash:/etc/postfix/aliases
> alias_database = hash:/etc/postfix/aliases
> mailbox_transport = cyrus
> local_destination_concurrency_limit = 2
> default_destination_concurrency_limit = 10
> debug_peer_level = 2
> debugger_command =
> PATH=/usr/bin:/usr/X11R6/bin
> xxgdb $daemon_directory/$process_name $process_id & sleep 5
>
> (2) /etc/postfix/master.cf have this line:
> cyrus unix - n n - - pipe
> flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m ${extension} ${user}
>
> (3) /etc/postfix/aliases has this line
> root: doe
> where 'doe' is both a unix and cyrus-imapd user.
> And it will receive mails for root and root's aliases.
>
>
> ______________________________________________
> FREE Personalized Email at Mail.com
> Sign up at http://www.mail.com/?sr=signup
>
>
>