bugweb-cyradm - Bugs: bug #8241, WISH: Initial mailbox config

 
 

bug #8241: WISH: Initial mailbox config

Submitter:  Anders Norrbring <MrPiercer>
Submitted:  Mon 22 Mar 2004 07:27:29 AM UTC
   
 
Category:  main Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Wish
Status:  Ready For Test Privacy:  Public
Assigned to:  landm Originator Name:  * MrPiercer
Open/Closed:  Open Release:  0.5.3
Operating System:  GNU/Linux Reproducibility:  Every Time
Planned Release:  0.5.5 Cyrus IMAP version:  2.1.x
PHP version:  4.3 Database type:  MySQL 4.1
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 07 Sep 2006 10:33:42 AM UTC, comment #6: 

Will start testing it any day.. :)

Anders Norrbring <MrPiercer>
Fri 11 Aug 2006 05:56:23 PM UTC, comment #5: 

I've added basic functionality for automatic folder creation (svn version 816). It needs one extra column in domain table (sql script attached). For now it is available only for superadmin and there is no support for non-english letters in folder names.
Thanks for Ryan Brown. Changes are based on his patches.
Tests are VERY welcome ;-)

Lukasz Marciniak <landm>
Group Member
Tue 17 May 2005 07:54:41 AM UTC, comment #4: 

I decided that it was easy enough to code this my self.  I've uploaded two diff files, one for lib/cyradm.php and one for newaccount.php.  Apply these two patches and add a line like:
$AUTOCREATE_MAILBOXES = array("INBOX.Junk", "INBOX.Sent", "INBOX.Trash", "INBOX.Drafts");
to your conf.php file. 

A few notes:
You must specify the mailbox names as they would appear to the client.  This means that if cyrus's altnamespace option is yes, an item in AUTOCREATE_MAILBOXES would be "Junk" rather than "INBOX.Junk".  And if unixhierarchysep is yes then it would be "INBOX/Junk".  This is necessary because the mailboxes are not just added but subscribed to as well, and subscribing can only be done by a client connected to his IMAP account (not a cyrus admin).  Thanks to Tim Schaab (tim at madtown.cc), for whoms post to the mailing list this is based.

Ryan Brown <rbrown46>
Tue 17 May 2005 05:47:58 AM UTC, comment #3: 

I for one would really like to see this feature.  As far as naming conventions; the structure should be configurable via variables in conf.php, with English defaults.  My mail server currently does server-side filtering of junk mail.  When junk mail is received it is put into a specific IMAP mailbox.  As it stands now I have to manually create this mailbox when adding new users.  This feature would save me from having to do that.

Ryan

Ryan Brown <rbrown46>
Sun 12 Dec 2004 01:02:12 AM UTC, comment #2: 

Check out Hsys-Mailadmin, an alternative to webcyradm:
http://www.hurrikane.de/de/mx/mailadmin/overview.html

You can define that structure in the config-file. Don't be afraid of all the German text on that page - the tool itself is localized.

Anonymous
Sun 04 Apr 2004 02:28:06 PM UTC, comment #1: 

Usually MUA's create the needed folders by them self. One more problem is language dependency of folder naming. The community is asked to vote how to go further with this issues and make some suggestions how to solve this issue for everybodys convenience.

Luc de Louw <delouw>
Group administrator
Mon 22 Mar 2004 07:27:29 AM UTC, original submission:  

Would it be possible to add some functionality to Web-cyradm so that it sets up mailboxes and rules when the accounts are created?

I was thinking in the line of when a mailbox/account is created it should create a structure like:

.INBOX
.INBOX.Sent
.INBOX.Trash
.INBOX.Spam

And on top of that set up the rules so that sent mail will be moved to INBOX.Sent and deleted mail to INBOX.Trash etc.

I'm about to set up a mail/web hosting site, and that functionality would be really nice to have, instead of having to run cyradm all the time for all accounts...

Anders.

Anders Norrbring <MrPiercer>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #10521:  upgrade-0.5.5cvs-to-0.5.5_pgsql.sql added by landm (171B - application/octet-stream - DB update script for 0.5.5beta1)
file #10520:  upgrade-0.5.5cvs-to-0.5.5_mysql.sql added by landm (69B - application/octet-stream - DB update script for 0.5.5beta1)
file #2976:  newaccount.php.diff added by rbrown46 (603B - application/octet-stream - newaccount.php diff)
file #2975:  cyradm.php.diff added by rbrown46 (598B - application/octet-stream - lib/cyradm.php diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 10 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-08-11 landm Attached File- Added upgrade-0.5.5cvs-to-0.5.5_pgsql.sql, #10521
2006-08-11 landm StatusIn Progress Ready For Test
    Planned ReleaseNone 0.5.5
    Attached File- Added upgrade-0.5.5cvs-to-0.5.5_mysql.sql, #10520
2006-08-11 landm StatusRemind In Progress
    Assigned toNone landm
2005-05-17 rbrown46 Attached File- Added newaccount.php.diff, #2504
2005-05-17 rbrown46 Attached File- Added cyradm.php.diff, #2503
2004-04-04 delouw StatusNone Remind
    Planned Release0.5.4 None

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code