#879 Email Report Fail

v0.7x
closed
zoon01
Others (142)
5
2012-10-28
2011-05-24
venult
No

hi

i was using version 0.7.2.5872 and had configured a Gmail account for the email reports and also using custom scripts (like shutdown and startup).
this feature always worked fine until i updated to build 6378 and 6412.
it stopped working no matter the configuration was, it simply failed to send the email, and the error was logged.

please, fix this.

thank you, and btw, excellent profuct :p

Discussion

  • zoon01

    zoon01 - 2011-05-24

    I don't know what cause this error for you,

    but i did have a test on mine server and looks working fine to me.

    Log:

    root: msmtp service executed

    msmtp: host=smtp.quicknet.nl tls=off auth=off from=ma.zoon@quicknet.nl recipients=ma.zoon@quicknet.nl mailsize=204 smtpstatus=250 smtpmsg='250 OK id=1QOfT1-0006e6-Ku' exitcode=EX_OK

    root: Test email successfully sent to: ma.zoon@quicknet.nl.

     
  • venult

    venult - 2011-05-24

    hmmm.
    for now i'll stick with the old version, but i guess i'll try to update later to 6412, maybe in a couple of days.
    last time went 5872>6378>6412, maybe something went wrong...
    anyway, when i try i'll give some feedback

     
  • zoon01

    zoon01 - 2011-05-24

    Ok thats fine for me,
    i shall wait on your feedback,

    Regards,
    Michael

     
  • venult

    venult - 2011-05-24

    hi.
    i've not yet upgraded to newest build, but noticed you're not using SSL/TLS on your configuration, can this be the reason?
    on Gmail i'm using SSL, and this is the log from build 5872:

    root: msmtp service executed

    msmtp: host=smtp.gmail.com tls=on auth=on user=xxx@gmail.com from=xxx@gmail.com recipients=xxx@gmail.com mailsize=191 smtpstatus=250 smtpmsg='250 2.0.0 OK xxxxxx' exitcode=EX_OK

    root: Test email successfully sent to: xxx@gmail.com.

    PS: where are "xxx" i deleted the original code

     
  • zoon01

    zoon01 - 2011-05-24

    Your totally right,

    it seems the openssl did not compile with it in the builds.

    Thanks for reporting this bug.

    Regards,
    Michael

     
  • zoon01

    zoon01 - 2011-05-24

    Fixed on rev. 6452.

    http://freenas.svn.sourceforge.net/viewvc/freenas/branches/?view=log

    Below is my log output with my Gmail settings used:

    root: Test email successfully sent to: michael.zoon@freenas.org.

    msmtp: host=smtp.gmail.com tls=on auth=on user=michael.zoon@freenas.org from=michael.zoon@freenas.org recipients=michael.zoon@freenas.org mailsize=208 smtpstatus=250 smtpmsg='250 2.0.0 OK 1306264008 y20sm5551601eeh.2' exitcode=EX_OK

    (Use port 465 for Gmail and not port 587)

    Regards
    Michael

     

Log in to post a comment.