Custom Postfix (or other) Configurations

  • So far I'm really liking OpenMedia Vault. I've been using Debian on servers for a long time, but for certain use cases I like the idea of a simple and consistent user interface. One issue I've ran into though is when a custom configuration may be desired but omv-mkconf continually clobbers it. (Also, I was surprised that the notifications module doesn't offer the option of standalone smtp server.) After browsing through the files the last couple of days to familiarize myself with OMV, I finally just added this test to /etc/default/openmediavault:


    Code
    if [ "$(basename $0)" = "omv-mkconf" ] && [ "$1" = "postfix" ] ;then
      exit 0
    fi


    I had considered various approaches but most would be undone during upgrades. Is there a better way to handle cases like this?



    Adam

Jetzt mitmachen!

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