Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230

2007-05-09 Thread Timo Sirainen
On Tue, 2007-05-01 at 02:54 +0200, Luca Corti wrote:
 On Mon, 2007-04-23 at 12:07 -0700, Troy Engel wrote: 
  Try running the script under strace (i.e. 'strace -e trace=file perl 
  /script.pl') or truss to watch the perl script and see what file or 
  directory it's trying to open. That should provide a quick clue.
 
 I was just testing the migration script, encountered the same issue and
 just added a print before the open || die at line 230. It tries to open
 the file Maildir/courierimapkeywords/:list which seems to be missing and
 probably not mandatory.
 
 I'm on Courier-IMAP 4.1.1. The patch below solves this. Is this a bug in
 the script?

I solved it a bit differently, uploaded v1.0.1 to
http://dovecot.org/tools/



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


Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230

2007-04-30 Thread Luca Corti
On Mon, 2007-04-23 at 12:07 -0700, Troy Engel wrote: 
 Try running the script under strace (i.e. 'strace -e trace=file perl 
 /script.pl') or truss to watch the perl script and see what file or 
 directory it's trying to open. That should provide a quick clue.

I was just testing the migration script, encountered the same issue and
just added a print before the open || die at line 230. It tries to open
the file Maildir/courierimapkeywords/:list which seems to be missing and
probably not mandatory.

I'm on Courier-IMAP 4.1.1. The patch below solves this. Is this a bug in
the script?

--- courier-dovecot-migrate.pl  Tue Apr  3 05:48:33 2007
+++ courier-dovecot-migrate.pl  Tue May  1 02:50:24 2007
@@ -227,7 +227,7 @@
   
   my (%keywords, %files);
   my $f;
-  open ($f, $keyword_dir/:list) || die $!;
+  if (open ($f, $keyword_dir/:list)) {
   # read keyword names
   while ($f) {
 chomp $_;
@@ -247,7 +247,7 @@
 }  
   }
   close $f;
-  
+  }
   # read updates from the directory
   my %updates;
   foreach ($keyword_dir/*) {


ciao

Luca



Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230

2007-04-30 Thread Troy Engel

Luca Corti wrote:


I was just testing the migration script, encountered the same issue and
just added a print before the open || die at line 230. It tries to open
the file Maildir/courierimapkeywords/:list which seems to be missing and
probably not mandatory.


Aha, thanks -- I too encountered the problem this weekend (deployed 
Dovecot server to production, migrated all our users) and noticed it was 
with the accounts that were either very new or never used; I suspect the 
assumption that this file is there is based on the account being in 
active use with Courier.


-te

--
Troy Engel | Systems Engineer
Fluid Inc. | http://www.fluid.com


Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230

2007-04-23 Thread Charles Marcus

Can anyone tell me what the problem is here ? And how to deal with it ?


Not without more details... like, maybe what version of dovecot you are 
using? Output of 'dovecot -n'?



IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the
CRIMES ACT 1914.


I disagree... once you send an email to this list, it is no longer your 
property.


If you want to retain ownership of your email, then you must get an 
agreement *in writing* from each and every person you send an email to 
*prior* to sending them email, otherwise your claim of ownership is 
irrelevant and unenforceable.



If you have received this email in error, you are requested to
contact the sender and delete the email.


Ok - I am now officially contacting you and telling you that I have no 
idea whether or not I received this email in error.


Please send $5,000.00 dollars U.S. to me immediately, and I will delete 
the email - otherwise, I will forward it to everyone in my email address 
book.


I *hate* email disclaimers...

--

Best regards,

Charles


Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230

2007-04-23 Thread Wilkinson, Alex
0n Mon, Apr 23, 2007 at 08:53:09AM -0400, Charles Marcus wrote: 

I *hate* email disclaimers...

Our Exchange servers addthat footer to every email that goes out.
There is nothing I can do to stop it :(

 -aW

IMPORTANT: This email remains the property of the Australian Defence 
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 
1914.  If you have received this email in error, you are requested to contact 
the sender and delete the email.




Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230 / OT disclaimers....signatures

2007-04-23 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wilkinson, Alex schrieb:
 0n Mon, Apr 23, 2007 at 08:53:09AM -0400, Charles Marcus wrote: 
 
 I *hate* email disclaimers...
 
 Our Exchange servers addthat footer to every email that goes out.
 There is nothing I can do to stop it :(
 
  -aW
 
 IMPORTANT: This email remains the property of the Australian Defence 
 Organisation and is subject to the jurisdiction of section 70 of the CRIMES 
 ACT 1914.  If you have received this email in error, you are requested to 
 contact the sender and delete the email.
 
Be aware, its now law in the EU to include signatures to buisness mails,
after all youre right other disclaimers doesnt make sense by blowing up
mails

- --
Mit freundlichen Gruessen
Best Regards

Robert Schetterer

https://www.schetterer.org
Munich/Bavaria/Germany
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGLLVYfGH2AvR16oERAujpAJ9b8N1dEpzvWfV3/gNXfAX1Rnjg2QCfRUcP
D0s0fEztAu7BNIe9SwOK7Z4=
=taZI
-END PGP SIGNATURE-



Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230 / OT disclaimers....signatures

2007-04-23 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Scott Silva schrieb:
 Robert Schetterer spake the following on 4/23/2007 6:32 AM:
 Wilkinson, Alex schrieb:
 0n Mon, Apr 23, 2007 at 08:53:09AM -0400, Charles Marcus wrote: 
 I *hate* email disclaimers...
 Our Exchange servers addthat footer to every email that goes out.
 There is nothing I can do to stop it :(
  -aW
 IMPORTANT: This email remains the property of the Australian Defence 
 Organisation and is subject to the jurisdiction of section 70 of the CRIMES 
 ACT 1914.  If you have received this email in error, you are requested to 
 contact the sender and delete the email.
 Be aware, its now law in the EU to include signatures to buisness mails,
 after all youre right other disclaimers doesnt make sense by blowing up
 mails

 But isn't the law that the signatures be the info you would find on a company
 letterhead, not an un-enforcible legalese disclaimer?
 
 I would think the legal signature would be something like ;
 
 IMPORTANT: This email originated from the Australian Defence Organisation
 City, Province/State , Australia
 Telephone
 Fax
 Other administrative info
 Maybe legal incorporation or business numbers
 
Hi yes, something like this , is what i meant, i dont wanted to discuss
or flame the sense of disclaimers signatures here anyway, my intention
was just to make clear that some kind of signatures or/and disclaimers
may now be a must have in some regions in some cases.

- --
Mit freundlichen Gruessen
Best Regards

Robert Schetterer

https://www.schetterer.org
Munich/Bavaria/Germany
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGLPAofGH2AvR16oERAmhhAJ47C8g+jqAYJ/zyOP+B+cZBYN/TogCcCSIf
3gmVRvr42fq/6aytiQmhpTI=
=HbF+
-END PGP SIGNATURE-



Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230

2007-04-23 Thread Troy Engel

Wilkinson, Alex wrote:


#/usr/bin/perl courier-dovecot-migrate.pl --recursive
 Finding maildirs under .
 ./courierimapuiddb: OK
 No such file or directory at courier-dovecot-migrate.pl line 230.


Try running the script under strace (i.e. 'strace -e trace=file perl 
/script.pl') or truss to watch the perl script and see what file or 
directory it's trying to open. That should provide a quick clue.


-te

--
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com


Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230

2007-04-23 Thread Charles Marcus

Wilkinson, Alex wrote:
0n Mon, Apr 23, 2007 at 08:53:09AM -0400, Charles Marcus wrote: 


I *hate* email disclaimers...

Our Exchange servers addthat footer to every email that goes out.
There is nothing I can do to stop it :(


No worries - I figured as much, and should have said that comment wasn't 
directed at you personally.


soapbox
I hate PC crap like that... why can't people just be responsible and 
accountable for their actions? Period.

/soapbox

--

Best regards,

Charles


Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230

2007-04-23 Thread Charles Marcus

If you have a policy of this nature, then it is incumbent upon you to
post via an address that doesn't add it. It's clearly obvious that the
disclaimer is meaningless lawyer-speak in the context of a mailing
list post.

The OP should arrange to use another mail posting route such as a
webmail address, this sort of thing is poor manners and should be
resisted before this crap buries the usefulness of mail in pointless
drivel.


While I agree with the sentiment, I'm not sure how practical it is...

Kind of like complaining about top-posting or HTML email... it's there, 
and it isn't going anywhere. When you let it bother you - it only 
bothers *you*...


--

Best regards,

Charles


Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230

2007-04-23 Thread Brian Morrison
On Mon, 23 Apr 2007 15:25:57 -0400
Charles Marcus [EMAIL PROTECTED] wrote:

  If you have a policy of this nature, then it is incumbent upon you to
  post via an address that doesn't add it. It's clearly obvious that the
  disclaimer is meaningless lawyer-speak in the context of a mailing
  list post.
  
  The OP should arrange to use another mail posting route such as a
  webmail address, this sort of thing is poor manners and should be
  resisted before this crap buries the usefulness of mail in pointless
  drivel.
 
 While I agree with the sentiment, I'm not sure how practical it is...

If I see this sort of thing after I've told someone they should not be
doing it, they go in the kill file. That's then one more person who
won't be helped, and others who won't see useful suggestions if I have
them, I only have so much time to help and doing so for someone who
can't see the clash between their disclaimer and where they're posting
is time I don't have at all.

 
 Kind of like complaining about top-posting or HTML email... it's there, 
 and it isn't going anywhere. When you let it bother you - it only 
 bothers *you*...
 

Easy, to posters and html-only mail goes straight in the bin.

And if you think I'm a net-Nazi, I can introduce you to people who can
peel the paint off a tank at 100 yards just by opening their mouths to
rant :)

-- 

Brian Morrison

bdm at fenrir dot org dot uk

   Arguing with an engineer is like wrestling with a pig in the mud;
after a while you realize you are muddy and the pig is enjoying it.

GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html


Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230

2007-04-23 Thread Charles Marcus

And if you think I'm a net-Nazi, I can introduce you to people who can
peel the paint off a tank at 100 yards just by opening their mouths to
rant :)


Heh - no, just rigid/strict..


   Arguing with an engineer is like wrestling with a pig in the mud;
after a while you realize you are muddy and the pig is enjoying it.


Thanks, that one went in my collection... ;)

--

Best regards,

Charles


Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230

2007-04-23 Thread Curtis Maloney

Wilkinson, Alex wrote:
0n Mon, Apr 23, 2007 at 08:53:09AM -0400, Charles Marcus wrote: 


I *hate* email disclaimers...

Our Exchange servers addthat footer to every email that goes out.
There is nothing I can do to stop it :(


It pains me to know my countries military is wasting time and money on 
sub-standard software like Exchange.


However, the fact you're posting to this list gives me hope you're correcting 
the situation :)


--
Curtis Maloney
[EMAIL PROTECTED]