Does anyone have any suggestions for how to setup this chain (postfix ->(Warning: All of this is untested, and I have been drinking last night :P)
tmda -> cyrus-imapd2) with virtual users (sasldb based), but without
using procmail? I'm trying to figure out what to put for DELIVERY= in
the global /etc/tmdarc file to deliver to cyrus mailboxes, and what to
put in main.cf/master.cf to have postfix deliver to tmda. Suggestions?
_____________________________________________
You can deliver all messages to tmda-filter using the mailbox_command setting on Postfix, and then have TMDA forward it to /usr/local/cyrus/bin/deliver, just like you would on an installation that uses procmail to do some fancy things ;)
In short the path would be like: sender -> postfix -> tmda -> cyrus-deliver
main.cf: mailbox_command = /usr/local/bin/tmda-filter
/etc/tmdarc: DELIVERY="|/usr/local/cyrus/bin/deliver <read the manpage for options>"
Another option is to have TMDA insert the message back using SMTP to a secondary smtpd from postfix (which can be configured in master.cf), which would then use for instance a transport table, or a different mailbox_transport setting to insert it into Cyrus using LMTP.
In short the path would be like: sender -> postfix -> tmda -> postfix -> cyrus (deliver or lmtp)
master.cf:
127.0.0.1:12225 inet n - n - - smtpd
-o mailbox_transport=cyrus
-o <whatever other needed deviating options from main.cf, like excluding TMDA etc>
/etc/tmdarc: MAIL_TRANSPORT="smtp" SMTPHOST="127.0.0.1:12225"
There might however be issues with user-specific TMDA settings, you will have to fiddle around with that.
Gr,
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