Preserving seen state when converting from mbox

Etienne Goyer etienne.goyer at linuxquebec.com
Fri Sep 26 14:04:06 EDT 2003


Thank you very much, work perfectly.

On Fri, Sep 26, 2003 at 11:43:15AM -0400, Igor Brezac wrote:
> 
> On Fri, 26 Sep 2003, Etienne Goyer wrote:
> 
> > On Thu, Sep 25, 2003 at 03:04:48PM -0400, Igor Brezac wrote:
> > >
> > > On Thu, 25 Sep 2003, Etienne Goyer wrote:
> > >
> > > > On Thu, Sep 25, 2003 at 01:29:30PM -0400, Igor Brezac wrote:
> > > > > mailutil append /path/to/mbox {new.cyrus.server/user=mbox_cyrus_user/authuser=proxy_user/norsh}INBOX
> > > >
> > > > You made my day !!!  Exactly what I needed.
> > >
> > > You will be prompted for the 'proxy_user' password.  You can hardcode the
> > > password with a small change in mailutil.c.  Let me know if you need help
> > > with this...
> >
> > I'd like help, if possible.  The code is pretty dense, so if you know
> > where I have to plug the password, that would save me ton of time.
> >
> 
> Try:
> 
> --- mailutil.c.orig     Fri Sep 26 11:39:12 2003
> +++ mailutil.c  Fri Sep 26 11:39:38 2003
> @@ -598,7 +598,7 @@
>      username[NETMAXUSER-1] = '\0';
>      if (s = strchr (username,'\n')) *s = '\0';
>    }
> -  strcpy (password,getpass ("password: "));
> +  strcpy (password, "your_pass");
>  }
> 
> 
> -- 
> Igor

-- 
Etienne Goyer                    Linux Québec Technologies Inc.
http://www.LinuxQuebec.com       etienne.goyer at linuxquebec.com




More information about the Info-cyrus mailing list