0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
Commit Graph

662 Commits

Author SHA1 Message Date
Christian Boltz
562ab4dc14 setup.php:
- define('POSTFIXADMIN') to avoid session_start() call in common.php
  This avoids breakage if php5-session is not installed. Fixes
  https://sourceforge.net/tracker/?func=detail&aid=2855430&group_id=191583&atid=937964

common.php
- only define('POSTFIXADMIN') if it is not yet defined (avoids a warning)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@733 a1433add-5e2c-0410-b055-b7f2511e0802
2009-10-20 19:25:20 +00:00
Christian Boltz
0eb3cb9acf templates/create-mailbox.php
- always tick the "create mailbox" - even if $CONF['create_mailbox_subdirs'] is set
  https://sourceforge.net/tracker/?func=detail&aid=2834441&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@731 a1433add-5e2c-0410-b055-b7f2511e0802
2009-10-18 23:47:45 +00:00
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
2009-10-18 22:43:13 +00:00
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
2009-10-06 21:48:59 +00:00
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
2009-09-26 08:17:03 +00:00
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
2009-09-16 21:37:06 +00:00
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
2009-09-14 19:52:26 +00:00
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
2009-09-06 22:03:14 +00:00
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
2009-09-01 14:01:44 +00:00
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
2009-09-01 14:01:26 +00:00
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
2009-08-26 21:38:57 +00:00
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
2009-08-26 21:38:33 +00:00
David Goodwin
53e3bd0eb0 doc fix
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@713 a1433add-5e2c-0410-b055-b7f2511e0802
2009-08-26 21:35:12 +00:00
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
2009-08-21 12:10:54 +00:00
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
2009-08-21 12:02:55 +00:00
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
2009-08-21 10:49:57 +00:00
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
2009-08-20 07:09:41 +00:00
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
2009-08-20 07:08:44 +00:00
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
2009-08-18 20:52:37 +00:00
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
2009-08-17 17:36:04 +00:00
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
2009-08-12 06:23:51 +00:00
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
2009-08-04 20:45:21 +00:00
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
2009-08-04 20:41:24 +00:00
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
2009-08-01 14:40:48 +00:00
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
2009-08-01 05:07:20 +00:00
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
2009-07-30 07:35:14 +00:00
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
2009-07-28 23:00:48 +00:00
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
2009-07-27 21:13:02 +00:00
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
2009-07-27 21:06:05 +00:00
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
2009-07-27 20:58:55 +00:00
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
2009-07-27 20:58:00 +00:00
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
2009-07-20 19:08:43 +00:00
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
2009-07-19 17:32:58 +00:00
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
2009-07-19 12:25:47 +00:00
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
2009-07-13 13:27:44 +00:00
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
2009-07-12 14:34:53 +00:00
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
2009-07-10 21:12:44 +00:00
David Goodwin
36ae454ff5 remove ereg stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@683 a1433add-5e2c-0410-b055-b7f2511e0802
2009-07-10 21:05:16 +00:00
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
2009-07-10 21:00:43 +00:00
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
2009-07-10 20:59:49 +00:00
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
2009-07-10 20:58:33 +00:00
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
2009-06-30 12:56:30 +00:00
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
2009-06-29 08:26:35 +00:00
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
2009-06-29 07:58:50 +00:00
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
2009-06-08 11:33:16 +00:00
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
2009-06-04 21:25:53 +00:00
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
2009-06-04 21:24:26 +00:00
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
2009-06-01 14:56:29 +00:00
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
2009-05-31 20:31:04 +00:00
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
2009-05-28 19:47:52 +00:00