Can't add/update user (postfix error)

    • OMV 4.x
    • Resolved
    • Can't add/update user (postfix error)

      Hi !

      I'm new user of openmediavault, i installed and use it for a mounth without issue.
      I tried to update a password but I had this issue :

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf postfix 2>&1' with exit code '1': postmap: fatal: parameter inet_interfaces: no local interface found for ::1 run-parts: /usr/share/openmediavault/mkconf/postfix.d/50misc exited with return code 1

      Source Code

      1. Erreur #0:
      2. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf postfix 2>&1' with exit code '1': postmap: fatal: parameter inet_interfaces: no local interface found for ::1
      3. run-parts: /usr/share/openmediavault/mkconf/postfix.d/50misc exited with return code 1 in /usr/share/php/openmediavault/system/process.inc:182
      4. Stack trace:
      5. #0 /usr/share/openmediavault/engined/module/postfix.inc(47): OMV\System\Process->execute()
      6. #1 /usr/share/openmediavault/engined/rpc/config.inc(168): OMVModulePostfix->applyConfig()
      7. #2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      8. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      9. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      10. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusFg...', '/tmp/bgoutputOu...')
      11. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      12. #7 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      13. #8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      14. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      15. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      16. #11 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      17. #12 {main}
      Display All

      I tried to update my postfix configuration with :

      inet_protocols = ipv4
      inet_interfaces = all

      But when I apply updates on GUI the config is modify.


      Source Code: /etc/postfix/main.cf

      1. mydomain = home
      2. mydestination =
      3. inet_interfaces = localhost
      4. relayhost = :25
      5. sender_canonical_maps = regexp:regexp:/etc/postfix/recipient_canonical
      6. sender_bcc_maps = hash:/etc/postfix/sender_bcc
      7. recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
      8. recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
      9. smtp_header_checks = regexp:/etc/postfix/smtp_header_checks
      10. transport_maps = hash:/etc/postfix/transport



      If I reinstall my OS, did I loose my software raid 6 array ?
      Or can I have solve this ?


      Thank you very much and sorry for my english !
    • Add the environment variable OMV_POSTFIX_MAIN_INET_INTERFACES according to github.com/openmediavault/open…t/mkconf/postfix.d/10main in /etc/default/openmediavault and execute

      Shell-Script

      1. # omv-mkconf postfix
      2. # systemctl restart postfix
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Users Online 1

      1 Guest