develop branch - Main.cf: Permission denied

  • I found this in the log mail.info


    /sendmail[10988]: fatal: open /etc/postfix/main.cf: Permission denied


    ls -asl main.cf


    4 -rw-r----- 1 root imscp 3598 set 11 12:02 main.cf


    just before I installed the plugin mailman. I tried to install the plugin on another machine but has not been replicated as an error.


    Debian 3.2.51-1 x86_64 GNU/Linux
    i-MSCP Git stable
    Build: Non disponibile
    Codename: Andromeda

    Notelseit.com

  • You have done the ls -asl on /etc/postfix/main.cf or /etc/imscp/postfix/main.cf ???

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • I'll check ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hello ;


    Bug confirmed.



    Before installing mailman plugin:

    Code
    1. root@jessie:/var/www/imscp/gui/plugins# ls -la /etc/postfix/main.cf -rw-r--r-- 1 root root 3525 sept. 20 17:26 /etc/postfix/main.cf


    After installing mailman plugin

    Shell-Script
    1. root@jessie:/var/www/imscp/gui/plugins# ls -la /etc/postfix/main.cf -rw-r----- 1 root imscp 3617 sept. 20 17:31 /etc/postfix/main.cfroot@jessie:/var/www/imscp/gui/plugins#


    To fix the problem faster, you can simply set the main.cf permission to 0644 root root yourself


    Shell-Script
    1. # chown root:root /etc/postfix/main.cf# chmod 0644 /etc/postfix/main.cf


    And then restart postfix

    Shell-Script
    1. # service postfix restart


    A new version of mailman plugin will come soon.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206