Re: cyrus sync_client always refuses to run with an 'InvalidArgument'

2006-01-11 Thread Febo Aristots

> Have you tried synctest?
 I would have liked it, I couldn't find it in the 2.3.1 release or elsewhere though.. Where can it be downloaded ?
> Also, don't you want sync_log: 1?
Yes, I enabled it later...
 
I more or less 'solved' the problem patching backend.c with another code snippet to open the port, replication has been working for a few days with it. 
The 'invalid argument' is a socket message error logged via syslog. See my other 'backend.c possible bug'
 
 

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

ETA on auto-* patches?

2006-01-11 Thread Andreas Hasenack
Any ETA on the auto-* patches for cyrus-imapd-2.3.x? Days? Weeks?
Months? Don't know?
I could start hacking on them, I guess, just didn't want to duplicate
work.


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 on AMD64

2006-01-11 Thread Marcelo H. Terres
Hi.Anybody here use an AMD64 Opteron platform running cyrus 2.2.12 or cyrus 2.3.1 ???I need some tips to compile cyrus in this architecture.Thanks,-- Marcelo H. Terres
[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: ETA on auto-* patches?

2006-01-11 Thread Ken Murchison

Andreas Hasenack wrote:

Any ETA on the auto-* patches for cyrus-imapd-2.3.x? Days? Weeks?
Months? Don't know?
I could start hacking on them, I guess, just didn't want to duplicate
work.


These patches would have been integrated a long time ago, but AFAIK they 
still don't have support for Cyrus Murder.  Since 2.3 doesn't have 
separate proxies, it might be easier to integrate, buyt I haven't looked 
at it.


--
Kenneth Murchison
Project Cyrus Developer/Maintainer
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: odd incorrect delivery problem

2006-01-11 Thread John Madden
>   Check your postfix configuration. I had a similar thing happen to me
> last week where any mail sent to admin/sales/[EMAIL PROTECTED]
> would be delivered internally. Turns out that the ldap group filters I
> had specified in the main.cf where only using the user part of the email
> address (%u) for the matching. This assumes you're using a virtual
> domain config in postfix, as it searches the group and alias maps
> regardless of where the email is destined, unless you've got it set to
> only search them for your domain(I don't remember that setting but it's
> in the postfix ldap documenation).

No virtual domains here, just a transport:
ivytech.edu lmtp:unix:/var/imap/socket/lmtp

And the following LDAP config:

alias_maps = hash:/etc/aliases, ldap:ldapsource

ldapsource_server_host = ldap.ivytech.edu
ldapsource_search_base = ou=People,dc=ivytech,dc=edu
ldapsource_query_filter = (&(o=Mail)(|(uid=%u)(mailLocalAddress=%u)))
ldapsource_debuglevel = 0
ldapsource_result_attribute = uid
ldapsource_bind = no





-- 
John Madden
UNIX Systems Engineer
Ivy Tech Community College of Indiana
[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


unsubscribe

2006-01-11 Thread David Powicki



unsubscribe




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: mailboxes reconstruct in Cyrus IMAPd 2.3.1

2006-01-11 Thread Milen Dimov
Milen Dimov wrote:
> Hi,
> 
> It looks there is a problem with 'reconstruct' in Cyrus IMAPd 2.3.1. I
> did copy mail spool directory of our 2.2.12 Cyrus IMAPd server to a new
> machine with Cyrus IMAPd 2.3.1 installed and tried to reconstruct the
> IMAP folders. This is the output from 'reconstruct' when I tried to
> reconstruct single personal IMAP folder:
> 
> [EMAIL PROTECTED]:~> reconstruct -p default -rf user/[EMAIL PROTECTED]
> user/[EMAIL PROTECTED] does not appear to be a mailbox (no
> /var/spool/imap/domain/test.com/user/bozaFNAME_HEADER).
> [EMAIL PROTECTED]:~>
> 
> The same action performed with 'reconstruct' binary from version 2.2.12
> produce:
> 
> [EMAIL PROTECTED]:~> reconstruct-2.2.12 -p default -rf user/[EMAIL PROTECTED]
> discovered test.com!user.boza.Sent
> discovered test.com!user.boza.Drafts
> discovered test.com!user.boza.Templates
> discovered test.com!user.boza.Trash
> user/[EMAIL PROTECTED]
> user/boza/[EMAIL PROTECTED]
> user/boza/[EMAIL PROTECTED]
> user/boza/[EMAIL PROTECTED]
> user/boza/[EMAIL PROTECTED]
> [EMAIL PROTECTED]:~>
> 
> Thank you,
> Milen
> 
> 
> 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
> 

Hi,

The attached file is a small patch produced by Sava Chankov
<[EMAIL PROTECTED]> that fixes the reported problem.

Cheers,
Milen
--- cyrus-imapd-2.3.1/imap/reconstruct.c2006-01-11 18:50:14.253930750 
+0200
+++ cyrus-imapd-2.3.1-patched/imap/reconstruct.c2006-01-11 
18:45:33.028355250 +0200
@@ -248,7 +248,7 @@
 IMAP_ENUM_METAPARTITION_FILES_HEADER)) ?
start_part_mpath : start_part_path;
mailbox_hash_mbox(mbbuf, sizeof(mbbuf), path, buf);
-   strlcat(mbbuf, "FNAME_HEADER", sizeof(mbbuf));
+   strlcat(mbbuf, FNAME_HEADER, sizeof(mbbuf));
if(stat(mbbuf, &sbuf) < 0) {
fprintf(stderr,
"%s does not appear to be a mailbox (no %s).\n",

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

"skiplist inconsistent" errors

2006-01-11 Thread Fabio Rossetti
Since upgrading to 2.3.1 and skiplists  (versus DB files) I sometime get
this errors in the postfix log / mail queue, tough subsequently the messages
involved seem to be delivered.

Should I start worrying ? :-) 

A snip from my maillog

Jan 11 19:32:51 mail postfix/lmtp[7732]: 53E16264006: to=<[EMAIL PROTECTED]
xx.it>, orig_to=<[EMAIL PROTECTED]>, relay=/var/imap/socket/lmtp[/
var/imap/socket/lmtp], delay=360, status=deferred (host
/var/imap/socket/lmtp[/v
ar/imap/socket/lmtp] said: skiplist inconsistent: 5A1C0: ptr 0 is 5A228;
compare
() = 64 skiplist inconsistent: 5A1C0: ptr 0 is 5A228; compare() = 64
skiplist in
consistent: 5A1C0: ptr 0 is 5A228; compare() = 64 skiplist inconsistent:
5A1C0:
ptr 0 is 5A228; compare() = 64 skiplist inconsistent: 5A1C0: ptr 0 is 5A228;
com
pare() = 64 skiplist inconsistent: 5A1C0: ptr 0 is 5A228; compare() = 64
skiplis
t inconsistent: 5A1C0: ptr 0 is 5A228; compare() = 64 skiplist inconsistent:
5A1
C0: ptr 0 is 5A228; compare() = 64 skiplist inconsistent: 5A1C0: ptr 0 is
5A228;
 compare() = 64 skiplist inconsistent: 5A1C0: ptr 0 is 5A228; compare() = 64
ski
plist inconsistent: 5A1C0: ptr 0 is 5A228; compare() = 64 skiplist
inconsistent:
 5A1C0: ptr 0 is 5A228; compare() = 64 skiplist inconsistent: 5

Fabio Rossetti
 


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


Unknown host "localhost" in cyradm

2006-01-11 Thread Rosenbaum, Larry M.
Running Cyrus 2.3.1 on Solaris 9.

What would cause the following error?


# cyradm localhost
imclient_connect: unknown host "localhost" at
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/Cyrus/IMAP/Admin.pm
line 72.

It doesn't like any hostname I give it.  Everything else looks OK so far
and I had no trouble with the same version of Cyrus on the Solaris 8
system I was testing on.

L


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: Cyrus on AMD64

2006-01-11 Thread Daniel O'Connor
On Wed, 11 Jan 2006 23:47, Marcelo H. Terres wrote:
> Anybody here use an AMD64 Opteron platform running cyrus 2.2.12 or cyrus
> 2.3.1 ???
>
> I need some tips to compile cyrus in this architecture.

I'm running 2.18.1 on FreeBSD/amd64 and it works fine.

I did a test compile of 2.3.0 recently and it built fine (from FreeBSD ports)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgprby49yu05j.pgp
Description: PGP 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

Re: Unknown host "localhost" in cyradm

2006-01-11 Thread imap
Quoting "Rosenbaum, Larry M." <[EMAIL PROTECTED]>:

> Running Cyrus 2.3.1 on Solaris 9.
> 
> What would cause the following error?
> 
> 
> # cyradm localhost
> imclient_connect: unknown host "localhost" at
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/Cyrus/IMAP/Admin.pm
> line 72.
> 
> It doesn't like any hostname I give it.  Everything else looks OK so far
> and I had no trouble with the same version of Cyrus on the Solaris 8
> system I was testing on.
> 
> L

May be this is not related to 'cyradm'.

1. Is localhost setup in /etc/hosts
2. Can you ping localhost?
3. How are the hosts resolved? 
  Check /etc/nsswitch.conf and if only 'dns' is listed against 'hosts' 
  then add 'files'.

__
Seva

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