Nils Vogels wrote:

Vladimir Potapov wrote:

I have problem with delivery messages to cyrus mailbox by tmda.In my debug log I see :

<snippo>


DeliveryError: Destination "/data/cyrus/partition/user/test1" does not exist!


Cyrus uses it's own delivery method to update all needed caches, check internal permissions, enforce quotas etc. Therefore, you should never deliver to the directories on your filesystem directly, but instead use the cyrus deliver binary, or use LMTP to deliver messages to cyrus.

TMDA attempting to deliver into Cyrus directory structure will cause you a number of problems you don't even want to think about messing with.

Be sure to read the deliver manpage, and the cyrus documentation on this at:

http://datorn.e.kth.se/cgi-bin/man2html/mpkg/cyrus-imapd/2.1.9/man/man8/deliver.8

http://asg.web.cmu.edu/cyrus/cyrus-overview-TOC.html

I've been experimenting with using Cyrus and TMDA, but since the delivery binary expects to be run as user 'cyrus' and not as the local user, this is giving some issues.

Trying to circumvent these issues by using sudo to safely change the uid of the delivery process did not quite help either. Sudo seems to have an uncontrollable urge to only accept STDIN if it has a TTY allocated, which is clearly not the case in the mail delivery process.

Right now, I have the setup working in Postfix by creating a virtual domain, which is transport(5) 'd towards the Cyrus LMTP socket. Using the 'forward' delivery method as described in the incoming filter specification, you can hand messages to the Cyrus system by sending them to [EMAIL PROTECTED]

I'm sure this can be done in a neater way than this, if anyone has any comments, feel free :D

Seasons greetings,

Nils.

--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and dance like no one can see you.


_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to