Re: Disabling MAILBOX-REFERRALS in Murder Setup

2005-11-14 Thread Paul M Fleming

What I think I'm going to do is remove the

MAIL-REFERRALS from the capability list in version.h and only advertise 
referral support if the logged in user is an admin (proxyd_userisadmin 
or imapd_userisadmin)




Paul M Fleming wrote:

I've been running my own IMAP proxy code for a while and am ready to 
switch to using murder to get a unified namespace. I don't want IMAP 
referrals enabled for my DMZ front-end hosts (I want all traffic proxied 
-- not referred to the correct backend regardless of client support). Is 
there any easy way to disable referrals under 2.1.18 other than hacking 
on the code?


Is changing the capabilities string enough or do I need to change 
proxyd.c and imapd.c as well. If i need to change proxyd.c is disabling 
the rlsub and rlist commands sufficient? What about imapd.c??


Thanks

Paul

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



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


Disabling MAILBOX-REFERRALS in Murder Setup

2005-11-14 Thread Paul M Fleming
I've been running my own IMAP proxy code for a while and am ready to 
switch to using murder to get a unified namespace. I don't want IMAP 
referrals enabled for my DMZ front-end hosts (I want all traffic proxied 
-- not referred to the correct backend regardless of client support). Is 
there any easy way to disable referrals under 2.1.18 other than hacking 
on the code?


Is changing the capabilities string enough or do I need to change 
proxyd.c and imapd.c as well. If i need to change proxyd.c is disabling 
the rlsub and rlist commands sufficient? What about imapd.c??


Thanks

Paul

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: duplicate suppression and syncronizing?

2005-11-14 Thread David Carter

On Mon, 14 Nov 2005, Bill Kearney wrote:

Somewhat tangentally, is there a way to use sieve or something else 
within cyrus to investigate duplicates in a given folder?  I do know 
some mail is duplicated.  Thunderbird has an extension available to dig 
through the messages to find duplicates.  But is there something clever 
within sieve that can do it?


Each message delivery or sieve action (fileinto, redirect etc) causes a 
duplicate_check() to see if the combination of Message-ID plus action plus 
(mailbox name or redirect address) has been seen before, followed by a 
duplicate_mark() if it is new. This isn't visible to the end user.


--
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

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: Problems with sieveshell

2005-11-14 Thread Craig White
On Mon, 2005-11-14 at 13:13 +, James Davis wrote:
> Having a few problems here, I hope this is the correct mailing list.
> Please feel free to have a laugh at me if it's not (and point me in the
> correct direction) :-)
> 
> I'm a new Cyrus administrator, very new. This is my first install and
> I've picked Cyrus as it should be fairly easy to integrate it with GOsa
> which I hope to use to manage accounts.
> 
> I'm installing on Debian, using the Debian supplied packages. I followed
> the instructions supplied with README.Debian.simpleinstall.gz. I've
> created an admin user, cyrus with which I'm able to login using both
> cyradm and imtest. So far so good.
> 
> I entered the details into my GOsa configuration put it complains with
> an error:
> 
> Can't log into SIEVE server. Server says ".
> 
> I figure that there's a problem with my configuration of sieve
> somewhere. I attempt to use sieveshell using the cyrus user that
> successfully works as described above.
> 
> cressida:/var/lib/cyrus# sieveshell -u cyrus localhost
> 
> It prompts me for my password but despite having entered it several
> times I can't log in. The following appears in my logs.
> 
> /var/log/syslog:Nov 13 22:29:55 cressida cyrus/timsieved[25646]:
> badlogin: localhost.localdomain[127.0.0.1] DIGEST-MD5 authentication failure
> /var/log/syslog:Nov 13 22:29:56 cressida cyrus/timsieved[25646]:
> badlogin: localhost.localdomain[127.0.0.1] NTLM authentication failure
> /var/log/syslog:Nov 13 22:29:58 cressida cyrus/timsieved[25646]:
> badlogin: localhost.localdomain[127.0.0.1] LOGIN authentication failure
> /var/log/syslog:Nov 13 22:30:00 cressida cyrus/timsieved[25646]:
> badlogin: localhost.localdomain[127.0.0.1] PLAIN authentication failure
> /var/log/syslog:Nov 13 22:30:02 cressida cyrus/timsieved[25646]:
> badlogin: localhost.localdomain[127.0.0.1] CRAM-MD5 authentication failure
> 
> When I telnet to the sieve service I get the following text if it's of
> any use.
> 
> cressida:/usr/share/doc# telnet localhost sieve
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> "IMPLEMENTATION" "Cyrus timsieved v2.1.18-IPv6-Debian-2.1.18-1"
> "SASL" "NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5"
> "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
> relational regex"
> OK
> 
> Any ideas what I can do to fix this problem? I'm *not* looking for help
> with GOsa specifically but there seems to be a problem with sieve and if
> I can that fixed perhaps I can get to the bottom of the problems I have
> with GOsa :-)

I haven't been able to log in to sieveshell as cyrus either but I
suspect that's because I have never created a mailbox for any cyrus user
and sieveshell doesn't seem to have much meaning for the user cyrus.

sieveshell -u craig -a craig localhost 

works for me...

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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


[Fwd: ] Cyrus-IMAP question

2005-11-14 Thread maisa
 Original Message 
Subject:
From:[EMAIL PROTECTED]
Date:Mon, November 14, 2005 4:30 pm
To:  info-cyrus@lists.andrew.cmu.edu
--

hi all,
i am trying to configure my cyrus-imap in order to use it with
sasl,mysql,pam to support multi-domains mail server ..

my main question is:
i am following up a http://workaround.org/articles/ispmail-sarge/ tutorail
in order to build this mail server ..
this tutorial uses courier-imap instead of cyrus-imap ..

how can i switch to use cyrus-imap instead ?? and what changes should i
apply in order to make my mail server works ???

i asked on postfix channel on irc and they told me that i had to tell
cyrus how to use mysql files that i had created for my multi-domain server
so can any one tell me how to do it ???

i am using debian-sarge as an opertaing system .

last question: does cyrus has any channel on irc ?? what is it's name and
what is the server name that this channel is connected to??

urs
maisa



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: duplicate suppression and syncronizing?

2005-11-14 Thread Bill Kearney
> The duplicate supression database is used by lmtpd when delivering mail.
>
> It is not used at all by imapd. If it was amusing things would happen when
> people tried to copy messages around.

Yes!  That's the answer I need to hear.  I agree, it would be quite a mess
if it affected moving and copying using an IMAP client.  But before I told
it to --delete the source mailbox I wanted to be SURE.

Somewhat tangentally, is there a way to use sieve or something else within
cyrus to investigate duplicates in a given folder?  I do know some mail is
duplicated.  Thunderbird has an extension available to dig through the
messages to find duplicates.  But is there something clever within sieve
that can do it?

-Bill Kearney

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 subject)

2005-11-14 Thread maisa
hi all,
i am trying to configure my cyrus-imap in order to use it with
sasl,mysql,pam to support multi-domains mail server ..

my main question is:
i am following up a http://workaround.org/articles/ispmail-sarge/ tutorail
in order to build this mail server ..
this tutorial uses courier-imap instead of cyrus-imap ..

how can i switch to use cyrus-imap instead ?? and what changes should i
apply in order to make my mail server works ???

i asked on postfix channel on irc and they told me that i had to tell
cyrus how to use mysql files that i had created for my multi-domain server
so can any one tell me how to do it ???

i am using debian-sarge as an opertaing system .

last question: does cyrus has any channel on irc ?? what is it's name and
what is the server name that this channel is connected to??

urs
maisa

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


Problems with sieveshell

2005-11-14 Thread James Davis
Having a few problems here, I hope this is the correct mailing list.
Please feel free to have a laugh at me if it's not (and point me in the
correct direction) :-)

I'm a new Cyrus administrator, very new. This is my first install and
I've picked Cyrus as it should be fairly easy to integrate it with GOsa
which I hope to use to manage accounts.

I'm installing on Debian, using the Debian supplied packages. I followed
the instructions supplied with README.Debian.simpleinstall.gz. I've
created an admin user, cyrus with which I'm able to login using both
cyradm and imtest. So far so good.

I entered the details into my GOsa configuration put it complains with
an error:

Can't log into SIEVE server. Server says ".

I figure that there's a problem with my configuration of sieve
somewhere. I attempt to use sieveshell using the cyrus user that
successfully works as described above.

cressida:/var/lib/cyrus# sieveshell -u cyrus localhost

It prompts me for my password but despite having entered it several
times I can't log in. The following appears in my logs.

/var/log/syslog:Nov 13 22:29:55 cressida cyrus/timsieved[25646]:
badlogin: localhost.localdomain[127.0.0.1] DIGEST-MD5 authentication failure
/var/log/syslog:Nov 13 22:29:56 cressida cyrus/timsieved[25646]:
badlogin: localhost.localdomain[127.0.0.1] NTLM authentication failure
/var/log/syslog:Nov 13 22:29:58 cressida cyrus/timsieved[25646]:
badlogin: localhost.localdomain[127.0.0.1] LOGIN authentication failure
/var/log/syslog:Nov 13 22:30:00 cressida cyrus/timsieved[25646]:
badlogin: localhost.localdomain[127.0.0.1] PLAIN authentication failure
/var/log/syslog:Nov 13 22:30:02 cressida cyrus/timsieved[25646]:
badlogin: localhost.localdomain[127.0.0.1] CRAM-MD5 authentication failure

When I telnet to the sieve service I get the following text if it's of
any use.

cressida:/usr/share/doc# telnet localhost sieve
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v2.1.18-IPv6-Debian-2.1.18-1"
"SASL" "NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
relational regex"
OK

Any ideas what I can do to fix this problem? I'm *not* looking for help
with GOsa specifically but there seems to be a problem with sieve and if
I can that fixed perhaps I can get to the bottom of the problems I have
with GOsa :-)

Regards,

James

-- 
http://www.freecharity.org.uk/ - Free hosting for charities
http://jamesd.ukgeeks.co.uk/

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: outlook 2003 crashing

2005-11-14 Thread Ken Murchison

Shaun Feeley wrote:

Hi Guys,

I’m hoping someone can help me.  I’m running a cyrus imap server on 
mandrake 9.2


Over the last couple of weeks users connecting using Outlook are 
experiencing crashes 2 -3 times a day. 

The program is hanging on a send and receive status.  Just wondering if 
anyone has come across this before?


I thought it could be a windows update?  Any thought?


Grabbing a protocol dump when you experience the crash might be helpful.

--
Kenneth Murchison
Systems Programmer
Carnegie Mellon University

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: duplicate suppression and syncronizing?

2005-11-14 Thread David Carter

On Sun, 13 Nov 2005, Bill Kearney wrote:


What's the story with duplicate suppression and it's affect on syncronizing
with tools like imapsync or mailsync?


The duplicate supression database is used by lmtpd when delivering mail.

It is not used at all by imapd. If it was amusing things would happen when 
people tried to copy messages around.


--
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

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: outlook 2003 crashing

2005-11-14 Thread Simon Matter
> Hi Guys,
>
> I'm hoping someone can help me.  I'm running a cyrus imap server on
> mandrake
> 9.2
>
> Over the last couple of weeks users connecting using Outlook are
> experiencing crashes 2 -3 times a day.
>
> The program is hanging on a send and receive status.  Just wondering if
> anyone has come across this before?
>
> I thought it could be a windows update?  Any thought?
>

I've got similar reports and in the logs I can see alot of errors like this:

Nov  8 09:54:08 imap02 imaps[3919]: Connection reset by peer, closing
connection

It looks like outlook does something strange here (where not?) because it
seems to happen when the user sends a mail. After the SMTP finishes, it
immediately opens 10 to 20 IMAP connections in parallel, which then seems
to be terminated immediately again.

Maybe someone who knows outlook more can shed some light on this.

Simon

>
>
> Thanks for your time.
>
> Shaun
>
>
>
> SHAUN FEELEY
> IT SYSTEMS MANAGER
>
> 
>
> CYTOPIA RESEARCH PTY LTD
> A.C.N. 082 492 680
> Level 5 Baker Heart Research Institute Building
> 75 Commercial Road
> Melbourne Victoria Australia 3004
> PO Box 6492 St Kilda Road Central
> Melbourne Victoria Australia 8008
> P: 61 3 9522 6900
> F: 61 3 9510 9292
> E: [EMAIL PROTECTED]
> W: www.cytopia.com.au
> 
>
> The information contained in this e-mail is confidential and is intended
> only for the use of the addressee(s). If you receive this e-mail in error,
> please notify the sender by return e-mail immediately and erase all copies
> of the message and attachements.
>
>
>
> 
> 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

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


outlook 2003 crashing

2005-11-14 Thread Shaun Feeley








Hi Guys,

I’m hoping someone can help me.  I’m running a
cyrus imap server on mandrake 9.2 

Over the last couple of weeks users connecting using Outlook
are experiencing crashes 2 -3 times a day.  

The program is hanging on a send and receive status.  Just
wondering if anyone has come across this before?

I thought it could be a windows update?  Any thought?

 

Thanks for your time.

Shaun

 

SHAUN FEELEY
IT SYSTEMS MANAGER

 

CYTOPIA RESEARCH PTY LTD
A.C.N. 082 492 680
Level 5 Baker Heart Research
 Institute Building
75 Commercial Road
Melbourne Victoria
 Australia 3004
PO Box 6492
St Kilda Road Central
Melbourne Victoria
 Australia 8008
P: 61 3 9522 6900
F: 61 3 9510 9292
E: [EMAIL PROTECTED]
W: www.cytopia.com.au


The information contained in this e-mail is
confidential and is intended only for the use of the addressee(s). If you
receive this e-mail in error, please notify the sender by return e-mail
immediately and erase all copies of the message and attachements.

 







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: moving mail from uw to cyrus, damaged headers?

2005-11-14 Thread Michael Menge

Bill Kearney wrote:

try imapsync


Tried it, no go, same problem:

Couldn't append msg #6 (Subject:[Re: How to specify?]) to folder tt: Error
trying to append: 111 NO Message contains invalid header

(Basically it's telling me cyrus won't take the bogus message I put in the
'tt' folder)

Likewise various other IMAP syncing tools upchuck on it.  Cyrus just refuses
(as it seems it should) to take the bogus header.

So I suppose what I'm after is a 'mailbox cleaner-upper' for those corrupted
messages.

I've taken a stab at what's causing the trouble and it's lines with the hex
chars \x13\x42 on them.  At least that /seems/ to be the most commonly
present combination of characters on the corrupted header line.  It's
basically some gibberish put on a line near the very start of a message
(usually on a line somewhere between the 2nd and 8th in the header of the
message).

A bit of grep-fu digs them out:

cd ~/mail
grep -P '\x13\x42' -l -R *

Fortunately it's only about 30 mailboxes (of some 300 or so) that are
affected and they're (thanfully) all in mbox text files.  If I can truly
narrow down what characters are causing the trouble then the various tools
should be able to function properly

But is there a way to tell cyrus to do the dirty work of cleaning up the
headers as a message is copied into it?

-Bill Kearney

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


The --regexmess option from imapsync may help. See the example from 
imapsync --help for more details


--

M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail: [EMAIL PROTECTED]
Waechterstrasse 76
72074 Tuebingen


smime.p7s
Description: S/MIME Cryptographic Signature

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