postfix

  • how to resole this error:
    postfix check
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/active
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/bounce
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/corrupt
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/defer
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/deferred
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/flush
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/hold
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/incoming
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/private
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/public
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/saved
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/trace
    postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/maildrop
    postfix/postfix-script: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_nis-2.13.so and /lib/x86_64-linux-gnu/libnss_nis-2.13.so differ
    postfix/postfix-script: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_nisplus-2.13.so and /lib/x86_64-linux-gnu/libnss_nisplus-2.13.so differ
    postfix/postfix-script: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_hesiod-2.13.so and /lib/x86_64-linux-gnu/libnss_hesiod-2.13.so differ
    postfix/postfix-script: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_files-2.13.so and /lib/x86_64-linux-gnu/libnss_files-2.13.so differ
    postfix/postfix-script: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_dns-2.13.so and /lib/x86_64-linux-gnu/libnss_dns-2.13.so differ
    postfix/postfix-script: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libresolv-2.13.so and /lib/x86_64-linux-gnu/libresolv-2.13.so differ
    postfix/postfix-script: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libnss_compat-2.13.so and /lib/x86_64-linux-gnu/libnss_compat-2.13.so differ

  • rm -rf /var/spool/postfix/lib/*
    ldconfig


    cd /var/spool/postfix
    chown -R postfix:root active
    chown -R postfix:root bounce
    chown -R postfix:root corrupt
    chown -R postfix:root defer
    chown -R postfix:root deferred
    chown -R postfix:root flush
    chown -R postfix:root hold
    chown -R postfix:root incoming
    chown -R postfix:postdrop maildrop
    chown -R postfix:root private
    chown -R postfix:postdrop public
    chown -R postfix:root saved
    chown -R postfix:root trace


    shutdown -r now

  • Hello
    thanks for your solution..
    now with postfix check this error :
    postfix/postfix-script: warning: not owned by root: /var/spool/postfix/etc
    postfix/postfix-script: warning: not owned by root: /var/spool/postfix/etc/ssl
    postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib
    postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/x86_64-linux-gnu
    postfix/postfix-script: warning: not owned by root: /var/spool/postfix/usr
    postfix/postfix-script: warning: not owned by root: /var/spool/postfix/usr/lib
    postfix/postfix-script: warning: not owned by root: /var/spool/postfix/usr/lib/sasl2
    postfix/postfix-script: warning: not owned by root: /var/spool/postfix/usr/lib/zoneinfo

  • Thank you @travica and @tekkb
    I had the same problem, your post helped me a lot!

    [LibreELEC @ 2x RPi3, CoreELEC @ S12 Octa Core]

    [ NAS OMV 5.xx (Usul) @ NanoPI M4 ]

    [ Nextcloud 18.0.4 @ ODROID C2 ]

    [ Motioneye @ RPi4]

    Einmal editiert, zuletzt von Aux ()

  • i solved the problem in /etc/postfix/main.cf on line inet_interfaces = loopback-only change to localhost and now is working. Thanks for your help.

    Bingo, that solved my issue with notification emails not working after the upgrade to Arrakis. Logs pointed to a DNS issue, so I troubleshooted by verifying /etc/resolv.conf and /var/spool/postfix/etc/resolv.conf were populated correctly, and also tried alternate DNS servers.


    I had also edited /etc/postfix/main.cf and changed line inet_interfaces = loopback-only to inet_interfaces = all, yet this did not work! All hail localhost. :)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!