Re: Trying to troubleshoot Murder problem

2004-02-13 Thread Mike Smith
I ran into that problem when I was setting our test server up and a
couple suggestions is is your proxy user setup, can your frontend resolv
the ip of the name for the backend, are you getting any log messages
when you try this?

On Fri, 2004-02-13 at 09:30, Etienne Goyer wrote:
> Hi,
> 
> I am currently trying to troubleshoot a Murder problem.  Any suggestion
> welcomed.
> 
> Basically, it seem like the frontend don't have their mailbox list
> updated.  We tried restarting just the frontends, it did not worked.
> then we tried restarting the whole Murder and the problem is still here.
> Here are the symptom :
> 
> 
> [EMAIL PROTECTED] root]# telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> * OK frontend Cyrus IMAP4 Murder v2.1.16 server ready
> . login testuser ***
> . OK User logged in
> . delete test-eg3
> . NO Mailbox does not exist
> . create test-eg3
> . NO Mailbox already exists
> . logout
> * BYE LOGOUT received
> . OK Completed
> 
> 
> 
> Thanks !


---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: rename problems with murder

2004-02-12 Thread Mike Smith
thanks that did it..

On Thu, 2004-02-12 at 09:25, Rob Siemborski wrote:
> On Thu, 12 Feb 2004, Mike Smith wrote:
> 
> > On Thu, 2004-02-12 at 07:32, Rob Siemborski wrote:
> > > On Wed, 11 Feb 2004, Mike Smith wrote:
> > >
> > > >  I get the error on the frontend:
> > > >  renamemailbox: Server(s) unavailable to complete operation
> > > [snip]
> > > > the log that I get from the backend is:
> > > > Feb 11 16:53:53 mailbackend1 imap[15992]: login: mailfront1.bhfc.net
> > > > [10.4.9.3] cyrus PLAIN+TLS User logged in
> > > > Feb 11 16:53:53 mailbackend1 imap[15992]: getaddrinfo(2) failed: Name or
> > > > service not known
> > > > Feb 11 16:53:53 mailbackend1 imap[15992]: Could not move mailbox:
> > > > user.dragon, Initial backend connect failed
> > >
> > > What are the log messages on the target backend?  Are the backends admins
> > > on eachother (they need to be)?
> >
> > Is there an option to set up the backend admin or is it just admin
> >
> > my backend imapd.conf is
> >
> > postmaster: postmaster
> > configdirectory: /var/imap
> > partition-default: /var/spool/imap1
> > partition-1: /var/spool/imap1
> > partition-2: /var/spool/imap2
> > defaultpartition: default
> > admins: cyrus
> > proxyservers: cyrus
> > mupdate_server: {mupdate ip}
> > mupdate_username: cyrus
> > mupdate_authname: cyrus
> > mupdate_password: secret
> > allowanonymouslogin: no
> > allowplaintext: yes
> > sasl_mech_list: PLAIN
> > servername: mailbackend1.mydomain.net
> > autocreatequota: 1
> > reject8bit: no
> > quotawarn: 90
> > timeout: 30
> > poptimeout: 10
> > dracinterval: 0
> > drachost: localhost
> > sasl_pwcheck_method: saslauthd
> > sievedir: /usr/sieve
> > sendmail: /usr/bin/sendmail
> > sieve_maxscriptsize: 32
> > sieve_maxscripts: 5
> > tls_ca_file: /var/imap/server.pem
> > tls_cert_file: /var/imap/server.pem
> > tls_key_file: /var/imap/server.pem
> > allowusermoves:yes
> 
> You need to setup proxy_authname (and friends) for each backend, as
> described in "Additional Backend Configuration" in install-murder.html.
> These usernames need to be full admins on all of the backends.
> 
> -rob
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> Research Systems Programmer * /usr/contributed Gatekeeper
-- 
Mike Smith


---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: rename problems with murder

2004-02-12 Thread Mike Smith
On Thu, 2004-02-12 at 07:32, Rob Siemborski wrote:
> On Wed, 11 Feb 2004, Mike Smith wrote:
> 
> >  I get the error on the frontend:
> >  renamemailbox: Server(s) unavailable to complete operation
> [snip]
> > the log that I get from the backend is:
> > Feb 11 16:53:53 mailbackend1 imap[15992]: login: mailfront1.bhfc.net
> > [10.4.9.3] cyrus PLAIN+TLS User logged in
> > Feb 11 16:53:53 mailbackend1 imap[15992]: getaddrinfo(2) failed: Name or
> > service not known
> > Feb 11 16:53:53 mailbackend1 imap[15992]: Could not move mailbox:
> > user.dragon, Initial backend connect failed
> 
> What are the log messages on the target backend?  Are the backends admins
> on eachother (they need to be)?

Is there an option to set up the backend admin or is it just admin

my backend imapd.conf is

postmaster: postmaster
configdirectory: /var/imap
partition-default: /var/spool/imap1
partition-1: /var/spool/imap1
partition-2: /var/spool/imap2
defaultpartition: default
admins: cyrus
proxyservers: cyrus
mupdate_server: {mupdate ip}
mupdate_username: cyrus
mupdate_authname: cyrus
mupdate_password: secret
allowanonymouslogin: no
allowplaintext: yes
sasl_mech_list: PLAIN
servername: mailbackend1.mydomain.net
autocreatequota: 1
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
sievedir: /usr/sieve
sendmail: /usr/bin/sendmail
sieve_maxscriptsize: 32
sieve_maxscripts: 5
tls_ca_file: /var/imap/server.pem
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem
allowusermoves:yes



the only dif on the 2nd backends is I only have one partition instead of
2
> 
> -Rob
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> Research Systems Programmer * /usr/contributed Gatekeeper
-- 
Mike Smith
Lead Network Systems Analyst
Black Hills FiberCom
[EMAIL PROTECTED]
605-721-2739

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: rename problems with murder

2004-02-12 Thread Mike Smith
yes the the can resolv each other, I do have them in the host tables
since this is a test setup.

On Thu, 2004-02-12 at 06:27, Etienne Goyer wrote:
> On Wed, Feb 11, 2004 at 05:19:36PM -0700, Mike Smith wrote:
> > rename user.dragon user.dragon mailbackend2.{mydomain}.com
> > 
> >  I get the error on the frontend:
> >  renamemailbox: Server(s) unavailable to complete operation
> > 
> > this happens if I try to move the mailbox between backends or partitions
> > on the same backend
> > 
> > the log that I get from the backend is:
> > Feb 11 16:53:53 mailbackend1 imap[15992]: login: mailfront1.bhfc.net
> > [10.4.9.3] cyrus PLAIN+TLS User logged in
> > Feb 11 16:53:53 mailbackend1 imap[15992]: getaddrinfo(2) failed: Name or
> > service not known
> > Feb 11 16:53:53 mailbackend1 imap[15992]: Could not move mailbox:
> > user.dragon, Initial backend connect failed
> 
> Can mailbackend1 resolve the adress of mailbackend2, ie ping it ?  If
> your backends do not have DNS entry, you might want to add them to each
> other /etc/hosts files.
-- 
Mike Smith


---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


rename problems with murder

2004-02-11 Thread Mike Smith
I've pretty much got most of processes working, the problem that I am
having is that when I try to move a mail box from one backend to another
using rename. In cyradm the command that I used is
rename user.dragon user.dragon 2  
or 
rename user.dragon user.dragon mailbackend2.{mydomain}.com

 I get the error on the frontend:
 renamemailbox: Server(s) unavailable to complete operation

this happens if I try to move the mailbox between backends or partitions
on the same backend

the log that I get from the backend is:
Feb 11 16:53:53 mailbackend1 imap[15992]: login: mailfront1.bhfc.net
[10.4.9.3] cyrus PLAIN+TLS User logged in
Feb 11 16:53:53 mailbackend1 imap[15992]: getaddrinfo(2) failed: Name or
service not known
Feb 11 16:53:53 mailbackend1 imap[15992]: Could not move mailbox:
user.dragon, Initial backend connect failed


I can do cm, dm, lam, and sam on mailboxes just problems with rename

here is the ver info from cyradm

name   : Cyrus IMAPD
version: v2.2.3 2004/01/14 02:11:03
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : Linux
os-version : 2.6.3-rc2
environment: Built w/Cyrus SASL 2.1.15
 Running w/Cyrus SASL 2.1.15
 Built w/Sleepycat Software: Berkeley DB 4.1.25: (October
24, 2003)
 Running w/Sleepycat Software: Berkeley DB 4.1.25: (October
24, 2003)
 Built w/OpenSSL 0.9.7a Feb 19 2003
 Running w/OpenSSL 0.9.7a Feb 19 2003
 CMU Sieve 2.2
 TCP Wrappers
 mmap = shared
 lock = fcntl
 nonblock = fcntl
 auth = unix
 idle = poll
backend-url:

any ideas?

Thanks


-- 
Mike Smith

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html