Author: Bernard Stern Date: To: exim-users Subject: RE: [Exim] Exim & Cyrus
On Thu, 19 Jul 2001 20:02:38 +0200 (EET) =?ISO-8859-1?Q?=DCllar_Kask?= wrote:
>> > I have exim 3.22 and Cyrus 2.0.12 IMAP server installed on our RH Linux7.1
>> > box and I want all mail delivered to the cyrus imap server. I've added
>>
>> > local_delivery:
>> > driver = pipe
>> > command = "/usr/cyrus/bin/deliver ${local_part}"
>> > user = cyrus
>> > return_output
>> > log_output
>> > prefix =
>> > suffix =
>>
>>
>> > localuser:
>> > driver = localuser
>> > transport = local_delivery
MMhhhh... localuser director gets its users from the passwd file
(not exactly, check the exim spec chapter 25), so you need to
have your users in that file. Otherwise you can put them in a
separate file and use another driver. I use an aliasfile driver
for that.
>> > to exim.conf, but delivering mail to the cyrus server doesn't work. I keep
>> > getting:
>> > localuser director declined for cyrususr: no such user
>>
>> > What else is needed to have mail delivered to cyrus imap server?
> Hi Bernard: > Thanks for your prompt reply. >> try piping a test mail (from a text file) into /usr/cyrus/bin/deliver
>> ${local_part}:
>>
>> $ cat testmail | /usr/cyrus/bin/deliver user
>>
>> as user cyrus and look what happens. Once you can do this successfully from
>> the command line (ie the mail gets delivered into the user's mailbox), you can
>> test your exim config. But until then it's not an exim problem.
> I did what you suggested and the file contents got delivered, i.e. I could
> see it through pine or netscape messenger in the cyrus inbox.
> But exim still keeps giving the same error. > Üllar