ISPConfig 3 / CentOS 7 / Mailman Bug location of virtual-mailman

Discussion in 'Installation/Configuration' started by iNet Specialists, Nov 20, 2016.

  1. iNet Specialists

    iNet Specialists New Member

    Regarding installation or update of ISPConfig on Fedora/RHEL based distributions...
    If you are seeing errors like the following in your postfix logs:
    Code:
    warning: database /etc/mailman/virtual-mailman.db is older than source file /etc/mailman/virtual-mailman
    
    fedora_postfix.conf.master correctly uses the file /etc/mailman/virtual-mailman from the distribution.
    However, mailman_plugin.inc.php tries to look for the file /var/lib/mailman/data/virtual-mailman when performing postmap to update the file.
    One possible work around is to create a link to the correct file so that mailman_plugin.inc.php can find it and then edit the /etc/postfix/main.cf file to use the same location (/var/lib/mailman/data/virtual-mailman)

    Create a Link
    Code:
    # ln -s /etc/mailman/virtual-mailman /var/lib/mailman/data/virtual-mailman
    
    Edit /etc/postfix/main.cf
    Code:
    # vi /etc/postfix/main.cf
    
    change: hash:/etc/mailman/virtual-mailman to hash:/var/lib/mailman/data/virtual-mailman
    
    WARNING You will have to edit main.cf each time the ISPConfig interface is updated with this method.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page