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

 
 

bug #8241: WISH: Initial mailbox config

Submitted by:  Anders Norrbring <MrPiercer>
Submitted on:  Mon 22 Mar 2004 07:27:29 AM UTC  
 
Category: mainSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Wish
Status: Ready For TestPrivacy: Public
Assigned to: Lukasz Marciniak <landm>Originator Name: MrPiercer
Open/Closed: OpenRelease: 0.5.3
Operating System: GNU/LinuxReproducibility: Every Time
Planned Release: 0.5.5Cyrus IMAP version: 2.1.x
PHP version: 4.3Database type: MySQL 4.1

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission 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>
Project MemberIn charge of this item.
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>
Project 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 File(s):
   
   
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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 10 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 11 Aug 2006 05:57:35 PM UTClandmAttached File-=>Added upgrade-0.5.5cvs-to-0.5.5_pgsql.sql, #10521
Fri 11 Aug 2006 05:56:23 PM UTClandmStatusIn Progress=>Ready For Test
  Planned ReleaseNone=>0.5.5
  Attached File-=>Added upgrade-0.5.5cvs-to-0.5.5_mysql.sql, #10520
Fri 11 Aug 2006 12:53:15 PM UTClandmStatusRemind=>In Progress
  Assigned toNone=>landm
Tue 17 May 2005 07:41:05 AM UTCrbrown46Attached File-=>Added newaccount.php.diff, #2504
Tue 17 May 2005 07:40:09 AM UTCrbrown46Attached File-=>Added cyradm.php.diff, #2503
Sun 04 Apr 2004 02:28:06 PM UTCdelouwStatusNone=>Remind
  Planned Release0.5.4=>None

Back to the top


Powered by Savane 3.1-cleanup