Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41515 - [postfixadmin] Aliases are not displayed

Attached to Project: Community Packages
Opened by Aaron Lindsay (aclindsa) - Saturday, 09 August 2014, 14:13 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 27 October 2014, 00:48 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
No existing aliases are displayed when navigating to "Virtual List" via the postfixadmin web interface with version 2.91. There is an existing patch which, when applied, fixes the issue: see http://sourceforge.net/p/postfixadmin/bugs/313/?limit=10&page=1#ee58

Additional info:
* postfixadmin 2.91-1

Steps to reproduce:
1. Install postfixadmin 2.91-1
2. Navigate to the web interface you have setup for postfixadmin in a browser
3. Click on "Virtual List", and select a domain for which you have aliases setup.
4. Note that although the interface reports that there are aliases (i.e. "Aliases: 4 / Unlimited") that none are displayed under the ":: Aliases" section.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 27 October 2014, 00:48 GMT
Reason for closing:  Upstream
Additional comments about closing:  I don't see a point in tracking this any longer. Upstream needs to make a release on this. If anybody could bother upstream into making a release, that might move things along.
Comment by Simon Ball (symbal) - Tuesday, 26 August 2014, 03:09 GMT
The solution for any who don't want to follow the link:
In file /usr/share/webapps/postfixAdmin/model/AliasHandler.php

you should modify line 282 from:

return parent::getList( "__is_mailbox IS NULL AND ( $condition )", $limit, $offset);

to read instead:

return parent::getList( "__mailbox_username IS NULL AND ( $condition )", $limit, $offset);

It seems that __is_mailbox always returned 1 so the condition was not met.

Loading...