Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: How To Configure mdadm RAID e-mail Notifications via ISP SMTP Using msmtp

  1. #21
    Join Date
    Jan 2006
    Location
    Waterloo, ON, Canada
    Beans
    214
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To Configure mdadm RAID e-mail Notifications via ISP SMTP Using msmtp

    Quote Originally Posted by RobertKH View Post
    I know this post is old and probably no one really monitors it however I keep getting this error when trying to test my email as described in the first post. msmtp: /etc/msmtprc: line 49: account Gmail not (yet) defined

    I did change my password to the app specific password as described earlier as well. When I go into the mail logs, I see this
    Mar 24 02:53:38 server-box postfix/sendmail[4354]: fatal: open /etc/postfix/main.cf: No such file or directory
    Mar 24 08:25:57 server-box postfix/sendmail[1132]: fatal: open /etc/postfix/main.cf: No such file or directory

    Could this be because I have postfix installed? I could remove it as I haven't yet gotten it set up for anything.
    Any ideas?
    Sorry never tested w/ postfix ... did you miss the "sendmail symlink" trick I noted in the tutorial?
    ~Fermmy

  2. #22
    Join Date
    Sep 2006
    Location
    Burton, uk
    Beans
    88
    Distro
    Ubuntu

    Re: How To Configure mdadm RAID e-mail Notifications via ISP SMTP Using msmtp

    When postfix is missing the main.cf it means that the config has not yet been run. Don't bother re-installing it simply run

    Code:
    sudo postfix dpkg-reconfigure
    http://www.amg-it.co.uk
    |< |_| |3 |_| /\/ 7 |_|
    Cuttent OS's ..::Mint 14,Ubuntu, BT5r3, FreeBSD::..

  3. #23
    Join Date
    Mar 2013
    Location
    Lebanon New Hampshire
    Beans
    115
    Distro
    Ubuntu

    Re: How To Configure mdadm RAID e-mail Notifications via ISP SMTP Using msmtp

    I actually ended up using another SMTP mail sender. It worked pretty well. If I can find the link again I will post it here. Postfix seemed to be harder to set up. I have already gotten emails on changing file sizes as well as a crap line in fstab. Fixed fstab and haven't gotten any other emails since. Apparently it gives me what I was looking for. Thank you for taking the time to answer this old question thought. I appreciate it. Maybe I will give it some time and work with postfix.
    -----------------------------------------------------------------------------------------
    Home Server Running Trusty 14.04
    Dualboot Ubuntu 14.04/Windows 7 Ultimate Laptop

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •