Re: web administration

2008-03-14 Thread Robert Scussel
There is a web interface called Cyrup I believe on Sourceforge that is an
administrative page for cyrus + postfix. We've taken it, combined it with
exim and split out the original from just an admin page to an admin and
user page in order to enable vacation messaging. It works pretty well,
might be overkill depending on your mta setup.

B

On Fri, 14 Mar 2008 10:39:57 -0400, Forrest Aldrich [EMAIL PROTECTED]
wrote:
 Nikos Gatsis wrote:
 Hello list.

 Can somebody recommend me a web interface for cyrus?
 An interface where I can manage cyrus accounts?

 Thanks Nikos


 
 There was once a neat project named Cyrusmaster (University of Athens)
 which added LDAP capability.  But it's old, and probably not being
 maintained anymore.  (current Cyrus has ptloader support, though I'm
 not sure of the scope of LDAP use, never used it)
 
 I'm curious what newer web interfaces are available.
 
 
 
 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: Relation of filesystem to Cyrus mailbox structure

2007-09-14 Thread Robert Scussel
look at cyrus' reconstruct.

 From the man page:

...
Reconstruct rebuilds one or more IMAP mailboxes.   When  invoked  with
   the  -m switch, it rebuilds the master mailboxes file.  It can be 
used
   to recover from almost any sort of data corruption.


So you should be able to run (as cyrus) reconstruct -m -r user.janedoe

For FYI, if you do a a dump of the mailbox file you *could* manually add 
the mailboxes/folders and reload the mailbox file etc., but you'd still 
have to run reconstruct...

HTH,
B

Rick Kunkel wrote:
 Heya folks,

 Is there any documentation on how Cyrus mailboxes are structured, as 
 relative to the file system?  Man.  That's a poorly worded question, but I 
 can't seem to find the best way to say it...

 I'm used to dealing with mbox mailboxes until very recently.  The one 
 thing that mbox format has going for it is that it's really conrete, for 
 lack of a better word.  The file in /var/mail/username is the user's 
 inbox;  No internal database or whatever.  Other folders work similarly.

 Where I've been stuck recently is trying to figure out things like how to 
 manipulate mailboxes by using the file system.  Maybe this isn't really 
 practical using mdir.

 Here's the latest:  I have a user that we migrated from mbox.  She has her 
 inbox folder, which migrated fine.  Then she has a couple of other folder, 
 which migrated fine.  Then she has folders within folders, and those 
 refuse to show up, and it won't let her subscribe to them.  Here's how it 
 they're in the filesystem:

 /var/mail/j/user/janedoe   -- Inbox: Migrated fine
 /var/mail/j/user/janedoe/folder1  -- Also migrated fine
 /var/mail/j/user/janedoe/folder1/folderA  -- I can't get to show

 I don't think the user really NEEDS the folder called folder1 above, but 
 wants the folders inside of it.  So I tried to move folderA back one level 
 so that it was sitting inside the /var/mail/j/user/janedoe folder, but 
 that doesn't work.  I figured I had to run a reconstruct command, but no 
 avail there either.

 I guess the fundamental question here are these:

 - If I make changes to the file system, how do I get these reflected in 
 Cyrus mailbox views?

 - Is this even a good idea, or something to be avoided, and done another 
 way?

 - Is there any documentation on how the Cyrus internal database on 
 mailboxes, quotas, and subscriptions work?

 Thanks,

 Rick Kunkel
 
 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: Emergancy..... db4: PANIC: fatal region error

2007-07-27 Thread Robert Scussel
I don't know how many users you have, and there might be a cyrus utility 
for this, I can't recall. The quick and dirty fix is something along the 
lines of

for i in `sudo -u cyrus ./ctl_mboxlist -d  | awk -F'\t' '{print $1}' | 
awk -F'.' '{print $2}' | uniq`; do find /var/spool/cyrus -type d -name 
$i | xargs mv /var/spool/imap/user/$i; done

This will dump your mailbox to get the list of users, if you have a list 
or whatever, you can use that as well, this just meant as an example. I 
would suggest not using the mv command the first time to make sure that 
it works. This works on my system, no warantees :)

HTH,
B





eMail Lists wrote:


 On 7/27/07, *Simon Matter* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

  Very nice.. Thank you.  It looks like my deliver.db is still a
 db(x) file.
  Can the files in db/ just be erased and when cyrus starts up it
 creats new
  files or do the __db* files ned to be converted.  I am not sure
 how to
  tell
  if those are db(x) or skiplist.

 That's something I don't know exactly. I think there are files
 created by
 BDB and skiplist in the db/ dir.
 At least the deliver.db you should be able so simply remove it an
 it will
 be created on startup again. But make sure you configure it as
 skiplist
 before, if you want that.

 Simon


 OK,  I have cyrus up and running but I can not get into the user 
 accounts yet... I am not to sure how to move the user directories from 
 the u/a/user/xxx to the /var/spool/cyrus/mail/user/x.  I have set 
 the proper parm in /etc/imap.conf and also used Debian's 
 cyrus-makedirs but I was hoping it would move the user mailboxes.  Do 
 I need to do that by hand or does the system do it .. it is the equiv 
 to the 'makedir', something like that. 

 The reason is because I am getting
 cyrus/imap[13131]: IOERROR: opening 
 /var/spool/cyrus/mail/user/xxx/cyrus.header: No such file or directory

 The user dir is not at the location yet.

 -Adam
 

 
 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: Trouble with Eudora and cyrus-imapd-2.3.8

2007-05-17 Thread Robert Scussel
That's the same behavior that I observed, but never made the connection to 
unread--deleted.

If you find a solution please share, as that was one major hangup on testing 
the system.

Thanks,
B

On Thu, 17 May 2007 09:42:14 -0500, Gary Mills [EMAIL PROTECTED] wrote:
 On Thu, May 17, 2007 at 06:54:45AM -0500, Amos wrote:
 On 5/13/07, Gary Mills [EMAIL PROTECTED] wrote:
 Since our recent upgrade from cyrus-imapd-2.1.14 to cyrus-imapd-2.3.8,
 I've had one report that Eudora is behaving very badly.  It seems to
 have to do with synchronization between the client and the server.
 The symptom is that the inbox view is not correct.  Deleted messages
 don't disappear, but when they're deleted again, other messages
 disappear.  As well, some messages stay in the inbox when they should
 have been filtered to a local folder.  Filtering them again results
 in duplicates in the local folder.

 Did you enable telemetry logging for this user to see what the
 communications between the client and server look like? Not sure if
 that would help, but maybe worth a try
 
 I haven't done that yet, but I plan to do so.  I wanted to see if it
 was a known problem before I tried that.  The user did make a curious
 discovery the other day.  There's a right-click menu item on his INBOX
 that says `Show deleted messages'.  When he selected that, all his
 missing messages showed up, but they were marked as unread, not
 deleted.  Other IMAP clients have been showing those unread messages.
 
 --
 -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


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

2007-04-17 Thread Robert Scussel
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: allowed characters in user names

2007-04-17 Thread Robert Scussel
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: more than one Sieve autoreply per day?

2006-04-11 Thread Robert Scussel
Our solution to this problem was to handle it within the MTA. Don't know 
about postfix, but with Exim and virtual users, I was able to setup 
vacataions/autoreplies that came from a mysqdb.


HTH
B

Phil Durbin wrote:

That would make it workable.  I've been asked for the same thing, and
would welcome a solution.


I talked to another hi-ed Cyrus IMAP admin and his users have asked 
for autoreplies as well.  It must be a fairly common request.



Another aspect of it that has bothered me is that HR typically wants to
say your message has been received, but are there situations where the
reply is sent and the message not delivered?  Disk failure perhaps,
or the recipient mailbox over quota.  In such cases the message should
bounce, but maybe not for a few days, and in the meantime the sender
thinks it has been received.  The consequences are different than they
are for an ordinary vacation notice.  It could be more of a legal
question than an email question.


Right, our autoreply says Your materials have been forwarded to the 
appropriate department for consideration.  I guess it's true enough. 
. . at least by this point the message has gone through out Postfix 
and SpamAssassin servers and made it to our Cyrus servers. I'm sure 
most people receiving the autoreply don't want to hear about the 
nuances of email delivery, but your point is well taken.


One thing our users don't have to worry about is being over quota. . . 
we don't have them!


Thanks again for your feedback, everyone.

Phil

--Phil Durbin
Senior Systems Analyst
Berklee College of Music
[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



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 message on nearly full mailbox with IMAP

2005-07-06 Thread Robert Scussel

What exactly would dictate a move?

Even on many OS's move copies the file, make sure that it is a good 
copy, and then deletes the original. MOVE still wouldn't handle this 
case because there still needs to be 2 copies at a given point in time 
to handle fault tolerance.


Just a thought,
B

Gregg Berkholtz wrote:

On Fri, Jul 01, 2005 at 02:00:03PM -0500, John Madden wrote:


Because IMAP doesn't provide a move operation for messages.  Your
client is probably first doing an append of the message to the
destination folder (which is what's putting it over quota) then storing
the delete flag of the original message and expunging.


I'm sure we've all had problems with this.

Is it wise to modify these clients to instead FETCH, delete/expunge, then STORE?

John




Correct me if I'm wrong, but wouldn't FETCH, delete/expunge, STORE pose
performance issues for users attempting to move large messages and/or
folders, while using a client behind a less than ideal connection (ie:
modem, T1, broadband, etc)?

With the long-time shift towards the concept of Trash and Recycle
Bin. It sounds like the IMAP spec needs a MOVE - if not just for the
ability to MOVE very large messages around, or to move messages into
the trash when a mailbox is near its quota.

Couldn't such a spec change be implemented as an RFC SHOULD, therefore
allowing servers and clients the option to implement it.

Gregg

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



--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959
---
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: sieveshell

2005-03-16 Thread Robert Scussel
I am having similar problems, and found out by stracing the timsieved 
that the sieveshell connects to, that sieveshell doesn't respect ( at 
least in my case) what I pass as -a. If I run as root, it will try to 
authenticate as root, if I run as user, then it works fine. -a 
apparently has no effect.

On a side note, if sieveshell is saying it can't connect to server, then 
you might want to check your settings in cyrus.conf to make sure that a) 
sieve is in there, and that b) it's running on port 2000.

HTH,
B
Craig White wrote:
On Tue, 2005-03-15 at 19:41 -0600, Dave McCracken wrote:
--On Tuesday, March 15, 2005 17:48:32 -0700 Craig White 
[EMAIL PROTECTED] wrote:


I want to insert sieve scripts for users via sieveshell but I can't seem
to get that done...
sieveshell -u Alec localhost
will try to authenticate as root, not as Alec and I can't su to Alec
since he doesn't have a usable shell. Is there any other way?
Use -a unstead of -u.  The correct syntax would be:
sieveshell -a Alex localhost

still struggling here...
starting saslauthd with 'saslauthd -a pam -d'
shows that
sieveshell -a alec localhost
does indeed authenticate but sieveshell still reports failure...
unable to connect to server at /usr/bin/sieveshell line 169, STDIN
line 1.
an strace of this sieveshell attempt ends with...
send(5, 37Mar 16 06:37:27 perl: No wor..., 47, 0) = 47
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
getpeername(4, {sa_family=AF_INET, sin_port=htons(2000),
sin_addr=inet_addr(127.0.0.1)}, [16]) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(47252),
sin_addr=inet_addr(127.0.0.1)}, [16]) = 0
uname({sys=Linux, node=MY_FQDN_REMOVED, ...}) = 0
write(2, unable to connect to server at /..., 77unable to connect to
server at /usr/bin/sieveshell line 169, STDIN line 1.
how can I fix this?
Craig
---
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

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959
---
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-IMAPD compile issues

2005-03-08 Thread Robert Scussel
checking for getrlimit... yes
checking for daemon... yes
checking for setsid... yes
checking for shutdown... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/sysnews.h usability... no
checking sys/sysnews.h presence... no
checking for sys/sysnews.h... no
checking for PS_STRINGS... no
checking for SCO... no
checking for setproctitle usability... yes
checking nonblocking method... fcntl
checking timezone GMT offset method... tm
checking for shared mmap... yes
checking for fcntl... yes
checking for fdatasync... yes
checking for sigvec... yes
checking for openssl... /usr/local/ssl
checking for ZInitialize in -lzephyr... no
checking for com_err in -lcom_err... no
configure: WARNING: Parts of com_err distribuion were found, but not compile_et.
configure: WARNING: Will build com_err from included sources.
checking for modern syslog... yes
checking which syslog facility to use... LOG_LOCAL6
checking for getdtablesize... yes
checking to use old sieve service name... no
checking for dlopen... yes
checking for crypt... no
checking for crypt in -lcrypt... yes
checking gssapi.h usability... no
checking gssapi.h presence... no
checking for gssapi.h... no
checking gssapi/gssapi.h usability... no
checking gssapi/gssapi.h presence... no
checking for gssapi/gssapi.h... no
configure: WARNING: Disabling GSSAPI - no include files found
checking GSSAPI... disabled
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking sasl/saslutil.h usability... yes
checking sasl/saslutil.h presence... yes
checking for sasl/saslutil.h... yes
checking for prop_get in -lsasl2... yes
checking for sasl_checkapop in -lsasl2... yes
checking for perl... perl
checking for MD5Init... no
checking for MD5Init in -lmd... no
checking for request_init in -lwrap... no
checking libwrap support... no
configure: creating ./config.status
config.status: creating man/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating master/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating lib/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating imap/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating imtest/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating netnews/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating perl/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating sieve/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating et/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating timsieved/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating notifyd/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating perl/sieve/Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating perl/sieve/lib/Makefile
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
config.status: creating Makefile
sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' command
sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
config.status: creating config.h
 

 

What am I missing?
 

System is: Suse 9.2 - base install - installing only the requirements of 

http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/install.html
 

Thanks for any help.
 

 

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http

Re: Problems with sieveshell under Solaris 9

2005-02-24 Thread Robert Scussel
I I have perl 5.8.5.  I don't know about 5.8.3 and when I looked around 
I couldn't find it on Sunfreeware any more, but under 5.8.5 it states:

Important Note - Solaris 9 comes with a slightly earlier version of perl 
in /usr/bin. You may wish to use this version rather than the version on 
sunfreeware.com. If you do install this perl and want to use it rather 
than the Sun one, you will need to have /usr/local/bin in your PATH 
before /usr/bin.

Which might mean that the version you have might not be right.
This is just a guess, but I hope it helps.
B
Thomas Robers wrote:
Robert Scussel wrote:
This might be a shot in the dark, but having recently battled through 
some quirks on Solaris 9, make sure that your perl binary is one that 
was compiled on the Solaris box with gcc ( unless of course you 
actually have the sun compiler and compiled cyrus with it ). The one 
from sunfreeware works. I was having all sorts of issues trying to 
install perl modules with the solaris CC compiled perl.

Hope this helps,
B
Hi Robert,
the perl binary is the one from sunfreeware. It's version 5.8.3.
So it should work? I use gcc version 3.2.2 also from sunfreeware.
But I don't know if that perl version is compiled with gcc 3.2.2.
I also tried the perl that comes with Solaris 9
but that didn't work. I got an error message:
  make[2]: cc: Command not found
  make[2]: *** [IMAP.o] Error 127
The compiling stops in the directory ./perl/imap. It seems that
the Sun compiler is assumed from the perl binary shipped with
Solaris.
I think I try it with self compiled version of perl.
Thanks
Thomas
---
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

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959
---
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 under Solaris 9

2005-02-23 Thread Robert Scussel
This might be a shot in the dark, but having recently battled through 
some quirks on Solaris 9, make sure that your perl binary is one that 
was compiled on the Solaris box with gcc ( unless of course you actually 
have the sun compiler and compiled cyrus with it ). The one from 
sunfreeware works. I was having all sorts of issues trying to install 
perl modules with the solaris CC compiled perl.

Hope this helps,
B
Thomas Robers wrote:
Paul Boven wrote:
Hi Thomas,
Thomas Robers wrote:
I'm running Cyrus-Imapd 2.2.12 on Solaris 9.
I compiled it from source with gcc 3.2.2 from
Sunfreeware. I use saslauthd with method pam
for authentication. The user accounts for pam
are from a Windows 2003 Server via Samba/Winbind.

I'm running Cyrus-2.2.12 on Solaris 9 as well and we use a different 
authentication method (namely ldap) and just wanted to let you know 
that sieveshell itself works fine on Solaris 9.

Regards, Paul Boven.
Hi Paul,
thank you for your reply. When your sieveshell works on
Solaris 9 then there must be something different to my
installation which has nothing to do with the authentication
method because even with sasl_pwcheck_method: auxprop
(saslpasswd2) sieveshell doesn't work in my environment.
I get the same error message as with sasl_pwcheck_method: saslauthd.
So did you compile Cyrus also from source or is there any
location to get a precompiled version? If you compiled it
from source, which compiler did you use? And maybe you used
a different version of perl? Maybe there is a patch for Solaris
which causes this error. Is your Solaris installation patched?
I installed the version 09/04 and run then the Recommended patches
from Sun.
Thanks, Thomas
---
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

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959
---
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 Express and IMAP folders

2005-02-23 Thread Robert Scussel
Outlook Express likes to have Sent Items under the mailbox, and cyrus 
has everything under the inbox. Sice the Sent Items is probably under 
/path/to/imap, the user that is using Outlook doesn't have permssions to 
write to Sent Items, or Sent Items in /path/to/imap/Sent Items doesn't 
exist.

You can change Outlook's default save to a folder under Inbox, such as 
user.Inbox.Sent Items. This should fix the problem

Hope this helps,
B
Marc G. Fournier wrote:
G'day ..
  Just setup Outlook Express w/ IMAP on the remote mail server, and 
whenever we send out an email, I get an error to the effect of:

Some of hte messages in your Outbox Folder could not be copied to your 
Sent Items Folder.  Your message could not be uploaded to the IMAP server

  I've checked the server side itself, and the sent-mail folder does 
exist ... and we're running alot of Eudora instances without similar 
problems, so figure there must be somethign I'm missing for OE ...

  Help?
Thanks ...

Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
---
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

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959
---
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: Recovering Mail

2003-12-05 Thread Robert Scussel
There are a couple of ways to do this.

One is via cyradm:

cyradm --user cyrus --server localhost
cm user.dfrey.Sent
Then copy the mails themselves into the directory and run

	reconstruct -r user.dfrey.Sent

HTH,
B
David Frey wrote:
  David Frey wrote:
 
  I have a backup of /var/spool/cyrus/mail from when I was running
  cyrus-imapd 1.5.19-15 in Debian.  I upgraded to 2.1.15-10, but had to
  downgrade after I realized that the mail storage format had changed.
  I forgot to recover my user.dfrey.Sent folder before going back up to
  2.1.15.  Is there a way I can use my backup to recover my sent folder
  without downgrading again?
Robert Scussel wrote:

Couldn't you setup the user.dfrey.Sent folder, then recover the actual 
messages, putting them into that directory, then run reconstruct?


I don't really understand what you are saying.  I don't know how to use 
Cyrus that well yet.  What do you mean by setup the user.dfrey.Sent 
folder?

David Frey



--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Re: Recovering Mail

2003-12-04 Thread Robert Scussel
Couldn't you setup the user.dfrey.Sent folder, then recover the actual 
messages, putting them into that directory, then run reconstruct?

HTH,
B
David Frey wrote:
I have a backup of /var/spool/cyrus/mail from when I was running 
cyrus-imapd 1.5.19-15 in Debian.  I upgraded to 2.1.15-10, but had to 
downgrade after I realized that the mail storage format had changed.  I 
forgot to recover my user.dfrey.Sent folder before going back up to 
2.1.15.  Is there a way I can use my backup to recover my sent folder 
without downgrading again?

Thanks,
David Frey


--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Re: manually force delete a mailbox

2003-12-03 Thread Robert Scussel
is spool/user/graeme.mercurycload.net present ( graeme^mercurycloud^net 
-- not sure on the way it is on disk )?

Sounds like some sort of fs error. If you can do nothing else, and it is 
present, try moving the current directory out of the way, and recreating 
 the directory and then run reconstruct then delete

Of course there is always the method of dump mailboxes.db file, edit, 
reimport, but that won't necessarily solve the underlying cause of your 
problem, just give you a quick fix to get rid of the mailbox.

HTH,
B
Will Prater wrote:
On Dec 2, 2003, at 1:37 PM, Andrew Morgan wrote:

On Tue, 2 Dec 2003, Will Prater wrote:

List,

I have a stuck mailbox. I have tried every method to delete it.

Here is an example of output from cyradm


localhost.mercurycloud.net dm user/graeme.mercurycloud.net
deletemailbox: System I/O error
localhost.mercurycloud.net cm user/graeme.mercurycloud.net
createmailbox: Mailbox already exists
localhost.mercurycloud.net

I think I need to edit the db3 databse? Any ideas?

Thanks


Have you tried running reconstruct on the mailbox first?  I'd try to make
the mailbox work correctly, then try to delete it.


Same results


  su cyrus -c '/usr/local/cyrus/bin/reconstruct -f 
user/graeme.mercurycloud.net'
user.graeme^mercurycloud^net: System I/O error No such file or directory


Any more ideas on this one?

Thanks



--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Re: manually force delete a mailbox

2003-12-03 Thread Robert Scussel
My experiences also shw that unless you move the mailboxes.db file out 
of the way, it doesn't import the new content correctly.

HTH,
B
Will Prater wrote:
On Dec 3, 2003, at 5:43 AM, Robert Scussel wrote:

is spool/user/graeme.mercurycload.net present ( 
graeme^mercurycloud^net -- not sure on the way it is on disk )?


No.

Of course there is always the method of dump mailboxes.db file, edit, 
reimport, but that won't necessarily solve the underlying cause of 
your problem, just give you a quick fix to get rid of the mailbox.


I have done this.. edited out the line:
user.graeme^mercurycloud^netdefault graeme.mercurycloud.net 
lrswipcda   cyrus   lrswipcda

Imported the file back in, checked with cyradm and the account is still 
there.
Anything I could have done wrong. Here was my procedure:


  su cyrus -c '/usr/local/cyrus/bin/ctl_mboxlist -d -f 
/var/imap/mailboxes.db'  /var/imap/mailboxes.bak
.. edit the file and remove the bad mailbox line
  su cyrus -c '/usr/local/cyrus/bin/ctl_mboxlist -u  
/var/imap/mailboxes.bak'


Thanks


HTH,
B
Will Prater wrote:

On Dec 2, 2003, at 1:37 PM, Andrew Morgan wrote:

On Tue, 2 Dec 2003, Will Prater wrote:

List,

I have a stuck mailbox. I have tried every method to delete it.

Here is an example of output from cyradm


localhost.mercurycloud.net dm user/graeme.mercurycloud.net
deletemailbox: System I/O error
localhost.mercurycloud.net cm user/graeme.mercurycloud.net
createmailbox: Mailbox already exists
localhost.mercurycloud.net

I think I need to edit the db3 databse? Any ideas?

Thanks


Have you tried running reconstruct on the mailbox first?  I'd try to 
make
the mailbox work correctly, then try to delete it.
Same results

  su cyrus -c '/usr/local/cyrus/bin/reconstruct -f 
user/graeme.mercurycloud.net'
user.graeme^mercurycloud^net: System I/O error No such file or directory

Any more ideas on this one?
Thanks


--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


--will



--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Re: imapd, CPU 100% after viewing a few messages

2003-11-25 Thread Robert Scussel
 starts).

All software (cyrus/postfix) are the latest stables as of a few weeks ago.
The 
system is RH8.0.

I have tried to use gdb in an attempt to offer something more in this request

but have been unable to obtain any useful info (this is the first time I have

attempted used gdb seriously, so its mostly my ignorance that is the
problem).
Any ideas of how to track this problem down would be most welcome.

Regards
Warren







--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Re: $50 to anyone who can help me fix this problem (serious)

2003-11-24 Thread Robert Scussel
 to [EMAIL PROTECTED]
/etc/mail/mailertable has the following in it:
CYRUS   cyrus:INBOX
I have a line in /etc/mail/virtusertable such as (somesite.com is one of my
customer's domains which I administer):
[EMAIL PROTECTED]testing-alias
In /etc/aliases, you'll find:
testing-alias:
[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
(BTW, I've tried 'bruceb', 'smtp:[EMAIL PROTECTED]', '[EMAIL PROTECTED]' and
others in this alias with no difference in end-result behavior...)
When I send mail from any other account (something on yahoo, for example),
the mail is delivered to everyone perfectly, including me.  Whoo hoo! :-)
When I send mail from my account ([EMAIL PROTECTED]), it delivers everyone
fine EXCEPT me.  Instead, what I get is the following in mqueue:
/var/spool/mqueue (1 request)
Q-ID --Size-- -Q-Time- Sender/Recipient-
---
hAM3n57200127 Fri Nov 21 19:49 [EMAIL PROTECTED]
 (Deferred: cyrus mailer (/usr/cyrus/bin/deliver) exited
with )
   [EMAIL PROTECTED]
Looking at the qFile, I see:
MDeferred: cyrus mailer (/usr/cyrus/bin/deliver) exited with EX_TEMPFAIL
Flushing the mqueue gets:
Running /var/spool/mqueue/hAM3n5720012 (sequence 1 of 1)
[EMAIL PROTECTED] aliased to [EMAIL PROTECTED]
[EMAIL PROTECTED] Connecting to INBOX via cyrus...
[EMAIL PROTECTED] Deferred: cyrus mailer (/usr/cyrus/bin/deliver) exited with
EX_TEMPFAIL
In /var/log/messages, I see:
Nov 21 19:51:03 mh2 deliver[20072]: connect(/var/imap/socket/lmtp) failed:
Permission denied
So that's where I'm stuck.  Any clues??  Again, the disk isn't full, and I
don't use quotas.  Using -q has not made a difference.
I hope $50 is still worth something these days! :-)

thanks,
bruce







--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Re: permission denied / var/imap

2003-11-19 Thread Robert Scussel
It looks like cyrus is complaining about writing to /var ...


...te(1, creating /var/imap\r...\n, 23creating /var/imap
) = 23
, 0755)   = -1 EACCES (Permission denied)
 ) = -1 ENOENT (No such file or directory)
 at (eval 1) line 91.hange to /var/imap\r at..., 51couldn't change to
/var/imap

/var/spool/imap seems to be fine, but when it tries to make /var/imap it 
 fails.

double check that /var/imap exists, and if it still fails, try and 
remove /var/imap, allow cryus permissions to create the directory for 
the duration of mkimap, and then change the permissions of /var back.

HTH.

B

frank joseph wrote:
Hello. I posted yesterday under the subject of  mkimap failure, but did
not receive
any responses. This is my first time posting to any group and if I have done
something
wrong, I apologize. Please let me know what it is so that I don't repeat it.
Below is a
more concise description of my problem. I would appreciate it if anyone
would be
kind enough to respond.
packages installed:

db-4.1.25
openssl-0.9.7c
cyrus-sasl-2.1.15
cyrus-imapd-2.1.15
Everything compiles fine. When I su to cyrus and run tools/mkimap,
I can see the return is incorrect:
 [EMAIL PROTECTED]:/usr/local/src/cyrus-imapd-2.1.15/tools$ ./mkimap

. will configure directory /var/imap
. saw partition /var/spool/imap
done
...ating /var/imap
 at (eval 1) line 91.ar/imap
This is a fresh install of Slackware-9.1. No permissions other than what
is required in the manual have been changed. Running Strace on mkimap
shows the following:
snip---
reading configure file...open(/etc/imapd.conf, O_RDONLY|O_LARGEFILE) = 4
ioctl(4, SNDCTL_TMR_TIMEBASE, 0xb600) = -1 ENOTTY (Inappropriate ioctl
for device)
_llseek(4, 0, [0], SEEK_CUR)= 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=155, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
brk(0)  = 0x814d000
brk(0x814e000)  = 0x814e000
write(1, reading configure file...\n, 26reading configure file...
) = 26
brk(0)  = 0x814e000
brk(0x814f000)  = 0x814f000
read(4, configdirectory: /var/imap\r\npart..., 4096) = 155
.rite(1, i will configure directory /var/..., 39i will configure directory
/var/imap
) = 39
.rite(1, i saw partition /var/spool/imap\r..., 34i saw partition
/var/spool/imap
) = 34
read(4, , 4096)   = 0
write(1, done\n, 5done
)   = 5
close(4)= 0
...te(1, creating /var/imap\r...\n, 23creating /var/imap
) = 23
, 0755)   = -1 EACCES (Permission denied)
) = -1 ENOENT (No such file or directory)
 at (eval 1) line 91.hange to /var/imap\r at..., 51couldn't change to
/var/imap
) = 51
close(3)= 0
exit_group(2)   = ?

If cyrus owns /var/imap with privileges of 750, and mkimap is being
run by cyrus, how could write permissions be denied?
Thanks Again

-Frank
















--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Re: deletemailbox: System I/O error

2003-11-12 Thread Robert Scussel
I actually had this problem when trying to reconstruct some mailboxes 
after a migration. I had to move/delete the mailboxes.db file and then 
import the new one.

HTH,
B
Denis I. Morozov wrote:
Simon Brady wrote:

You need to delete them from the mailboxes database: easiest way 
(although it involves restarting your server) is to dump the database 
to text with ctl_mboxlist -d, edit the output text file and remove all 
lines referring to the user, then reimport with ctl_mboxlist -u.
it's not work, I used (of course, cyrus server stopped):
ctl_mboxlist -d  cyrusdb.txt
I removed user from text file and:
ctl_mboxlist -u  cyrusdb.txt
ctl_mboxlist -d | grep vvs
user.vvsdefault vvs lrswipcda   cyrus   lrswipcda
if I use -x switch, ctl_mboxlist print first record of db and hang. 
Can I manually delete mailboxes.db, and reconstruct all records from dump?



--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Re: GURU advise seeked, 'permission denied' while creating mailbox

2003-11-11 Thread Robert Scussel
May seem trivial, but does:

admins: cyrus

exist in your have your imapd.conf ?

B

jokke heikkila wrote:
I keep hitting my head to the wall with this one. I've installed
cyrus-postfix-mysql setup under debian box and everything else seems to work as
shoud except the mailbox creation. I keep getting 'permission denied' whatever I
try and now I'm out of ideas. Below are snippets of two ways I've tried to
create the mailboxes. 

--with cyradm-- 
tahko:/root$ cyradm --user cyrus localhost 
IMAP Password: 
  tahko lm 
tahko cm magnusborg0001/mailbox 
createmailbox: Permission denied 
tahko quit 

--with imtest-- 
tahko:/root$ imtest -u cyrus -a cyrus localhost 
S: * OK tahko.magnusborg.fi Cyrus IMAP4 v2.1.11 server ready 
C: C01 CAPABILITY 
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE 
UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS 
S: C01 OK Completed 
Please enter your password: 
C: L01 LOGIN cyrus {6} 
S: + go ahead 
C: omitted 
S: L01 OK User logged in 
Authenticated. 
Security strength factor: 0 
. create magnusborg0001.cyrus 
. NO Permission denied 

SASL works beatifully, so does web-cyradm except for creating the mailbox. Any
ideas what could be the cause. 

Debian woody 
Postfix 2.0.16 
cyrus-imapd-2.1.11 
cyrus-sasl-2.1.10 

jokke h. 


--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Re: Whose fault? vacation messages bounce to postmaster.

2003-08-14 Thread Robert Scussel
I don't see the Reply-To in the headers that you have posted. I would 
think that this is the cause of your bounces going back to your postmaster.

I would suspect that it would be squirrelmail causing the problem, as I 
have seen posts that report that if it isn't set, then squirrelmail will 
set it to the default configuration option.

HTH,
B
mark london wrote:
I am running cyrus/squirrelmail/sendmail.  I have a vacation plugin for 
squirrelmail and set up vacation autoresponding.  However, if vacation 
responds to a spam message that has a bogus email address, the bounced 
message that says that the vacation message can't be delivered to that 
bogus email address, goes to postmaster at our site, rather than the 
person who has vacation enabled.  I don't know if this is a feature or a 
bug, and how to  change it's behavior.  I notice that  thevacation 
autoresponse messages have a line at the top of message say that cyrus 
set sender to .  Is this possible the reason for this behavior?  Or is 
it a sendmail feature?  Here's the header of a vacation response 
message.  Thanks! -   Mark

X-Authentication-Warning: alcserv1.psfc.mit.edu: cyrus set sender to  
using -f
Message-ID: [EMAIL PROTECTED]
Date: Tue, 12 Aug 2003 09:21:16 -0400
X-Sieve: CMU Sieve 2.2
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: test
In-Reply-To: [EMAIL PROTECTED]
Auto-Submitted: auto-replied (vacation)
X-Virus-Scanned: Message: ok
X-Spam-Level: 0 () IN_REP_TO,NO_REAL_NAME,X_AUTH_WARNING
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)



--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Virus

2003-08-04 Thread Robert Scussel
Has anyone investigated the virus yet, as it seems to be replicating itself.

Just wondering if since this one is the same over and over if it would 
be possible to block that email from the list, or strip attachments 
named message.zip from incoming emails for the time being, to prevent 
further replication.

Thanks,
B
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Re: installing/running cyrus.

2003-07-24 Thread Robert Scussel
This is an error, master will not run like this. You are somehow 
compiling it against berkeley 4.1.25 then dynamically loading the 
berkeley 4.0.14db libraries.

I have had this when I tried to do a make install after I had already 
made cyrus, but I had upgraded berkeley, or if you specify a specific 
place for configure to look for the berkeley libs that is different from 
your system's default location.

HTH,
B
Jacob bager wrote:
hi there..
I've just finished compiling/installing cyrus.
but when i testrun /usr/cyrus/bin/master
i get this in my imapd.log
ctl_cyrusdb[14718]: checkpointing cyrus databases
incorrect version of Berkeley db: compiled against 4.1.25, linked 
against 4.0.14db
is this an error, or just a warning ?

Jacob Bager
developer





Re: installing/running cyrus.

2003-07-24 Thread Robert Scussel
Do you have multiple versions of Berkeley db on your machine?

It might make it easier for this and other programs that link against it 
to remove all of the berkeley versions prior to 4.1.25 if that is an 
option. I have had multiple problems with multiple versions of berkeley 
on the same machine.

Otherwise you can look at the config.log to see what what it links 
against in there and make sure that it is in you LD_LIBRARY_PATH as 
Mitrana suggested.

B

Jacob bager wrote:
So i should check my Path and recompile?
Robert Scussel writes:
This is an error, master will not run like this. You are somehow 
compiling it against berkeley 4.1.25 then dynamically loading the 
berkeley 4.0.14db libraries.
I have had this when I tried to do a make install after I had already 
made cyrus, but I had upgraded berkeley, or if you specify a specific 
place for configure to look for the berkeley libs that is different 
from your system's default location.
HTH,
B
Jacob bager wrote:

hi there..
I've just finished compiling/installing cyrus.
but when i testrun /usr/cyrus/bin/master
i get this in my imapd.log
ctl_cyrusdb[14718]: checkpointing cyrus databases
incorrect version of Berkeley db: compiled against 4.1.25, linked 
against 4.0.14db
is this an error, or just a warning ?

Jacob Bager
developer
 




Jacob Bager
developer


--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


Re: Advice on transition

2003-02-21 Thread Robert Scussel
There are actual multiple ways to do this.  From what I understand you 
have 2 boxes, one the original server, and a new one.

You may want to do this in two stages. Cyrus provides a lot of tools to 
upgrade between versions.  That being said, you may want to replicate 
Cyrus-2.0.16 on the new box, and then synch everything over, test, and 
then upgrade. I typically upgrade by specifying the prefix to be 
/usr/cyrus-version, then soft link /usr/cyrus - /usr/cyrus-version. 
This allows you to back out on most changes without wipeing out your 
current install.

Hope this helps,
B

John Lederer wrote:
I currently have an olde version of cyrus working:

name   : Cyrus
version: v2.0.16
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : Linux
os-version : 2.4.18-4GB
environment: Cyrus SASL 1.5.27
Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
OpenSSL 0.9.6c [engine] 21 dec 2001
name   : Cyrus IMAPD
version: v2.1.9 2002/08/30 18:40:23
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : Linux
os-version : 2.4.19-4GB
environment: Cyrus SASL 2.1.7
Sleepycat Software: Berkeley DB 4.0.14: (September  9, 2002)
OpenSSL 0.9.6g [engine] 9 Aug 2002
CMU Sieve 2.2
DRAC
mmap = shared
lock = fcntl
nonblock = fcntl
auth = unix
idle = poll
mboxlist.db = skiplist
subs.db = flat
seen.db = flat
duplicate.db = db3-nosync
tls.db = db3-nosync


There are about 150 users and 4 Gbytes of mail on the server.

I have built a newer version on a different box:

name   : Cyrus IMAPD
version: v2.1.9 2002/08/30 18:40:23
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : Linux
os-version : 2.4.19-4GB
environment: Cyrus SASL 2.1.7
Sleepycat Software: Berkeley DB 4.0.14: (September  9, 2002)
OpenSSL 0.9.6g [engine] 9 Aug 2002
CMU Sieve 2.2
DRAC
mmap = shared
lock = fcntl
nonblock = fcntl
auth = unix
idle = poll
mboxlist.db = skiplist
subs.db = flat
seen.db = flat
duplicate.db = db3-nosync
tls.db = db3-nosync



I am using PAM ldap on both boxes.

I need to:
1. Move one test users existing email over from the old box to the new 
box for testing purposes
2. Move everyone's email over from the old box to the new box

I don't think I understand the best way to do this.  Could someone 
either outline the procedure or point me to  documentation.  What I saw 
in the cyrus docs didn't seem to help a lot for this, but perhaps I was 
looking in the wrong place.


Many thanks for any advice.


John Lederer




--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Re: Advice on transition

2003-02-21 Thread Robert Scussel
The biggest thing when upgrading this way is if you change the type of 
layout that you want (ie. fullhashdir, etc.) however, since the 
distribution has tools to change things around (tools/rehash), I have 
found that converting the mailboxes a few times will not break anything 
too severely :)

That being said, we usually transfer directories and such using rsync 
over ssh. Depending on what downtime you can incur for the change out, 
you may want to set up rsync server, or find another way to transfer 
over the 4GB (with rsync you are looking at about 1-2 hours over the 
network (with ssh, possibly faster with just an rsync daemon).  However, 
once the initial transfer is done (which can be done without taking the 
first server down) you can take down server 1, do an rsync to make sure 
everything is good in ~5-10 min, and then bring up server2. The 
important thing is to make sure that you turn off the MTA, this will 
force incoming mail to get a hard bounce, and either go to the backup 
mx's or try again for 24-72 hours, which means that people's mail won't 
be lost while you mess with things.

I really think that trying to move and convert in one step may cause 
more difficulties than it is worth, but many of the steps I mention 
above will work either way. If all else fails, you can always fail back 
to server1.


Hope this helps,
B
John Lederer wrote:
Robert Scussel wrote:


There are actual multiple ways to do this.  From what I understand you 
have 2 boxes, one the original server, and a new one.

You may want to do this in two stages. Cyrus provides a lot of tools 
to upgrade between versions.  That being said, you may want to 
replicate Cyrus-2.0.16 on the new box, and then synch everything over, 
test, and then upgrade. I typically upgrade by specifying the prefix 
to be /usr/cyrus-version, then soft link /usr/cyrus - 
/usr/cyrus-version. This allows you to back out on most changes 
without wipeing out your current install.


That multiple ways may be what I need!  I am ignorant and slow and 
almost always hit complications in my ignorance. I do not trust the 
speed at which I could upgrade 2.0 to 2.1.  Since I would have to shut 
down email while I did the upgrade

So what I would really prefer would be some way to copy the mailboxes 
then insert here magical way to convert mailboxes from 2.0 setup to 2.1 
setup.


John

John




--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Re: Fwd: Re: exim and cyrus

2003-02-04 Thread Robert Scussel
I don't know about exim 3.35, but I know that exim 3.36 can use LMTP, 
which we use here.

The nicest thing about LMTP is the exim delivers straight, without 
haveing to call cyrus's deliver.  This leads to less overhead, and 
better overall performance...

Also, we switched due to some odd problems with heavy load, and have 
been very happy with it.

Hope this helps,
B

Peter Burggraef wrote:
Thank you for your answer. I'm using exim 3.35 from debian/stable. What is
 the advantage of using lmtp? Is it nessassary to use lmtp?

I changed my cyrus version now to 2.1 Before I usesd version 1.6.

Am Freitag, 31. Januar 2003 18:25 schrieben Sie:


Hi.. you don't say which Exim you're using. I'd recommend at least Exim
4.12, which can use the lmtp transport to the unix domain socket Cyrus
lmtpd is listening on.











--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Re: Best way to backup cyrus system (lots of inodes!)

2002-11-21 Thread Robert Scussel
On a smaller scale, we use amanda to do nightly backups of the mail 
spool, and we have successfully recovered after mails have been deleted.

With one of our clients, we use standard NetBackup to do nightly 
backups, which works just as well.

As for up to the minute backups though, don't know a good solution which 
doesn't sacrifice performance.

B


Jure Pecar wrote:
On Thu, 21 Nov 2002 13:04:22 -0500
Steve Barber [EMAIL PROTECTED] wrote:



Is anyone successfully implementing any sort of incremental backup
solution in a large production environment?



Other than filesystem snapshots (if your underlying volume manager knows
about it) i don't see some very usefull/efficient backuping tools for
large mail spools. For example, i still rely only on raid mirrors :) which
leaves me cold in case of rm -rf / (or some such) but safe in case a disk
deceides to die.

Puting all the mail spools in the RDBMS just for the ease of backuping ...
i heard from the Oracle people that their DB is already 30% slower than
plain fs and cyrus is already very i/o demanding ... i don't want to
introduce another bottleneck. Altough, implementing all the little
databases cyrus has (mailboxes, duplicate deliveries, ...) in some RDBMS
might be usefull for large setups. Which still leaves the backuping
problem intact ... 

--

Jure Pecar



--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Re: Odd problem with cyrus.seen.NEW

2002-11-04 Thread Robert Scussel
On a similar note, we are running the same kernel with XFS and I get 
similar problems -- no solution here, but a cry for info as well.

We are running imap v.2.1.5 and sasl 2.1.7, redhat kernel 2.4.19

The problem is with the seen as well, randomly entire folders will 
suddenly be marked unread, or parts of folders, etc. In the imapd.log 
file we have:

	IOERROR: opening /var/spool/imap/users/username/cyrus.header: No such 
file or directory

which is another problem, as everything is located in 
/var/spool/imap/user/username/ (cyrus.index|cyrus.header) and our seen 
files are in /var/spool/imapdb/user/...

I don't get the other IOERRORS, at least I don't think so, as the logs 
provided were unclear.

Any help would be appreciated.

Thanks,
B


Paul Ramsey wrote:

I recently moved my imap archive to a new machine, but with an identical 
version of cyrus imapd (1.6.24). The old machine was a linux 2.2.19 
kernel and the new one is a 2.4.19 kernel. On both machines, the archive 
is on an ext2 filesystem.

The new system is finding it impossible to maintain the cyrus.seen 
files. Watching the syslog, I am seeing the following log entries 
whenever someone does something which tries to update cyrus.seen:

Nov  4 14:28:06 hydra imapd[25117]: IOERROR: writing : No such file or 
directory
Nov  4 14:28:06 hydra imapd[25117]: open: user chodgson opened INBOX
Nov  4 14:28:06 hydra imapd[25116]: IOERROR: writing : No such file or 
directory
Nov  4 14:28:31 hydra imapd[9857]: IOERROR: writing : Invalid argument

These errors are accompanies by the occasional dropped connections by 
the imapd (core'ing perhaps?)
Additionally, when I look into the user directories, I see

-rw---1 cyrusmail0 Nov  4 10:30 cyrus.seen
-rw---1 cyrusmail0 Nov  4 14:29 cyrus.seen.NEW

Which seems to indicate that imapd is dying an unforunate death while 
trying to do temp file - working file process.

Yes, I am running 1.6.24. To head off any just upgrade comments, I 
would like to note that all the rename() and cyrus.seen code in the 
2.1.x tree seems to be identical to the code in the 1.6.24 tree.

Anyone have any ideas, or suggestions for me to diagnose this?

Thanks,

Paul




--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Re: Reconstructing Mailboxes - HELP!

2002-10-29 Thread Robert Scussel
Just run :

	sudo -u cyrus /usr/cyrus/bin/ctl_mboxlist -d  filename

and then after you have moved the old one out of the way (import over 
the old doesn't/didn't work well) then just do:

	sudo -u cyrus /usr/cyrus/bin/ctl_mboxlist -u  filename

Before you start, let me clarify:

  remove the files in /var/spool/imapdb/db -- and always do an rsync of 
/var/spool/imapdb to somewhere before starting in case things go 
horribly wrong.

B


Joe Finkle wrote:
Wow, that really stinks. At this point I dont really have a choice 
though. Can you give me specifics on how you made a flat text file 
backup and how you reconstructed things using that?

Thanks,
Lee


From: Robert Scussel [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Joe Finkle [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Reconstructing Mailboxes - HELP!
Date: Tue, 29 Oct 2002 17:41:16 -0500

Last time we had this problem we had to move mailboxes.db out of the 
way, remove everything in /var/spool/imapdb/ and then recreate our 
mailboxes.db file from a flat text backup and then run reconstruct, 
which takes awhile depending on you number of users.

Hopes this helps,
B

Joe Finkle wrote:

Cyrus: 2.1.9

We suffered some data corruption on our cyrus box and the 
mailboxes.db and the db/ folder were lost. When we start cyrus, 
ctl_cyrusdb just hangs with the following strace:

open(/export/cyrus/imap/mailboxes.db, O_RDWR|O_LARGEFILE) = 6
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
fstat64(6, {st_mode=S_IFREG|0600, st_size=294912, ...}) = 0
select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 2000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 4000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 8000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 16000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 32000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 64000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 128000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 256000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 512000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)

The last line continues forever.

Given the above, I assume the problem is a corrupted mailboxes.db 
file. Im trying to run reconstruct -rf on each of the mailboxes 
(since reconstruct -m is disabled), but doing so with the the old 
mailboxes.db/db folder does not fix the hanging ctlcyrus_db problem. 
If I delete everying in the db folder and i delete the mailboxes.db 
file, reconstruct complains that it cant open the mailboxes.db file. 
I tried using a fresh cyrus install's db/mailboxes and reconstruct 
again runs for 1 second then ends doing nothing. Strace just shows it 
opening the files.

Any help would be much appreciated.

Thanks,
Lee

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Re: Reconstructing Mailboxes - HELP!

2002-10-29 Thread Robert Scussel
Last time we had this problem we had to move mailboxes.db out of the 
way, remove everything in /var/spool/imapdb/ and then recreate our 
mailboxes.db file from a flat text backup and then run reconstruct, 
which takes awhile depending on you number of users.

Hopes this helps,
B

Joe Finkle wrote:
Cyrus: 2.1.9

We suffered some data corruption on our cyrus box and the mailboxes.db 
and the db/ folder were lost. When we start cyrus, ctl_cyrusdb just 
hangs with the following strace:

open(/export/cyrus/imap/mailboxes.db, O_RDWR|O_LARGEFILE) = 6
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
fstat64(6, {st_mode=S_IFREG|0600, st_size=294912, ...}) = 0
select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 2000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 4000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 8000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 16000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 32000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 64000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 128000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 256000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 512000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)

The last line continues forever.

Given the above, I assume the problem is a corrupted mailboxes.db file. 
Im trying to run reconstruct -rf on each of the mailboxes (since 
reconstruct -m is disabled), but doing so with the the old 
mailboxes.db/db folder does not fix the hanging ctlcyrus_db problem. If 
I delete everying in the db folder and i delete the mailboxes.db file, 
reconstruct complains that it cant open the mailboxes.db file. I tried 
using a fresh cyrus install's db/mailboxes and reconstruct again runs 
for 1 second then ends doing nothing. Strace just shows it opening the 
files.

Any help would be much appreciated.

Thanks,
Lee

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Re: shadow or PAM authentication

2002-10-08 Thread Robert Scussel

What version of sasl?

What do your conf files look like?

B

Roberto Jung Drebes wrote:
 Hi there,
 
 I am using cyrus imapd 2.0.16, and having no success authenticating users 
 at the shadow file.
 
 I have pwcheck running as root, and 
 sasl_passwd_check: pwcheck
 in /etc/imapd.conf, but when my user tries to authenticate, via mozilla, 
 it receives a Login to server failed, error.
 
 With imtest, I get that the user does not exists, and he really do not 
 exists in the sasldb, but it shouldn't be checking the sasldb instead of 
 shadow.
 
 Can someone help me?
 
 TIA,
 






Re: Debian Cyrus and Filesystem

2002-02-15 Thread Robert Scussel

Henrique de Moraes Holschuh wrote:
 
 On Fri, 15 Feb 2002, Theodore J. Knab wrote:
  Which Filesystem would give me the least worries ?
 
 You need a jornaled filesystem with proper directory indexing. All the
 current journaling filesystems for Linux (that I know of) are acceptable :)
 
  I am familiar with ext3 and ext2, I haven't done much with the the
  others. But, I am willing to learn if it will reduce my worry level.
 
 Well, I am using ext3 myself, but this is a server which does not need high
 levels of performance. xfs is rumored to be faster, and just as safe.
 
we use xfs for our corporate mail and it is definitely the best choice
(my opinion) as far as journaled filesystems go. We were using reiserfs
before the xfs installers came out, but we had various corruptions with
that.

Hope this helps,
B

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: (OT) Filesystems and mail servers in production (was: Re: Debian Cyrus and Filesystem)

2002-02-15 Thread Robert Scussel

Birger Toedtmann wrote:

 Can you give details upon that?  There are numerous but somewhat dark hints
 throughout the net on corruption using reiserfs, but no one seems to share
 what really happended under what circumstances using which versions.

Alot of complaints of file corruption come about by people who
experience corruption due to power failures and the like. These dark
hints usually follow these kinds of corruption. Our corruption happened
on a running system, and was the result of reiserfs tails on our files.
We would get trash at the end of our db, and text files, which was a
pain to clean up.  I don't recall the version but it was on a redhat
system using 2.2.18 kernel.

Hope this helps,
B
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Outlook 2000 Internet Mail Only causes page fault

2002-02-12 Thread Robert Scussel

Hello all -

  I have a server running an older version of cyrus (1.6.22 to be
exact). The question I have though, shouldn't be specific to this
version. The client is using Outlook with the Internet Mail Only option,
and when attempting to check their mail, outlook pops up an Invalid Page
Fault error. According to Microsoft, this is of course an error with
IMAP which can only be solved by creating a new mailbox on the server
for the individual. Now, I can access the mailbox fine via Outlook
Express, Netscape, command line, etc.  Before I go through the hassle of
moving this mailbox out of the way, recreating a new one, and then
moving all the messages back, can someone explain to me how this
happens? 

Just curious. This is similar to the fixall for Microsoft - if it
crashes, reinstall it.

Thanks,
B
-- 
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: Disabling email delivery.

2002-01-15 Thread Robert Scussel

Depending on what MTA you are using, you can just remove the user. Exim
will lookup the user to see if they exist, before attempting to deliver
the email. Therefore, if you change the name/remove the user, then any
mail will bounce.  

As long as you don't touch the actual directory that the user owned, you
won't lose the email. You can cp that directory, and delete the user
using cyradmin.

Hope this helps,
B

Ed Sanborn wrote:
 
 OK, I just took over administration of our
 Cyrus mail server.  The person I took over for no longer
 works for the company.  How do I disable his account
 so that he no longer receives email.  Mind you I
 do NOT want to blow away his email, nor his email account,
 I just want to disable it.  I have already changed his
 sasl password so that he can't retrieve email.  Now I want
 to have reception stopped so that messages stop queuing up.
 
 Any help would be appreciated.
 
 Thanks,
 
Ed
 
 Ed Sanborn   (978) 367-8478
 Principal Network Administrator
 SnowShore Networks
 285 Billerica Rd.
 Chelmsford, MA. 01824

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: Compile error with Cyrus

2002-01-14 Thread Robert Scussel

I ended up with the same problem. The way I fixed it was sort of a hack.

THe default install for redhat 7.1 places com_err in /usr/include/et/

To work around this, you can either go in and manually change the
makefiles that look for com_err, or I symlinked /usr/unclude/com_err.h
with /usr/include/et/com_err.h. For some reason, even though Cyrus comes
with its own com_err.h, and /usr/include is included, it still can't
find com_err.h

Hope this helps,
B

Paxton, Darren wrote:
 
 Good afternoon.
 
 I have downloaded and attempted to run the cyrus compiler on my Linux system
 (Suse Linux 7.1 running 2.4.0).
 
 The configure script appears to run without any problems, but on
 compilation, it fails with the following error:
 
 imapd.c
 imapd.c:58: comm_err.h: No such file or directory
 make[1]: *** [imapd.o] Error 1
 make[1]: Leaving directory '/usr/local/tarballcyrus/imap'
 make: ***[all] Error 1
 
 Could anyone out there help me with what could be the cause of this?
 
 Is there a file missing from the tarball distribution?
 
 Thanks
 
 Darren
 
 *** IMPORTANT NOTE **
 The above information is confidential to the addressee and may be
 privileged.  Unauthorised access and use is prohibited. William M. Mercer
 Limited is regulated by IMRO and the Personal Investment Authority.
 Registered in London No. 984275 Registered Office: Telford House, 14 Tothill
 Street, London SW1H 9NB

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: Trying to move mailboxes to different partition

2002-01-11 Thread Robert Scussel

Because cyrus will continue to look for the data in /var/spool/imap/a

B

Richmond Dyes wrote:
 
 Thanks for the info, but excuse my stupidity, but why the link if you have moved
 that directory?
 
 Noll Janos wrote:
 
  Hy!
 
  On 11-Jan-2002 Richmond Dyes wrote:
   I have Cyrus 2.0.9 running on RH 7.1.  I want to move some of my mail
   users to another partition because it is getting full.  I downloaded the
  [...]
   2. Is there a way to maunally move a user?
 
   If you use a hashed IMAP spool (you probably do), moving by hand is easy.
 
   A way for it:
 
   1. stop the cyrus imap server processes
   2. move a letter and subdirectories, like /var/spool/imap/a to
  /mnt/otherhd/somethingimap/a
  (make sure the access rights are kept proper!)
   3. make a symlink /var/spool/imap/a to /mnt/otherhd/somethingimap/a
   4. start the imap server
 
   You can move by first letters this way, which is pretty easy to handle, and
  efficient.
 
  | Noll Janos [EMAIL PROTECTED] | http://www.johnzero.hu |
  | Expect the unexpected!| ICQ# 4547866 |  Linux rulez! |
 
 --
 Richmond Dyes
 IS Director
 Monroe Community Hospital
 435 East Henrietta Road
 Rochester NY 14609
 Phone: 716.760.6213

-- 
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: Reliable mailstore

2002-01-10 Thread Robert Scussel

  There are catches, though. If a mail arrives at the live box, then the user
 deletes the last mail in the folder, and only then (in time) does the same
 mail arrive in the backup box, you have two desynched boxes. This shouldn't
 really happen, since the two boxes should run at the same speed, and the live
 box has somewhat larger load, but cases like this should be considered.


The beauty of email is that there is no guaranteed time of
sent/delivered. This means that the proxy that the users connect to,
could actually be set on some predefined delay.  For example, if the
proxy has a 5 minute cache or so, then it can refresh the current
contents on the mailserver, take care of both read write commands,
ensure synchronization etc. However, you do have a problem if the proxy
crashes, although unless it is writing, it would only mean that a user
might get a mail that they have already seen.

B
 
 | Noll Janos [EMAIL PROTECTED] | http://www.johnzero.hu |
 | Expect the unexpected!| ICQ# 4547866 |  Linux rulez! |

-- 
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: Creating mailbox problem

2002-01-10 Thread Robert Scussel

Sorry, that line is in the imapd.conf file.

B

Peter Chae wrote:
 
 Hi,
 
 I'm having troubles with creating mailboxes. Connecting to the
 imap-server is no problem. But a simple cm user.bob results in:
 command failed: Permission denied.
 
 Thank you

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: Creating mailbox problem

2002-01-10 Thread Robert Scussel

make sure that the user you are trying to create with is on the line:

admins: cyrus user

or you can use cyradmin

Hope this helps,
B

Peter Chae wrote:
 
 Hi,
 
 I'm having troubles with creating mailboxes. Connecting to the
 imap-server is no problem. But a simple cm user.bob results in:
 command failed: Permission denied.
 
 Thank you

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: upgrade to cyrus 2.0.16 causes high load average

2002-01-08 Thread Robert Scussel
 mail1 imapd[153]: [ID 866726 local6.error] DBERROR db3:
 Unable to allocate 8287 bytes from mpool shared region: Not enough space
 Jan  7 14:54:40 mail1 imapd[153]: [ID 598274 local6.error] DBERROR:
 error advancing: Not enough space
 Jan  7 14:54:51 mail1 imapd[151]: [ID 866726 local6.error] DBERROR db3:
 86 lockers
 
 lots of the above DBERROR db3: xx lockers lines
 
 Jan  7 15:07:13 mail1 imapd[454]: [ID 898233 local6.error] DBERROR:
 error closing: DB_INCOMPLETE: Cache flush
 Jan  7 15:07:13 mail1 imapd[454]: [ID 179994 local6.error] DBERROR:
 error closing mailboxes: cyrusdb error
 
 It seems that IMP was able to tickle something on the system, realize
 that IMP does a login/logout for every IMAP transaction, so it is an
 expensive webmail client. However, it shouldn't be able to put cyrus
 into such a weird state (it is just a client).
 
 Any suggestions would be helpful
 
 Thanks,
 chris
 
 Chris Peck
 Manager of Unix Services
 Information Technology
 The College of William and Mary
 Williamsburg, VA 23187

-- 
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: Sieve not processing

2002-01-02 Thread Robert Scussel

Your configuration file looks fine.

Try explicitly setting the sievedir to /usr/sieve, or wherever your
sieve scripts are kept.  If installsieve is working, I assume that they
are in /usr/sieve.  

Hope this helps.

B

Jim Holmes wrote:
 
 here it is:
 
 /etc/imapd.conf:
 configdirectory: /var/imap
 partition-default: /var/spool/imap
 admins: cyrus
 sasl_pwcheck_method: sasldb
 tls_cert_file: /var/imap/server.pem
 tls_key_file: /var/imap/server.pem
 
 --On Tuesday, January 01, 2002 23:07 -0500 Robert Scussel
 [EMAIL PROTECTED] wrote:
 
  Configuration files?
 
  B
 
  Jim Holmes wrote:
 
  I don't know what I did wrong installing this time but either sieve
  isn't getting my e-mail or it's not processing them. I'm at a compleate
  loss, I don't remember having to do anything special the last time I
  installed Cyrus IMAP.
 
  I can add rules with websive and installsieve works.
 
  I'm using cyrus-imap-2.0.16
 
  Jim Holmes
  [EMAIL PROTECTED]
 
 
 
 
 
  --
  --
  Robert Scussel
  1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959
 
 
 Jim Holmes
 [EMAIL PROTECTED]

-- 
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: Issues Upgrading from 2.0.7 to 2.0.16

2002-01-02 Thread Robert Scussel

You have to make sure to rebuild the mailboxes.db file. 

The easiest way to do this, I can't remember if 2.0.7 has a mailboxes.db
or just a flat text mailboxes folder, is to do a dump and then use 

ctl_mboxlist -u  input.file

This will recreate the mailbox list. Finally, make sure that you a-z
directories in the /var/spool/imapdb/user/ directory. Last but not
least, to keep your users happy, make sure to copy and .seen or .sub to
the apropriate place. I believe that if you have a user jsmith, this
version of cyrus will place jsmith.seen and/or jsmith.sub under
/var/spool/imapdb/user/j/. Doing it this way keeps you from having to
readd/create every user.

Hope this helps.

B

 Anthony Di Paola wrote:
 
 Hello,
 I was wondering how I should go about upgrading from 2.0.7 to
 2.0.16.  The two versions run on different machines and I don't know
 how to migrate the mail from 2.0.7 to 2.0.16.  The new system is
 working fine.  I created a user that existed on the old system and
 then proceeded to copy their mail over (not the entire spool directory
 but rather user/username) to the new system.  Unfortunately, only the
 root folder is accessible via a Mail client.  I ran reconstruct -r
 user.username which had the effect that cyrus was able to detect the
 mailboxes I am looking for but these mailboxes still do not appear in
 either mail client (Netscape or Outlook)
 
 Any ideas would be appreciated
 
 Anthony Di Paola

-- 
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: Sieve not processing

2002-01-01 Thread Robert Scussel

Configuration files?

B

Jim Holmes wrote:

 I don't know what I did wrong installing this time but either sieve 
 isn't getting my e-mail or it's not processing them. I'm at a compleate 
 loss, I don't remember having to do anything special the last time I 
 installed Cyrus IMAP.
 
 I can add rules with websive and installsieve works.
 
 I'm using cyrus-imap-2.0.16
 
 Jim Holmes
 [EMAIL PROTECTED]
 
 



-- 
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Re: cyrus not responding

2001-12-20 Thread Robert Scussel

If I understand correctly, if you look in /path/to/imap/user/username
then you don't even see the files named 1. 2. 3. ,etc.  If that is the
case check the following, otherwise ignore.

What MTA are you using?

Try to run, as cyrus, the deliver script manually, and see if it can
find the mailbox, deliver it etc.

We use exim, and the hand-off to cyrus is explicitly stated in the
configuration file, however, if exim is not running, it can't get the
mail to deliver it to cyrus...

Just some thoughts,
B

Eleknader wrote:
 
 Thanks for your responses!
 
 I tried to install cyrus from sources before. seems like this installation
 had messed up something like sasl or something. I simply installed the
 rpms again, and Cyrus at least runs OK.
 
 I set up a couple accounts, but now I can't read mail from these accounts.
 
 systen log says, that user has logged in. The mail does not bouce back,
 so where could I look at it?
 
 I can see local mail with pine, and can send mail with command line or pine
 to local users, but it never gets delivered to imap. I'm sure that this is in
 the docs, but I could not find it.
 
 TIA,
 
 Eleknader
 
 
  Bye
 
 
  Oliver

-- 
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



cyrus 2.1.0 lmtpdengine

2001-12-17 Thread Robert Scussel

Hi everyone, thanks for all the help up to this point, finally got imp 
to work correctly :)

After installing cyrus 2.1.0 there were some problems.  I was using 
lmtpunix to connect to /var/spool/imapdb/socket/lmtp for mail delivery. 
  According to the lmtpd documentation, authentication should not be 
necessary if connection to a unix socket.  Unfortunately lmtpd was still 
attempting to authenticate. We hacked the lmtpengine.c to prevent this 
behavior, and everything appears to be delivering fine now.  This same 
problem did not exist in the cyrus-2.0.16 version.

Any insights?

Also, lmtpd says that you should be able to run lmtpd -a, yet doesn't 
recognize the option a?  Does the documentation need to be updated?

Thanks,
B
-- 
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Webmail : Cyrus

2001-12-16 Thread Robert Scussel

After trying the suggestions to remove dblib from sasl, and many other 
things, I continued to have troubles with IMP and the imap utility.  I 
can't get it to login with plaintext. As a result I tried out 
squirrelmail, which seems fairly simple, but is causing some problems 
and raising the following questions.

How do I set up the /var/spool/imapdb/user to include the username.sub 
folder..this is returning an error when attempting to read this folder.
The command I use is EXAMINE which returns the following information:


-- a002 EXAMINE INBOX
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS ()]
* OK Unable to preserve \Seen state: System I/O error
* 68 EXISTS
* 68 RECENT
* OK [UNSEEN 1]
* OK [UIDVALIDITY 958173621]
* OK [UIDNEXT 109817]

Any help would be greatly appreciated.

Thanks,
B

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Re: Webmail for Cyrus Imap ?

2001-12-12 Thread Robert Scussel

Thanks, first of all for the help getting cyrus working with 
saslauthd-pam...

I have been trying for days now to get the latest IMP(3.0) with the 
latest Horde(2.0) to work with cyrus.  The problem now is that imp tries 
to use the protocol imap to logon, which then tries to logon via

CRAM-MD5, sasldb2, and even kerberos

It doesn't appear to try pam/plain/saslauthd login.

Any ideas would be helpful...

Thanks again.

B

-- 
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Cyrus 2.1.0-SASL No Pam authentication

2001-12-07 Thread Robert Scussel

I decided to move from cyrus 2.0.16 to cyrus 2.1.0.

I compiled cyrus with the following command

./configure  --with-cyrus-user=cyrus --with-cyrus-group=cyrus
--with-cyrus-prefix=/usr/local/cyrus --with-auth=unix
--with-openssl=/usr/include --with-sasl=/usr/local/lib 

I compiled cyrus sasl 2.0.5-Beta with

./configure  --enable-krb4=no --enable-anon=no

This is after some time of trying to figure out why I continued to get
the following error in /var/log/messages

Dec  7 17:46:30 longsword imapd[29049]: unkwnown password verifier PAM
Dec  7 17:46:30 longsword imapd[29049]: badlogin: 
localhost.localdomain[127.0.0.1] plaintext rscuss SASL(-4): no
mechanism   available: checkpass failed 

My imapd.conf file looks like so:
configdirectory: /var/spool/imapdb
partition-default: /var/spool/imap
sasl_pwcheck_method: PAM
reject8bit: no

Which appears to work with the cyrus-imap-2.0.16...

Am I missing something. Cyrus appears to be working fine, so it leads me
to think that it may have something to do with SASL, either the way I
compiled it, or I am missing some options.  This is running on RH 7.1
with kernel 2.4.14-xfs.

When I attempt to login I get:

* OK hostname Cyrus IMAP4 v2.1.0 server ready
a1 LOGIN user passwd
a1 NO Login failed: no mechanism available

any help would be appreciated.


--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959