"Not registered yet"

2007-04-19 Thread Sebastian Hagedorn

Hi,

today I found a new message in Logwatch (running Cyrus 2.3.8):

Apr 19 16:39:42 lvr13 master[8644]: service pop3s pid 27842: while trying 
to process message 0x1: not registered yet
Apr 19 16:39:42 lvr13 master[8644]: service pop3s pid 27842 in UNKNOWN 
state: processing message 0x1
Apr 19 16:39:43 lvr13 master[8644]: service pop3s pid 27842 in UNKNOWN 
state: now available and in READY state


I don't think I've ever seen that one before. I don't worry too much about 
it, but I'm curious what I means.

--
Sebastian Hagedorn - Postmaster - RZKR-R1 (Flachbau), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

pgp0vCN5XxfUA.pgp
Description: PGP signature

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: cyrus autorization identifier trick

2007-04-19 Thread Dmitriy Kirhlarov
On Thu, Apr 19, 2007 at 01:11:25PM -0500, Nestor A. Diaz wrote:
> Hello cyrus people.
> 
> Following your cyrus recomendations for a 15K users mailstore, i have a new 
> requeriment, we will like some administrators to login to any mailbox in 
> order to 
> check the successfull delivery of some emails, without having to login into 
> each 
> account with the associated login and password, i explain:

cyrus-imapd-2.3.7
imapd.conf(5)
proxyservers: 
 A  list  of  users  and groups that are allowed to proxy for other
 users, separated by spaces.  Any  user  listed  in  this will  be
 allowed to login for any other user: use with caution.

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: how to enable digestmd5 and crammd5 ?

2007-04-19 Thread Carson Gaspar

Goetz Babin-Ebell wrote:


The problem is that cram-md5 and digest-md5 need direct access to the
pass phrase in plain text.
AFAIK LDAP doesn't support this.
You have to use TLS if you want to transmit the pass phrase securely...


Technically not true, you need the password hashed with the username and 
realm. But cyrus-sasl dropped support for storing the hashes a long time 
ago and has never brought it back.


I can't comment on the LDAP plugin's ability to store/retreive plain 
text passwords, as I've never used it.


--
Carson

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: how to create MX record in remote server ?

2007-04-19 Thread JOYDEEP
Alain Spineux wrote:
> This is not related to cyrus but to your DNS server configuration
>
> looking for hosteurope.de I see
> # dig hosteurope.de mx
>
> ; <<>> DiG 9.3.1 <<>> hosteurope.de mx
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43169
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
>
> ;; QUESTION SECTION:
> ;hosteurope.de. IN  MX
>
> ;; ANSWER SECTION:
> hosteurope.de.  300 IN  MX  50 mx0.hosteurope.de.
>
> ;; AUTHORITY SECTION:
> hosteurope.de.  3600IN  NS  dns.hosteurope.de.
> hosteurope.de.  3600IN  NS  dns2.hosteurope.de.
>
> ;; ADDITIONAL SECTION:
> mx0.hosteurope.de.  3600IN  A   80.237.138.6
>
> ;; Query time: 71 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Thu Apr 19 13:11:46 2007
>
>
> Then you have to chnage the config on dns.hosteurope.de  (or maybe dns2)
> and add an entry for dedicated.hosteurope.de, to finally get
>
>
> dedicated.hosteurope.de. xxx IN  MX  xx
> what_you_want_here.hosteurope.de.
>

Dear responders,
thanks to all for you suggestions. I may be permitted to give you some
details about my environment here.
The server I am using has come with pre-loaded Plesk 7.5. then I didn't
have any such problem like missing MX etc.
As the particular version of plesk didn't allow using cyrus I
uninstalled the plek from my system and now I am facing all this problem.
So could some one kindly suggest any such web based tool to manage my
own DNS etc ?
thanks for knowledge sharing.
>
>
>
> On 4/19/07, JOYDEEP <[EMAIL PROTECTED]> wrote:
>> Dear list,
>>
>> I have installed cyrus - imap on a remote hired server. the domain of
>> the server is  dedicated.hosteurope.de
>> but I can't get any mail in the cyrus mailboxes.
>> I use dnsstuff to query the dedicated.hosteurope.de  and find as
>>
>> --
>>
>> Getting MX record for dedicated.hosteurope.de (from local DNS server,
>> may be cached)...
>> There is no MX record for dedicated.hosteurope.de!  That's bad.
>> Checking for an A record... Got it!
>> -
>>
>> so how can I add dedicated.hosteurope.de in MX record ? how can I
>> create such MX in the remote server ?
>>
>> please help
>>
>> 
>> 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: how to enable digestmd5 and crammd5 ?

2007-04-19 Thread JOYDEEP
Goetz Babin-Ebell wrote:
> JOYDEEP schrieb:
> >> Roberto R. Morelli wrote:
> Hello Joydeep,
> >>> Then we have the cyrus sasl modules installed:
> >>>
> >>> cyrus-sasl-md5-2.1.22-4
> >>> cyrus-sasl-2.1.22-4
> >>> cyrus-sasl-lib-2.1.22-4
> >>> cyrus-sasl-plain-2.1.22-4
> >> But I have come to know that digest-md5 and cram-md5 need sasldb. so
> >> here I can't use it as my users and passwords are stored in LDAP.
> >> any idea ?
> The problem is that cram-md5 and digest-md5 need direct access to the
> pass phrase in plain text.
> AFAIK LDAP doesn't support this.
> You have to use TLS if you want to transmit the pass phrase securely...

Thanks Goetz,

I am already running SSL aka imaps. but still was interested about
cram-md5 and digest-md5 for secured authorization.
Have a nice day.

>
> Bye
>
> Goetz
>
> --
> DMCA: The greed of the few outweights the freedom of the many


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: How many copies of the mupdate master should run?

2007-04-19 Thread Lenny
I've seen this very odd problem as well. Not really sure if it's causing
anything "bad" to happen or not.

We're running a murder environment with virtual domains (6 frontends, 3
backends, 1 mupdate master).

-Lenny

Gary Mills wrote:
> On our mupdate master server, mupdate is defined in cyrus.conf with
> `prefork=1'.  However, two of them are running, both children of
> master...
> 
>UID   PID  PPID   CSTIME TTY TIME CMD
>  cyrus  1594   483   0   Apr 15 ?   0:00 mupdate -C 
> /etc/mupdate/imapd.conf -m
>  cyrus  1596   483   0   Apr 15 ?  22:18 mupdate -C 
> /etc/mupdate/imapd.conf -m
> 
> The second one seems to be doing all the work.  What's the first one for?
> Both have opens on the unix-domain socket.  Only the second one has TCP
> connections.
> 
> In fact, there were three started, but one terminated...
> 
>   Apr 15 22:09:16 castor mupdate[1595]: [ID 166678 local6.error] bind: 
> /imap/mupdate/conf/socket/mupdate.target: Address already in use
>   Apr 15 22:09:16 castor mupdate[1595]: [ID 702911 local6.error] bind failed
>   Apr 15 22:09:16 castor master[483]: [ID 684980 local6.warning] service 
> mupdate pid 1595 in READY state: terminated abnormally
> 
> What's going on here?
> 

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


How many copies of the mupdate master should run?

2007-04-19 Thread Gary Mills
On our mupdate master server, mupdate is defined in cyrus.conf with
`prefork=1'.  However, two of them are running, both children of
master...

   UID   PID  PPID   CSTIME TTY TIME CMD
 cyrus  1594   483   0   Apr 15 ?   0:00 mupdate -C 
/etc/mupdate/imapd.conf -m
 cyrus  1596   483   0   Apr 15 ?  22:18 mupdate -C 
/etc/mupdate/imapd.conf -m

The second one seems to be doing all the work.  What's the first one for?
Both have opens on the unix-domain socket.  Only the second one has TCP
connections.

In fact, there were three started, but one terminated...

  Apr 15 22:09:16 castor mupdate[1595]: [ID 166678 local6.error] bind: 
/imap/mupdate/conf/socket/mupdate.target: Address already in use
  Apr 15 22:09:16 castor mupdate[1595]: [ID 702911 local6.error] bind failed
  Apr 15 22:09:16 castor master[483]: [ID 684980 local6.warning] service 
mupdate pid 1595 in READY state: terminated abnormally

What's going on here?

-- 
-Gary Mills--Unix Support--U of M Academic Computing and Networking-

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: cyrus autorization identifier trick

2007-04-19 Thread Nestor A. Diaz

Andrew Morgan wrote:
Easy.  When you want to look at another user's mail, just modify the 
permissions on their mailbox.  You can do this with cyradm like so:


  sam user.foo adminuser all

We use a perl script that does this recursively for each folder that 
belongs to a specify user, and a second script that recursively 
removes the permission when we are finished.


After granting these permissions, you'll see the user's mailbox in 
your IMAP namespace as "Other Users.foo".
Ok, that's clear for me, but since i am going to have a huge mailstore i 
don't like the idea of the person having to subscribe to each user 
mailbox, or modifying the user mailbox acl each time the person want to 
access data, so as an easy way i was thinking on using sasl as a helper, 
if that's not possible what i am thinking to create at first time, is 
that when the admin (which is really a supervisor with just read 
privilegies) wants to see others users mailbox, it just open a web 
application, that ask for their password, if validation went ok, then 
ask for the mailbox he wants to see and recurisvely change permissions, 
this way the Supervisor can see what others user have into their mailbox 
without using cyradm command line.


slds.

--
Nestor A. Diaz
Ingeniero de Sistemas
Tel. +57 1-600-5490 x 211
Cel. +57 316-227-3593
Tel. SIP: sip:[EMAIL PROTECTED]
Email/MSN: [EMAIL PROTECTED]
http://www.tiendalinux.com/
Bogota, Colombia 



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: extremely poor performance with many maiboxes for 'list "" *'

2007-04-19 Thread Rob Mueller



I manage a single-instance server running v2.2.12 with a reasonably
large number of mailboxes, using "mboxlist_db: flat":


Why are you using "flat"? The flat db implementation is pretty basic/kludgy 
and not designed for large database files. I bet it's doing something stupid 
like re-reading the file from scratch for each record or something like that 
(I've seen it try to rewrite a file on every record when coverting from 
skiplist -> flat)


Convert it to a skiplist and use that instead, much, much better performance 
with up to millions of mailboxes.


http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/WhatDatabaseBackend

Rob


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 2.3.x and thunderbird 2.x delete issue

2007-04-19 Thread Wolfgang Breyha

Hi!

I had troubles with cyrus 2.3.x and thunderbird 2.x. Thunderbird checks the 
ACLs now and issues a "myrights" and "getacl" command. Since thunderbird 
only checks RFC 2086 flags it disables "DELETE" access since cyrus 2.3.x 
reports the compatibility flags only with "myrights" but not with "getacl".


I think RFC 4314 requires both ...
"When any of the "delete" member rights is set in a list of rights,
   the server MUST also include the "d" right when returning the list in
   a MYRIGHTS or ACL response."

Sample response from cyrus for "MYRIGHTS"...
. myrights INBOX
* MYRIGHTS INBOX lrswipkxtecda
... "cd" included here,

but cyrus fails to return them on "GETACL" eg.:
. getacl INBOX
* ACL INBOX testuser lrswipkxtea

I've tried a quickfix...
--- cyrus-imapd-2.3.8/imap/imapd.c.orig 2007-04-19 22:43:37.0 +0200
+++ cyrus-imapd-2.3.8/imap/imapd.c  2007-04-19 22:41:36.0 +0200
@@ -5979,6 +5979,7 @@
 int r, access;
 char *acl;
 char *rights, *nextid;
+char str[ACL_MAXSTR];

 r = (*imapd_namespace.mboxname_tointernal)(&imapd_namespace, name,
   imapd_userid, mailboxname);
@@ -6021,7 +6022,7 @@
prot_printf(imapd_out, " ");
printastring(acl);
prot_printf(imapd_out, " ");
-   printastring(rights);
+   printastring(cyrus_acl_masktostr(cyrus_acl_strtomask(rights), str));
acl = nextid;
 }
 prot_printf(imapd_out, "\r\n");

Works as proof-of-concept with Thunderbird now.

Regards, Wolfgang
--
Wolfgang Breyha <[EMAIL PROTECTED]> | http://www.blafasel.at/
Vienna University Computer Center | Austria

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: cyrus autorization identifier trick

2007-04-19 Thread Andrew Morgan

On Thu, 19 Apr 2007, Nestor A. Diaz wrote:


Hello cyrus people.

Following your cyrus recomendations for a 15K users mailstore, i have a new 
requeriment, we will like some administrators to login to any mailbox in 
order to check the successfull delivery of some emails, without having to 
login into each account with the associated login and password, i explain:


i use cyrus virtual domains system,a user log in using this user id and 
password:


[EMAIL PROTECTED]
userpassword

but i will like to make some trick for a user to login into a mailbox, using 
the followin schema:


user:[EMAIL PROTECTED]
adminpassword

the idea is that based on username (user:admin), the system notice that the 
user login is 'admin' and that he wants to see 'user' mailbox.


is something like this possible ? i have read something related under 
http://www.lichteblau.com/ldapvi/cyrus-sasl/sysadmin.html but i still don't 
see the way to do this, because auxprop pluing only returns the password 
asociated with an account, but how can i make cyrus to know that 'user:admin' 
refers to 'user' mailbox ?


Easy.  When you want to look at another user's mail, just modify the 
permissions on their mailbox.  You can do this with cyradm like so:


  sam user.foo adminuser all

We use a perl script that does this recursively for each folder that 
belongs to a specify user, and a second script that recursively removes 
the permission when we are finished.


After granting these permissions, you'll see the user's mailbox in your 
IMAP namespace as "Other Users.foo".


Andy

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: extremely poor performance with many maiboxes for 'list "" *'

2007-04-19 Thread Greg A. Woods
At Thu, 19 Apr 2007 13:50:36 -0400, Wesley Craig wrote:
Subject: Re: extremely poor performance with many maiboxes for 'list "" *'
> 
> I've seen problem like that, but I identified issues in the  
> auth_canonify() code for kerberos.  You don't appear to be using  
> kerberos, so your situation is likely to be different.

Nope, no kerberos here -- and this is happening well after
authentication anyway.

>  On the other  
> hand, I can speculate that LIST is much slower than grep because  
> imapd needs to determine whether every mailbox is readable by the  
> user.  That sort of calculation is significantly more intensive than  
> simple pattern matching.  Also, rather than replicating your  
> environment in test and doing a full profile, I'd probably start by  
> strace-ing a process that I was talking to with imtest.  I suspect  
> you'll find that imapd is accessing the filesystem in a most  
> inefficient way.

ktruss only shows a bunch of stat("/var/imap/mailboxes.db") calls being
made, presumably one for every record in the database.  I've no idea why
this would be useful or necessary, but regardless this doesn't explain
the massive CPU usage.

"Top" and similar system monitors show all the CPU being burned at
user-level, not much at all by the kernel.

Profiling the code would be far more useful than strace/ktrace or
similar, though those may show a pattern recognizable enough to help
identify the wasteful code.

Also I would certainly hope that the matching processing done by the
"list" command could be _far_ more efficient with CPU cycles than a
regex match over the whole mailboxes.db line would be for the same
operation.  The only difference should be in the parsing that would be
necessary to change a flat mailboxes.db record into some more
efficiently stored and compared internal representation.  One thought
I've had is that perhaps the whole mailboxes.db file is being re-parsed
for every record, instead of reading it all in just once and caching the
result before beginning any matching.

-- 
Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <[EMAIL PROTECTED]>
Planix, Inc. <[EMAIL PROTECTED]>   Secrets of the Weird <[EMAIL PROTECTED]>

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 autorization identifier trick

2007-04-19 Thread Nestor A. Diaz

Hello cyrus people.

Following your cyrus recomendations for a 15K users mailstore, i have a 
new requeriment, we will like some administrators to login to any 
mailbox in order to check the successfull delivery of some emails, 
without having to login into each account with the associated login and 
password, i explain:


i use cyrus virtual domains system,a user log in using this user id and 
password:


[EMAIL PROTECTED]
userpassword

but i will like to make some trick for a user to login into a mailbox, 
using the followin schema:


user:[EMAIL PROTECTED]
adminpassword

the idea is that based on username (user:admin), the system notice that 
the user login is 'admin' and that he wants to see 'user' mailbox.


is something like this possible ? i have read something related under 
http://www.lichteblau.com/ldapvi/cyrus-sasl/sysadmin.html but i still 
don't see the way to do this, because auxprop pluing only returns the 
password asociated with an account, but how can i make cyrus to know 
that 'user:admin' refers to 'user' mailbox ?


Thanks.

--
Nestor A. Diaz
Ingeniero de Sistemas
Tel. +57 1-600-5490 x 211
Cel. +57 316-227-3593
Tel. SIP: sip:[EMAIL PROTECTED]
Email/MSN: [EMAIL PROTECTED]
http://www.tiendalinux.com/
Bogota, Colombia 



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: extremely poor performance with many maiboxes for 'list "" *'

2007-04-19 Thread Wesley Craig
I've seen problem like that, but I identified issues in the  
auth_canonify() code for kerberos.  You don't appear to be using  
kerberos, so your situation is likely to be different.  On the other  
hand, I can speculate that LIST is much slower than grep because  
imapd needs to determine whether every mailbox is readable by the  
user.  That sort of calculation is significantly more intensive than  
simple pattern matching.  Also, rather than replicating your  
environment in test and doing a full profile, I'd probably start by  
strace-ing a process that I was talking to with imtest.  I suspect  
you'll find that imapd is accessing the filesystem in a most  
inefficient way.


:wes

On 19 Apr 2007, at 12:58, Greg A. Woods wrote:

I'm wondering if anyone else has seen this kind of problem and whether
or not anyone has looked into possible causes yet or not.


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


extremely poor performance with many maiboxes for 'list "" *'

2007-04-19 Thread Greg A. Woods
I manage a single-instance server running v2.2.12 with a reasonably
large number of mailboxes, using "mboxlist_db: flat":

# wc -l /var/imap/mailboxes.db  
  
   40190 /var/imap/mailboxes.db

On the hardware it runs on a grep through the mailboxes file using a
non-trivial RE to match the user and ACL (in a manner I suspect is
similar to 'list "" *') will complete in less than a second of CPU time.

However imapd takes well over two minutes of CPU time to do the same
thing -- an unbelievable, impossibly, long time for what should be a
very trivial operation on so few records, relatively speaking.  I would
have expected that hardware to be able to process several tens of
millions of records in two minutes of CPU time.  I.e. whatever is being
done is being done with three or four orders of magnitude too many
instructions per record!  This is a "flat" DB, but still!

Unfortunately some clients, despite the advice of RFC 2683 Section
3.2.1.1, e.g. pine, frequently do things like this (or seem to),
sometimes putting extraordinarily excessive load on the system when
several do so at the same time (it's only a 4-CPU system :-)).


$ imtest
WARNING: no hostname supplied, assuming localhost

S: * OK public Cyrus IMAP4 v2.2.12 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE 
UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS LISTEXT 
LIST-SUBSCRIBED
S: C01 OK Completed
Please enter your password: 
C: L01 LOGIN woods {9}
S: + go ahead
C: 
S: L01 OK User logged in
Authenticated.
Security strength factor: 0
. list inbox *
* LIST (\HasChildren) "/" "inbox"
* LIST (\HasNoChildren) "/" "inbox/Trash"
. OK Completed (0.000 secs 3 calls)
. list "" *
* LIST (\HasChildren) "/" "INBOX"
* LIST (\HasNoChildren) "/" "INBOX/Trash"
* LIST (\HasNoChildren) "/" "notice/network/news"
* LIST (\HasNoChildren) "/" "user/cyrus"
* LIST (\HasChildren) "/" "user/gwoods"
* LIST (\HasNoChildren) "/" "user/gwoods/This is a new folder"
* LIST (\HasNoChildren) "/" "user/gwoods/Trash"
* LIST (\HasChildren) "/" "user/gwoods/a folder with spaces"
* LIST (\HasNoChildren) "/" "user/gwoods/a folder with spaces/a sub-folder 
within a folder"
* LIST (\HasNoChildren) "/" "user/gwoods/a-new-folder-by-wl"
. OK Completed (160.650 secs 11 calls)
C: Q01 LOGOUT
* BYE LOGOUT received
Q01 OK Completed
Connection closed.


$ ps -lp 15991 
UID   PID PPID CPU PRI NI  VSZ  RSS WCHAN  STAT TTTIME COMMAND
120 15991  253  34   2  4 3720 4576 select IN   ?? 2:41.49 imapd: imapd: 
localhost [127.0.0.1]   


I haven't tried profiling the code yet (I'll have to replicate the
config on a test server that I'll have to build first).

I'm wondering if anyone else has seen this kind of problem and whether
or not anyone has looked into possible causes yet or not.

-- 
Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <[EMAIL PROTECTED]>
Planix, Inc. <[EMAIL PROTECTED]>   Secrets of the Weird <[EMAIL PROTECTED]>

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: how to enable digestmd5 and crammd5 ?

2007-04-19 Thread Goetz Babin-Ebell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

JOYDEEP schrieb:
> Roberto R. Morelli wrote:
Hello Joydeep,
>>
>> Then we have the cyrus sasl modules installed:
>>
>> cyrus-sasl-md5-2.1.22-4
>> cyrus-sasl-2.1.22-4
>> cyrus-sasl-lib-2.1.22-4
>> cyrus-sasl-plain-2.1.22-4
> 
> But I have come to know that digest-md5 and cram-md5 need sasldb. so
> here I can't use it as my users and passwords are stored in LDAP.
> any idea ?
The problem is that cram-md5 and digest-md5 need direct access to the
pass phrase in plain text.
AFAIK LDAP doesn't support this.
You have to use TLS if you want to transmit the pass phrase securely...

Bye

Goetz

- --
DMCA: The greed of the few outweights the freedom of the many
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJ1q92iGqZUF3qPYRAoBjAJ98QFvVVB92ZFAh5pnD/vCoDtyUaQCeJvxP
bRzrA+CY1QJE7iBh63ALp0Y=
=B37t
-END PGP SIGNATURE-

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: how to create MX record in remote server ?

2007-04-19 Thread Rudy Gevaert

JOYDEEP wrote:

> so how can I add dedicated.hosteurope.de in MX record ? how can I 
create such MX in the remote server ?


Please read a book/tutorial/... about DNS to get at least some knowlegde 
 of it.


If you maintain the DNS you can add it yourself.  If you don't ask the 
hoster to do it.





--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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: how to create MX record in remote server ?

2007-04-19 Thread Alain Spineux

This is not related to cyrus but to your DNS server configuration

looking for hosteurope.de I see
# dig hosteurope.de mx

; <<>> DiG 9.3.1 <<>> hosteurope.de mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43169
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;hosteurope.de. IN  MX

;; ANSWER SECTION:
hosteurope.de.  300 IN  MX  50 mx0.hosteurope.de.

;; AUTHORITY SECTION:
hosteurope.de.  3600IN  NS  dns.hosteurope.de.
hosteurope.de.  3600IN  NS  dns2.hosteurope.de.

;; ADDITIONAL SECTION:
mx0.hosteurope.de.  3600IN  A   80.237.138.6

;; Query time: 71 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Apr 19 13:11:46 2007


Then you have to chnage the config on dns.hosteurope.de  (or maybe dns2)
and add an entry for dedicated.hosteurope.de, to finally get


dedicated.hosteurope.de. xxx IN  MX  xx
what_you_want_here.hosteurope.de.




On 4/19/07, JOYDEEP <[EMAIL PROTECTED]> wrote:

Dear list,

I have installed cyrus - imap on a remote hired server. the domain of
the server is  dedicated.hosteurope.de
but I can't get any mail in the cyrus mailboxes.
I use dnsstuff to query the dedicated.hosteurope.de  and find as

--

Getting MX record for dedicated.hosteurope.de (from local DNS server, may be 
cached)...
There is no MX record for dedicated.hosteurope.de!  That's bad.
Checking for an A record... Got it!
-

so how can I add dedicated.hosteurope.de in MX record ? how can I create such 
MX in the remote server ?

please help


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




--
--
Alain Spineux
aspineux gmail com
May the sources be with you

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: how to create MX record in remote server ?

2007-04-19 Thread Mogens Melander
Acording to namesevers for dedicated.hosteurope.de is there
no MX. You can't tell dedicated who is MX, you must get
that information to dns.hosteurope.de

Send e-mail to [EMAIL PROTECTED] and request
creation of MX record pointing to your server.

# host -t soa dedicated.hosteurope.de dedicated.hosteurope.de
> SOA dns.hosteurope.de. hostmaster.hosteurope.de.
  2007041602
  10800
  3600
  360
  3600

# host -a dedicated.hosteurope.de
Trying "dedicated.hosteurope.de"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19701
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;dedicated.hosteurope.de.   IN  ANY

;; ANSWER SECTION:
dedicated.hosteurope.de. 751IN  NS  dns2.hosteurope.de.
dedicated.hosteurope.de. 751IN  NS  dns.hosteurope.de.

;; AUTHORITY SECTION:
dedicated.hosteurope.de. 751IN  NS  dns.hosteurope.de.
dedicated.hosteurope.de. 751IN  NS  dns2.hosteurope.de.

;; ADDITIONAL SECTION:
dns.hosteurope.de.  2929IN  A   80.237.128.156
dns2.hosteurope.de. 2931IN  A   80.237.129.61

-- 
Later

Mogens Melander
+45 40 85 71 38
+66 870 133 224


On Thu, April 19, 2007 12:14, JOYDEEP wrote:
> Dear list,
>
> I have installed cyrus - imap on a remote hired server. the domain of
> the server is  dedicated.hosteurope.de
> but I can't get any mail in the cyrus mailboxes.
> I use dnsstuff to query the dedicated.hosteurope.de  and find as
>
> --
>
> Getting MX record for dedicated.hosteurope.de (from local DNS server, may
> be cached)...
> There is no MX record for dedicated.hosteurope.de!  That's bad.
> Checking for an A record... Got it!
> -
>
> so how can I add dedicated.hosteurope.de in MX record ? how can I create
> such MX in the remote server ?
>
> please help
>
> 
> 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
>
> --
> This message has been scanned for viruses and
> dangerous content by OpenProtect(http://www.openprotect.com), and is
> believed to be clean.
>



-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.


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


how to create MX record in remote server ?

2007-04-19 Thread JOYDEEP
Dear list,

I have installed cyrus - imap on a remote hired server. the domain of
the server is  dedicated.hosteurope.de
but I can't get any mail in the cyrus mailboxes.
I use dnsstuff to query the dedicated.hosteurope.de  and find as

--

Getting MX record for dedicated.hosteurope.de (from local DNS server, may be 
cached)...   
There is no MX record for dedicated.hosteurope.de!  That's bad.
Checking for an A record... Got it!
-

so how can I add dedicated.hosteurope.de in MX record ? how can I create such 
MX in the remote server ?

please help


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: imtest successful but sivtest is not :-(

2007-04-19 Thread JOYDEEP
JOYDEEP wrote:
> Dear list ,
>
> in my system sieve is not working. I check the user cyrus by imtest.
> the command is "imtest -a cyrus -u cyrus  localhost -s"
> ---
> TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits)
> S: * OK lvps87-230-8-228.dedicated.hosteurope.de Cyrus IMAP4 v2.2.12
> server ready
> C: C01 CAPABILITY
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
> NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
> BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE
> AUTH=PLAIN AUTH=LOGIN SASL-IR X-NETSCAPE
> S: C01 OK Completed
> Please enter your password:
> C: A01 AUTHENTICATE PLAIN Y3lydXMAY3lydXMAbWFoYWRldg==
> S: A01 OK Success (tls protection)
> Authenticated.
> Security strength factor: 256
> ---
>
> now  " sivtest -a cyrus localhost" reports
> 
> S: "IMPLEMENTATION" "Cyrus timsieved v2.2.12"
> S: "SASL" "PLAIN LOGIN"
> S: "SIEVE" "fileinto reject envelope vacation imapflags notify
> subaddress relational comparator-i;ascii-numeric regex"
> S: "STARTTLS"
> S: OK
> Please enter your password:
> C: AUTHENTICATE "PLAIN" {20+}
> AGN5cnVzAG1haGFkZXY=
> S: NO "Authentication Error"
> Authentication failed. generic failure
> Security strength factor: 0
> --
>
> where may be the problem here ?
>   

Even "sieveshell localhost " is not workingty too.

see below

lvps87-230-8-228:~ # sieveshell localhost

connecting to localhost
Please enter your password:
unable to connect to server at /usr/bin/sieveshell line 169,  line 1.
---

here is the log

Apr 19 09:15:23 lvps87-230-8-228 sieve[3675]: attempting server step
after doneflag
Apr 19 09:15:23 lvps87-230-8-228 sieve[3675]: badlogin:
lvps87-230-8-228.dedicated.hosteurope.de[127.0.0.1] LOGIN generic failure
Apr 19 09:15:23 lvps87-230-8-228 perl: No worthy mechs found
Apr 19 09:15:23 lvps87-230-8-228 master[31987]: process 3675 exited,
status 0
---

please note I have cyrus-sasl-plain and cyrus-sasl-Login module installed.
>
> 
> 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: urgent - cyrus stop working after restarting the pc

2007-04-19 Thread JOYDEEP
Wolfgang Hennerbichler wrote:
>
> On 19.04.2007, at 06:51, JOYDEEP wrote:
>
>> Dear list,
>
> Dear Mr. Joydeep Realname unkown,

Real name is Joydeep too. you can visit  http://jbakshi.50webs.com
>
>> here is a strange problem. after restarting the suse 10.1 cyrus stop
>> working.
>
> You didn't happen to take a look at the logs, did you? I think looking
> at the logs should help, instead of nmapping the host ;)

please go through the mail I sent with solved tag.

>
>> "nmap localhost" is not showing any open port for imap and imaps.
>
> nmap is a strange way to do this. what about netstat or telnet?

thanks
>
> --www.vix.at // www.aco.net // www.sth.ac.at
> [EMAIL PROTECTED] // WH844-RIPE
> Vienna University Computer Center
> Tel: +43 1 4277-14031 // Fax: -9140
>
>
>
>


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