Commit Graph

826 Commits (fdfcedb621cf2367c08e9c46beddc3bfbe0b106f)
 

Author SHA1 Message Date
Christian Boltz 493c8dcec4 POSTFIX_CONF.txt.
- honor alias_domain.active (see mail from Daniel Reichelt in postfixadmin-devel)
- fix query for maildir in virtual_mailbox_maps - the maildir field already 
  contains the domain (exact layout depends on the $CONF settings), so there's
  no need to prepend it again


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@620 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz f3d52ab848 fetchmail.pl:
- added support for PgSQL - based on patch from johker,
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2747526&group_id=191583
- rename config variables to use names known from vacation.pl
- add support for external config file /etc/mail/postfixadmin/fetchmail.conf


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@619 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 140864dee1 common.php: remove requirement to delete setup.php; require $CONF["setup_password"] is changed etc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@618 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin ad61253c33 login.php: do not require the deletion of setup.php
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@617 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin e4498461ba setup.php: reindent; require setup_password before it will add an admin user
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@616 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin b4dfc638f5 config.inc.php: add setup_password
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@615 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 96985c965f debian/changelog, function.inc.php, CHANGELOG.TXT : 2.3 rc3 is almost here
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@613 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 1079945e23 create-mailbox.php: Remove commented out & dead code
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@612 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 51d418f16c fix register globals check in common.php - see https://sourceforge.net/tracker/?func=detail&aid=2721614&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@611 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 4b167a60ec edit-alias.php: reindent and make the $CONF["alias_control_admin"] and $CONF["special_alias_control"] are respected (for domain admins) - global admins can do whatever they like...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@610 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin e068b7812a fix bug where user entered vacation details were not being returned when you go to set yourself away again
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@607 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz adcc105163 fetchmail.php:
- only list fetchmail entries for domains/mailboxes someone owns
- better sort order for list mode (mailbox, src_server, src_user) - best
  would be to sort by domain first, but this isn't that easy without a
  domain column. Anyways, everything is better than "order by id" ;-)
- changes partly done to prepare "fetchmail for users", see patch at
  https://sourceforge.net/tracker/?func=detail&aid=2715675&group_id=191583&atid=937966
  (patch will be included after the 2.3 release)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@604 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 667b00d13f fix errors e.g. see https://sourceforge.net/tracker/?func=detail&aid=2711888&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@603 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin e0aa21917a users/password.php: no need to escape strings - should be in the model layer - fix broken auth check
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@602 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 25ad930215 password.php: fix use of UserHandler... - see http://pastebin.com/m159f0726
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@601 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin ec6acef54b POSTFIX_CONF.txt: see e.g. https://sourceforge.net/tracker/index.php?func=detail&aid=2693375&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@600 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin e61244ac9f setup.php: give the full path to setup.php to help people a little bit more
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@599 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 709365d936 debian/control: fix some debian-isms after review from mez@sourceguru.net
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@598 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 8f75a86a21 ru.lang: update from pusischev - see https://sourceforge.net/tracker/index.php?func=detail&aid=2697838&group_id=191583&atid=937966 - thank you
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@597 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 0ad9c1159d patch from Fabiobon - fix a few Italian translations - see https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2696920&group_id=191583
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@596 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 3024894a32 svn revision numbers keep changing!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@594 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 97166673bd updating
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@593 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 09fd369956 update debian configuration
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@592 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 7f4973c899 functions.inc.php: bump version number
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@591 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 784e0ea2dd CHANGELOG.TXT: update
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@590 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin c384984362 2.3rc1
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@588 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 0ab2de5d9e add testing for xmlrpc alias manipulations
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@587 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 485d52c4a2 xmlrpc.php: add User::login(...)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@586 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 139ebbb170 bug fixes
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@585 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 8d44769372 add tests for User stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@584 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 302914abc0 fix bugs found in initial tesitng
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@583 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 3ed6989c23 fix bugs found in initial testing
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@582 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 9ee45c69c8 tests: add initial simpletest unit tests for the xmlrpc stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@581 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz af702c05e1 functions.inc.php, function pacrypt:
- added dovecotpw encryption support (patch from cmuelle8 (trendypack) + some fixes 
  from me, see tracker for details)
  https://sourceforge.net/tracker2/?func=detail&aid=2607332&group_id=191583&atid=937966
- replaced most "if" with "elseif" to be able to check for invalid $CONF[encrypt] settings
- added error check/message for invalid $CONF[encrypt] settings

config.inc.php:
- $CONF[encrypt]: added description for dovecot:xy
- added new $CONF['dovecotpw'] setting (path to dovecotpw binary)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@580 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 87461233d9 add xmlrpc server support - TOTALLY NOT TESTED YET!!!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@579 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin f335850e8f remove logic from users template
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@578 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin f9341abb8b common.php: add autoloading for model classes
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@577 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin f22ac38db3 require php5
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@576 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 53182c4922 refactoring of users (most app logic is now in /model)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@575 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 351585fbb0 INSTALL.TXT: we now require PHP5+
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@574 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 723cde0905 sendmail.php:
- encode Subject with mb_encode_mimeheader
  https://sourceforge.net/tracker2/?func=detail&atid=937964&aid=2682897&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@573 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 8b4e513701 see https://sourceforge.net/tracker/index.php?func=detail&aid=2567466&group_id=191583&atid=937966 - allow adding of an alias even if a mailbox already exists (e.g. allowing you to do keep+forward)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@572 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 3a88303088 list-virtual.php
- do not hide "add alias" / "add mailbox" links if domain is a backup MX
  (includes some whitespace changes, the "real" change removes 3 lines of code
  checking for the backupmx setting)

edit-domain.php
- do not reset aliases, mailboxes and maxquota to disabled for backup MX domains

These changes should fix 
https://sourceforge.net/forum/forum.php?thread_id=2897067&forum_id=676076


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@571 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 8b05971af9 broadcast-message.php:
- set mb_internal_encoding("UTF-8") to avoid broken encoding in mailheaders
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2641660&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@570 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin f59423c8d6 create-domain.php: if the user makes a domain a backup mx, then accept whatever they type in for mailboxes/aliases
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@569 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 5a9de37a65 INSTALL.TXT - see https://sourceforge.net/forum/forum.php?thread_id=3026548&forum_id=676076 ; general update, and add in a note on alias expansion
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@568 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 8eafea4617 see https://sourceforge.net/tracker/index.php?func=detail&aid=2581010&group_id=191583&atid=937964 - thanks dystopian
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@567 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 11c39af699 - added/fixed vim: lines to nearly all *.php files (exception: templates/*)
(ts=3 or ts=4 depending on the file content)
- several whitespace fixes
- (no code changes)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@566 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 12c4c45416 create-domain.php:
- fixed "undefined variable $tBackupmx" on POST
- fixed vim: line - create-domain.php already uses 4 spaces per tab


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@565 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 68943a5477 functions.inc.php
- added comment about courier-authlib supporting only two-character salt
  (see mail from Jan Röhrich in postfixadmin-devel about r560)
- fixed vim: line - functions.inc.php uses 4 spaces
- replaced "else if" with "elseif"
- replaced tabs with spaces


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@564 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago