Postfix, SASL/SASL2 and LDAP
Hello all First - for reference, I run Mandrake 9.1 PowerPack. I have a rather complex problem: turns out I recompiled postfix to use SASL2 so I could use saslauthd (the 1.5 SASL libs that come with Mandrake 9.1 don't seem to like saslauthd - can't recall if they ever worked with it or not). Now the can of worms shows itself: when NOT using LDAP (via nss_ldap), Postfix works fine and authenticates beautifully. When LDAP is thrown into the mix (at ANY level) Postfix goes insane with segfaults. Upon further checking it seems libldap uses libsasl7, but NOT libsasl2 (the one that Postfix uses). I tried recompiling LDAP to use libsasl2 (OpenLDAP 2.0.27), but no luck - won't work with it. I haven't tried the OpenLDAP 2.1.X branch yet and I don't mean to just yet, cuz it would mean I'd have to maintain it for security updates. But it is an option. I don't even know if that branch uses SASL2 or what. So my problem is that both versions of SASL libraries are getting mixed up. I'm no genius, but I KNOW this tends to be a problem in general. My question is: am I totally screwed? Will I be forced to go to OpenLDAP 2.1.X and recompile EVERYTHING that touches LDAP (especially hoping that 2.1.X is backward-compatible with 2.0.X)? HELP!!! Best wishes, Diego -- === * Diego Rivera* * * * "The Disease: Windows, the cure: Linux" * * * * E-mail: lriveraracsacocr * * Replace: ='@', ='.'* * * * GPG: BE59 5469 C696 C80D FF5C 5926 0B36 F8FF DA98 62AD * * GPG Public Key avaliable at: http://pgp.mit.edu * === signature.asc Description: This is a digitally signed message part
新開幕 1元商品→液晶營幕、印表機....
Title: 開幕
Leaving out received headers
Hello, Is there a way to prevent Cyrus from adding a received header to the mails it receives? -- Thanks in advance, Alex
X-Status processing for reconstruct
Hello all I've recently done a successful migration from UW-IMAP to Cyrus. The only drawback is that the status of the messages (in X-Status header) was lost. This is not a significant problem - more of an annoiance :) Would it be feasible/acceptable to add a '--status' (-S?) flag to reconstruct for such occasions? That way, reconstruct could check the X-Status header and set the appropriate bits in the index/cache databases when "recovering" a migrated mailbox. Opinions? Is there a better/cleaner way of doing this? I'm talking about bulk migrations, not user-to-user via IMAP (I know it could be done this way, but this has a lot of limitations when it comes to migrating large numbers of mailboxes and users). I'd be willing to contribute with this functionality. Perhaps Cyrus-IMAP 2.2 already incorporates a migration mechanism? Best -- === * Diego Rivera* * * * "The Disease: Windows, the cure: Linux" * * * * E-mail: lriveraracsacocr * * Replace: ='@', ='.'* * * * GPG: BE59 5469 C696 C80D FF5C 5926 0B36 F8FF DA98 62AD * * GPG Public Key avaliable at: http://pgp.mit.edu * === signature.asc Description: This is a digitally signed message part
Re: maybe a conceptual mistake...
Danny García Hernández wrote: Hello, i was reading some of the new feature incorpored into the new cyrus-imap-2_2, i´m interested in the nntpd daemon to supporting news into cyrus. Really, i´m so confused and i have a lot of question about it. 1- I have cyrus-imap-2_2b with multidomains support and nntp built in, i need a INN package to mount many news group inside this domains or i can use nntp support in cyrus-imap?. You don't need a separate news server like INN. You can just have articles fed directly to Cyrus. 2-"Cyrus has the ability to export Usenet via IMAP and/or export shared IMAP mailboxes via NNTP". I don´t undertand this. What Usenet is?. Usenet, news and netnew are all the same thing. 3- Right now, i have two domains (xxx.com & yyy.com), that i need or want is create some newgroups under news.xxx.com and others under news.yyy.com. for example. soft.news.xxx.com is a news group to read (only read) articles about new soft technology so.news.xxx.com is a news group to post and read articles about Operating System soft.news.yyy.com is a news group to read (only read) articles about new soft technology for users from yyy.com domain. which will be my newsprefix ? The newsprefix would have to be the same for all domains, but since the NNTP support hasn't been tested with virtdomains and probably needs some work, the point is moot. In fact, I don't have any good ideas as to how to have Cyrus receive articles via NNTP and know which virtdomain they belong in. I suppose you could do it based on the interface (or virtual IP address) that the connection comes in on. How i can´t avoid users from xxx.com reading news group under yyy.com? Password?. Cross-domain shared folders aren't allowed, so this isn't a problem. 4. What i have to do for give password for each users sharing the same news group? Cross-domain shared folders aren't allowed, so this can't be done. You'd have to have a newsgroup in each domain and have them fed . -- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
mailboxes.db problem cont.
Just wanted to post an update and see if anyone had a better solution. I'm running a Red Hat 9 server with Cyrus imapd 2.2.1 BETA. Thursday at about 17:20 we started seeing alarms on our POP monitor for this server. We investigated and found that everyone after the letter 'c' had been removed from the DB. After looking through the logs we found that ctl_cyrusdb ran at 17:15. We're thinking that this somehow caused the problem. UnfortunatJust wanted to post an update and see if anyone had a better solution. I'm running a Red Hat 9 server with Cyrus imapd 2.2.1 BETA. Thursday at about 17:20 we started seeing alarms on our POP monitor for this server. We investigated and found that everyone after the letter 'c' had been removed from the DB. After looking through the logs we found that ctl_cyrusdb ran at 17:15. We're thinking that this somehow caused the problem. Unfortunately, we can???t say for sure. This is what we have done so far: Stopped cyrus Ran ???ctl_mboxlist ???d > mboxlist??? Moved the mailboxes.db to another location Moved the db directory to another location Moved deliver.db to another location Did an ls on the directory structure and sent it to dir.txt Took dir.txt and converted it to the format of mboxlist file (except for the tab on the end of each line. Not sure if this caused a problem) Then did an undump of dir.txt back into mailboxes.db Started cyrus The above steps got POP working, but IMAP gives ???Mailbox does not exist??? when trying to select the ???INBOX??? using squirrelmail. I also tried using the reconstruct command before and after moving the mailboxes.db to no avail. At this point I???m thinking of writing the ???m option of reconstruct unless anyone has some better ideas or has already written something that might help. While writing the ???m option I might try to figure out why the ???f and ???r options of reconstruct didn???t appear to work in my case. I???m wondering if the ???f and ???r options don???t work because I???m using the fulldirhash option. Please help. Thanks, Hank
maybe a conceptual mistake...
Hello, i was reading some of the new feature incorpored into the new cyrus-imap-2_2, i´m interested in the nntpd daemon to supporting news into cyrus. Really, i´m so confused and i have a lot of question about it. 1- I have cyrus-imap-2_2b with multidomains support and nntp built in, i need a INN package to mount many news group inside this domains or i can use nntp support in cyrus-imap?. 2-"Cyrus has the ability to export Usenet via IMAP and/or export shared IMAP mailboxes via NNTP". I don´t undertand this. What Usenet is?. 3- Right now, i have two domains (xxx.com & yyy.com), that i need or want is create some newgroups under news.xxx.com and others under news.yyy.com. for example. soft.news.xxx.com is a news group to read (only read) articles about new soft technology so.news.xxx.com is a news group to post and read articles about Operating System soft.news.yyy.com is a news group to read (only read) articles about new soft technology for users from yyy.com domain. which will be my newsprefix ? How i can´t avoid users from xxx.com reading news group under yyy.com? Password?. 4. What i have to do for give password for each users sharing the same news group? Any Hints? Thank in advanced Danny Danny García Hernández HELIO YAGO S.L. http://www.g2k.es e-mail:[EMAIL PROTECTED] Tlf: (96) 363 43 17 Fax: (96) 390 27 17