Re: syncserver[4715]: Fatal error: Virtual memory exhausted
> You probably encountered a single very large mailbox. This patch: > > --- cyrus-imapd-2.3.8/imap/sync_support.c 2006-11-30 > 12:11:20.0 -0500 > +++ cyrus-imapd-2.3.8p3/imap/sync_support.c 2007-04-12 > 13:27:49.0 -0400 > @@ -914,9 +914,9 @@ > result = xzmalloc(sizeof(struct sync_message)); > message_uuid_set_null(&result->uuid); > > -result->msg_path = xzmalloc(5 * (MAX_MAILBOX_PATH+1) * sizeof > (char)); > +result->msg_path = xzmalloc((MAX_MAILBOX_PATH+1) * sizeof(char)); > result->msg_path_end = result->msg_path + > - 5 * (MAX_MAILBOX_PATH+1) * sizeof(char); > + (MAX_MAILBOX_PATH+1) * sizeof(char); > > snprintf(result->stagename, sizeof(result->stagename), "%lu.", > l->count); I'm still wondering why the code is there, can anybody comment on this? Simon > > Reduces the space that sync_server allocates when syncing a mailbox. > The "5 *" doesn't really do anything useful, other than waste a lot > of space. > > On 17 Apr 2007, at 15:24, Per olof Ljungmark wrote: >> After performing an initial sync of 65G worth of mailboxes the >> above error occurred. I kept an eye on the process initally but saw >> nothing worrying, then it died about halfway through the sync. >> >> Could I have hit some system limits? Vanilla FreeBSD 6.2. >> I'm starting off fresh now again to try to figure it out. >> >> And, while at it, here are one more sync related: >> * The "sync_shutdown_file:" switch, does it mean that the presence >> of this file will stop the sync process? At least that is how I >> intepret it... > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: can I use encrypted ldap_bind_pw ?
Dmitriy Kirhlarov wrote: > On Tue, Apr 17, 2007 at 05:10:40PM +0530, JOYDEEP wrote: > > >> I am using openldap2 and my cyrus -imap is based on ldap authentication. >> >> in my /etc/sysconfig/saslauthd the password entry is clear text like >> ldap_bind_pw: secret >> >> can I use the encrypted password which I have in slapd.conf file ? >> > > No. > saslauthd need clear text password for binding procedure. > But, you can use anonymous binding (for me it's more secure). > Hi dmitriy, thanks for the answer. but I can't understand how anonymous can secure the system. I see people shouting for disallow_bind_anonymous. any how here is my saslauthd.conf file with clear text password ldap_servers: ldaps://linux.kolkatainfoservices.in:636 ldap_bind_dn: cn=Manager,dc=kolkatainfoservices,dc=in ldap_bind_pw: secret ### CLEAR test PASSWWORD !!! # ldap_search_base: ou=Users,dc=kolkatainfoservices,dc=in ldap_version: 3 ldap_filter: uid=%U ldap_default_domain: kolkatainfoservices.in > WBR. > Dmitriy > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: cyradm can't lolgin with --port 993
Jorey Bump wrote: > JOYDEEP wrote: > >> when I had imap ; cyradm didn't have any problem to login. But after >> changing it to imaps cyradm can't login. >> the command I use is >> cyradm --port 993 -u cyrus localhost. >> >> the log says it as .. imaps TLS negotiation failed >> though I can succseful;ly use KMail and thunderbird with imaps at >> port 993. >> >> any fix is there ? > > If cyrus is configured for STARTTLS on port 143, use: > > cyradm host.dom -tls > > I believe this feature was added in version 2.3. Mine is cyrus-imapd-2.2.12-27.6. I am not using port 143, but port 993 which is imaps. thanks > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: syncserver[4715]: Fatal error: Virtual memory exhausted
Wesley Craig wrote: You probably encountered a single very large mailbox. This patch: Thanks for the patch, applied it, rebuilt and wiped out test replica config and spool. One puzzling thing so far: At first try, rolling replication started "by itself", replicating the complete spool. At this eecond go, this does not occur. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: syncserver[4715]: Fatal error: Virtual memory exhausted
You probably encountered a single very large mailbox. This patch: --- cyrus-imapd-2.3.8/imap/sync_support.c 2006-11-30 12:11:20.0 -0500 +++ cyrus-imapd-2.3.8p3/imap/sync_support.c 2007-04-12 13:27:49.0 -0400 @@ -914,9 +914,9 @@ result = xzmalloc(sizeof(struct sync_message)); message_uuid_set_null(&result->uuid); -result->msg_path = xzmalloc(5 * (MAX_MAILBOX_PATH+1) * sizeof (char)); +result->msg_path = xzmalloc((MAX_MAILBOX_PATH+1) * sizeof(char)); result->msg_path_end = result->msg_path + - 5 * (MAX_MAILBOX_PATH+1) * sizeof(char); + (MAX_MAILBOX_PATH+1) * sizeof(char); snprintf(result->stagename, sizeof(result->stagename), "%lu.", l->count); Reduces the space that sync_server allocates when syncing a mailbox. The "5 *" doesn't really do anything useful, other than waste a lot of space. On 17 Apr 2007, at 15:24, Per olof Ljungmark wrote: After performing an initial sync of 65G worth of mailboxes the above error occurred. I kept an eye on the process initally but saw nothing worrying, then it died about halfway through the sync. Could I have hit some system limits? Vanilla FreeBSD 6.2. I'm starting off fresh now again to try to figure it out. And, while at it, here are one more sync related: * The "sync_shutdown_file:" switch, does it mean that the presence of this file will stop the sync process? At least that is how I intepret it... Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
syncserver[4715]: Fatal error: Virtual memory exhausted
After performing an initial sync of 65G worth of mailboxes the above error occurred. I kept an eye on the process initally but saw nothing worrying, then it died about halfway through the sync. Could I have hit some system limits? Vanilla FreeBSD 6.2. I'm starting off fresh now again to try to figure it out. And, while at it, here are one more sync related: * The "sync_shutdown_file:" switch, does it mean that the presence of this file will stop the sync process? At least that is how I intepret it... Thanks again... Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Lost mail 2.3.8
Casper skrev: i have userids. Thats not the problem, the problem is that the imapserverlog say the mail is delivered but the user say it never arrived... Is it possible that the user has some sort of destructive spam-filtering? Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: cyradm can't lolgin with --port 993
JOYDEEP wrote: when I had imap ; cyradm didn't have any problem to login. But after changing it to imaps cyradm can't login. the command I use is cyradm --port 993 -u cyrus localhost. the log says it as .. imaps TLS negotiation failed though I can succseful;ly use KMail and thunderbird with imaps at port 993. any fix is there ? If cyrus is configured for STARTTLS on port 143, use: cyradm host.dom -tls I believe this feature was added in version 2.3. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Lost mail 2.3.8
Yes, the mail is not there, there are only mail from today. He download mail with pop Any imapd.conf option for not delete mail from server when downloading with pop? /C > Casper wrote: >> Hello, i have a murder setup. >> >> And som user say that they sometimes not recieve mail the send. >> >> The log on smtp (with lmtp delivery to the imap server) say it got the >> mail and sent it to cyrus (sendmail mailer Mcyrus). >> >> The imap server say it got the mail and stored it. >> >> >> But the user never gets the mail. >> >> I use 2.3.8. >> >> Does anyone know if this is a bug or what tha he** this is... >> >> All logs say the mail are stored. >> > > Did you grep in the mailbox? Sometimes users are wrong... > > Rudy > -- > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 > Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office > Groep SystemenSystems group > Universiteit Gent Ghent University > Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: *** PROBABLY SPAM *** Re: cyradm can't lolgin with --port 993
Selon JOYDEEP <[EMAIL PROTECTED]>: > > > > AFAIK, cyradm only supports IMAP not IMAPS. So you got 2 options : > > - bind IMAP on your loopback interface and connect locally (or with a > > (s)tunnel). > > - Listen on IMAP and filter access with your firewall. Oups, forgot to CC the list. ;-) > thanks a lot for the valuable suggestion. I like to implement the first > option you have suggested. could you kindly guide me to implement it ? > also I like to know about stunnel, what is it ? > To enable IMAP on loopback add a line like this in your SERVICES section of your cyrus.conf imap cmd="imapd -U 30" listen="localhost:imap" prefork=0 maxchild=100 So now, IMAP service is only bound to 127.0.0.1 (check this with netstat -at). The principle of tunnel (stunnel is an implementation along with others) is to use a ciphered and maybe authenticated "channel" and send "clear text" protocols over it. check this site http://www.stunnel.org for stunnel or you can use openssl -R option to open a local tunnel to the remote machine. for example ssh -R 993:mailserver:143 <.> will open a connection on your local mahcine forwarded to imap port on your "mailserver" machine. HTH -- Arnaud Brugnon Opensquad http://www.opensquad.com Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: *** PROBABLY SPAM *** Re: cyradm can't lolgin with --port 993
[EMAIL PROTECTED] wrote: > Selon JOYDEEP <[EMAIL PROTECTED]>: > > > >>> AFAIK, cyradm only supports IMAP not IMAPS. So you got 2 options : >>> - bind IMAP on your loopback interface and connect locally (or with a >>> (s)tunnel). >>> - Listen on IMAP and filter access with your firewall. >>> > > Oups, forgot to CC the list. ;-) > > >> thanks a lot for the valuable suggestion. I like to implement the first >> option you have suggested. could you kindly guide me to implement it ? >> also I like to know about stunnel, what is it ? >> >> > To enable IMAP on loopback add a line like this in your SERVICES section of > your > cyrus.conf > imap cmd="imapd -U 30" listen="localhost:imap" prefork=0 maxchild=100 > So now, IMAP service is only bound to 127.0.0.1 (check this with netstat -at). > > The principle of tunnel (stunnel is an implementation along with others) is to > use a ciphered and maybe authenticated "channel" and send "clear text" > protocols over it. > > check this site http://www.stunnel.org for stunnel > or you can use openssl -R option to open a local tunnel to the remote machine. > for example > ssh -R 993:mailserver:143 <.> will open a connection on your local mahcine > forwarded to imap port on your "mailserver" machine. > > HTH > THANKS A LOT for th solution > -- > Arnaud Brugnon > Opensquad > http://www.opensquad.com > > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Lost mail 2.3.8
If you are using a virtusertable the email may have been delivered to a catchall because the email address was mistyped. Harris Landgarten LHJ Technology Solutions, Inc. - Original Message - From: "Casper" <[EMAIL PROTECTED]> To: info-cyrus@lists.andrew.cmu.edu Sent: Tuesday, April 17, 2007 4:09:19 AM (GMT-0500) US/Eastern Subject: Lost mail 2.3.8 Hello, i have a murder setup. And som user say that they sometimes not recieve mail the send. The log on smtp (with lmtp delivery to the imap server) say it got the mail and sent it to cyrus (sendmail mailer Mcyrus). The imap server say it got the mail and stored it. But the user never gets the mail. I use 2.3.8. Does anyone know if this is a bug or what tha he** this is... All logs say the mail are stored. /C Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
sync_clients: all users group?
Setting up test with replication here. For initial replication I was wondering if there is a wildcard or keyword that represents "all users" for the -u switch to sync_client? Or I must use a file (-f) with all user names? Thanks, Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Deleting mailboxes on master
We cut over from a primary to a replica, and then back again, all within one outage, because we got the primary going again pretty fast. Now we have an interesting situation. The replica told the master about some obsolete mailboxes that no longer exist on the primary. As a result the mupdate from the primary did not rewrite the location of these obsolete mailboxes. They really do exist only on the replica. The replica does not report to the master (if it did, it would fight with the primary about where mailboxes are). Therefore, the following do not change the master: running cyradm on the replica and doing deletemailbox; and deleting the mailbox with an imap client. I have a list of them from running ctl_mboxlist -d on the master. But I can't figure how to remove them from the master's mailbox list. Does anyone have an idea? Joseph Brennan Lead Email Systems Engineer Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: cyradm can't lolgin with --port 993
JOYDEEP wrote: Dear list, when I had imap ; cyradm didn't have any problem to login. But after changing it to imaps cyradm can't login. the command I use is cyradm --port 993 -u cyrus localhost. the log says it as .. imaps TLS negotiation failed though I can succseful;ly use KMail and thunderbird with imaps at port 993. cyradm doesn't support SSL. Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: cyradm can't lolgin with --port 993
On Tue, Apr 17, 2007 at 03:02:30PM +0530, JOYDEEP wrote: > when I had imap ; cyradm didn't have any problem to login. But after > changing it to imaps cyradm can't login. > the command I use is > cyradm --port 993 -u cyrus localhost. > > the log says it as .. imaps TLS negotiation failed > though I can succseful;ly use KMail and thunderbird with imaps at port 993. cyradm need access to CAcert.pem for checking server certificate. Run cyradm under strace or truss for find correct place for CAcert.pem. WBR Dmitriy Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: allowed characters in user names
http://www.faqs.org/rfcs/rfc3501.html section 5.1 HTH, B On Tue, 2007-04-17 at 09:56 +0200, Per olof Ljungmark wrote: > Hi, > > Need to find out what characters are allowed in users mailbox names, > could anyone please point me to a good source of information thanks. > > Per olof > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: login problems on 2.3.8
Hello Everyone, Found the problem, looks a lib changed so we fixed the imapd.conf config and all works fine now on the backup systems. Now to tackle the production nodes ... Cheers, Roberto --On Tuesday, April 17, 2007 07:48:07 AM -0700 "Roberto R. Morelli" <[EMAIL PROTECTED]> wrote: Hi Everyone, Just upgraded to verion 2.3.8 on backup system (sync system) to test the new version and now get the following: Apr 17 07:34:20 imaps[5446]: badlogin: .xx.xxx [xxx.xxx.xxx.xxx] DIGEST-MD5 [SASL(-17): One time use of a plaintext password will enable requested mechanism for user: no secret in database] Now we changed nothing, just did a rpm upgrade, version 2.3.7 was running fine. The sync server is able to login and keep things updated. Any ideas ? Thanks, Roberto Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: allowed characters in user names
http://www.faqs.org/rfcs/rfc3501.html section 5.1 HTH, B On Tue, 2007-04-17 at 09:56 +0200, Per olof Ljungmark wrote: > Hi, > > Need to find out what characters are allowed in users mailbox names, > could anyone please point me to a good source of information thanks. > > Per olof > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: can I use encrypted ldap_bind_pw ?
On Tue, Apr 17, 2007 at 05:10:40PM +0530, JOYDEEP wrote: > I am using openldap2 and my cyrus -imap is based on ldap authentication. > > in my /etc/sysconfig/saslauthd the password entry is clear text like > ldap_bind_pw: secret > > can I use the encrypted password which I have in slapd.conf file ? No. saslauthd need clear text password for binding procedure. But, you can use anonymous binding (for me it's more secure). WBR. Dmitriy Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
can I use encrypted ldap_bind_pw ?
Dear all, I am using openldap2 and my cyrus -imap is based on ldap authentication. in my /etc/sysconfig/saslauthd the password entry is clear text like ldap_bind_pw: secret can I use the encrypted password which I have in slapd.conf file ? thanks Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Lost mail 2.3.8
Casper wrote: i have userids. Thats not the problem, the problem is that the imapserverlog say the mail is delivered but the user say it never arrived... Maybe you could run an imapsync process in the background and copy his mail to an other inbox. Just don't change his mailbox while doing it. If he then says a certain mail didn't arrive you can look in your copy to see if it is... -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
login problems on 2.3.8
Hi Everyone, Just upgraded to verion 2.3.8 on backup system (sync system) to test the new version and now get the following: Apr 17 07:34:20 imaps[5446]: badlogin: .xx.xxx [xxx.xxx.xxx.xxx] DIGEST-MD5 [SASL(-17): One time use of a plaintext password will enable requested mechanism for user: no secret in database] Now we changed nothing, just did a rpm upgrade, version 2.3.7 was running fine. The sync server is able to login and keep things updated. Any ideas ? Thanks, Roberto Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Lost mail 2.3.8
> Casper wrote: >> i have userids. >> >> Thats not the problem, the problem is that the imapserverlog say the mail >> is delivered but the user say it never arrived... > You might try asking the user if they have thread view turned on (depending on the MUA). I had a few users that 'lost' messages when they were thread sorted to #345 in the list because the incoming mail was a reply to an email was originally dated months ago. HTH, Mike Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Lost mail 2.3.8
i have userids. Thats not the problem, the problem is that the imapserverlog say the mail is delivered but the user say it never arrived... /C > If you are using a virtusertable the email may have been delivered to a > catchall because the email address was mistyped. > > > Harris Landgarten > LHJ Technology Solutions, Inc. > > > - Original Message - > From: "Casper" <[EMAIL PROTECTED]> > To: info-cyrus@lists.andrew.cmu.edu > Sent: Tuesday, April 17, 2007 4:09:19 AM (GMT-0500) US/Eastern > Subject: Lost mail 2.3.8 > > Hello, i have a murder setup. > > And som user say that they sometimes not recieve mail the send. > > The log on smtp (with lmtp delivery to the imap server) say it got the > mail and sent it to cyrus (sendmail mailer Mcyrus). > > The imap server say it got the mail and stored it. > > > But the user never gets the mail. > > I use 2.3.8. > > Does anyone know if this is a bug or what tha he** this is... > > All logs say the mail are stored. > > /C > > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Lost mail 2.3.8
delayed, but there is nothing with unexpunge i think pop deletes the mail and not flag like imap, and unexpunge looks for the deleted flag. pop empties the box. so unexpunge does not work with pop clients, or? /C > On Tue, Apr 17, 2007 at 12:23:29PM +0200, Casper wrote: >> Yes, the mail is not there, there are only mail from today. He download >> mail with pop >> >> Any imapd.conf option for not delete mail from server when downloading >> with pop? > > expunge_mode? > > WBR. > Dmitriy > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Lost mail 2.3.8
On Tue, Apr 17, 2007 at 12:23:29PM +0200, Casper wrote: > Yes, the mail is not there, there are only mail from today. He download > mail with pop > > Any imapd.conf option for not delete mail from server when downloading > with pop? expunge_mode? WBR. Dmitriy Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Lost mail 2.3.8
Casper wrote: Yes, the mail is not there, there are only mail from today. He download mail with pop Any imapd.conf option for not delete mail from server when downloading with pop? On the server side, I don't know of any option. I only know you can configure pop clients to leave mail on server. I've also had user saying, mail was lost, but I always found it in their mailbox :), or they had deleted it, but it was still on disk. Hope you find a solution! -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Lost mail 2.3.8
Casper wrote: Hello, i have a murder setup. And som user say that they sometimes not recieve mail the send. The log on smtp (with lmtp delivery to the imap server) say it got the mail and sent it to cyrus (sendmail mailer Mcyrus). The imap server say it got the mail and stored it. But the user never gets the mail. I use 2.3.8. Does anyone know if this is a bug or what tha he** this is... All logs say the mail are stored. Did you grep in the mailbox? Sometimes users are wrong... Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
sasldb: userPassword vs. cmusaslsecret*
Hello, we're long time users of cyrus-imapd. Due to various migrations, our SASL2 password database currently contains two kinds of entries: # sasldblistusers2 -f sasldb2 | cut -f2 -d" " | sort | uniq -c 102 cmusaslsecretCRAM-MD5 102 cmusaslsecretDIGEST-MD5 102 cmusaslsecretPLAIN 88 userPassword As you can see, we've got 102 users with the old, scrambled, password entries and 88 with the new userPassword cleartext passwords. As I understand it, the old kind of cmusaslsecret* entries are superseeded by the new one. Now saslpasswd2 creates only userPassword by default, that's how we got those 88 entries in our database - anytime a password is changed via saslpasswd2 the old entries are deleted and a new userPassword is created, plus of course new users that now are created with a single userPassword entry from the start. Well, we would like to migrate those 102 user to the new userPassword format. Last time I checked, the autotransition options creates cmusaslsecret* entries if cmusaslsecretPLAIN is present, at the time the password is checked (that is, when the cleartext sent by the remote user is available). So, here's the question: is there a way to effect that migration? I think cleartext passwords can't be restored from cmusaslsecret* entries, but if the user authenticates via PLAIN (or LOGIN in cyrus-imapd, which is the mostly used here) the password could be saved as userPassword entry just like an autotransition. We currently run cyrus-imapd 2.3.1 from Fedora Core Extra 5. .TM. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
cyradm can't lolgin with --port 993
Dear list, when I had imap ; cyradm didn't have any problem to login. But after changing it to imaps cyradm can't login. the command I use is cyradm --port 993 -u cyrus localhost. the log says it as .. imaps TLS negotiation failed though I can succseful;ly use KMail and thunderbird with imaps at port 993. any fix is there ? thanks Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Lost mail 2.3.8
Hello, i have a murder setup. And som user say that they sometimes not recieve mail the send. The log on smtp (with lmtp delivery to the imap server) say it got the mail and sent it to cyrus (sendmail mailer Mcyrus). The imap server say it got the mail and stored it. But the user never gets the mail. I use 2.3.8. Does anyone know if this is a bug or what tha he** this is... All logs say the mail are stored. /C Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
allowed characters in user names
Hi, Need to find out what characters are allowed in users mailbox names, could anyone please point me to a good source of information thanks. Per olof Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: saslauthd pam_mysql problem for virtualdomains
On Tue, 2007-04-17 at 12:50 +0530, ram wrote: > I have a pam_mysql setup with a simple mysql table > and saslauthd is running with the "-r" option on > If I test with a user on the primary domain it works fine , but for a > user on any other domain there is an auth failure > > > > --- > cat /etc/pam.d/imap > #%PAM-1.0 > auth sufficient pam_mysql.so user=mail passwd=password verbose=1 > host=localhost db=mail table=users usercolumn=email > passwdcolumn=password crypt=0 > > auth sufficient pam_unix_auth.so > > auth required pam_mysql.so user=mail passwd=password verbose=1 > host=localhost db=mail table=users usercolumn=email > passwdcolumn=password crypt=0 > > account sufficient pam_unix_acct.so > > Sorry for bothering you all I found the issue the third line in pam.d should be "account required" instead of "auth required" Thanks Ram Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
saslauthd pam_mysql problem for virtualdomains
I have a pam_mysql setup with a simple mysql table and saslauthd is running with the "-r" option on If I test with a user on the primary domain it works fine , but for a user on any other domain there is an auth failure --- cat /etc/pam.d/imap #%PAM-1.0 auth sufficient pam_mysql.so user=mail passwd=password verbose=1 host=localhost db=mail table=users usercolumn=email passwdcolumn=password crypt=0 auth sufficient pam_unix_auth.so auth required pam_mysql.so user=mail passwd=password verbose=1 host=localhost db=mail table=users usercolumn=email passwdcolumn=password crypt=0 account sufficient pam_unix_acct.so -- /usr/sbin/testsaslauthd -u shantanu -p shantanu -s imap 0: OK "Success." /usr/sbin/testsaslauthd -u shantanu -r xyz.com -p test -s imap 0: NO "authentication failed" But pam_mysql logs in /var/log/secure report no errors at all So what could be the issue - pam_mysql - SELECT password FROM users WHERE email = '[EMAIL PROTECTED]' Apr 17 07:17:56 indiamart saslauthd[16123]: pam_mysql - pam_mysql_sql_log() called. Apr 17 07:17:56 indiamart saslauthd[16123]: pam_mysql - pam_mysql_sql_log() returning 0. Apr 17 07:17:56 indiamart saslauthd[16123]: pam_mysql - pam_mysql_check_passwd() returning 0. Apr 17 07:17:56 indiamart saslauthd[16123]: pam_mysql - pam_sm_authenticate() returning 0. Apr 17 07:17:56 indiamart saslauthd[16123]: pam_mysql - pam_mysql_release_ctx() called. Apr 17 07:17:56 indiamart saslauthd[16123]: pam_mysql - pam_mysql_destroy_ctx() called. Apr 17 07:17:56 indiamart saslauthd[16123]: pam_mysql - pam_mysql_close_db() called. --- Thanks Ram Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html