Re: ldap/imapd
On Tue, Jun 07, 2005 at 12:10:31PM -0400, Igor Brezac wrote: > >Many stories in the internet with using saslauthd and NOT using ldapS. > > What stories? saslauthd can use ldaps just fine. http://asg.web.cmu.edu/cyrus/download/imapd/install-configure.html http://deb.utalca.cl/?p=26 http://www.magic-lamp.org/howto_cyrusimap_ldap.0.html as example. > >I not want use saslauthd and want use ldap-over-ssl. > > Are you saying you want to use auxprop rather than saslauthd or your only > requirement is to use ldaps. Both auxprop and saslauthd can be configured > to use ldaps. I want use auxprop rather than saslauthd if possible (not strong requirement). And I have to use ldapS (it's strong requirement) > You setup pts/ldap. > > You do not have any ldapdb related configuration. > > I suggest you learn more about sasl. See > https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/sasl/doc/options.html?rev=1.30&content-type=text/x-cvsweb-markup > > for ldapdb options. Yes. Thnx -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 095 105 7245 F:+7 095 105 7246 E:[EMAIL PROTECTED] OILspace - The resource enriched - www.oilspace.com --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: torture continues! Another install error with cyrus imap
On Tue, 2005-06-07 at 18:15 +0100, Imran Aziz wrote: > The server does not crash now, logs show no errors that can crash the > serve, but still having issues to login to the server, and as I have > listed in my earlier message, getting maildrop folder error. Is the mailbox actually there, on the filesystem? It should be under the directory you specified as partition-default: in your imapd.conf. Does cyradm work? I mean, are you able to see the mailboxes using the lm command in cryadm after you created them? How did you create the mailbox, BTW? Are you using an autocreate patch of some kind? Anything in the logs? Do you get a successful authentication message or a failure? Something like this: Jun 5 22:59:30 localhost imap[24937]: login: host.example.com [x.x.x.x] username CRAM-MD5+TLS User logged in .TM. -- / / / / / / Marco Colombo ___/ ___ / / Technical Manager / / / ESI s.r.l. _/ _/ _/ [EMAIL PROTECTED] --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: torture continues! Another install error with cyrus imap
Well it was an issue with multiple installs of sasl on the system . By default there was an installation of SASL through the RPM, and then I installed the latest version on the server. After creating the correct symbolic links which were suggested to me on another list, the issue was sorted out. Here is what sorted out the issue link from /usr/local/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/ to /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/ and /usr/local/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/ to /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/ ldconfig again and it worked I would like to thank everyone on this list who have spend days helping me out to sort this issue. Although its not all done, but I am close to a final solution. Few issues with postfix but should be able to sort it out, otherwise I know where to go to sort this out :) Thanks again everyone. Imran --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Email case problem
I have a slight problem, and was curious what can be done to fix it. I have a Cyrus/Postfix setup. It works great; however, we often receive emails that don't match the case of the accounts on cyrus (all of them are strictly lower case). In that event, postfix receives them OK, but cyrus rejects them during LMTP negotiation. Many of our clients are sending stuff using addresses that are using all caps or title caps. These emails are being rejected by our system. I totally understand that Cyrus and Postfix, for that matter, try hard to adhere to standards (RFC, for example). However, business is business... and we have to cater to our customers. Many of these customers are on Windows systems, and don't have control (or knowledge, for that matter) of their mail systems anyway. Is there a workaround? Is there a setting for Cyrus that tells it to ignore case? I'm also going to post to the postfix list also. Any help would be most appreciated. Thanks Jason --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Switch from /var/spool/imap/t/user/test to /var/spool/imap/user/test
On 7-Jun-05, at 11:17 PM, Simon Matter wrote: Hi list, Hi test :) On Mac OS X server, the user mailbox is stored as /var/spool/imap/user/test, but on Federoa core 3, the user mailbox is stored as /var/spool/imap/t/user/test, How I can switch /var/spool/imap/t/user/test to /var/spool/imap/user/test on Fedora core 3? Do I need to recompile cyrus-imapd on fedora core 3 or just change some imap configuration in /etc/imapd.conf? Have a look at 'hashimapspool' option in /etc/imapd.conf. Of course you have to rehash your mailspool, check /usr/lib/cyrus-imapd/rehash for this. Simon Hi Simon, the option hashimapspool is true in my /etc/imapd.conf, I stoped cyrus-imap services, then tried /usr/lib/cyrus-imapd/rehash -i none, there was some error message occurs like "converting data partition /var/spool/imap...couldn't rename t to .t at (eval 1) line 951, line 2.", it did change /var/spool/imap/t/user/test to /var/spool/imap/user/test. however I could not access the mailbox after, it always said "system I/O error". I had to /usr/lib/cyrus-imapd/reconstruct -r user.test, but it went back to /var/spool/imap/t/user/test again Thanks Vincent --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
NO Mailbox does not exist
I have a few problematic mailboxes (out of approx 4) that I cannot access using 'SELECT INBOX' and I do not understand why that is. I have tried using 'reconstruct', and deleting/recreating these users' mailstores but the problem persists. Is there a semantic difference between 'SELECT INBOX' and 'SELECT user/foo' after one has logged in as user 'foo'? I am using 'unixhierarchysep: yes'. I am using cyrus-imapd-2.2.3-83.22 on SuSE 9.1. telnet [EMAIL PROTECTED] james]# telnet zooserver imap2 * OK zooserver Cyrus IMAP4 v2.2.3 server ready 1 login Booneski foobar 1 OK User logged in 2 getacl user/Booneski * ACL user/Booneski booneski lrswipcda 2 OK Completed 3 SELECT INBOX 3 NO Mailbox does not exist 4 select user/Booneski * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] * 1 EXISTS * 0 RECENT * OK [UNSEEN 1] * OK [UIDVALIDITY 1118253375] * OK [UIDNEXT 2] 4 OK [READ-WRITE] Completed 5 logout * BYE LOGOUT received 5 OK Completed Connection closed by foreign host. ---/etc/imapd.conf--- configdirectory: /var/lib/imap defaultpartition: default partition-default: /var/spool/imap sievedir: /var/lib/sieve admins: cyrus allowanonymouslogin: no autocreatequota: -1 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 65 drachost: localhost lmtp_overquota_perm_failure: no unixhierarchysep: yes Any help much appreciated. Best Regards, James --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Email case problem
Sun Advocate Webmaster wrote: I have a slight problem, and was curious what can be done to fix it. I have a Cyrus/Postfix setup. It works great; however, we often receive emails that don't match the case of the accounts on cyrus (all of them are strictly lower case). In that event, postfix receives them OK, but cyrus rejects them during LMTP negotiation. Many of our clients are sending stuff using addresses that are using all caps or title caps. These emails are being rejected by our system. I totally understand that Cyrus and Postfix, for that matter, try hard to adhere to standards (RFC, for example). However, business is business... and we have to cater to our customers. Many of these customers are on Windows systems, and don't have control (or knowledge, for that matter) of their mail systems anyway. Is there a workaround? Is there a setting for Cyrus that tells it to ignore case? I'm also going to post to the postfix list also. Any help would be most appreciated. lmtp_downcase_rcpt: 0 If enabled, lmtpd will convert the recipient address to lowercase (up to a ’+’ character, if present) [...] username_tolower: 1 Convert usernames to all lowercase before login/authenticate. This is useful with authentication backends which ignore case during username lookups (such as LDAP) -- Andrzej [en:Andrew] Adam Filip [EMAIL PROTECTED] [EMAIL PROTECTED] "All that is necessary for the triumph of evil is that good men do nothing" -- Edmund Burke (18th century) --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Email case problem
Is there a workaround? Is there a setting for Cyrus that tells it to ignore case? I'm also going to post to the postfix list also. Use lmtp_downcase_rcpt in your imapd.conf. Regards, Andreas --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Email case problem
On Wed, 8 Jun 2005, Sun Advocate Webmaster wrote: I have a slight problem, and was curious what can be done to fix it. I have a Cyrus/Postfix setup. It works great; however, we often receive emails that don't match the case of the accounts on cyrus (all of them are strictly lower case). In that event, postfix receives them OK, but cyrus rejects them during LMTP negotiation. Many of our clients are sending stuff using addresses that are using all caps or title caps. These emails are being rejected by our system. I totally understand that Cyrus and Postfix, for that matter, try hard to adhere to standards (RFC, for example). However, business is business... and we have to cater to our customers. Many of these customers are on Windows systems, and don't have control (or knowledge, for that matter) of their mail systems anyway. Is there a workaround? Is there a setting for Cyrus that tells it to ignore case? I'm also going to post to the postfix list also. Any help would be most appreciated. From my /etc/imapd.conf file: # Forcing recipient user to lowercase # Cyrus 2.1 is case-sensitive. If all your mail users are in lowercase, it is # probably a very good idea to set lmtp_downcase_rcpt to true. The default is # to assume the user knows what he is doing, and not downcase anything. lmtp_downcase_rcpt: yes Andy --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Email case problem
--On June 8, 2005 2:45:40 PM -0600 Sun Advocate Webmaster <[EMAIL PROTECTED]> wrote: Is there a workaround? Is there a setting for Cyrus that tells it to ignore case? I'm also going to post to the postfix list also. Check out the lmtp_downcase_rcpt option in "man imapd.conf" -David --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
authorization with ptloader and authentication by sasl
Hi all With ptload we've a nice tool to connect to an ldap backend. And with ldap_filter in imapd.conf the user has the ability to do nice things.This works very well. But as I understand this is only the authorization mechanism. I always have problems with the authentication (sasl). An example. Lets say we have this user information in the ldap backend. # usermail04, people, freeweb, freeweb, ch dn: uid=usermail04, ou=people,ou=freeweb,dc=freeweb,dc=ch uid: usermail04 sn: none uidNumber: -1 gidNumber: -1 homeDirectory: /nonexistent objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: xMail cn: Testuser userPassword:: e01EaEgMEUs4gaUmRZSU9xSll0Y1FnPT0K maildrop: [EMAIL PROTECTED] alias: [EMAIL PROTECTED] alias: [EMAIL PROTECTED] I can login without problem if I use the uid as username and the correct password (auth=pts). But is it not possible to use the alias value too with the same password for the login procedure? My problem is, that I've an application which is generating random uid as username. Only the alias value is human readable. Which mean I'll give the user the ability to use his alias name for the pop3/ imap authentication. Of course it should work with the uid too. Is there no configuration magic which can do that? A few months ago Igor Brezac send me an example patch. But I never figured out how it works. Regards, Thomas --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html