[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ispman-users
Subject:    RE: [Ispman-users] Ispman - Cyrus mailbox_prefix change?
From:       Atif Ghaffar <aghaffar () developer ! ch>
Date:       2003-05-21 15:25:48
[Download RAW message or body]

You are still using the "." instead of "/" in mailbox.Trash etc.

So better to leave it site-specific. 

best regards.





-- 
Atif Ghaffar



Quoting Jeffrey Bender <contact@kwantek.com>:

> Atif,
> 
> Anyway to have the create_mailbox_cyrus.lib still create the Sent,
> Trash, and Drafts using the unixhierarchy?
> 
> (might not be syntactically correct)
> If ($mailbox_prefix ~= /user/) {
> 	$ispman->{'imap'}->add("$mailbox_prefix" . "$mailbox.Sent",
> $hostname);
>       $ispman->{'imap'}->add("$mailbox_prefix" . "$mailbox.Drafts",
> $hostname);
>       $ispman->{'imap'}->add("$mailbox_prefix" . "$mailbox.Trash",
> $hostname);
> }
> 
> Or would this not work?
> 
> 
> 
> > create_mailbox_cyrus.lib
> >   Will only create the top level mailbox and not folders such as
> >   Sent, Trash, Drafts etc since that requires information about
> the
> >   heirachy separator.
> 
> > -----Original Message-----
> > From: ispman-users-admin@lists.sourceforge.net
> [mailto:ispman-users-
> > admin@lists.sourceforge.net] On Behalf Of Atif Ghaffar
> > Sent: Tuesday, May 20, 2003 3:03 PM
> > To: ispman-users@lists.sourceforge.net
> > Subject: RE: [Ispman-users] Ispman - Cyrus mailbox_prefix change?
> > 
> > Thanks for submitting the bug.
> > 
> > I have fixed it in CVS (REL_0_9_7 and HEAD)
> > Please cvs update the following files
> > 
> > ispman/lib/create_mailbox_cyrus.lib
> > ispman/lib/ISPMan/IMAP.pm
> > ispman/lib/ISPMan/UserMan.pm
> > 
> > Changes:
> > UserMan.pm
> >   Will send prefix/mailbox name when
> >   creating mailbox
> >   creating quota
> >   updating quota
> >   deleting mailbox
> > 
> > IMAP.pm
> >   Will simply create/delete/update the mailbox name as it comes.
> >   It wont prefix it with anything.
> > 
> > create_mailbox_cyrus.lib
> >   Will only create the top level mailbox and not folders such as
> >   Sent, Trash, Drafts etc since that requires information about
> the
> >   heirachy separator.
> > 
> > 
> > 
> > 
> > thanks.
> > 
> > --
> > Atif Ghaffar
> > 
> > 
> > 
> > Quoting Jeffrey Bender <contact@kwantek.com>:
> > 
> > > The bug has been submitted.  Thanks.
> > >
> > > > -----Original Message-----
> > > > From: ispman-users-admin@lists.sourceforge.net
> > > [mailto:ispman-users-
> > > > admin@lists.sourceforge.net] On Behalf Of Atif Ghaffar
> > > > Sent: Tuesday, May 20, 2003 11:47 AM
> > > > To: ispman-users@lists.sourceforge.net
> > > > Subject: RE: [Ispman-users] Ispman - Cyrus mailbox_prefix
> change?
> > > >
> > > > Quoting Jeffrey Bender <contact@kwantek.com>:
> > > >
> > > > > ispman.setVar -m mail_vars imapMailboxPrefix user/
> > > > >
> > > > > I did set this variable and then ran ispman.listVars listed:
> > > > > imapMailboxPrefix |=| user/
> > > > >
> > > > > But when I create the email box through the web interface
> the
> > > email
> > > > > box
> > > > > is still created user.bob_domain_com.  This is how it is
> listed
> > > when
> > > > > I
> > > > > type 'lm' using cyradm.
> > > >
> > > > Ah. I see.
> > > > Its a bug.
> > > > Thanks for catching it.
> > > > Nobody caught it yet, cause noone tested the unix.hier
> separator.
> > > >
> > > > Can you please add it to the bugs database at
> > > > http://sourceforge.net/tracker/?group_id=8390&atid=108390
> > > >
> > > > and I will commit a fix to it in a few minutes.
> > > >
> > > >
> > > >
> > > > thanks.
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.net email is sponsored by: ObjectStore.
> > > > If flattening out C++ or Java code to make your application fit
> in
> > > a
> > > > relational database is painful, don't do it! Check out
> > > ObjectStore.
> > > > Now part of Progress Software.
> > > http://www.objectstore.net/sourceforge
> > > > _______________________________________________
> > > > Ispman-users mailing list
> > > > Ispman-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/ispman-users
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.481 / Virus Database: 277 - Release Date: 5/13/2003
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: ObjectStore.
> > > If flattening out C++ or Java code to make your application fit
> in a
> > > relational database is painful, don't do it! Check out
> ObjectStore.
> > > Now part of Progress Software.
> > > http://www.objectstore.net/sourceforge
> > > _______________________________________________
> > > Ispman-users mailing list
> > > Ispman-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/ispman-users
> > >
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: ObjectStore.
> > If flattening out C++ or Java code to make your application fit in
> a
> > relational database is painful, don't do it! Check out
> ObjectStore.
> > Now part of Progress Software.
> http://www.objectstore.net/sourceforge
> > _______________________________________________
> > Ispman-users mailing list
> > Ispman-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ispman-users
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.481 / Virus Database: 277 - Release Date: 5/13/2003
>  
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ObjectStore.
> If flattening out C++ or Java code to make your application fit in a
> relational database is painful, don't do it! Check out ObjectStore.
> Now part of Progress Software.
> http://www.objectstore.net/sourceforge
> _______________________________________________
> Ispman-users mailing list
> Ispman-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ispman-users
> 



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Ispman-users mailing list
Ispman-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ispman-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic