Commit Graph

626 Commits (f7d4155fa22b56e023fe79ad1aeffa3b2a48a4d8)
 

Author SHA1 Message Date
David Goodwin 320ecddbbf vacation.pl: plenty of refactoring; I think this addresses all hte points at https://sourceforge.net/forum/message.php?msg_id=5205584
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@453 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 21ff7c17c0 upgrade.php: ensure we cope with config table with a prefix; thanks to AldoReset (IRC); see also https://sourceforge.net/tracker/index.php?func=detail&aid=2084937&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@452 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 5ad01b2522 INSTALL.TXT: typo fixing, see https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2084940&group_id=191583 ; thanks to AldoReset on irc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@451 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 21d89517f2 ru.lang:
- translation update by Pavel Usischev - pusischev
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2064862&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@450 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin c81376bb1d patch from https://sourceforge.net/tracker/index.php?func=detail&aid=2059427&group_id=191583&atid=937964 ; thanks
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@449 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin f96609b9ac upgrade.php: fix from zl2tod (via IRC)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@448 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 15cfd911c9 list-virtual.php:
- show links to create mailboxes or alias even on disabled domains
  https://sourceforge.net/tracker/?func=detail&atid=937967&aid=2054502&group_id=191583
  (Only the first two lines and the last } (both removed) are real changes,
  everything else is a whitespace fix)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@447 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d2b7bef2cd config.inc.php:
- set default for $CONF['create_mailbox_subdirs_prefix'] to 'INBOX.'
  to be backward-compatible with the previously hardcoded value


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@446 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 2d47ca4764 patch from https://sourceforge.net/tracker/index.php?func=detail&aid=2049843&group_id=191583&atid=937964 ; thanks
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@445 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin ccc1b90236 imap-prefix patch - see https://sourceforge.net/tracker/index.php?func=detail&aid=2049852&group_id=191583&atid=937964 , apparently useful for courier
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@444 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin e7ed314f50 list-virtual.php: fix from https://sourceforge.net/tracker/index.php?func=detail&aid=2050952&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@443 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 194ce8f0ad vacation.pl: fix for https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2040288&group_id=191583
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@442 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin d2fe1d50ed vacation.pl: remove my super secret connection details
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@441 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin be1b5b2eac plenty of updates to vacation.pl - add log4perl support and crude testing harness
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@440 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 77b3627667 Applying the patch from Stefan Breitegger (tuxstef @SF), see
https://sourceforge.net/tracker/index.php?func=detail&aid=1995478&group_id=191583&atid=937966
+ some small changes

fetchmail.php
- add checkbox to allow setting the fetchmail "ssl" option

fetchmail.pl:
- honor ssl option if set

upgrade.php:
- add ssl column to fetchmail table

*.lang:
- added field name and description for fetchmail ssl option


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@439 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz a553f47a4d upgrade.php:
- upgrade_362_*() renamed to upgrade_438_* to make sure it runs after an
  upgrade from 2.2.x


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@438 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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