Can not log seperates message

2009-08-31 Thread zhuzhixin
Hi,

*** http://cyrusimap.web.cmu.edu/imapd/install-configure.html***

   In the page above, it tell us howto make seperate message for
cyrus-imapd log. I follow the page and add two lines in /etc/syslog.conf

--
local6.debug/var/log/imapd.log
auth.debug  /var/log/auth.log

   I also touch these two files and give them correct permissions.

   But the log message still appears in /var/log/syslog, meanwhile the
/var/log/imapd.log keeps empty.

   Why?

   The document says: The Cyrus IMAP server uses the 4.3BSD syslog that
separates messages into both levels and categories. Invoke man syslog
to see if openlog() takes three arguments. If it does not, replace the
system syslogd and syslog.conf with the files provided in the
syslog directory.

   Since i cannot find the manual of syslog but syslogd, and it doesn't
have openlog() function either. So i don't know howto determine if the
syslog in my system uses 4.3BSD.

   I want the messages logged into imapd.log and auth.log, and meanwhile
not log messages to /var/log/syslog.

   My system is Debian lenny i386, cyrus-imapd version is 2.2.13-14.

   Please help!

Thanks,

Zhu Zhixin


smime.p7s
Description: S/MIME Cryptographic Signature

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

Re: Can not log seperates message

2009-08-31 Thread Michael Menge

Hi,

did you reload/restart syslogd?

Quoting zhuzhixin zhuzhi...@realss.com:


Hi,

*** http://cyrusimap.web.cmu.edu/imapd/install-configure.html***

   In the page above, it tell us howto make seperate message for
cyrus-imapd log. I follow the page and add two lines in /etc/syslog.conf

local6.debug/var/log/imapd.log
auth.debug  /var/log/auth.log

   I also touch these two files and give them correct permissions.

   But the log message still appears in /var/log/syslog, meanwhile the
/var/log/imapd.log keeps empty.

   Why?

   The document says: The Cyrus IMAP server uses the 4.3BSD syslog that
separates messages into both levels and categories. Invoke man syslog
to see if openlog() takes three arguments. If it does not, replace the
system syslogd and syslog.conf with the files provided in the
syslog directory.

   Since i cannot find the manual of syslog but syslogd, and it doesn't
have openlog() function either. So i don't know howto determine if the
syslog in my system uses 4.3BSD.

   I want the messages logged into imapd.log and auth.log, and meanwhile
not log messages to /var/log/syslog.

   My system is Debian lenny i386, cyrus-imapd version is 2.2.13-14.

   Please help!

Thanks,

Zhu Zhixin






M.MengeTel.: (49) 7071/29-70316
Universität Tübingen   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung  mail:  
michael.me...@zdv.uni-tuebingen.de

Wächterstraße 76
72074 Tübingen

smime.p7s
Description: S/MIME krytographische Unterschrift

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: Removing the Web Changes Notification Service from the wiki

2009-08-31 Thread Paolo Cravero
Wil Cooley wrote:

 edit a page and see if it could be easily removed. Turns out it's just
 this line:
 
   %INCLUDE{_default.WebNotify}%
 
 Does anyone mind if this is removed from the Cyrus/WebHome page on the
 wiki (and possibly any other pages where I find it)?

I've found that long text still present on several subpages (like 
Specifications and Standards), but I'm not writing because of that. Rather...

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

the last link looks like spam. Or a way to attract more /customers/ ?! :)

Anyone registered on wiki that can remove it?

Paolo


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: Can not log seperates message

2009-08-31 Thread zhuzhixin
Michael Menge wrote:
 Hi,
 
 did you reload/restart syslogd?

Yes;-)

I even restart the system. But still now work;-(


Zhu Zhixin


smime.p7s
Description: S/MIME Cryptographic Signature

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

Caching Proxy

2009-08-31 Thread Kai Moritz
Hi,

my company receives a lot of mails with big attachments. Since the
internet-link is slow, it would be desireable to store these mails on a
local server. But unfortunatly, the received mail has to be accessable
(read, copy, delete) for some employees, which are working at home as
well.

So, I was thinking of some kind of caching IMAP-proxy. At first glance,
I thought, that cyrus murder might do the trick. But diving into the
documentation, it looks like a front end server is only caching the
Mailbox-Metadata, not the messages itself.

Is it possible to build a cyrus cluster with a frontend server, that
caches messages, so that a second FETCH for the same message hits on the
cached copy located on the front end server, instead of fetching it
again from the backend server?

Or does anybody has another suggestion to deal with this problem?


Greetings 

Kai Moritz


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: make_sha1 and virtual domains

2009-08-31 Thread Vladimir Klejch

Hi

is somebody using make_sha1 or make_md5 with virtual domains  ???

How to use it ??? I'm fiddling with source but make_sha1 does not find 
mailboxes for given login in mailboxes.db.

I think there is no functionality in source  of make_sha1 or make_md5 for 
vitrual domains  ???

Would it by posible to have virtualdomains functionality in all parts of 
cyrus source code ??




Zatim
Kleo


On Wed, 26 Aug 2009, Vladimir Klejch wrote:


 Hi

 Is there a way to use make_sha1 with virtualdomais ???

 I see in source hardcoded adding of user. in beginning of supplied user
 to make mailboxname  and i think, this cann't work with virtualdomains.


 I need this to check replication and have all mailboxes in more virtual
 domains.



 in imapd.conf is set :

 altnamespace: yes
 unixhierarchysep: yes
 virtdomains: userid
 guid_mode: sha1
 sha1_dir: /var/spool/cyrus/sha1

 ... and more

   Thanks
   Kleo





-- 
_
|  You have moved the mouse.  #
| Windows must be restarted for the changes to take effect.   #
|  OK   #
##/

~~  ~~  ~~  ~~  ~~  ~~  ~~
Vladimir `KLEO' Klejch  Kleo'at'netbox.cz
... ... ... ...



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: Ptloader configuration in Cyrus IMAP

2009-08-31 Thread Evgeniy Arbatov
Hello,

Finally I am able to get the ptloader working. In my case the major
issue was that I used Cyrus IMAP 2.3.7, that has a segmentation fault
when reading from LDAP. This issue was previously discussed in
http://www.irbs.net/internet/info-cyrus/0608/0129.html I solved the
problem by updating to Cyrus IMAP 2.3.14 + doing the above mentioned
configuration changes

Evgeniy

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


sync_client segfault

2009-08-31 Thread steffo76
Hi there,

I haven't got the original message here, I posted a problem with sync_client on 
Fri Aug 28 11:29:15. I tried to get a backtrace but have some trouble with gdb. 
This is what I got:

Failed to read a valid object file image from memory.

Program received signal SIGSEGV, Segmentation fault.
0x080967ef in xstrdup (str=0x0) at xmalloc.c:92
92  char *p = xmalloc(strlen(str)+1);
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

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: Compress attachments

2009-08-31 Thread Paolo Cravero
andreas.moro...@sb-brixen.it wrote:

Hello Andreas,

 Is it possible to configure cyrus the way that it compresses the  
 attachments on the storage ( not for tranfer as in RFC 4978 ) ? I know  

AFAIK there is no cyrus option to do this. Moreover cyrus does not separate 
attachments from the message body, so the whole message would need to be 
gzipped. For each and every message.

 that diskspace is cheap, but when you have to get back thousands of  
 mailboxes from a backup, the smaller the files are the faster the  
 restore is done.

Well, replicate live mailboxes data rather than rely on a single node and 
frequent backups. :-) I'm also starting to love the delayed expunge facility 
with respect to cheap disk space.

Ciao,
Paolo

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: Compress attachments

2009-08-31 Thread Adam Tauno Williams
On Mon, 2009-08-31 at 16:51 +0200, Paolo Cravero wrote: 
 andreas.moro...@sb-brixen.it wrote:
  Is it possible to configure cyrus the way that it compresses the  
  attachments on the storage ( not for tranfer as in RFC 4978 ) ? I know  
 AFAIK there is no cyrus option to do this. Moreover cyrus does not separate 
 attachments from the message body, so the whole message would need to be 
 gzipped. For each and every message.
  that diskspace is cheap, but when you have to get back thousands of  
  mailboxes from a backup, the smaller the files are the faster the  
  restore is done.

Why not just compress the backup/restore stream?

 Well, replicate live mailboxes data rather than rely on a single node and 
 frequent backups. :-) I'm also starting to love the delayed expunge facility 
 with respect to cheap disk space.

I could never go back to living without delayed expunge;  a fabulous
feature!
-- 
OpenGroupware developer: awill...@whitemice.org
http://whitemiceconsulting.blogspot.com/
OpenGroupare  Cyrus IMAPd documenation @
http://docs.opengroupware.org/Members/whitemice/wmogag/file_view


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: Compress attachments

2009-08-31 Thread Michael Menge
Quoting Adam Tauno Williams awill...@whitemice.org:

 On Mon, 2009-08-31 at 16:51 +0200, Paolo Cravero wrote:
 andreas.moro...@sb-brixen.it wrote:
  Is it possible to configure cyrus the way that it compresses the
  attachments on the storage ( not for tranfer as in RFC 4978 ) ? I know
 AFAIK there is no cyrus option to do this. Moreover cyrus does not separate
 attachments from the message body, so the whole message would need to be
 gzipped. For each and every message.
  that diskspace is cheap, but when you have to get back thousands of
  mailboxes from a backup, the smaller the files are the faster the
  restore is done.

IHMO the size does not matter that much, if you have many small files  
and a filebased backup, the metadata handling on restore will take a  
great percentage of the restore time and is independent of the size.

You need two different aproches for restore of few mailboxes
and disaster recovery. The first case can be done with any normal backuptool,
and delayed expung will take care of mails which arrived and where  
deleted bevor they where backuped. It also makes restoring of mails  
easy.

For desaster recovery you need somthing where you can acces a copy of  
the data,
or can stream the data back to disk. So you need an image based  
backup, snapshot or replication.


 Why not just compress the backup/restore stream?


IMHO the size of transfered data is not the problem.

 Well, replicate live mailboxes data rather than rely on a single node and
 frequent backups. :-) I'm also starting to love the delayed expunge facility
 with respect to cheap disk space.

 I could never go back to living without delayed expunge;  a fabulous
 feature!

I don't want to miss it either



M.MengeTel.: (49) 7071/29-70316
Universität Tübingen   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung  mail:  
michael.me...@zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen

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: Can not log seperates message

2009-08-31 Thread Harms Consulting IT support desk
zhuzhixin wrote:
 Hi,

 *** http://cyrusimap.web.cmu.edu/imapd/install-configure.html***

In the page above, it tell us howto make seperate message for
 cyrus-imapd log. I follow the page and add two lines in /etc/syslog.conf

 --
 local6.debug  /var/log/imapd.log
 auth.debug/var/log/auth.log

   


Whilst folk are looking at syslog and the wiki, does anyone have a copy 
of the example logwatch script that is referenced on this wiki page: 
http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/Logwatch ?

Thanks,
Josh


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