On Sat, Nov 29, 2003 at 05:43:50PM +0300, Vladimir Potapov wrote: > I am using lmtp socket and it works fine.The cyrus deliver is not good idea. > For using lmtp socket you need to unchroot lmtp and grant it access to > cyrus lmt socket.
How are you using lmtp? I didn't know tmda could even use lmtp for delivery/reception of email. What is your DELIVERY= line in the global tmdarc if I may ask? And the relevant lines from main.cf/master.cf? > ----- Original Message ----- > From: "Nils Vogels" <[EMAIL PROTECTED]> > To: "TMDA Users" <[EMAIL PROTECTED]> > Sent: Saturday, November 29, 2003 5:22 PM > Subject: Re: Postfix -> tmda -> cyrus? > > > > tmda wrote: > > > > >Does anyone have any suggestions for how to setup this chain (postfix -> > > >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? > > >_____________________________________________ > > > > > > > > (Warning: All of this is untested, and I have been drinking last night :P) > > > > 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 > > > > _____________________________________________ > tmda-users mailing list ([EMAIL PROTECTED]) > http://tmda.net/lists/listinfo/tmda-users _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users