----- Original Message ----- From: "Tim Legant" <[EMAIL PROTECTED]> To: "Morten Trab" <[EMAIL PROTECTED]> Sent: Friday, January 23, 2004 9:31 AM Subject: Re: Sender>Postfix>TMDA>Postfix>Cyrus ??
> > The problem is that Cyrus uses virtual users, say [EMAIL PROTECTED] > > is a non existing account, instead the account is named > > [EMAIL PROTECTED] and the other is an alias...The user > > BlackChart is non existent on the system... > > Ok, so how does Postfix know how to deliver "[EMAIL PROTECTED]" > to the Cyrus? Is Cyrus responsible for doing the virtual user address > to Cyrus account conversion, or is Postfix? Postfix does that, from a MySQL database containing the aliases and the real addresses... > > Therefore I can't see how I should be able to write a delivery address... > > The ideeal solution for my problem would be to let TMDA deliver directly to > > the user, but as Cyrus uses some special encoding/storage method to its mail > > directories, I can't just write it directly, but has to go through Cyrus, > > the easiest way (which I could get in mind) was to SMTP it back to Postfix, > > and let postfix deliver local recieved mail directly to Cyrus... > > Yeah, I understand that about Cyrus. Hmm. In your proposed path > (from Subject:), how is Postfix to determine whether the mail just > came from Sender or whether the mail came from TMDA? Mail rules in Postfix...From subject, replace TMDA with Anomy/Spamassassin, then you have the current setup :) Just need to change Anomy/Spamassassin with TMDA as I see TMDA far more efficient in catching spam... >If it can't, > you've just created a mail loop from Postfix to TMDA back to Postfix, > etc. If it can, that may be the key to figuring out the correct > forwarding address for the second injection to Postfix. I don't see how I'd be able to forward it to any address at all?! If I forward all to ie. [EMAIL PROTECTED] then ALL mail would go to [EMAIL PROTECTED], right? Or have I misunderstood something in your explanation?? > If you can give me some more detailed information, maybe we can figure > out how to finesse the issue. Also, I know Nils Vogel (on tmda-users) > has done some work trying to use LMTP to inject to Cyrus. I don't > know what success he's had, but you might want to check out his posts > in the last couple of months and see if anything rings a bell. I've seen those posts, but just seem to find any definitive solution, only guesses... > Also, as a far-fetched straw-grasping exercise, do you know if the > Cyrus encoding method is documented? Could we provide a delivery > action for Cyrus mailboxes in TMDA? We currently do Maildir, mbox, > and MMDF (as far as permanent storage goes), maybe Cyrus could be > added.... Just a thought. But what a beautiful thought :D I'll look into that right away, and return when I have the answer for that :) Mvh,/Best regards, Morten Trab Web: http://www.blackchart.dk _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
