Hi,

I am a bit further, at least I get an error now when delivery fails:

(from /var/log/mail)

Oct 20 17:05:10 callisto postfix/pipe[22169]: B9BC918065:
to=<raim...@zg.huaweil.org>, relay=cyrus, delay=515,
delays=515/0.06/0/0.07, dsn=4.3.0, status=deferred (temporary failure.
Command output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0
deliver: couldn't connect to lmtpd_ )

I put the lmtp pipe in /var/spool/postfix/public/lmtp and have
corresponding config file entries:

/etc/cyrus.conf:
lmtpunix    cmd="lmtpd" listen="/var/spool/postfix/public/lmtp" prefork=1

/etc/postfix/main.cf:
mailbox_transport = cyrus:unix:/var/spool/postfix/public/lmtp

Could it be that lmtpd is a program that I am missing? There no such
program installed on my box and there not even a package providing it!

Permissions along the path to the lmtp pipe are 777 to make sure everyone
can write/read it.

Any further hints would be greatly appreciated.

Cheers,
Raimund

On Wed, October 21, 2009 00:44, lst_ho...@kwsoft.de wrote:
> Zitat von Raimund Eimann <raim...@busy-byte.de>:
>
>> Hi,
>>
>> I'm running Cyrus imapd and postfix on a box. I would like postfix to
>> deliver incoming mail not to /var/spool/mail/<username>, but rather to
>> /var/spool/imap/<username>/Inbox, where the latter is apparently not a
>> flat file, but rather a typical imap directory structure ("maildir"?)
>>
>> Currently incoming mail for <username> is simply appended to
>> /var/spool/mail/<username>
>>
>> Can someone here roughly tell me how to do this?
>>
>> Cheers,
>> Raimund
>>
>
> Create a transport which uses lmtp to deliever to Cyrus (man 5
> transport) or use "mailbox_transport" setting to point to a delievery
> transport defined in master.cf. Note that the "deliver" command of
> Cyrus sometimes used in examples is not used any more. You should
> always use the LMTP client built into Postfix to transfer your mail to
> Cyrus.
> For further questions you should include your "postconf -n" output.
>
> Regards
>
> Andreas
>

Reply via email to