¹ú¼Ê¹«Ë¾+×ÔÓÉóÒ×+Æ·ÅÆÐÎÏó+ÉÌÒµÀûÒæ

2003-06-27 Thread Ïã¸ÛÈð·á»á¼ÆʦÐÐ





   【注册香港公司&创立国际品牌】   
  办海外公司=国际公司+国际品牌+企业形象+经济效益
  总费9800元=香港公司+注册地址+电话传真+秘书服务

海外公司注册:香港、新加坡、法国、BVI、英国、美国;
免费提供服务:公司地址、电话传真、文件传送、商务秘书;

  【配套资源服务】
大陆公司注册:深圳、上海、杭州、中外合资、外商独资;
电话转接、年审年报、会计做帐、公司报税、上市安排 、
书刊注册、商标注册、专利注册、银行开户、资信证明等服务。

  【办理海外公司的好处】
 1、在大陆投资享受政府的各项优惠政策、如税收、购土地;
 2、在大陆申办中外合资或外商独资企业、有自营进出口权;
 3、在香港或大陆汇丰、东亚开立银行帐户、资金自由调配;
 4、产品标识海外公司监制或授权生产能提高品牌档次价格;
 5、注册公司的股东董事、如申请护照和香港签证快速方便;

   ★香港瑞丰会计事务所:权威机构!多年专业!诚信可靠!

●香港地址:苏杭街49-51号建安大厦7楼(全层)
  香港电话:(852)62240108  60947461  25458556
  传真:(852)28542875  25412301
联系人:苏先生

●大陆总部:杭州市望江路69号宋都大厦7/F
  杭州电话:0571-86804961   86816228   86801058  
  传真:0571-86075868 
联系人:程小姐
  
● 深圳市深南中路捷佳大厦929
  电话:0755-26594023 26594029 
  传真:0755-83980047
联系人:卢小姐 

★详情浏览:http://www.richful-hk.com
  [EMAIL PROTECTED]   
★相关信息咨询服务,敬请在网上留言,我们会尽快回复。

★国际贸易网:http://www.richful.net
★最大最全面的商业贸易交易平台
我要退订: http://www.cnml.net/email-remove/unsubscribe.asp




Re: non-existent msgids & duplicate delivery suppression

2003-06-27 Thread adi
On Fri, Jun 27, 2003 at 03:10:47PM +0200, Sebastian Hagedorn wrote:
> Every MTA along the way should add a message-id if there isn't one.

qmail don't add message-id for any messages that comes through
smtp (qmail-smtpd).

Regards,

P.Y. Adi Prasaja


Re: problems with imap and imsp installation

2003-06-27 Thread Simon Brady
On Fri, 27 Jun 2003, Richard Hopkins wrote:

> And I'd also recommend a --without-ldap on Solaris systems unless you 
> intend trying to use it (and failing miserably). I run configure with a...
> 
> ./configure --with-auth=unix --without-ldap

I've got --with-ldap working on Solaris 8 (SASL 2.1.10) but it was a
painful process - not because of the Cyrus code, but because of problems
with the supporting infrastructure. This page was a lifesaver for me,
especially the gem about libtool and runpaths:

   http://www.bolthole.com/solaris/LDAP.html

--
Simon Brady mailto:[EMAIL PROTECTED]
ITS Technical Services
University of Otago, Dunedin, New Zealand



Re: Archival Process

2003-06-27 Thread Rob Siemborski
On Fri, 27 Jun 2003, pnelson wrote:

> So how about:
>
> 1.  Tar the directory.
> 2.  Remove the mailbox
> 3.  Copy the directory to cdr.

Provided you mean "copy the TAR to cdr" that works just fine.

-Rob

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



Re: Archival Process

2003-06-27 Thread pnelson
On Fri, 2003-06-27 at 13:08, Rob Siemborski wrote:
> On Fri, 27 Jun 2003, pnelson wrote:
> 
> > So I was thinking that I would just tar up the 2002 directory on the
> > IMAP server and then remove the directory and move the tar file to a
> > CDR.
> 
> Not quite good enough.  You'll want to actually DELETE the mailbox via the
> IMAP protocol, not just remove the directory.  Otherwise you'll have
> dangling metadata in the mailbox list.
> 

So how about:

1.  Tar the directory.
2.  Remove the mailbox
3.  Copy the directory to cdr.



Re: huge bug

2003-06-27 Thread David Chait
This isn't something Cyrus can fix without seriously reworking the imap
daemon (not something they will do to repair a bug Qualcomm should deal
with). 5.2 and above seem to be fine, just have your clients on older
installs upgrade.

- Original Message -
From: "Laurent LAVAUD" <[EMAIL PROTECTED]>
To: "David Chait" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, June 27, 2003 1:53 PM
Subject: Re: huge bug


A 13:30 27/06/2003 -0700, vous avez écrit :
>Correct, it is a known bug with a lot of Eudora versions. Qualcomm has it's
>work cut out for itself to clean up that POS.

OK, but why does wu imap server works ?  Can we expect cyrus server to
correct this client issue ?
We can't tell all Eudora senders to change their habits and/or migrate to
Mulberry, Outlook...

>- Original Message -
>From: "Ken Murchison" <[EMAIL PROTECTED]>
>To: "Laurent LAVAUD" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Friday, June 27, 2003 1:15 PM
>Subject: Re: huge bug
>
>
> > If you want to send the message as it sits in the Cyrus and UW
> > mailstores (gzip it so that the mailer doesn't munge it) and possibly
> > capture the protocol log of the client trying to fetch the message, we
> > _might_ be able to figure out what is happening.
> >
> > My guess would be that Eudora is not formatting the MIME message
> > correctly (ill-formed/missing boundary?).
> >
> >
> >
> > Laurent LAVAUD wrote:
> > > huge bug for us...
> > >
> > > Here it is: when we compose mails with Eudora 5.02 or Eudora 5.2 with
>styled
> > > text and an attachment (an image for example), the same Eudora is
unable
>to
> > > read it correctly (the body contains strange code instead of showing
the
>text
> > > and the image link).
> > > This occurs only when we send the mail with the 2 formats proposed by
>Eudora
> > > (text only and styled text together).
> > >
> > > What make me think it's a cyrus bug is that if we send exactly the
same
>message
> > > to the same server that runs wu imap instead of cyrus, everything is
>fine!
> > >
> > > Huge for us because 80% of our clients are Eudora (about 2000 clients)
>and
> > > people often compose mails with styled texts and attachments...
> > >
> > > Is there an issue to this except telling our users (and our senders
but
>this
> > > should be more difficult) not to use Eudora ?
> > >
> > > The server is sendmail 8.9.12 + cyrus 2.1.13
> > >
> > > Thanks for issues if available...
> > >
> >
> >
> > --
> > Kenneth Murchison Oceana Matrix Ltd.
> > Software Engineer 21 Princeton Place
> > 716-662-8973 x26  Orchard Park, NY 14127
> > --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
> >
> >
> >








Re: huge bug

2003-06-27 Thread Laurent LAVAUD
A 13:30 27/06/2003 -0700, vous avez écrit :
Correct, it is a known bug with a lot of Eudora versions. Qualcomm has it's
work cut out for itself to clean up that POS.
OK, but why does wu imap server works ?  Can we expect cyrus server to 
correct this client issue ?
We can't tell all Eudora senders to change their habits and/or migrate to 
Mulberry, Outlook...

- Original Message -
From: "Ken Murchison" <[EMAIL PROTECTED]>
To: "Laurent LAVAUD" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, June 27, 2003 1:15 PM
Subject: Re: huge bug
> If you want to send the message as it sits in the Cyrus and UW
> mailstores (gzip it so that the mailer doesn't munge it) and possibly
> capture the protocol log of the client trying to fetch the message, we
> _might_ be able to figure out what is happening.
>
> My guess would be that Eudora is not formatting the MIME message
> correctly (ill-formed/missing boundary?).
>
>
>
> Laurent LAVAUD wrote:
> > huge bug for us...
> >
> > Here it is: when we compose mails with Eudora 5.02 or Eudora 5.2 with
styled
> > text and an attachment (an image for example), the same Eudora is unable
to
> > read it correctly (the body contains strange code instead of showing the
text
> > and the image link).
> > This occurs only when we send the mail with the 2 formats proposed by
Eudora
> > (text only and styled text together).
> >
> > What make me think it's a cyrus bug is that if we send exactly the same
message
> > to the same server that runs wu imap instead of cyrus, everything is
fine!
> >
> > Huge for us because 80% of our clients are Eudora (about 2000 clients)
and
> > people often compose mails with styled texts and attachments...
> >
> > Is there an issue to this except telling our users (and our senders but
this
> > should be more difficult) not to use Eudora ?
> >
> > The server is sendmail 8.9.12 + cyrus 2.1.13
> >
> > Thanks for issues if available...
> >
>
>
> --
> Kenneth Murchison Oceana Matrix Ltd.
> Software Engineer 21 Princeton Place
> 716-662-8973 x26  Orchard Park, NY 14127
> --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
>
>
>





Re: huge bug

2003-06-27 Thread David Chait
Correct, it is a known bug with a lot of Eudora versions. Qualcomm has it's
work cut out for itself to clean up that POS.

- Original Message -
From: "Ken Murchison" <[EMAIL PROTECTED]>
To: "Laurent LAVAUD" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, June 27, 2003 1:15 PM
Subject: Re: huge bug


> If you want to send the message as it sits in the Cyrus and UW
> mailstores (gzip it so that the mailer doesn't munge it) and possibly
> capture the protocol log of the client trying to fetch the message, we
> _might_ be able to figure out what is happening.
>
> My guess would be that Eudora is not formatting the MIME message
> correctly (ill-formed/missing boundary?).
>
>
>
> Laurent LAVAUD wrote:
> > huge bug for us...
> >
> > Here it is: when we compose mails with Eudora 5.02 or Eudora 5.2 with
styled
> > text and an attachment (an image for example), the same Eudora is unable
to
> > read it correctly (the body contains strange code instead of showing the
text
> > and the image link).
> > This occurs only when we send the mail with the 2 formats proposed by
Eudora
> > (text only and styled text together).
> >
> > What make me think it's a cyrus bug is that if we send exactly the same
message
> > to the same server that runs wu imap instead of cyrus, everything is
fine!
> >
> > Huge for us because 80% of our clients are Eudora (about 2000 clients)
and
> > people often compose mails with styled texts and attachments...
> >
> > Is there an issue to this except telling our users (and our senders but
this
> > should be more difficult) not to use Eudora ?
> >
> > The server is sendmail 8.9.12 + cyrus 2.1.13
> >
> > Thanks for issues if available...
> >
>
>
> --
> Kenneth Murchison Oceana Matrix Ltd.
> Software Engineer 21 Princeton Place
> 716-662-8973 x26  Orchard Park, NY 14127
> --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
>
>
>



Re: huge bug

2003-06-27 Thread Ken Murchison
If you want to send the message as it sits in the Cyrus and UW 
mailstores (gzip it so that the mailer doesn't munge it) and possibly 
capture the protocol log of the client trying to fetch the message, we 
_might_ be able to figure out what is happening.

My guess would be that Eudora is not formatting the MIME message 
correctly (ill-formed/missing boundary?).



Laurent LAVAUD wrote:
huge bug for us...

Here it is: when we compose mails with Eudora 5.02 or Eudora 5.2 with styled 
text and an attachment (an image for example), the same Eudora is unable to 
read it correctly (the body contains strange code instead of showing the text 
and the image link).
This occurs only when we send the mail with the 2 formats proposed by Eudora 
(text only and styled text together).

What make me think it's a cyrus bug is that if we send exactly the same message 
to the same server that runs wu imap instead of cyrus, everything is fine!

Huge for us because 80% of our clients are Eudora (about 2000 clients) and 
people often compose mails with styled texts and attachments...

Is there an issue to this except telling our users (and our senders but this 
should be more difficult) not to use Eudora ?

The server is sendmail 8.9.12 + cyrus 2.1.13

Thanks for issues if available...



--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp


Re: Archival Process

2003-06-27 Thread Rob Siemborski
On Fri, 27 Jun 2003, pnelson wrote:

> So I was thinking that I would just tar up the 2002 directory on the
> IMAP server and then remove the directory and move the tar file to a
> CDR.

Not quite good enough.  You'll want to actually DELETE the mailbox via the
IMAP protocol, not just remove the directory.  Otherwise you'll have
dangling metadata in the mailbox list.

-Rob

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



Re: addusers and bsd2cyrus

2003-06-27 Thread Igor Brezac

On Fri, 27 Jun 2003, joe ritter wrote:

> interesting how does mailutil work exactly? Is it a
> conversion utility for moving away from UW Imap then?
> Thanks again.

Well, not really, but it can be used for this purpose.  You can use it to
move mailboxes to UW imap server as well.  It really allows you
transfer/copy/move mailboxes between differnet imap servers as well as
different mbox formats.

-Igor

>
> --- Igor Brezac <[EMAIL PROTECTED]> wrote:
> >
> >
> > On Fri, 27 Jun 2003, joe ritter wrote:
> >
> > > Hello,
> > > I am tasked with moving 10K users away from
> > > /var/mail/$username UW Imap to Cyrus. I bought the
> > > book Managing IMAP and there is a chapter however
> > the
> > > scripts still refer to the TCL based cyradm. I was
> > > wondering if anyone could share any batch creating
> > and
> > > batch setup scripts with me and or any other tips
> > on
> > > this procedure. Thanks in advance.
> >
> > I hacked mailutil
> > (ftp://ftp.cac.washington.edu/imap/imap.tar.Z) not
> > to
> > prompt for the cyrus admin password.  Backup your
> > old mailspool.  Create
> > mailboxes on cyrus.  Then,
> >
> > cd /var/mail
> > for m in *
> > do
> >mailutil append /var/mail/$m
> >
> {new.cyrus.server/norsh/tls/authuser=cyrusadmin/user=$m}INBOX
> > done
> >
> > For this to work your cyrus server needs to support
> > PLAIN+TLS mech
> > Unfortunately CRAM-MD5 does not support proxy auth
> > and UW libs do not
> > support DIGEST-MD5.
> >
> > Hope this help.
> >
> > --
> > Igor
>
>
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>

-- 
Igor


huge bug

2003-06-27 Thread Laurent LAVAUD
huge bug for us...

Here it is: when we compose mails with Eudora 5.02 or Eudora 5.2 with styled 
text and an attachment (an image for example), the same Eudora is unable to 
read it correctly (the body contains strange code instead of showing the text 
and the image link).
This occurs only when we send the mail with the 2 formats proposed by Eudora 
(text only and styled text together).

What make me think it's a cyrus bug is that if we send exactly the same message 
to the same server that runs wu imap instead of cyrus, everything is fine!

Huge for us because 80% of our clients are Eudora (about 2000 clients) and 
people often compose mails with styled texts and attachments...

Is there an issue to this except telling our users (and our senders but this 
should be more difficult) not to use Eudora ?

The server is sendmail 8.9.12 + cyrus 2.1.13

Thanks for issues if available...

-- 
Laurent LAVAUD
Centre de Ressources Informatiques
Universite Bordeaux2
143 rue Leo Saignat
33076 Bordeaux cedex
Tel: 05 57 57 15 03
Fax: 05 57 57 45 42



Re: addusers and bsd2cyrus

2003-06-27 Thread Adam Williams
> I am tasked with moving 10K users away from
> /var/mail/$username UW Imap to Cyrus. I bought the
> book Managing IMAP and there is a chapter however the
> scripts still refer to the TCL based cyradm. I was
> wondering if anyone could share any batch creating and
> batch setup scripts with me and or any other tips on
> this procedure. Thanks in advance.

ftp://ftp.kalamazoolinux.org/pub/pdf/Cyrus.pdf



Re: addusers and bsd2cyrus

2003-06-27 Thread Igor Brezac


On Fri, 27 Jun 2003, joe ritter wrote:

> Hello,
> I am tasked with moving 10K users away from
> /var/mail/$username UW Imap to Cyrus. I bought the
> book Managing IMAP and there is a chapter however the
> scripts still refer to the TCL based cyradm. I was
> wondering if anyone could share any batch creating and
> batch setup scripts with me and or any other tips on
> this procedure. Thanks in advance.

I hacked mailutil (ftp://ftp.cac.washington.edu/imap/imap.tar.Z) not to
prompt for the cyrus admin password.  Backup your old mailspool.  Create
mailboxes on cyrus.  Then,

cd /var/mail
for m in *
do
   mailutil append /var/mail/$m 
{new.cyrus.server/norsh/tls/authuser=cyrusadmin/user=$m}INBOX
done

For this to work your cyrus server needs to support PLAIN+TLS mech
Unfortunately CRAM-MD5 does not support proxy auth and UW libs do not
support DIGEST-MD5.

Hope this help.

-- 
Igor


Re: non-existent msgids & duplicate delivery suppression

2003-06-27 Thread Stephen Grier
On Fri, 2003-06-27 at 16:48, Rob Siemborski wrote:
> On Fri, 27 Jun 2003, Stephen Grier wrote:
> 
> > We use Exim here. The messages do have a Message-Id: header, but with an
> > empty value. I assume Exim will not add or alter the msg-id in this
> > case.
> 
> Any idea why this one user is getting a bunch of messages like this, or
> what might be generating them?  That's probably what wants to be fixed.

There are a number of users receiving messages of this sort, but one
domain in particular from which they originate. I've assumed it's a
problem with their MTA, and have contacted them about it, but it could
also be a broken client, Lotus Notes 5.0.8 according to the X-Mailer:
header.

-- 

Stephen Grier
Systems Developer
Computing Services
Queen Mary, University of London




Archival Process

2003-06-27 Thread pnelson
Recently moved company off exchange onto Cyrus-IMAP.  That went well,
but I have users that miss the pst containers of exchange and outlook. 
They used them to store old messages and remove them from the system and
back them up on some removable medium.  So they would put say all of
2002 messages in a pst file call 2002.pst and then if they ever needed
this they would be able to open it and look through the messages.  

I've decided to try and come up with a way they can do this with the
current IMAP setup.  Quick response isn't really important.  Currently
they have folders under the IMAP inbox like:

INBOX
-2002
--Received
--Sent

So I was thinking that I would just tar up the 2002 directory on the
IMAP server and then remove the directory and move the tar file to a
CDR.

Would it be that easy or am I missing something?




Re: mailbox conversion

2003-06-27 Thread Wil Cooley
On Fri, 2003-06-27 at 10:33, Deks wrote:
> Thanks Wil. I ran the script and it works for me, although at the end
> it generated these errors:
>  
> Use of uninitialized value in subroutine entry at
> /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/Cyrus/IMAP/Admin.pm
> line 106 during global destruction.
> (in cleanup) client is not of type Cyrus::IMAP at
> /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/Cyrus/IMAP/Admin.pm
> line 106 during global destruction.
> 
> It created the users alright but I'm just concerned what might be the
> implication of this error.

Hm, can't say for sure, but I'd guess it has something to do with
object-destruction, which happens automatically at the end of the script
and shouldn't cause any problems.

Wil
-- 
Wil Cooley [EMAIL PROTECTED]
Naked Ape Consultinghttp://nakedape.cc
* * * * * * * Good, fast and cheap: Pick all 3! * * * * * * *
*   Naked Ape Consultinghttp://nakedape.cc  *


signature.asc
Description: This is a digitally signed message part


Re: addusers and bsd2cyrus

2003-06-27 Thread Deks
Hey Joe, aside from the url suggested you might want to check out Wil Cooley's script http://nakedape.cc/wiki/index.cgi/CyrusImapNotes
Robert Urban <[EMAIL PROTECTED]> wrote:
joe ritter wrote:> scripts still refer to the TCL based cyradm. I was> wondering if anyone could share any batch creating and> batch setup scripts with me and or any other tips on> this procedure. Thanks in advance.I just finished an example script for adding users. You may findit helpful:http://www.unix-wissen.de/add-cyrus-usercheers,Rob Urban

Re: mailbox conversion

2003-06-27 Thread Deks
Thanks Wil. I ran the script and it works for me, although at the end it generated these errors:
 
Use of uninitialized value in subroutine entry at /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/Cyrus/IMAP/Admin.pm line 106 during global destruction.    (in cleanup) client is not of type Cyrus::IMAP at /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/Cyrus/IMAP/Admin.pm line 106 during global destruction.
It created the users alright but I'm just concerned what might be the implication of this error.
 
Wil Cooley <[EMAIL PROTECTED]> wrote:
On Thu, 2003-06-26 at 17:50, Deks wrote:> I know this has been asked many times but pardon me for asking it> again. I've been searching the web for a script that creates multiple> mailboxes and converting berkeley mailboxes to cyrus. I've read> oreilly's book but the script is for the older version. I tried using> imap-utils but can't figure how to compile and execute it. Please> direct me to some urls or other info that can be of help.I wrote replacements for the TCL scripts:http://nakedape.cc/wiki/index.cgi/CyrusImapNotesThey worked for me but could have used some improvement, but the job wasover and I haven't had the opportunity to polish them. YMMV.Wil-- Wil Cooley [EMAIL PROTECTED]Naked Ape Consulting http://nakedape.cc* * * * Linux, UNIX, Networking and Security Solutions * * * ** Naked A!
 pe Consulting http://nakedape.cc *> ATTACHMENT part 2 application/pgp-signature name=signature.asc 

Re: addusers and bsd2cyrus

2003-06-27 Thread Robert Urban

joe ritter wrote:
> scripts still refer to the TCL based cyradm. I was
> wondering if anyone could share any batch creating and
> batch setup scripts with me and or any other tips on
> this procedure. Thanks in advance.

I just finished an example script for adding users.  You may find
it helpful:

http://www.unix-wissen.de/add-cyrus-user

cheers,

Rob Urban


Re: non-existent msgids & duplicate delivery suppression

2003-06-27 Thread Phil Chambers

On Fri, 27 Jun 2003 16:52:02 +0100 (BST) David Carter <[EMAIL PROTECTED]> wrote:

> On Fri, 27 Jun 2003, Stephen Grier wrote:
> 
> > We use Exim here. The messages do have a Message-Id: header, but with an
> > empty value.
> 
> Eeep. That's no fun at all.
> 
> > I assume Exim will not add or alter the msg-id in this case.
> 
> I suspect this is the case, though arguably Exim should do something about
> this case. I'll have a chat with Philip the next time that I see him.
> 

Exim can be made to replace a blank message-id with a good one.  Alternatively, if 
you switch on strict header testing it should reject the message because a blank 
message-id does not conform to the header syntax.

Replacing the header will depend on the version of exim.  With exim-4, in the 
relevant transport you could have a headers_remove line which is conditional on the 
message-id being blank, then have a headers_add line, similarly conditional.

I am not an expert, but a message to [EMAIL PROTECTED] should give a detailed 
solution (be sure to say what version of exim you have: "exim -bV" will give it).

Phil.
---
Phil Chambers ([EMAIL PROTECTED])
University of Exeter



addusers and bsd2cyrus

2003-06-27 Thread joe ritter
Hello,
I am tasked with moving 10K users away from
/var/mail/$username UW Imap to Cyrus. I bought the
book Managing IMAP and there is a chapter however the
scripts still refer to the TCL based cyradm. I was
wondering if anyone could share any batch creating and
batch setup scripts with me and or any other tips on
this procedure. Thanks in advance.

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


Re: non-existent msgids & duplicate delivery suppression

2003-06-27 Thread Henrique de Moraes Holschuh
On Fri, 27 Jun 2003, Stephen Grier wrote:
> Yes, the messages do have a Message-Id: header with an empty value. I've
> identified 2 domains which appear to be doing this.
> 
> Would it be reasonable to have lmtpd not add an entry to the deliver db
> for zero-length message-ids?

It would be reasonable for lmtpd to reject delivering such crap with a 5xx
error.  Empty message-id are NOT acceptable anywhere in the email
transmission chain.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Re: non-existent msgids & duplicate delivery suppression

2003-06-27 Thread Rob Siemborski
On Fri, 27 Jun 2003, Stephen Grier wrote:

> We use Exim here. The messages do have a Message-Id: header, but with an
> empty value. I assume Exim will not add or alter the msg-id in this
> case.

Any idea why this one user is getting a bunch of messages like this, or
what might be generating them?  That's probably what wants to be fixed.

-Rob

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



Re: non-existent msgids & duplicate delivery suppression

2003-06-27 Thread David Carter
On Fri, 27 Jun 2003, Stephen Grier wrote:

> We use Exim here. The messages do have a Message-Id: header, but with an
> empty value.

Eeep. That's no fun at all.

> I assume Exim will not add or alter the msg-id in this case.

I suspect this is the case, though arguably Exim should do something about
this case. I'll have a chat with Philip the next time that I see him.

-- 
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.


Re: non-existent msgids & duplicate delivery suppression

2003-06-27 Thread Stephen Grier
On Fri, 2003-06-27 at 14:27, David Carter wrote:
> On Fri, 27 Jun 2003, Stephen Grier wrote:
> 
> > I have noticed that this has been happening on other occasions, where
> > lmtpd does a duplicate_check and then a duplicate_mark on zero length
> > message-ids. This raises the possibility that the server is suppressing
> > messages that are not duplicates, but merely have no message-id header.
> >
> > Has anyone else seen this happening?. If this continues to happen we may
> > have to disable duplicate delivery suppression.
> 
> This seems quite likely. If a message doesn't contain a Message-ID, your
> mail system should really add one before it passes it on to Cyrus.
> 
> Exim does this automatically. I don't know about other MTAs.

We use Exim here. The messages do have a Message-Id: header, but with an
empty value. I assume Exim will not add or alter the msg-id in this
case.

-- 

Stephen Grier
Systems Developer
Computing Services
Queen Mary, University of London




Re: non-existent msgids & duplicate delivery suppression

2003-06-27 Thread Stephen Grier
On Fri, 2003-06-27 at 14:10, Sebastian Hagedorn wrote:
> -- Stephen Grier <[EMAIL PROTECTED]> is rumored to have mumbled on 
> Freitag, 27. Juni 2003 13:47 Uhr +0100 regarding non-existent msgids & 
> duplicate delivery suppression:
> 
> > I have noticed that this has been happening on other occasions, where
> > lmtpd does a duplicate_check and then a duplicate_mark on zero length
> > message-ids. This raises the possibility that the server is suppressing
> > messages that are not duplicates, but merely have no message-id header.
> 
> That in itself is very weird. Every MTA along the way should add a 
> message-id if there isn't one. Or are you saying there *is* a message-id, 
> but it's empty? That would be horribly broken, but might explain why one 
> isn't added by the MTAs ...

Yes, the messages do have a Message-Id: header with an empty value. I've
identified 2 domains which appear to be doing this.

Would it be reasonable to have lmtpd not add an entry to the deliver db
for zero-length message-ids?

-- 

Stephen Grier
Systems Developer
Computing Services
Queen Mary, University of London




Re: problems with imap and imsp installation

2003-06-27 Thread Richard Hopkins


--On Friday, June 27, 2003 9:47 AM -0400 Rob Siemborski 
<[EMAIL PROTECTED]> wrote:

On Fri, 27 Jun 2003, Phil Chambers wrote:

 The DES Kerberos library is required for Kerberos support

when I run configure.  Any ideas how I can get round this?
Presumably you want to specify --with-auth=unix.

And I'd also recommend a --without-ldap on Solaris systems unless you 
intend trying to use it (and failing miserably). I run configure with a...

./configure --with-auth=unix --without-ldap

Richard


Re: problems with imap and imsp installation

2003-06-27 Thread Phil Chambers

On Fri, 27 Jun 2003 09:47:25 -0400 (EDT) Rob Siemborski <[EMAIL PROTECTED]> wrote:

> On Fri, 27 Jun 2003, Phil Chambers wrote:
> 
> >  The DES Kerberos library is required for Kerberos support
> >
> > when I run configure.  Any ideas how I can get round this?
> 
> Presumably you want to specify --with-auth=unix.
> 
> -Rob

Sorry, I should have given all the options I used:

  --with-auth=unix --without-krb --dissable-gssapi

Phil.
---
Phil Chambers ([EMAIL PROTECTED])
University of Exeter



RE: problems with imap and imsp installation

2003-06-27 Thread Raine, David
In fairness, the discussion about cyrus documentation  and the info about
apple 
that was triggered by your message was also constructive, at least for me...

:-)

-Original Message-
From: Phil Chambers [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 27, 2003 2:32 PM
To: [EMAIL PROTECTED]
Subject: Re: problems with imap and imsp installation


Despite a flurry of messages which my original message triggered, I have
received 
just one constructive response.  Thanks to Richard Hopkins.

I still need ideas on sorting out the dynamic loading problem I have with
cyradm 
though.

Since my message I have installed autoconf, m4, etc and had a go with the
1.6a3 
version of IMSP from the cvs and built the configure files.  However, even
though I 
have used --disable-gssapi and --without-krb I get

 The DES Kerberos library is required for Kerberos support

when I run configure.  Any ideas how I can get round this?

Phil.
---
Phil Chambers ([EMAIL PROTECTED])
University of Exeter


--
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.




Re: problems with imap and imsp installation

2003-06-27 Thread Rob Siemborski
On Fri, 27 Jun 2003, Phil Chambers wrote:

>  The DES Kerberos library is required for Kerberos support
>
> when I run configure.  Any ideas how I can get round this?

Presumably you want to specify --with-auth=unix.

-Rob

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



Re: non-existent msgids & duplicate delivery suppression

2003-06-27 Thread David Carter
On Fri, 27 Jun 2003, Stephen Grier wrote:

> I have noticed that this has been happening on other occasions, where
> lmtpd does a duplicate_check and then a duplicate_mark on zero length
> message-ids. This raises the possibility that the server is suppressing
> messages that are not duplicates, but merely have no message-id header.
>
> Has anyone else seen this happening?. If this continues to happen we may
> have to disable duplicate delivery suppression.

This seems quite likely. If a message doesn't contain a Message-ID, your
mail system should really add one before it passes it on to Cyrus.

Exim does this automatically. I don't know about other MTAs.

-- 
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.


Re: problems with imap and imsp installation

2003-06-27 Thread Phil Chambers
Despite a flurry of messages which my original message triggered, I have received 
just one constructive response.  Thanks to Richard Hopkins.

I still need ideas on sorting out the dynamic loading problem I have with cyradm 
though.

Since my message I have installed autoconf, m4, etc and had a go with the 1.6a3 
version of IMSP from the cvs and built the configure files.  However, even though I 
have used --disable-gssapi and --without-krb I get

 The DES Kerberos library is required for Kerberos support

when I run configure.  Any ideas how I can get round this?

Phil.
---
Phil Chambers ([EMAIL PROTECTED])
University of Exeter



Re: non-existent msgids & duplicate delivery suppression

2003-06-27 Thread Sebastian Hagedorn
-- Stephen Grier <[EMAIL PROTECTED]> is rumored to have mumbled on 
Freitag, 27. Juni 2003 13:47 Uhr +0100 regarding non-existent msgids & 
duplicate delivery suppression:

I have noticed that this has been happening on other occasions, where
lmtpd does a duplicate_check and then a duplicate_mark on zero length
message-ids. This raises the possibility that the server is suppressing
messages that are not duplicates, but merely have no message-id header.
That in itself is very weird. Every MTA along the way should add a 
message-id if there isn't one. Or are you saying there *is* a message-id, 
but it's empty? That would be horribly broken, but might explain why one 
isn't added by the MTAs ...
--
Sebastian Hagedorn M.A. - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587



non-existent msgids & duplicate delivery suppression

2003-06-27 Thread Stephen Grier
Hi,

We are currently running cyrus-imapd-2.1.11 with duplicate delivery
suppression enabled.

One of our users complained that they were not receiving their mail.
Having looked at the logs I noticed a string of entries like the
following:

Jun 25 13:11:43 machine lmtpd[18521]:
duplicate_check: 
user.X  1056537904
Jun 25 13:11:43 machine lmtpd[18521]: dupelim: eliminated duplicate
message to user.X id

Notice that the message-id is missing. The entries correspond to mail
sent by the same sender which do not contain a message-id header. It
appears that lmtpd has been suppressing mail from this sender, because
it assumes that all mail with a zero length message-id is a duplicate of
the last.

I have noticed that this has been happening on other occasions, where
lmtpd does a duplicate_check and then a duplicate_mark on zero length
message-ids. This raises the possibility that the server is suppressing
messages that are not duplicates, but merely have no message-id header.

Has anyone else seen this happening?. If this continues to happen we may
have to disable duplicate delivery suppression.

Thanks

-- 

Stephen Grier
Systems Developer
Computing Services
Queen Mary, University of London




* U5 VirusKill * Re: mailbox conversion

2003-06-27 Thread Laurent LAVAUD

U5 VirusKill 2.3 has modified this mail as it contained a PC-executable attachment.

~ ~ ~ ~ ~

You should probably simply ignore this mail. If you really expected somebody to send 
you an executable attachment please 
mail back to this person and ask him/her to zip the file first.

Below is given the first 60 lines of the mail that was sent to you with an executable 
file attached.

As more than 99.999% of executable attachments are viruses, U5 VirusKill 2.3 has 
deactivated the attachment and truncated the mail.

If you haven't done it yet please read http://www.u5.com/gen/ser/u5vk.htm

Best regards

U5com Co Ltd.
Security Division

~ ~ ~ ~ ~

>Return-Path: <[EMAIL PROTECTED]>
>Received: from lists2.andrew.cmu.edu (LISTS2.andrew.cmu.edu [128.2.10.216])
>   by pb10.pair.com (Postfix) with ESMTP id CA53E6CE12B
>   for <[EMAIL PROTECTED]>; Fri, 27 Jun 2003 08:27:14 -0400 (EDT)
>Received: (from [EMAIL PROTECTED])
>   by lists2.andrew.cmu.edu (8.12.9/8.12.0.Beta16) id h5RC4ksZ013821
>   for info-cyrus-list; Fri, 27 Jun 2003 08:04:46 -0400
>Received: from slack9.u-bordeaux2.fr (slack9.u-bordeaux2.fr [193.51.8.14])
>   by lists2.andrew.cmu.edu (8.12.9/8.12.0.Beta16) with ESMTP id h5RC4jKO013818
>   for <[EMAIL PROTECTED]>; Fri, 27 Jun 2003 08:04:45 -0400
>Received: from localhost (slack9.u-bordeaux2.fr [193.51.8.14] (may be forged))
>   by slack9.u-bordeaux2.fr (8.12.9/8.12.9) with ESMTP id h5RCCwoq028644;
>   Fri, 27 Jun 2003 14:12:58 +0200
>Received: from slack9.u-bordeaux2.fr ([193.51.8.14])
> by localhost (slack9 [193.51.8.14]) (amavisd-new, port 10024) with LMTP
> id 27024-04; Fri, 27 Jun 2003 14:12:57 +0200 (CEST)
>Received: from matrix.u-bordeaux2.fr (apoc.u-bordeaux2.fr [193.51.8.121])
>   by slack9.u-bordeaux2.fr (8.12.9/8.12.9) with ESMTP id h5RCCqeV028638;
>   Fri, 27 Jun 2003 14:12:52 +0200
>Message-Id: <[EMAIL PROTECTED]>
>X-Sender: [EMAIL PROTECTED] (Unverified)
>X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
>Date: Fri, 27 Jun 2003 14:04:39 +0200
>To: Deks <[EMAIL PROTECTED]>
>From: Laurent LAVAUD <[EMAIL PROTECTED]>
>Subject: Re: mailbox conversion
>Cc: [EMAIL PROTECTED]
>In-Reply-To: <[EMAIL PROTECTED]>
>Mime-Version: 1.0
>Content-Type: multipart/mixed;
>   boundary="=_16098359==_"
>X-Virus-Scanned: by amavisd-new at u-bordeaux2.fr
>Sender: [EMAIL PROTECTED]
>Precedence: bulk
>
>--=_16098359==_
>Content-Type: text/plain; charset="iso-8859-1"; format=flowed
>Content-Transfer-Encoding: quoted-printable
>
>A 17:50 26/06/2003 -0700, vous avez =E9crit :
>>I know this has been asked many times but pardon me for asking it again.=20
>>I've been searching the web for a script that creates multiple mailboxes=20
>>and converting berkeley mailboxes to cyrus. I've read oreilly's book but=20
>>the script is for the older version. I tried using imap-utils but can't=20
>>figure how to compile and execute it. Please direct me to some urls or=20
>>other info that can be of help.
>>
>>Thanks.
>
>I've arranged 2 o'reilly scripts in order to make it work for 2.1.13
>My 2000 accounts have been converted in about 1h30 on a PIII800Mhz, 384 M=20
>RAM and 2 slow IDE disks
>It only imports inbox, not all other folders (if you had a wu imap server=20
>for example)
>
>It's written in perl and shell
>
>Hope that can help someone.
>
>Tell me if this message bored you.


Re: mailbox conversion

2003-06-27 Thread Laurent LAVAUD
A 17:50 26/06/2003 -0700, vous avez écrit :
I know this has been asked many times but pardon me for asking it again. 
I've been searching the web for a script that creates multiple mailboxes 
and converting berkeley mailboxes to cyrus. I've read oreilly's book but 
the script is for the older version. I tried using imap-utils but can't 
figure how to compile and execute it. Please direct me to some urls or 
other info that can be of help.

Thanks.
I've arranged 2 o'reilly scripts in order to make it work for 2.1.13
My 2000 accounts have been converted in about 1h30 on a PIII800Mhz, 384 M 
RAM and 2 slow IDE disks
It only imports inbox, not all other folders (if you had a wu imap server 
for example)

It's written in perl and shell

Hope that can help someone.

Tell me if this message bored you.

berkeley2cyrus
Description: Binary data


cpmsg
Description: Binary data


lmtp problem

2003-06-27 Thread rahul
Please , 
anybody tell me how to use lmtp in cyrus 1.6.24 for mail filtering ..
 I am using postfix 1.1.11 ..
I have tried following on Redhat 7.2 machine ... 

In /etc/xinetd.d/lmtp contains
==
service lmtp
{
disable = no
socket_type = stream
protocol= tcp
wait= no
user= cyrus
server  = /usr/cyrus/bin/deliver -e   -l
}

==

In /etc/postfix/main.cf
===
mailbox_transport = lmtp
lmtp_tcp_port = 24
==

In /etc/services  entry is 
==
lmtp  24/tcp
==

In /etc/postfix/master.cf

cyrus unix  -   n   n   -   -  pipe flags=R user=cyrus 
argv=/usr/cyrus/bin/deliver -l 

 -e -m ${extension} ${user}
==

When i tried to send mail then 

tail -f /var/log/maillog contains
==
Jun 27 15:12:31 test postfix/lmtp[2425]:5DA506C8B1: to=<[EMAIL PROTECTED]>, 
relay=none, 

delay=79045, status=deferred (connect to mail.sirindia2.com[192.168.1.6]: Connection 

refused)
==

So , How i configure lmtp ???

Any Help will be appreciated 


Regards
Rahul ..
 


Re: problems with imap and imsp installation

2003-06-27 Thread Richard Hopkins
For Solaris systems (7 and 8; not doing 9 yet) we now routinely install 
(usually Sun packages, but some from source)...

autoconf
bc
automake
bison
flex
gcc
gdbm
gzip
m4
make
perl
tcl
tcp_wrappers
zlib
...which tends to make life much easier building other softare.

For Cyrus IMSP you do need SASL v1, but this can be installed alongside 
SASL v2, so you can have your IMAP using v2 and IMSP using v1.

When cofiguring IMSP v1.6a3, you will get an error "cat: cannot open 
./config.h.in" but can safely ignore this in my experience.

Richard

--On Thursday, June 26, 2003 10:53 AM -0500 Ted Fines 
<[EMAIL PROTECTED]> wrote:

Phil,

The SASL/IMAP/IMSP installation is about as difficult as any I have run
across.  While the amount of work on Project Cyrus is very impressive,
thorough documentation of it just doesn't seem to be available.
If you do manage to get a SASL/IMAP/IMSP installation running, maybe
you'd care to put together a nice HOW-TO for the rest of us?
I gave up trying to use the new IMSP that uses SASL.  I simply could not
get it to compile on ANY platform (Solaris, Linux, FreeBSD were tried).
I use an older version with a patch that allows it to authenticate to the
imap server.  Still, the imsp daemon crashed very frequently on Solaris
8. I recompiled it -- exactly the same way -- on FreeBSD, and it is very
stable.
Just try to get it all working with LDAP too!

You wrote:
Surely, thousands of people must have installed the cyrus imap/imsp
combination on  Solaris 8 without anything like this trouble?
I think that's optimistic.  The number of imsp installations *might* be
in the triple digits, but I doubt even that.  I have absolutely to
quantitative data to back up that statement, of course! :)
You can get autoconf, autoheader, etc. packages from
, but you probably already knew that.
Ted

--On Thursday, June 26, 2003 4:26 PM +0100 Phil Chambers
<[EMAIL PROTECTED]> wrote:
I have just installed a new Sun box running Solaris 8 and expected that
installing  the cyrus IMAP and IMSP packages would be simple!
First I installed BerkleyDB.3.3 and Perl and they went OK.

Then I picked up cyrus-sasl -2.1.13 and installed that once I sorted out
the  --with-... and --disable-... options I needed.  Not too bad.
Then cyrus-imapd-2.1.13 and that seemed to install OK, again, once I had
sorted out  the configure options I needed.  The IMAP and POP server side
seem to run and  respond to telnet connections and imtest worked.
I then tried to use cyradm to add some users and that is where it went
downhill! I get the following
Can't load
'/usr/perl5/site_perl/5.005/sun4-solaris/auto/Cyrus/IMAP/IMAP.so' for
module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file
/usr/perl5/site_perl/5.005/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: symbol
sasl_client_init: referenced symbol not found at
/usr/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.  at
/usr/perl5/site_perl/5.005/sun4-solaris/Cyrus/IMAP/Admin.pm line 44 BEGIN
failed--compilation aborted at
/usr/perl5/site_perl/5.005/sun4-solaris/Cyrus/IMAP/Admin.pm line 44.
BEGIN failed--compilation aborted at
/usr/perl5/site_perl/5.005/sun4-solaris/Cyrus/IMAP/Shell.pm line 60.
BEGIN failed--compilation aborted.
As far as I can make out, this is a dynamic library problem, but I have
completely  failed to find a cure for it.
Help with that will be most welcome.

I then moved on to IMSP and downloaded cyrus-imspd-v1.6a3 and tried to
build that.   This failed because there is no config.h.in present!  I
looked at v1.5.28 and that  has the same problem.  On further reading I
found that both these versions need  version 1.5.x of sasl.  I had just
installed 2.1.13 because that is what IMAP needs!  So I downloaded
cyrusimsp from cvs to get a version which would work with 2.1.13.   It
now seems I need autoconf (and aclocal and autoheader?) before I can make
more  progress with that.
Will this never end?

Surely, thousands of people must have installed the cyrus imap/imsp
combination on  Solaris 8 without anything like this trouble?
Phil.
---
Phil Chambers ([EMAIL PROTECTED])
University of Exeter






Richard Hopkins,
Information Services,
Computer Centre,
University of Bristol,
Bristol, BS8 1UD, UK
Tel +44 117 928 7859
Fax +44 117 929 1576