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

3198 Commits

Author SHA1 Message Date
Christian Boltz
0dc5163eb1 functions.inc.php:
- check_email requires global $PALANG


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@475 a1433add-5e2c-0410-b055-b7f2511e0802
2008-11-11 22:11:52 +00:00
Christian Boltz
1b438e15ef CHANGELOG.TXT
- doing the paperwork: updated changelog with all commits up to svn r473 
  (aka "current trunk" - this commit will become r474)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@474 a1433add-5e2c-0410-b055-b7f2511e0802
2008-11-11 20:48:42 +00:00
Christian Boltz
80441baa84 upgrade.php:
- alias.goto was accidently changed to varchar(255) in upgrade_469_mysql.
  Make it a text field again.
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2221002&group_id=191583
- renamed upgrade_469_mysql to upgrade_473_mysql to ensure the above 
  change is done



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@473 a1433add-5e2c-0410-b055-b7f2511e0802
2008-11-06 22:08:35 +00:00
David Goodwin
4c4c54a5ae mail-filter: obsolete
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@472 a1433add-5e2c-0410-b055-b7f2511e0802
2008-11-05 21:04:29 +00:00
Christian Boltz
75c5c62ed0 config.inc.php, functions.inc.php, templates/list-virtual.php:
- dropped $CONF['show_custom_count'], it can easily be calculated with
  count($CONF['show_custom_domains']). This fixes part (6) of
  https://sourceforge.net/tracker2/?func=detail&aid=1951926&group_id=191583&atid=937967

config.inc.php:
- added some comments explaining $CONF['show_undeliverable_exceptions'] 
  and $CONF['show_custom_domains']


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@471 a1433add-5e2c-0410-b055-b7f2511e0802
2008-11-01 20:15:46 +00:00
Christian Boltz
d9be3ca66d vacation.pl:
- allow to enter the configuration in /etc/mail/postfixadmin/vacation.conf
  instead of editing vacation.pl directly


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@470 a1433add-5e2c-0410-b055-b7f2511e0802
2008-10-31 13:37:49 +00:00
Christian Boltz
47f025cbf9 upgrade.php:
- upgrade_469_mysql: fix "illegal mix of collations" by explicitely setting 
  the charset for all VARCHAR and TEXT fields.
  http://sourceforge.net/tracker2/?func=detail&aid=1990191&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@469 a1433add-5e2c-0410-b055-b7f2511e0802
2008-10-31 10:24:23 +00:00
David Goodwin
be43c4b7d8 vacation.pl: bump version number as it has not changed in years
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@468 a1433add-5e2c-0410-b055-b7f2511e0802
2008-10-21 11:08:19 +00:00
David Goodwin
bc82efcfb8 error handling fixes - see also http://sourceforge.net/forum/forum.php?thread_id=2349320&forum_id=676076
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@467 a1433add-5e2c-0410-b055-b7f2511e0802
2008-10-19 18:27:14 +00:00
David Goodwin
3e7e2a6240 delete.php: make it more robust, and do not overwrite error message from earlier with one from later
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@466 a1433add-5e2c-0410-b055-b7f2511e0802
2008-10-16 11:31:25 +00:00
David Goodwin
9dcafb7afc create-mailbox.php: force username to be lowercase - this helps some IMAP clients apprently
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@465 a1433add-5e2c-0410-b055-b7f2511e0802
2008-10-11 19:58:34 +00:00
David Goodwin
1df66da082 make it more obvious what the db possibilities are
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@464 a1433add-5e2c-0410-b055-b7f2511e0802
2008-10-11 07:43:11 +00:00
David Goodwin
f82147a268 create-domain.php: reindent; applied patch from http://sourceforge.net/tracker/?func=detail&atid=937964&aid=2143861&group_id=191583 - thanks fabiobon - this enables the $CONF[transport] parameter again
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@463 a1433add-5e2c-0410-b055-b7f2511e0802
2008-10-03 08:27:22 +00:00
Christian Boltz
509b4dba73 FAQ.txt:
- added note about sudo configuration


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@462 a1433add-5e2c-0410-b055-b7f2511e0802
2008-10-01 20:41:56 +00:00
David Goodwin
9b596b8520 fetchmail.php: clearly two sets of eyes are better than one; thanks niki
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@461 a1433add-5e2c-0410-b055-b7f2511e0802
2008-09-06 20:32:17 +00:00
David Goodwin
6fa5875015 fetchmail.php: use table prefix etc; as reported by niki on irc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@460 a1433add-5e2c-0410-b055-b7f2511e0802
2008-09-06 19:27:45 +00:00
David Goodwin
45b2df237c functions.inc.php: fix alias creation - 0 & -1 confusion again
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@459 a1433add-5e2c-0410-b055-b7f2511e0802
2008-09-04 12:47:02 +00:00
David Goodwin
6bff38ac45 test.sh: update to reflect that the parameters passed into the script are actually of the a#b@autoreply.dom.tld and not a@b
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@458 a1433add-5e2c-0410-b055-b7f2511e0802
2008-09-03 08:45:34 +00:00
David Goodwin
d75065f641 1- fix smtp_recipient (i.e un-vacationise-it), 2- remove the needless \s* stuff - these will get removed by the strip_address() routine anyway
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@457 a1433add-5e2c-0410-b055-b7f2511e0802
2008-09-03 08:44:36 +00:00
David Goodwin
63cc542bbd force requirement for command line parameters to script; regexp changes - thanks Luxten (https://sourceforge.net/forum/forum.php?thread_id=2099851&forum_id=676076)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@456 a1433add-5e2c-0410-b055-b7f2511e0802
2008-09-03 08:32:25 +00:00
David Goodwin
60d1b54aaa functions.inc.php: Fix mailbox check_mailbox() routine - if the domain has 0 for mailbox count it should allow unlimited mailboxes (not disable - which is -1)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@455 a1433add-5e2c-0410-b055-b7f2511e0802
2008-09-01 19:20:23 +00:00
David Goodwin
78d499aa63 INSTALL.TXT: minor updates
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@454 a1433add-5e2c-0410-b055-b7f2511e0802
2008-09-01 19:01:24 +00:00
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
2008-08-31 20:17:23 +00:00
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
2008-08-31 14:15:48 +00:00
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
2008-08-31 14:03:11 +00:00
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
2008-08-23 16:08:18 +00:00
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
2008-08-19 20:00:50 +00:00
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
2008-08-16 17:56:28 +00:00
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
2008-08-16 12:05:44 +00:00
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
2008-08-14 22:08:38 +00:00
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
2008-08-14 19:03:41 +00:00
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
2008-08-14 18:58:13 +00:00
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
2008-08-14 18:50:33 +00:00
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
2008-08-06 14:45:17 +00:00
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
2008-08-05 20:57:45 +00:00
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
2008-08-05 20:54:47 +00:00
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
2008-08-05 20:51:23 +00:00
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
2008-08-05 20:26:30 +00:00
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
2008-08-05 18:10:19 +00:00
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
2008-08-04 00:02:00 +00:00
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
2008-08-03 22:28:47 +00:00
David Goodwin
27c0cdb06a fix compile error
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@434 a1433add-5e2c-0410-b055-b7f2511e0802
2008-08-03 10:12:35 +00:00
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
2008-08-03 10:09:29 +00:00
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
2008-08-01 20:47:07 +00:00
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
2008-07-30 06:48:37 +00:00
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
2008-07-29 23:32:23 +00:00
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
2008-07-29 23:18:40 +00:00
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
2008-07-29 20:33:30 +00:00
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
2008-07-29 19:53:08 +00:00
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
2008-07-29 19:32:32 +00:00