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

14 Commits

Author SHA1 Message Date
Mirko Vogt
e467af14e1 default $transport_maps: exclude results where transport='virtual'
Modify the default query for $transport_maps to exclude all entries
which have the transport set to 'virtual'.

Postfixadmin sets the transport for domains to 'virtual' by default,
which is a rather unfortunate choice when enabling transport_maps, as
it will direct postfix to use the 'virtual' transport as defined in
master.cf, which most likely is not what the user intended.
The user most likely still wants emails being delivered to virtual
mailboxes, via the transport defined per $virtual_transport.

$virtual_transport however is only a fallback, which applies if
$transport_maps is either undefined or the table lookup it refers to
fails.

Hence excluding domains where transport is set to 'virtual', which
by default and therewith in most cases probably means all domains
ever created by postfixadmin.

This results in the query returning no results, leading to postfix
falling back to the transport defined in $virtual_transport.
2021-11-12 17:12:52 +01:00
Adrian
47618bf5a3 POSTFIX_CONF.txt: Add transport map support 2019-12-29 16:59:28 +01:00
Christian Boltz
125113d83c
POSTFIX_CONF.txt: make queries pgsql-compatible
... by changing WHERE ...=1 to WHERE ...='1' which should work with both
mysql and postgresql.

Reported by xpoint on IRC.
2019-11-05 23:15:07 +01:00
David Goodwin
3fc5c74040 drop old / invalid postfix paramaeters - see #262 2019-04-12 19:52:53 +01:00
Christian Boltz
1a22118453 POSTFIX_CONF.txt:
- add note that active=1 needs to be changed to active='t' when using 
  PostgreSQL
  https://sourceforge.net/p/postfixadmin/discussion/676076/thread/016fe62e/
- move around note about concat() vs. PostgreSQL


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1682 a1433add-5e2c-0410-b055-b7f2511e0802
2014-07-22 20:36:22 +00:00
Christian Boltz
182485e9d9 POSTFIX_CONF.txt:
- add note about virtual_mailbox_base


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1429 a1433add-5e2c-0410-b055-b7f2511e0802
2013-02-19 12:47:52 +00:00
Christian Boltz
31821dd69b POSTFIX_CONF.TXT:
- fixed filename for quota


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@876 a1433add-5e2c-0410-b055-b7f2511e0802
2010-10-15 23:59:39 +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
David Goodwin
7280a2bf80 POSTFIX_CONF.txt: typo fix
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@754 a1433add-5e2c-0410-b055-b7f2511e0802
2009-11-03 19:39:47 +00:00
Christian Boltz
493c8dcec4 POSTFIX_CONF.txt.
- honor alias_domain.active (see mail from Daniel Reichelt in postfixadmin-devel)
- fix query for maildir in virtual_mailbox_maps - the maildir field already 
  contains the domain (exact layout depends on the $CONF settings), so there's
  no need to prepend it again


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@620 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-09 20:46:44 +00:00
David Goodwin
ec6acef54b POSTFIX_CONF.txt: see e.g. https://sourceforge.net/tracker/index.php?func=detail&aid=2693375&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@600 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-23 15:31:06 +00:00
David Goodwin
049a9ecc96 merge patch for dovecot quota viewing - see https://sourceforge.net/tracker/index.php?func=detail&aid=2060309&group_id=191583&atid=937966 - thank you shario; sorry it took so long to merge!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@518 a1433add-5e2c-0410-b055-b7f2511e0802
2009-01-15 11:38:11 +00:00
David Goodwin
370e8fef6c inital merge of lenix's patch for domain aliasing; I think list-virtual.php needs some attention, but I've run out of time right now; upgrade.php has been updated to create the tables correctly (tested on pgsql and mysql); functionality or php scripts not tested yet
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@363 a1433add-5e2c-0410-b055-b7f2511e0802
2008-05-21 21:05:48 +00:00
David Goodwin
5559c4f26c file extensions should be lower case ;)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@226 a1433add-5e2c-0410-b055-b7f2511e0802
2007-11-14 21:43:02 +00:00