Commit Graph

410 Commits (3cc02ab1c733a02ad1ea315dd3a1585ed69dc2a6)
 

Author SHA1 Message Date
Christian Boltz 3cc02ab1c7 nl.lang:
- language update by Johan Hendriks (sylhouette @SF)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2038725&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@437 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 4117c1a728 remove comment as per cboltz's request etc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@436 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 0bf3f74f9d upgrade.php
- removed upgrade_300_mysql() which contained duplicated code (see 
  upgrade_362_*) and was placed in the middle of another upgrade function
  @GingerDog: Do we need the 'Constraint "alias_domain_pkey"'? (see comment)
- replace hardcoded 'config' table name with table_by_key('config')
- several whitespace fixes
- use common vim: line


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@435 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 27c0cdb06a fix compile error
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@434 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 886e02723f vacation.pl: initial merge of smtp rcpt/to checking stuff as per https://sourceforge.net/forum/forum.php?thread_id=2099851&forum_id=676076 ; Thank you!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@433 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 5a572e7265 edit-vacation.php:
- cleanup vacation_notification table when disabling vacation
  https://sourceforge.net/forum/message.php?msg_id=5131390


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@432 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 73b26190ef vacation.pl: disable automaticnotification stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@431 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz fa5a7a836c CHANGELOG.TXT
- updated with the latest changes (r415-r429)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@430 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 3e5549bfad functions.inc.php:
- move DNS checks from check_email() to check_domain()
- add clear error message on non-resolvable domains (using flash_error() -
  this is probably not the best solution, but better than nothing)
- made error messages translatable

create-domain.php:
- avoid duplicated call to check_domain (to avoid duplicated error message)
- domains are now DNS-checked on creation - see the changes in check_domain()
  in functions.inc.php

languages/*:
- added error messages for the above changes


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@429 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 510c69e311 vacation.pl: add patch from Luxten - enable re-notification after definable timeout - see : https://sourceforge.net/tracker/index.php?func=detail&aid=2031631&group_id=191583&atid=937966
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@428 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 4ee84c5827 vacation.pl: applying patch from luxten - see https://sourceforge.net/tracker/index.php?func=detail&aid=2031659&group_id=191583&atid=937966 - thanks!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@427 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 544c7ebe82 functions.inc.php: reindent (as per inline vim settings) and add in flash_error calls when validating an email address (I suspect the strings need changing as per translation issues)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@426 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin e15068af3a make this upgrade conditional on the row not already being there
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@424 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 6b34e374ef upgrade.php: ensure config table has an initial version entry
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@423 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 41d5ee4ecb create-alias-domain.php:
- filter available alias and target domains (and print an error message
  if none is available)
- print success message via flash_info, not inside the form and do a
  redirect afterwards. We would have to update the list of domains
  available for aliasing otherwise.
- added vim: settings
 
templates/create-alias-domain.php:
- hide form if no domains are available for aliasing
- move logic of skipping non-available domains to /create-alias-domain.php
- added vim: settings

templates/list-virtual.php:
- show "create alias domain" link (only) if it makes sence (not perfect
  yet, but better than before)
- don't create empty <div> etc. if domain has no mailboxes
- intentionally skipped most whitespace fixes (added a comment instead),
  they would make the patch unreadable

languages/*:
- additional error message for alias domains: 'All domains are already 
  aliased.'


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@422 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz be3db620f8 create-alias-domain.php:
- fix syntax error


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@421 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 69a6a412f8 config.inc.php
- better description for $CONF['alias_domain']


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@420 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 5fa76d73d9 config.inc.php + all files related to alias domains
- added $CONF['alias_domain'] switch to disable alias domains
  (includes lots of whitespace changes in list-virtual.php)

functions.php:
- added some comments to boolconf()


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@419 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 711df82fc8 function.inc.php
- new function boolconf() for easier handling of boolean $CONF settings


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@418 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 094eb0b243 nb.lang
- translation update by Odd Henriksen (oddhenriksen @SF)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@417 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d84460972f CHANGELOG.TXT
- added note about 2.2.2.1 release
- added release date to all 2.2.* releases

debian/changelog
- backported from branches/ again - but with the changes listed at 
  the correct version number


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@415 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 1a29d0a1ad CHANGELOG.TXT
- added changes since 2.2.0 release (2.2.1 and SVN trunk only)
- updated copyright header

debian/changelog
- backported update from 2.2.1 branch to trunk


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@411 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 25b973b066 create-mailbox.php:
- removed duplicate @version and @license comment


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@410 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 532675ab3b functions.php
- removed (now) unused function table_by_pos
  I'm quite sure we won't need it again, basically it answered questions 
  like "what's the 3rd table in $CONF['database_tables']?"


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@407 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 8f5f9a0df3 backup.php:
- replace table_by_pos with table_by_key - script was totally broken
  while table_by_pos was used (only admin table backed up)
- changed Content-Type: header to text/plain - file is still offered
  for download, but can be opened in a text editor easier


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@406 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d4bbf8faa1 config.inc.php
- add fetchmail table to $CONF['database_tables']


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@405 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f5dc943ce0 list-virtual.php:
- always initialize $tAliasDomains and $tTargetDomain
  (makes sure no evil data comes in, and also fixes the PHP notice)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@404 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f5bef69d3e pl.lang
- updated by Lukasz Wasikowski <lukasz AT wasikowski.net>
  https://sourceforge.net/forum/message.php?msg_id=5100276


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@403 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d0a9b507a7 bg.lang:
- fixed encoding and some added translations by Georgi Naplatanov (goshoo @SF)
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2018539&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@402 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 40b8c19e27 patch from Fabio Bonelli; as per https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2014010&group_id=191583 - thank you!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@401 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin e3d31bb967 patch from tabmowtez - allow smtp server to be specified - see https://sourceforge.net/tracker/index.php?func=detail&aid=2008468&group_id=191583&atid=937966
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@398 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz afbe36d572 sendmail.php:
- do not escape_string() the mailbody - having \n in mails instead of 
  real newlines is not nice. This fixes 
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2005839&group_id=191583
  Thanks to Tabmow for the report!
- added missing newline between headers and message body


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@396 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 14db3cf10b tw.lang
- added some missing strings (mostly related to alias domains)
- removed a superfluous newline at the end


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@395 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 90eeacf274 tw.lang:
- freshly translated by by John Chen (johnpupu @SF), based on cn.lang
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1986622&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@394 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f9301eb6c5 ru.lang:
- translation update by Pavel Usischev - pusischev
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2003105&group_id=191583

nb.lang:
- enabled SVN keyword expansion


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@393 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 582074c8b4 update trunk also; this is a merge of r391 from branches/postfixadmin-2.2.1
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@392 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 61a2063776 stupid me
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@389 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 30e0f78866 tw.lang: see https://sourceforge.net/tracker/index.php?func=detail&aid=1986622&group_id=191583&atid=937966
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@388 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin b4ae6473d6 templates/edit-vacation.php: unquote ' before display - see https://sourceforge.net/tracker/index.php?func=detail&aid=1995119&group_id=191583&atid=937966 - thanks (again) to Beuc; I presume subject also needs stripslashes on it
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@387 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a29800924e edit-mailbox.php: merge of patch from https://sourceforge.net/tracker/index.php?func=detail&aid=1996052&group_id=191583&atid=937966 ; thanks Sylvain BEUCLER - beuc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@386 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 4472e0b1c1 Typo fix; thanks to beuc via https://sourceforge.net/tracker/index.php?func=detail&aid=1996054&group_id=191583&atid=937966 - s/Virual/Virtual/ :)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@385 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d81a199597 setup.php:
- check if imap_open is available. If not, print a warning.
  This was indirectly ;-) requested in
  https://sourceforge.net/forum/forum.php?thread_id=2071718&forum_id=676076


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@379 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin fe21fd84e8 templates: add @ signs to make it more obvious what the user should type in when creating aliases/mailboxes; thanks to Kurushiyama on irc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@378 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 869d9ce699 config.inc.php: doc fix from Kurushiyama via IRC
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@377 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 8bf1146dd2 nl.lang:
- updated by Johan Hendriks (sylhouette)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1974742&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@376 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 380dd1e96e upgrade.php:
- only include common.php if POSTFIXADMIN is not define()d
  Avoids a "already defined" warning in setup.php


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@375 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d0910c1297 upgrade.php
- upgrade_373_mysql: change domain.description and mailbox.name to utf-8
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1972703&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@374 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz add0c86cad Applied patch from Michiel van Baak (mvanbaak)
https://sourceforge.net/tracker/index.php?func=detail&aid=1923030&group_id=191583&atid=937966
- added quota parameter in mailbox_postcreation() hook
- new hook to update the quota after editing a mailbox

Modifications to the patch:
- made $quota an required parameter in the mailbox_postedit and 
  mailbox_postcreation functions
- the scripts always get the quota as 4th parameter. In case $quota 
  is <= 0, it is set to 0.


config.inc.php:
- new option $CONF['mailbox_postedit_script']

edit-mailbox.php:
- call mailbox_postedit() after editing the mailbox

functions.inc.php:
- added $quota parameter to mailbox_postcreation()
- new function mailbox_postedit()

create-mailbox.php:
- added $quota parameter on mailbox_postcreation() call


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@373 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz fd7a445cb7 DOVECOT.txt:
- changed default_pass_scheme to MD5-CRYPT to match default config.inc.php
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1971591&group_id=191583
- added description of possible settings

(Note: a dovecot expert should proofread my changes ;-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@372 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 7c267b1b26 BACKUP_MX.txt:
- updated example config to new mysql map format
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1971444&group_id=191583
- changed example password to match the password used in POSTFIX_CONF.txt


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