PostfixAdmin for BananaNetwork - to apply required patches before release or release in async to the official version https://github.com/postfixadmin/postfixadmin
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Christian Boltz fad18fc953 MailboxHandler.php: add (nearly) everything for creating a mailbox
(TODO: generating random passwords - when this is done, MailboxHandler
can replace create-mailbox.php)

- initStruct(): 
  - make 'username' a 'mail' field (doesn't really change anything at
    the moment)
  - make 'maildir' editable on $new
- init(): minor cleanup
- validate_new_id(): error out early if check_email() fails
- beforestore(): 
  - convert quota from MB to bytes - previously in setmore()
  - on $new, create mailbox alias
- storemore(): run mailbox_postcreation(), send_welcome_mail() and
  create_mailbox_subfolders() on $new
- add send_welcome_mail()
- _field_quota(): return true on success (otherwise it's interpreted 
  as invalid value)
- add _missing_local_part(), _missing_domain() and _missing_maildir()
  to fill those fields on $new
- remove add() because all the code moved to the functions mentioned 
  above. 
  Known regression: this breaks CLI create mailbox for now



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1425 a1433add-5e2c-0410-b055-b7f2511e0802
13 years ago
ADDITIONS ADDITIONS/delete-mailq-by-domain.pl, 15 years ago
DOCUMENTS SUPERADMIN.txt: 15 years ago
VIRTUAL_VACATION vacation.pl: 13 years ago
admin Finally got rid of admin/ :-) 18 years ago
configs create-alias.php: 14 years ago
css added quota level percentage display 15 years ago
debian README.Debian: 13 years ago
images added quota level percentage display 15 years ago
languages *.lang: 13 years ago
model MailboxHandler.php: add (nearly) everything for creating a mailbox 13 years ago
scripts shells/mailbox.php / AddTask: 14 years ago
smarty update smarty from 3.0.7 to 3.1.5 14 years ago
templates header.tpl: 13 years ago
tests this will probably migrate us to phpunit; stupid dev env is misbehaving though so it is hard to test 15 years ago
users smarty.inc.php: 14 years ago
CHANGELOG.TXT Paperwork ;-) 15 years ago
GPL-LICENSE.TXT Initial Import in SourceForge 19 years ago
INSTALL.TXT various documentation updates: 15 years ago
LICENSE.TXT LICENSE.TXT: 15 years ago
backup.php sql injection fix - ported back to trunk from branches/2.3 ... 14 years ago
broadcast-message.php sendmail.php, broadcast-message.php: 15 years ago
calendar.js - big merge of Postfixadmin smarty into trunk 16 years ago
common.php Remove getInstance calls; not needed as we use ::write 14 years ago
config.inc.php config.inc.php: 14 years ago
create-mailbox.php create-mailbox.php: 14 years ago
delete.php delete.php: 15 years ago
edit-active.php list-virtual_alias_domain.tpl: 14 years ago
edit.php edit.php: 13 years ago
fetchmail.php fetchmail.php: 13 years ago
functions.inc.php functions.inc.php: 13 years ago
index.php login.php, index.php: 17 years ago
list-admin.php functions.inc.php: 14 years ago
list-domain.php functions.inc.php: 14 years ago
list-virtual.php list-virtual: 14 years ago
login.php functions.inc.php: 14 years ago
logout.php - added/fixed vim: lines to nearly all *.php files (exception: templates/*) 17 years ago
main.php - big merge of Postfixadmin smarty into trunk 16 years ago
password.php functions.inc.php: 14 years ago
sendmail.php sendmail.php, broadcast-message.php: 15 years ago
setup.php setup.php 14 years ago
smarty.inc.php smarty.inc.php: 14 years ago
upgrade.php upgrade.php: 14 years ago
vacation.php patch from Jan Kruis - see http://sourceforge.net/tracker/?func=detail&aid=3520749&group_id=191583&atid=937966 (Tracker id 3520749) ; thank you! 14 years ago
variables.inc.php variables.inc.php: 15 years ago
viewlog.php edit-alias.php, edit-domain.php, edit-vacation.php, 15 years ago
xmlrpc.php MailboxHandler: 14 years ago