Commit Graph

810 Commits (82778dba1e8d2fcb9c9c70a324b9a686b187e30c)
 

Author SHA1 Message Date
Christian Boltz 04b272472d support for displaying quota (dovecot 1.1 and 1.2 format)
upgrade.php
- create quota and quota2 table (upgrade_729)
- create the triggers required by dovecot (upgrade_730_pgsql)

list-virtual.php
- updated to work with both quota tables
  Patch by Varren Volz, https://sourceforge.net/tracker/?func=detail&aid=2867629&group_id=191583&atid=937966
- changed query for 1.1 quota table to 
      WHERE [...] AND  (  $table_quota.path='quota/storage' OR $table_quota.path IS NULL  )
  This fixes https://sourceforge.net/tracker/?func=detail&aid=2794247&group_id=191583&atid=937964
  (users not shown when initial email is not sent)

config.inc.php, functions.php
- new config option $CONF['new_quota_table'] (YES means dovecot 1.2 format)
- set variables for new quota2 table

DOCUMENTS/DOVECOT.txt
- added note that quota table is automatically created
- added note about different quota tables for dovecot 1.0/1.1 and >= 1.2


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@730 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
Christian Boltz 246a793a7d upgrade.php:
- replaced TYPE=... in CREATE/ALTER TABLE statements with ENGINE= to fix
  compability with MySQL 6.x (TYPE= is no longer supported)
  https://sourceforge.net/projects/postfixadmin/forums/forum/676076/topic/3377035
- new placeholders {INNODB} and {MYISAM} - I don't hope that this needs to be
  changed again, but you never know ;-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@723 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin 08f37bb6ad vacation.pl: change syslog facility
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@721 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
Christian Boltz 826ec62203 config.inc.php
- fix comment about $CONF['configured'] - it explicitely needs to be set to true


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@720 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin b8401e5b48 quotation fix; use double quotes with $ silly (thanks to ksb4ever - #2858717 )
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@719 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
Christian Boltz e3e012d597 DOVECOT.txt:
- set latin1 charset to avoid index length problems
- set engine MyISAM
https://sourceforge.net/tracker/index.php?func=detail&aid=2852526&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@718 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin 93b4d3e71a functions.inc.php: allow for port specification for PostgreSQL
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@717 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin e658820dfe config.inc.php: update to include port specification for pgsql dbs
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@716 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin 4706d9d058 require that xmlrpc is turned on in config file
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@715 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin 1406412a95 default xmlrpc support to off
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@714 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin 53e3bd0eb0 doc fix
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@713 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
Christian Boltz 365f34a43a model/*.php:
- fix unquoted boolean values in sql queries which probably caused postgresql errors


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@712 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
Christian Boltz b9be63fc81 edit-vacation.php:
- fix another unqouted usage of boolean values


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@711 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin c4002d5e0b functions.inc.php: fix as per Geoff Shangs report via email
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@710 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin 98d9d0e525 edit-vacation: fix second postgresql issue (removing vacation)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@708 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin 06b170c70a edit-vacation.php: fix postgresql issue
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@707 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
Christian Boltz ff3de29241 vacation.pl:
- fix typo (?) in query: "goto like %" should most probably be "goto like ?" (placeholder)
  (if this was not a typo, the whole "AND ..." would be superfluous)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@706 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
Christian Boltz 773d97bca2 create-domain.php:
- fix pgsql error "Invalid query: ERROR: column "f" does not exist" by adding quotes
  (reported by Zelut in IRC)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@705 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin 1432d7c806 VIRTUAL_VACATION/vacation.pl: fix sql query - see https://sourceforge.net/tracker/index.php?func=detail&aid=2835877&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@703 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin 6f653b1697 fix boolean handling for postgres - see https://sourceforge.net/tracker/?func=detail&aid=2830001&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@701 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 814539fe50 fix db_get_boolean behaviour - postgres returns "t" or "f" - and also accepts this
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@700 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin e1661563e3 remove old url reference
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@699 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin d487507e8e functions.inc.php: support base64 encoded sha1 passwords (flavour=SHA); thanks to mez@sourceguru.net
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@698 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin df41f03d96 backup.php: fix bug 2829452
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@697 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz e46f73fed2 functions.inc.php
- replace ereg (introduced in r693) with preg_match


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@696 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 345de9214c bump up to 2.3rc7
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@694 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin f1fc057f43 fix crypt() usage - see https://sourceforge.net/tracker/?func=detail&aid=2814820&group_id=191583&atid=937964 ; thanks for the patch
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@693 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin ad62c5e450 update patch for config.inc.php ... dunno if i can rename it or should remove it... weird debian stuff ;) see also https://sourceforge.net/tracker/?func=detail&aid=2827499&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@692 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin b40bb95e8c rules: alaways install the confd-link.sh script... partial fix to https://sourceforge.net/tracker/?func=detail&aid=2827499&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@691 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 8200ef4788 ready for 2.3rc6
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@689 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz b23620cd8a templates/search.php, templates/list-virtual.php:
- replaced the remaining ereg_* calls with preg_* calls


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@688 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin dfe10bf036 try and be a bit more intelligent over which domain is selected by default in list-virtual & the menu
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@687 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 9af0d53318 functions.inc.php: stupid syntax error; thanks David Verdier
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@686 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Norman Messtorff b381393e7a Updates Standards-Version, no changes needed...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@685 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin f7d4155fa2 patch from Steve ... see https://sourceforge.net/tracker/index.php?func=detail&aid=2818228&group_id=191583&atid=937964 - once again, thank you
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@684 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 36ae454ff5 remove ereg stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@683 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin f05b84128a remove pointless ereg stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@682 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 077cc37d8e config.inc.php: remove pointless ereg stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@681 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 4f88abb0fd remove pointless ereg stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@680 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 0fcfd2e5ab users/password.php: fix minor typo
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@679 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 6f8b25be64 vacation.pl: add patch from Steve - https://sourceforge.net/tracker/?func=detail&aid=2813178&group_id=191583&atid=937967
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@678 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin d0afcbab32 vacation.pl: fix https://sourceforge.net/tracker/?func=detail&aid=2796067&group_id=191583&atid=937964 - remove usage of file in /tmp; abort if logfile is not writeable, or we cannot create it
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@677 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 334d8ce5c0 - log mailbox deletion (was only logged as alias deletion before)
Note: Mailbox deletion will cause an additional "alias deleted" log entry


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@673 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Norman Messtorff 128fcd3cda We don't need this file in svn, it's a dynamic file which will be created due to the packaging tools.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@672 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Norman Messtorff db64ca83d9 Support for lenny packages added.
Please have a look at the debian/README.Debian file for more informations.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@671 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 4f631d61d6 list-domain.php
- fix undefined variable warning if no domains exist (globally or for a domain admin)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@670 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 46006ed3d8 INSTALL.txt, UPGRADE.txt:
- bumped PHP requirements to >= 5.1.2

BACKUP_MX.txt:
- removed version requirements (no need to have them in 3 files)
- added note about using reject_unverified_recipient or relay_recipient_maps


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@669 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin dadb8094da try and avoid naming conflicts so put _idx on the end of all postgres indexes
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@667 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 78c2f03df0 config.inc.php:
- revert (accidential?) changes from r661
  (GingerDog, you might want to move your local settings to confic.local.php ;-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@663 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin c137191ed7 lets try and get rc5 up and around
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@661 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago