Re: cyradm allowing non admin to log in, but not cyrus

2004-04-29 Thread Andreas Winkelmann
Am Freitag, 30. April 2004 08:06 schrieb Jonathan Villa:

> In imapd.conf I have
>
> admins: cyrus joe
>
> I try
>
> [EMAIL PROTECTED] jdv]$ cyradm -user cyrus -auth login localhost
> IMAP Password:
> Login failed: user not found at
> /usr/local/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Cyrus/IMAP/Adm
>in.pm line 117 cyradm: cannot authenticate to server with login as cyrus
> [EMAIL PROTECTED] jdv]$
>
> then
>
> [EMAIL PROTECTED] jdv]# /usr/local/sbin/sasldblistusers2
>
> and I get my users listed, one of which is [EMAIL PROTECTED]

Please show the entries for cyrus and jvilla.

> so, just for fun I tried
>
> [EMAIL PROTECTED] root]# cyradm -user jvilla -auth login localhost
> IMAP Password:
> favre>
>
>
> but I don't have any privileges other than help, info, lq, server...
>
> this sort of blows my perception of the admins directive in imapd.conf.
>
> I also had cyrus in sasldb2 as well as user joe...
>
> I then created a new user called jonathan to /etc/sasldb2 but am unable
> to use cyradm with this new user, jonathan.  why jvilla... that account
> name only exists in /etc/sasldb2

Show the sasl-part of your imapd.conf:

# grep sasl /etc/imapd.conf

-- 
Andreas

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


cyradm allowing non admin to log in, but not cyrus

2004-04-29 Thread Jonathan Villa
In imapd.conf I have 

admins: cyrus joe

I try

[EMAIL PROTECTED] jdv]$ cyradm -user cyrus -auth login localhost
IMAP Password:   
Login failed: user not found at
/usr/local/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm line 
117
cyradm: cannot authenticate to server with login as cyrus
[EMAIL PROTECTED] jdv]$

then

[EMAIL PROTECTED] jdv]# /usr/local/sbin/sasldblistusers2

and I get my users listed, one of which is [EMAIL PROTECTED]

so, just for fun I tried 

[EMAIL PROTECTED] root]# cyradm -user jvilla -auth login localhost
IMAP Password: 
favre>


but I don't have any privileges other than help, info, lq, server...

this sort of blows my perception of the admins directive in imapd.conf.

I also had cyrus in sasldb2 as well as user joe...

I then created a new user called jonathan to /etc/sasldb2 but am unable
to use cyradm with this new user, jonathan.  why jvilla... that account
name only exists in /etc/sasldb2

 




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


´óרÒÔÉÏ¿¼Ë¶Ê¿£¬MBA¸Ä±äÈËÉú£¡

2004-04-29 Thread ¹â»ª¹ÜÀí¿ÆѧԺ
Title: 第五届(2005)MBA预科班招生





 




	
   

  
   

  
   

  
   

  
   

  
   

  
   

  
   

  


	
	

  

  
	
	
   中国企业目前需要具有MBA(工商管理硕士)教育背景的管理人才30万以上,攻读MBA学位是成为卓越管理者和优秀职业经理人的有效途径,是进入商界的金钥匙。我国2003年进行MBA入学联考改革以来,考试更加规范、统一,难度也相应加大,竞争更加激烈。因此,选择一个适合自己的考前辅导班对考生顺利通过联考起着决定性的作用。
    五年来,本院MBA预科班以独创的"小班上课,全程强化,文理兼顾,名师讲授,超值服务"的办班模式取得了很好的成效和极好的口碑。2002、2003、2004年MBA联考国家东部线通过率分别为:71.2%、73%、75%。其中远程班学员上线率高达92%。国家西部线通过率每年都是90%以上。(准考证号及分数见联考捷报。)
    本院是最早从事MBA考前辅导的专业机构,从本院预科班考取北大、清华的学员已成为职业经理人队伍中的一支生力军。从第一届预科班到今年第五届,为了保证教学质量,一直坚持精品班系统教学战略。通过五年的教学实践,依靠权威的师资及专业的管理队伍,本院已建立了完善的MBA考前培训体系。本院固定下来的教学模式,班主任制度,辅导员制度,在线课堂补课制度,小测验制度,排行榜制度等成功经验已纷纷被其它辅导班所效仿。更加科学、专业、规范的培训体系,使本院成为社会公认的MBA考前权威培训机构。
    本院依靠自身资源优势,与各重点MBA招生院校建立了多年的合作伙伴关系,及时准确把握联考动向,更好地服务于考生。不管是本科还是大专毕业,不管是理工类专业还是文史类专业,经过全程辅导(课前预习--认真听讲--课后复习--章节练习--阶段测试--模考讲评--考前串讲)都能达到事半功倍的效果。为了对广大学员负责,确保全部名师上课,本院从今年开始不在全国任何省市开班或设分校(为方便异地学员网上远程听课,继续采用国际先进的网上教育平台,制作高质量的现场教学课件。)我们的培训目标是:低起点、高标准、全方位进行全程强化,使绝大多数的学员当年成为北大、清华、人大等名校的MBA研究生。
      
	
	
	
 
  
	

  
	
 1、 文理兼顾
    MBA入学考试标准是统一的,而参加考试的考生情况却各不相同(文科类毕业学员数学较差甚至部分内容没学过,理科类毕业学员则语文、英语较差),预科班针对文科类学员加强数学辅导(从初等数学开始,循序渐进,从易到难,全程精讲,全面提高数学考分。),理科类学员加强英语及语文辅导(从英语词汇、语法、阅读理解到翻译、写作,系统辅导,全面突破;大大提高英语听写能力和语文应试写作技巧等)。在课时分配上将与其他任一辅导班不同,各有侧重,以便文、理类考生能扬长补短,达到复习的最佳效果。
  2、 全程强化
    很多辅导班分阶段授课,表面看似从基础至强化,实质上每个阶段讲授过快过粗,而阶段之间讲授内容重复交叉,因为参加强化阶段学习的人不一定参加了基础阶段学习,强化阶段要花相当的时间讲基础阶段的内容,这样造成老师讲课枯燥、学员听课乏味,而且浪费宝贵的复习时间。今年本院预科班将继续秉承以往几年的辅导方式,淡化阶段,采取从基础开始,从简单入手,循序渐进,全程强化,使学员每门课的必考内容逐一吸收逐一巩固。
  3、 开拓创新
    MBA的入学考试架构、内容、命题方式不断改革变化,2005届本院的辅导模式和教学方式也与时俱进,改革创新。数学、英语增加单元章节的测试次数和阶段性考试,使学员每一章节每一阶段消化巩固;管理增加案例讨论时间;英语增加听力的训练和教学时间。针对学员不同状况,提供个性化学习方案设计、复习辅助实施、复习效果评估。
  4、小班上课
    预科班小班上课,更利于老师掌握学员的情况,更便于学员听课和提问,更便于每次课后所留作业的批改以及难点的统计和讲评。
  5、名师讲授
    预科班集中了北京MBA考前辅导最有名最权威的教授(主讲教授简介附后)。这些老师曾经参与联考出题或阅卷,对联考有深入的研究,对命题动向能准确的把握和预测。
  6、 师生互动
    以往几届预科班加强师生互动,取得了较好的效果。本年度将继续坚持每周安排一个晚上习题答疑或章节测试,并进行总结讲评,查漏补缺,使学员学得更扎实,让联考两大难关--英语和数学,在练习、答疑、小考、总结中得到巩固和提高。
  7、 集体进取
    预科班仍然象往届一样每班配备一名有教学管理经验的教师担任班主任,成立"学习互助小组"(每组每科至少搭配一位成绩优秀者),竞选班干部及科代表,组建球队,进行班级对抗赛,开展管理案例讨论活动等,调动每一个人的学习积极性,最大限度地挖掘每个人的学习潜能,在学习中培养"互帮互助、集体进取"的团队精神,形成团结向上的凝聚力和奋发拼搏的学习风气。使每一名学员在MBA备考阶段就能建立良好的人脉关系,深深感受团队的协作精神,并提高自身的综合素质和组织协调能力,为今后的MBA入学面试和成为职业经理人打好必备的基础。
  8、超值服务
    预科班不仅拥有一流的辅导名师和科学的教学模式,而且对学员提供超值的服务和人性化管理。第一,免费提供网上100课时的听课服务,可使学员针对自己较弱的科目或课上未听懂的课程提前预听和课后复听;第二,提供纯净水、书包、文体器材、活动场地,协助外地学员解决食宿(可办北大饭卡)等人文服务;第三,第一时间为学员提供国家考试中心指定教材、大纲及全面、权威的联考内部资料(不对外出售)、信息、咨询;第四,免费提供北大、清华、人大政治资料及辅导等等。
   9、全面提高
    预科班除了全力提高学员的联考成绩,还把面试辅导作为一个重点辅导阶段。2003MBA联考改革后,各校更注重面试成绩,这样一来面试的辅导显得尤为重要。本班免费的面试技巧讲解和全真模拟面试,让学员在正式面试时能做到巧妙应对、游刃有余。
  10、信心保证
    最权威的师资队伍、最科学的教学模式、最优质的管理服务,以及历年来很高的升学率,使我们有信心保证:只要按时上课,完成作业,联考没上国家线的学员,可免费听2006年预科班的全部课程。

	
 
  
	
	
 
  本班由北大、清华、人大等高校知名MBA辅导教授组建成最权威的师资队伍精心讲授。
1、 师资介绍:
  数学:
庄大蔚(北大数学学院教授, 著名MBA辅导专家,《奇迹300分》编者,讲授微积分。集几十年的授课经验,条理清楚,娓娓道来,深受学员欢迎。)
尤承业(北大数学学院教授, 著名MBA辅导专家,《奇迹300分》编者,讲授线代。对考试规律与命题范围把握准确,讲课条理分明、触类旁通。)
王式安(著名MBA辅导专家,讲授概率。1985-2001年研究生入学考试数学命题组组长,MBA联考数学大纲修订者。准确把握大纲,谈吐幽默,思路清晰,任何例题举一反三,深入浅出,同时满足各水平层次考生。)
郑家俊(著名MBA辅导专家,《奇迹300分》编者,讲授初等数学。讲课深入浅出,且风趣幽默。) 
史荣昌(北京理工大学教授,著名MBA辅导专家,讲授线性代数。对考生的弱点了如指掌,辅导针对性极强,讲课激情洋溢,获得广大考生的由衷赞扬。)
  英语: 
张能彦(归国学者,北大MBA辅导主讲,著名英语应试辅导专家,多年来专门从事英语教学研究工作。对考点了如指掌,对复习的思路、方法及应试技巧有深入研究,能指导学生轻松学习,直达目标,深受学生好评。) 

  管理:
李 蕾(人大商学院管理学博士,著名MBA管理辅导专家。对历届联考有深入的研究,在课堂上既能提供足够的信息量,又紧贴管理考试。)
李培煊(清华MBA辅导管理主讲,著名管理辅导专家。)
  语文:
谷衍奎(著名MBA辅导专家,北大MBA辅导语文主讲,北大版、清华版MBA联考辅导用书作者,前MBA联考委员会指定教材语文部分作者,讲课透彻深刻,注重技巧。)
  逻辑:
朱煜华(教授,著名MBA辅导专家,人大版MBA辅导教材逻辑作者。)
杨武金(教授,著名MBA辅导专家,人大MBA考前辅导逻辑主讲。)

2、 课时安排
(1)预科A班(参加一月份联考):
总课时 580课时
学费:6380元(含报名费、学费、全部教材、大纲、资料、模考试卷费)
上课时间:2004年5月22日~2005年1月9日(周六、周日)
课时分配:(课程表正式上课前连同教材一起下发)
1.理科类:
语文 32课时 逻辑 20课时
英语 164课时 数学 196课时
管理 48课时 模考讲评 116课时
2.文科类:
语文 16课时 逻辑 20课时
英语 108课时 数学 268课时
   

cyrus & TLS problem ?

2004-04-29 Thread Fredrik Lilieblad
Hi!

I'm experiencing some strange problems when running imapd together with
TLS.

A client (like imtest or Outlook) can connect to the imapd service with
TLS but it closes after a few (10-20) requests with a "protocol version"
error.

I would be very grateful for any help on what the solution for this
problem could be.

I'm running:
cyrus-imap 2.2.3
cyrus-sasl 2.1.18
openssl-0.9.7d
heimdal-0.6.1
kth-krb 1.2.2

It looks like this:
* The last request on the client side (from imtest):
B0006 SELECT INBOX.Drafts
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1055754437]
* OK [UIDNEXT 6]
B0006 OK [READ-WRITE] Completed
B0007 SELECT INBOX.Drafts
Protection error: Error 0
Connection closed.

* The logs report:
[ID 736213 local6.debug] open: user fli opened INBOX.Drafts
[ID 199388 local6.debug] SSL3 alert write:fatal:protocol version
[ID 191084 local6.warning] Error 0, closing connection

* A stack trace on the imapd process gives this:
Program received signal SIGPIPE, Broken pipe.
0xfee1fa08 in _write () from /usr/lib/libc.so.1
(gdb) bt
#0  0xfee1fa08 in _write () from /usr/lib/libc.so.1
#1  0xfef3099c in sock_write () from /opt/csw/lib/libcrypto.so.0.9.7
#2  0xfef2d608 in BIO_write () from /opt/csw/lib/libcrypto.so.0.9.7
#3  0xff03bec8 in do_ssl3_write () from /opt/csw/lib/libssl.so.0.9.7
#4  0xff03b854 in ssl3_write_bytes () from /opt/csw/lib/libssl.so.0.9.7
#5  0x586e8 in prot_flush_writebuffer (s=0x116c40,
buf=0x1190e8 "* BYE Error 0\r\nred \\Flagged \\Draft \\Deleted
\\Seen)\r\n* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Draft \\Deleted
\\Seen \\*)]  \r\n* 0 EXISTS\r\n* 0 RECENT\r\n* OK [UIDVALIDITY
1055754437]  \r\n* OK [UIDNEXT 6]  \r\n"..., len=15) at prot.c:609
#6  0x58890 in prot_flush_internal (s=0x116c40, force=1) at prot.c:691
#7  0x1a498 in service_main (argc=0, argv=0x1140b8, envp=0xffbef858) at
imapd.c:586
#8  0x18da4 in main (argc=1061888, argv=0x103400, envp=0xffbef858) at
service.c:557

* Checking the tls_conn struct actually gives a strange protocol version
number (should be 0x301):
(gdb) p *(s->tls_conn)
$1 = {version = 25953, type = 8192, method = 0xff06c558, rbio =
0x116ee0, wbio = 0x12b678, bbio = 0x0, rwstate = 2, in_handshake = 0,
  handshake_func = 0xff031280 , server = 1, new_session =
0, quiet_shutdown = 0, shutdown = 0, state = 3, rstate = 241, init_buf =
0x0,
  init_msg = 0x12c894, init_num = 0, init_off = 0, packet = 0x131df0
"\025ea", packet_length = 5, s2 = 0x0, s3 = 0x1293f8, read_ahead = 0,
  msg_callback = 0, msg_callback_arg = 0x0, hit = 0, purpose = 0, trust
= 0, cipher_list = 0x0, cipher_list_by_id = 0x0, enc_read_ctx =
0x1423e0,
  read_hash = 0xfefecee8, expand = 0x0, enc_write_ctx = 0x142578,
write_hash = 0xfefecee8, compress = 0x0, cert = 0x128d88, sid_ctx_length
= 0,
  sid_ctx = '\000' , session = 0x12a690,
generate_session_id = 0, verify_mode = 0, verify_depth = -1,
  verify_callback = 0x326d4 , info_callback = 0, error
= 0, error_code = 0, ctx = 0x121d70, debug = 0, verify_result = 0,
ex_data = {
sk = 0x0, dummy = 0}, client_CA = 0x0, references = 1, options =
4095, mode = 3, max_cert_list = 102400, first_packet = 0, client_version
= 769}

Any hints on what the problem could be ?

Best Regards,
Fredrik


---
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: Writing directly to email

2004-04-29 Thread Edward Rudd
First of all. you should NOT be altering the mail store directly.. That
is cyrus' internal format and it should not be messed with.. If you need
to send logs to the cyrus mail store, use the MAILTO feature of
logrotate, or use something like logwatch, or write your own script to
mail the logs to the user.. That is the only SAFE and sane way to change
the messages in the mail store. Mail them! or use IMAP to add new
messages to a folder.. But do NOT directly alter the mail store.

On Thu, 2004-04-29 at 08:49, François LECOLIER wrote:
> Hi,
> I made a little test on my machine modifying a mail using vim, when I then
> read the message from my mail client it appears unchanged.
> 
> Then I used reconstruct on the mailbox and the text I added to the message
> appeared in my mail client.
> 
> regards
> françois
> 
> > Theoretically that would work, but unfortunately every client cdoes
> > things differently - especially caching.  Therefore any "nonstandard"
> > behavior is likely to cause different results for different clients.
> > 
> > -Brenden
> > 
> > On Wed, 2004-04-28 at 20:32, Eli Cantu wrote:
> > > Quoting [EMAIL PROTECTED]:
> > > 
> > > > I was wondering if it was at all possible to pipe text form something like
> > > > logging into an email file with out screwing things up for Cyrus.
> > > >
> > > > For example, say i have a crown tab that appends new mail.err data to the
> > > > file /var/spool/imap/m/user/me/1. with just simple stdout redirection >>.
> > > >
> > > 
> > > 
> > > I just tried it on a message in my Trash directory. I appended using >>
> > > 
> > > I did not see the additional text I appended when I checked the message. 
> I then
> > > opened up the file in vi. I can see the appended text, it just doesn't show up
> > > in the mail client (imp). So I added two '^M's at the bottom, just as there
> > > originally was. Still no luck.  I deleted the message, and it deleted
> normally.
> > > 
> > > h.
> > > 
> > > e
> > > 
> > > -
> > > This mail sent through IMP: http://horde.org/imp/
> > > 
> > > ---
> > > 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
> > -- 
> > Brenden Conte
> > System Programmer, C&CT
> > Rensselaer Polytechnic Institute
> > (518)276-2540
> > 
> > ---
> > 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
-- 
Edward Rudd <[EMAIL PROTECTED]>
Website http://www.outoforder.cc/

---
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: Delivery According to ACLs' "post" Privilege

2004-04-29 Thread Mohamed Magdi Abbas
[EMAIL PROTECTED] wrote:
In one area I have had trouble using Cyrus IMAPd: Delivery.
After considerable effort - and help from others - I believe I've 
arrived at the fundamental problem: I wish for users to be able to 
filter mail using arbitrary user level programs, but I don't wish for 
users to be able to deliver mail to any and every mailbox.

For users to be able to filter mail using arbitrary user level programs 
- run with the users' privileges - delivery must be possible with the 
users' privileges. As I understand it, however, allowing a user to 
deliver - either using filesystem permissions or as an LMTP admin - 
means allowing a user to deliver to any mailbox.

I also understand, however, that it is possible to authenticate to the 
Cyrus LMTPd through TCP/IP using SASL, but that "... Only LMTP admins 
can deliver to LMTPd through TCP/IP sockets." Can someone explain why it 
is not possible for users, once authenticated, to deliver to only those 
mailboxes whose ACLs grant them "post" privileges?

That can be done. If you are using sendmail then you need to compile it 
from scratch with the following:
	
	You have to add -D_FFR_AUTH_PASSING=1 to your site.config.m4( might be 
called something else if you a .src.rpm):
	
	APPENDDEF(`confENVDEF', `-DSASL=2 -DNEWDB -DLDAPMAP -DSTARTTLS
	-DMAP_REGEX -DMILTER -D_FFR_AUTH_PASSING=1')

Then make sure you configure sendmail.mc to enable SMTP AUTH, and make 
sure LMTPD is running via TCP/IP.

That should accomplish what you want...
Mohamed Magdi Abbas
[EMAIL PROTECTED]
Systems Engineer
Longwood University

Thanks!
Jack
---
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: Delivery According to ACLs' "post" Privilege

2004-04-29 Thread Rob Siemborski
On Wed, 28 Apr 2004 [EMAIL PROTECTED] wrote:

> I also understand, however, that it is possible to authenticate to the
> Cyrus LMTPd through TCP/IP using SASL, but that "... Only LMTP admins
> can deliver to LMTPd through TCP/IP sockets." Can someone explain why
> it is not possible for users, once authenticated, to deliver to only
> those mailboxes whose ACLs grant them "post" privileges?

No one ever wanted the feature?  Offhand, I can't think of any reason it
would either break or be hard to add.  If someone had a patch, I'd
certaily be willing to consider it.

Mostly, it never came up because Cyrus is generally viewed as a "black
box" -- letting users run shell-level scripts on the same server really
isn't the way the system was designed.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

---
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: Writing directly to email

2004-04-29 Thread François LECOLIER
Hi,
I made a little test on my machine modifying a mail using vim, when I then
read the message from my mail client it appears unchanged.

Then I used reconstruct on the mailbox and the text I added to the message
appeared in my mail client.

regards
françois

> Theoretically that would work, but unfortunately every client cdoes
> things differently - especially caching.  Therefore any "nonstandard"
> behavior is likely to cause different results for different clients.
> 
> -Brenden
> 
> On Wed, 2004-04-28 at 20:32, Eli Cantu wrote:
> > Quoting [EMAIL PROTECTED]:
> > 
> > > I was wondering if it was at all possible to pipe text form something like
> > > logging into an email file with out screwing things up for Cyrus.
> > >
> > > For example, say i have a crown tab that appends new mail.err data to the
> > > file /var/spool/imap/m/user/me/1. with just simple stdout redirection >>.
> > >
> > 
> > 
> > I just tried it on a message in my Trash directory. I appended using >>
> > 
> > I did not see the additional text I appended when I checked the message. 
I then
> > opened up the file in vi. I can see the appended text, it just doesn't show up
> > in the mail client (imp). So I added two '^M's at the bottom, just as there
> > originally was. Still no luck.  I deleted the message, and it deleted
normally.
> > 
> > h.
> > 
> > e
> > 
> > -
> > This mail sent through IMP: http://horde.org/imp/
> > 
> > ---
> > 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
> -- 
> Brenden Conte
> System Programmer, C&CT
> Rensselaer Polytechnic Institute
> (518)276-2540
> 
> ---
> 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: Writing directly to email

2004-04-29 Thread Brenden Conte
Theoretically that would work, but unfortunately every client cdoes
things differently - especially caching.  Therefore any "nonstandard"
behavior is likely to cause different results for different clients.

-Brenden

On Wed, 2004-04-28 at 20:32, Eli Cantu wrote:
> Quoting [EMAIL PROTECTED]:
> 
> > I was wondering if it was at all possible to pipe text form something like
> > logging into an email file with out screwing things up for Cyrus.
> >
> > For example, say i have a crown tab that appends new mail.err data to the
> > file /var/spool/imap/m/user/me/1. with just simple stdout redirection >>.
> >
> 
> 
> I just tried it on a message in my Trash directory. I appended using >>
> 
> I did not see the additional text I appended when I checked the message.  I then
> opened up the file in vi. I can see the appended text, it just doesn't show up
> in the mail client (imp). So I added two '^M's at the bottom, just as there
> originally was. Still no luck.  I deleted the message, and it deleted normally.
> 
> h.
> 
> e
> 
> -
> This mail sent through IMP: http://horde.org/imp/
> 
> ---
> 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
-- 
Brenden Conte
System Programmer, C&CT
Rensselaer Polytechnic Institute
(518)276-2540

---
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: Remote IMAP Mirror - Suggestions?

2004-04-29 Thread Mike Brodbelt
Ken Murchison wrote:
> 
> Darren Joy wrote:
> 
>>Well, after an immense struggle, I have persuaded Cyrus to actually work.
>>I've never experienced such huge problems with any open source software,
>>this is by far the worst, by orders of magnitude. My main problem I think
>>was expected the test programs to work, i.e. imtest and pop3test etc.
>>They're horribly broken, and reported that Cyrus wasn't working, when in
>>actual factit was. Extremely annoying, and a lot of time wasted on
> 
> 
> Even if you're not going to fix these yourself, "horribly broken"
> doesn't help much.  Care to elaborate?


Responding rather late in the day, and not directly related to the OP's
complaints (imtest always worked OK for me), but I am aware of one
gotcha that catches new users out sometimes. I haven't tested this with
2.2, so the same may not be the case anymore...

When you try and administer cyrus with cyradm, if you run cyradm *as
root*, it prompts for the password. If you give the correct password,
you then get a segfault:-

# cyradm localhost
Password:
Segmentation fault

Doing the identical thing as the cyrus user works perfectly, of course.
However, it would probably be nice to produce a helpful error message,
rather than segfaulting. I've had a couple of confused colleagues who've
 been caught out by that, and for an inexperienced user who's installing
Cyrus for the first time, they tend to leap to the conclusion that
they've done something wrong with the install, and then waste a lot of
time searching for a non-existant problem.

On a personal note, the first time I installed Cyrus, it took a while to
get my head round everything, and took time to get the system up and
running the way I wanted it. However, Cyrus is without a doubt one of
the best bits of software I use day to day. Once set up, it just works,
and the developers deserve a lot of credit for the work that's gone into
the system.

HTH,

Mike.

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