Commit Graph

44 Commits (87472af5bac8e62acc71466190041aa7f25e8abf)

Author SHA1 Message Date
David Goodwin f8d7844767 reduce some nesting of the code loops 7 years ago
Tadas Ustinavičius 9ab2eaedc6 Only delete Sieve directory if it really exists 7 years ago
Tadas Ustinavičius d986e26be8 Making virtualmaidel.php remove Sieve filters if they exist 7 years ago
Adrien Crivelli 15df6c1d7b
Reformat everything with PHP-Cs-Fixer 7 years ago
David Goodwin 82e7bdfda3 fix surname typo 7 years ago
David Goodwin 9dbeb68f9a add TODO 7 years ago
David Goodwin 2b04b72072 remove unnecessary nesting, reindent, make it print out what it might do before breaking stuff etc 7 years ago
Seitanas 72288b8402 Updated to use PHP mysqli extension. 7 years ago
David Goodwin 3b481082c4 Update README.md 8 years ago
David Goodwin 8bb1c4f459 update squirrelmail plugin 8 years ago
David Goodwin 483bb83edc see #377 - looks like the pg+mysql check is partly the wrong way around - mysql only has ints....
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1856 a1433add-5e2c-0410-b055-b7f2511e0802
8 years ago
Christian Boltz 8bad929a44 fetchmail.pl:
- add active=1/t to SQL query


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1766 a1433add-5e2c-0410-b055-b7f2511e0802
10 years ago
Christian Boltz 584a85216d INSTALL.TXT, ADDITIONS/squirrelmail-plugin/INSTALL
- add required version of Zend Framework (1.12.x) and a warning that 2.x
  won't work (reported by seboulba on IRC)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1699 a1433add-5e2c-0410-b055-b7f2511e0802
10 years ago
Christian Boltz 7055209d8a fetchmail.pl:
- fix ssl extra options (cert check, cert path, fingerprint)
  Patch by Silvan Calarco <mambasoft @SF>


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1681 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin 2858fdb61e remove empty entries from the array before sending to the remote server; ensure $tMessage is defined
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1649 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin 547996c8c2 improve installation instructions
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1648 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin 261e17ec97 check for Zend Framework, explode if it is not obviously found
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1647 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin c6a25c828d fix exception logging; fix filter_var usage
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1646 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin ff1f9d2142 fix include path
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1645 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin e5417c2371 remove explicit reliance on plugin name being postfixadmin
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1641 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz 6e2e132bac remove "postfixadmin.com" in comments in lots of files
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1558 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz b985816baa fetchmail: add sslcertck, sslcertpath, sslfingerprint
ADDITIONS/fetchmail.pl
- add sslcertck, sslcertpath and sslfingerprint to fetchmail config
- some whitespace fixes

fetchmail.php
- add sslcertck, sslcertpath, sslfingerprint fields
  (sslcertpath and sslfingerprint require $CONF[fetchmail_extra_options]
  because they don't have input validation)

languages/*.lang
- add new texts needed for the added fields

templates/fetchmail.tpl:
- add the new fields
- also add extra_options and mda fields - they were not displayed yet

upgrade.php
- fix _db_add_field() to call _db_field_exists() with correct table name
- upgrade_1519(): add sslcertck, sslcertpath, sslfingerprint fields to the
  fetchmail table


Most parts of this commit are based on the work of Lars Engelhard
(modified files sent on the mailinglist 2013-07-30)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1519 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz 93dd4517f1 ADDITIONS/delete-mailq-by-domain.pl,
ADDITIONS/squirrelmail-plugin/**/postfixadmin.po:
- whitespace fix: replace DOS line ends with Linux line ends
  (no other changes)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1160 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
Christian Boltz b9798456f3 import_users_from_csv.py:
- update FSF address (the openSUSE build check complained ;-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1158 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
Christian Boltz 1414617f4e fix typo in variable name
Reported by Gabriele Vivinetto (gabrielev@SF),
https://sourceforge.net/tracker/?func=detail&aid=3266862&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1024 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
Christian Boltz 4c912f1da8 list-virtual.php:
- hand over $search to smarty templates

templates/list-virtual_alias.tpl, templates/list-virtual_alias_domain.tpl:
- add search result highlighting

templates/list-virtual_mailbox.tpl:
- add search result highlighting
- move output of "Mailbox" / "Forward only" outside the foreach loop
  (was displayed once per mailbox alias target)

css/default.css:
- add style for ".searchresult"



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@868 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
Christian Boltz 091cd59d77 import_users_from_csv.py
- add known restrictions (MySQL only, hardcoded "domain/username/") to usage()


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@774 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
David Goodwin 281dde9cbd adding script as provided by Simone Piccardi via the postfixadmin-devel mailing list
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@767 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
Christian Boltz 4e69d49089 cleanupdirs.pl:
- allow usage of external config file (/etc/mail/postfixadmin/cleanupdirs.conf)
- skip everything that is not a directory (instead of bailing out with an error)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@649 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 de76d028a2 quota_usage.pl: update from Jose Nilton <jniltinho@gmail.com> - add print of total domain and total mailbox
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@547 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 77208e1eec user contributed script - Jose Nilton <jniltinho@gmail.com>
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@543 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin d3f3bd955a adding file from Jose Nilton <jniltinho@gmail.com> - produces report of quota usage etc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@529 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin c4250c42b0 fetchmail.pl: applied patch from albanpeignier - add locking, config file and syslog stuff to fetchmail.pl
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@517 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 6a5cd59785 fetchmail.php:
- allow superadmin to create fetchmail entry for any mailbox, not only for himself
  https://sourceforge.net/tracker/index.php?func=detail&aid=2147740&group_id=191583&atid=937964

upgrade.php, fetchmail.php, fetchmail.pl:
- rename fetchmail ssl field to usessl - "ssl" is a reserved word in MySQL and 
  therefore causes various problems (we would need to quote the field name 
  everywhere)
  https://sourceforge.net/tracker/index.php?func=detail&aid=2265333&group_id=191583&atid=937964

languages/*.lang:
- renamed strings for fetchmail (use)ssl field



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@479 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
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
16 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 76347b5bdc fetchmail.pl:
- disable (forgotten?) Data::Dumper inclusion


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@314 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 2e94d4b7ff enabled expansion of $Id$ and $Rev$ on all non-binary files
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@211 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 30e72a6931 ADDITIONS/fetchmail.pl: typo fix for field name - use poll_time, not pool_time - thanks to xpoint on irc who reported this
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@165 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz a48a7909ba - initial version of fetchmail support (by Viktor Gotwig,info AT symateam.de)
(see postfixadmin-devel mailinglist for detailed description and known
  problems, subject "fetchmail support").
  This commit adds fetchmail.pl which was missing in r140


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@147 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a9d2038098 convert-passwd-to-postfixadmin.pl: initial attempt; wrote due to request by plip0 on irc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@134 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 119d70df85 - fix: do not remove . and .. (thanks rschetterer!)
- added support for domain subdir style layouts and lots of error checks (thanks abatie!)
- added exit status check after archiving mailbox before calling rmtree
- references:
  - https://sourceforge.net/tracker/index.php?func=detail&aid=1750088&group_id=191583&atid=937964
  - http://www.rdrop.com/files/mailbox_remover.pl


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@133 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Mischa Peters 85dc57beee Initial Import in SourceForge
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1 a1433add-5e2c-0410-b055-b7f2511e0802
18 years ago