Opened 21 months ago

Closed 20 months ago

Last modified 20 months ago

#760 closed defect (fixed)

Nightly/Weekly and own script Emails regressed from B4

Reported by: tekkie Owned by: gcooper
Priority: critical Milestone:
Component: Backend Version: 8.0.1-RC1
Keywords: Cc:

Description

Email over TLS on gmail has regressed between B4 and RC1.

The test email is sent successfully however none of the nightly nor custom scripted emails are sent any longer.

Marking this as critical as it also means that the '-m' option on SMART no longer can email errors.

Change History (10)

comment:1 Changed 21 months ago by gcooper

  • Owner set to gcooper
  • Status changed from new to assigned

I'll take a look at this.

comment:2 Changed 21 months ago by william

I believe this is fixed r7739 by using the same send test email system as the default sendmail for the OS.

This, however, might or might not hit 8.0.1 because it is considered a new feature...
So, if anyone could give a nightly build (after r7739) a try that would be awesome

comment:3 Changed 21 months ago by jpaetzel

A reimplimentation of the mail subsystem has been completed. After testing with various mail setups here (including gmail) it has been merged into the 8.0.1 branch.

comment:4 Changed 21 months ago by gcooper

  • Resolution set to fixed
  • Status changed from assigned to closed

This is believed to be fixed in the upcoming RC/trunk. Marking fixed (please reopen with more details if you disagree).

comment:5 Changed 20 months ago by tekkie

The problem is not entirely resolved yet, although daily/weekly emails are working in 8r7765 the following doesn't work:

msmtp --file=${msmtp_config:-"/etc/local/msmtprc"} xxxx.xxxxx@… < ./tmp/$2_tmpmail

comment:6 Changed 20 months ago by tekkie

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:7 Changed 20 months ago by william

Sorry, but who told you that should work? Where do you see that code?

msmtp has been removed...

to send email from command line use: cat /my/email| mail -s "subject" recipient@…

comment:8 Changed 20 months ago by tekkie

Get out of bed with your wrong leg? And BTW msmtp was present in B4 and before its been removed later...

So both mail and sendmail are present on the system, which one is the better option?

PS. Removing stuff from the freeBSD distribution and not telling anyone about the change is not nice either. ;)

Have a great weekend. :)

comment:9 Changed 20 months ago by tekkie

  • Resolution set to fixed
  • Status changed from reopened to closed

comment:10 Changed 20 months ago by william

It was not my intention to offend or anything like that, sorry if you felt otherwise. I was just trying to figure out if there was still some piece of code using the legacy msmtp :)

Use mail.

PS. Every major change is usually spoken in the release notes of a given image, there is no point in doing that for every nightly build

Have a great weekend as well =)

Note: See TracTickets for help on using tickets.