mail / postfix problems.

    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • mail / postfix problems.

      Howdy,
      I think I need to reinstall postfix, or reconfigure it but don't want to damage anything omv so wondering if there's an omv way to fix it.

      I'm setting up a cron job to mail me when a disk fails in my raid ( lsi add in card, not managed in omv ), but having issues with using postfix to mail.

      so i ran chckconfig which told me this
      chkconfig postfix on
      insserv: warning: current start runlevel(s) (empty) of script `postfix' overrides LSB defaults (2 3 4 5).
      insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `postfix' overrides LSB defaults (0 1 6).
      insserv: warning: current start runlevel(s) (empty) of script `postfix' overrides LSB defaults (2 3 4 5).
      insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `postfix' overrides LSB defaults (0 1 6).

      and there's no S* scripts for postfix in /etc/rc*, but lots of kill scripts.

      should I apt-get remove then apt-get install postfix? not terribly familiar with debian package management but if so, plan on walking through this page wiki.debian.org/Postfix#Instal…iguring_Postfix_on_Debian

      thanks for any advice.
    • partially answering this myself,

      not necessary to do apt-get install postfix ( unsure if it would harm things still ).
      proper way is go to omv web interface -> notifcations, fill that out and enable it. this adds the start scripts to rc*.d/ and probably other stuff as well.

      didn't notice it in a guide yet, so for google I think either port works 587, ssl/tsl enabled, smtp.gmail.com then have to 'enable less secure apps' for your google account. that enable less secure apps makes it seem like i've messed up somehow though ( google.com/settings/security/lesssecureapps )

      edit: adding that, since mozilla thunderbird also has to 'enable less secure apps' it can't be too bad and not worth figuring out how to set up google oath with a mailserver on debian.

      The post was edited 1 time, last by flummoxer ().