Moving mail to a new machine
I previously had my imap server running on one machine that I had set up myself. I had several folders beside my inbox. I recently built a new machine with a new version of Redhat and I've built and installed the latest version of cyrus. I have cyrus running and configured but I'm having a heck of a time getting to my old mail files. What I've done is copy the whole directory tree of my mail files to the directory /var/spool/imap/g/user/gmc. I've gone into cyradm and created a mailbox called user.gmc and set the acl to write. I use mozilla for email and I was able to set it up and I can now see the emails from my old inbox. The problem is that I can't figure out how to get to the email that are in the other folders. They're in directories under the directory stated above. Can anyone help with this bit? Was there an easier way to do this? Gordon
Re: Using email address as login name
Gerard Ceraso wrote: I have seen some places where the login name for the email would be [EMAIL PROTECTED] so for example if I wanted to login my login for this account would be [EMAIL PROTECTED] How is this done with cyrus, I tried and it didn't work. Am I missing something? Is it possible with cyrus? It's possible with version 2.2, you can log in using the default domain that Cyrus is configured for ([EMAIL PROTECTED]) or any virtual domain ([EMAIL PROTECTED]).
Using email address as login name
I have seen some places where the login name for the email would be [EMAIL PROTECTED] so for example if I wanted to login my login for this account would be [EMAIL PROTECTED] How is this done with cyrus, I tried and it didn't work. Am I missing something? Is it possible with cyrus? ~gerard http://devslash.org
cyrus on solaris
hi all, after compiling cyrus on solaris when i run cyradm --help i get this error : police root 35 : cyradm --help 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 SSL_read: 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. help needed
Re: X-Status processing for reconstruct
On Sat, 11 Oct 2003, Rayed Alrashed wrote: > I am facing the same problem, I was thinking of a small program that > login to each user and scan the X-Status for all emails in all folders, > and apply the change to IMAP, but I guess it will take forever to finish > for large number of users. If you are really migrating from UW, you can use mailutil to do the entier transfer via IMAP, and that will get all of the state correct. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper
Re: how to use cyradm in a not-so-interactive way?
Hi Use the following scripts #!/usr/bin/perl use Cyrus::IMAP::Admin; my $client=Cyrus::IMAP::Admin->new('yourhost'); $client->authenticate(-authz=>'', -user=>'admin', -password=>'yourpasswordhere', -mechanism=>'PLAIN'); my $result=$client->createmailbox("$mailbox"); Regards Kai > I am trying to automate some tasks in order to create new mail > accounts... I am using Postfix, Cyrus-IMAP and MySQL. > Maybe there is a quite obvious answer to this question but I have no > idea about Perl... > I would like to find a way to create users in a not-so-interactive way > like introducing directly these commands (for example). To do this I > have to connect to cyradm (e.g.,cyradm --user cyrus --server localhost) > from the terminal and then introduce: > > localhost> cm user.test0004 > localhost> sam user.test0004 cyrus lrswipcda > localhost> sq user.test0004 2 > localhost> quit > > In the man page of cyradm it says it can be used in this other way: > perl -MCyrus::IMAP::Shell -e 'run("myscript")' > but, honestly, I can not understand how to do this. What should be the > content of "myscript"? how to connect to cyradm in this case? how to > provide the password? > > Any help would be very grateful! > > Greetings! > Javier Cano __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/
how to use cyradm in a not-so-interactive way?
Hi there! I am trying to automate some tasks in order to create new mail accounts... I am using Postfix, Cyrus-IMAP and MySQL. Maybe there is a quite obvious answer to this question but I have no idea about Perl... I would like to find a way to create users in a not-so-interactive way like introducing directly these commands (for example). To do this I have to connect to cyradm (e.g.,cyradm --user cyrus --server localhost) from the terminal and then introduce: localhost> cm user.test0004 localhost> sam user.test0004 cyrus lrswipcda localhost> sq user.test0004 2 localhost> quit In the man page of cyradm it says it can be used in this other way: perl -MCyrus::IMAP::Shell -e 'run("myscript")' but, honestly, I can not understand how to do this. What should be the content of "myscript"? how to connect to cyradm in this case? how to provide the password? Any help would be very grateful! Greetings! Javier Cano
Re: About mailbox's upper case
> Kai wrote: >> How can I let Cyrus ignore the case of mailbox ? I mean ,I want >> Cyrus treating the upper case's mailbox and lower case's mailbox as the >> same recipient if their spelling are same. >> Any advise would be appreciated. > > Another way of getting around this is to have your MTA rewrite the > address to all lowercase. I use postfix and have a regular expression > virtual_maps file to do this: Thanks for the hint. However, this doesn't help if your users try to login with mixed case. That's usually no problem until you're using caseless authentication service like LDAP. > > in /etc/postfix/main.cf: > virtual_maps = regexp:/etc/postfix/virtual_regexp > > in /etc/postfix/virtual_regexp: > /^([EMAIL PROTECTED])$/ $1 > > This will take any username and change it to lowercase before handing it > to cyrus. I'm sure other MTAs can do similar things, so it may be an > option for you. Good luck. > > ///Jason > >
Re: About mailbox's upper case
Kai wrote: How can I let Cyrus ignore the case of mailbox ? I mean ,I want Cyrus treating the upper case's mailbox and lower case's mailbox as the same recipient if their spelling are same. This might help.. http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&msg=25220