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

54 Commits

Author SHA1 Message Date
David Goodwin
8f20c96278 see: https://github.com/postfixadmin/postfixadmin/issues/101 - in Debian Buster, /var/lock is writeable by anyone, /var/run is not... both are tmpfs 2020-03-14 21:17:32 +00:00
Stefan M. Hessenauer
416a71d604 short documentation added, path to deliver as configuration option 2020-02-12 00:01:34 +01:00
Stefan M. Hessenauer
352ae80395 fetchmail dovecot delivery 2020-02-09 16:06:03 +01:00
David Goodwin
f8713651cc explode if $run_dir is not specified; make a config setting and perhaps shift the onus onto the user rather than having to deal with tmpfiles.d etc
See: https://github.com/postfixadmin/postfixadmin/issues/78
2019-09-14 21:27:51 +01:00
David Goodwin
020343999a
Merge pull request #221 from SuperVirus/fetchmail_different_source_port
Allow different port for fetchmail
2019-01-07 21:56:28 +00:00
David Goodwin
4fcdba9cf4 run php-cs-fixer (code reforamt) 2018-12-28 19:31:43 +00:00
David Goodwin
76ec4bc84d token psalm fixes 2018-12-28 19:18:05 +00:00
Christoph 'SuperVirus' Heitkamp
d35e66808b Allow different port for fetchmail 2018-12-17 13:29:07 +01:00
David Goodwin
b4a16a0313 quote shell vars 2018-11-22 14:54:18 +00:00
David Goodwin
435d97c282 try looking for alternatives to maildirmake etc - see #213 2018-11-21 15:43:06 +00:00
David Goodwin
f8d7844767 reduce some nesting of the code loops 2018-02-23 20:36:18 +00:00
Tadas Ustinavičius
9ab2eaedc6 Only delete Sieve directory if it really exists 2018-02-23 22:03:51 +02:00
Tadas Ustinavičius
d986e26be8 Making virtualmaidel.php remove Sieve filters if they exist 2018-02-23 09:09:01 +02:00
Adrien Crivelli
15df6c1d7b
Reformat everything with PHP-Cs-Fixer 2018-01-26 23:54:37 +09:00
David Goodwin
82e7bdfda3 fix surname typo 2017-09-01 09:07:34 +01:00
David Goodwin
9dbeb68f9a add TODO 2017-08-31 12:47:25 +01:00
David Goodwin
2b04b72072 remove unnecessary nesting, reindent, make it print out what it might do before breaking stuff etc 2017-08-31 12:45:33 +01:00
Seitanas
72288b8402 Updated to use PHP mysqli extension. 2017-08-31 11:59:47 +03:00
David Goodwin
3b481082c4 Update README.md 2017-05-26 10:15:44 +01:00
David Goodwin
8bb1c4f459 update squirrelmail plugin 2017-05-26 10:14:42 +01:00
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
2016-08-10 10:54:53 +00:00
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
2015-04-04 14:26:21 +00:00
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
2014-10-20 21:23:54 +00:00
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
2014-06-21 19:54:24 +00:00
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
2014-02-19 11:57:47 +00:00
David Goodwin
547996c8c2 improve installation instructions
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1648 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-19 11:56:59 +00:00
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
2014-02-19 11:53:43 +00:00
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
2014-02-19 11:53:09 +00:00
David Goodwin
ff1f9d2142 fix include path
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1645 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-19 11:52:36 +00:00
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
2014-02-18 13:23:55 +00:00
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
2013-11-10 15:57:32 +00:00
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
2013-08-18 18:40:57 +00:00
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
2011-08-03 22:58:09 +00:00
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
2011-08-01 23:31:03 +00:00
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
2011-04-10 13:09:48 +00:00
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
2010-09-26 23:14:42 +00:00
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
2009-11-19 23:33:57 +00:00
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
2009-11-09 14:42:14 +00:00
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
2009-05-03 16:14:14 +00:00
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
2009-04-09 20:05:45 +00:00
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
2009-01-24 15:44:41 +00:00
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
2009-01-23 21:40:50 +00:00
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
2009-01-18 12:03:14 +00:00
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
2009-01-15 11:25:54 +00:00
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
2008-11-12 21:48:31 +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
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
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
2008-03-24 13:40:48 +00:00
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
2007-11-11 23:36:46 +00:00
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
2007-10-26 06:13:46 +00:00