Merge lp:~hloeung/langpack-o-matic/ssmtp-misconfigured into lp:langpack-o-matic
Status: | Rejected |
---|---|
Rejected by: | Haw Loeung |
Proposed branch: | lp:~hloeung/langpack-o-matic/ssmtp-misconfigured |
Merge into: | lp:langpack-o-matic |
Diff against target: |
43 lines (+35/-0) (has conflicts) 1 file modified
charms/xenial/langpack-o-matic/hooks/install.OTHER (+35/-0) Conflict adding files to charms. Created directory. Conflict because charms is not versioned, but has versioned children. Versioned directory. Conflict adding files to charms/xenial. Created directory. Conflict because charms/xenial is not versioned, but has versioned children. Versioned directory. Conflict adding files to charms/xenial/langpack-o-matic. Created directory. Conflict because charms/xenial/langpack-o-matic is not versioned, but has versioned children. Versioned directory. Conflict adding files to charms/xenial/langpack-o-matic/hooks. Created directory. Conflict because charms/xenial/langpack-o-matic/hooks is not versioned, but has versioned children. Versioned directory. Contents conflict in charms/xenial/langpack-o-matic/hooks/install |
To merge this branch: | bzr merge lp:~hloeung/langpack-o-matic/ssmtp-misconfigured |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Haw Loeung | Disapprove | ||
Sebastien Bacher | Needs Information | ||
Review via email: mp+408000@code.launchpad.net |
Commit message
Reconfigure ssmtp configuration
It's wrong, it misconfigures ssmtp causing undeliverable mail and
adding to mail logs noise.
This fixes that to send all root emails to <email address hidden> rather than root@localhost. We also sent a proper domain and enforce that so we know these emails are from or related to Ubuntu's langpack-o-matic.
Description of the change
Luckily, I have access to inspect the unit and there's no mail successfully delivered:
ubuntu@
/var/log/
/var/log/
/var/log/
ubuntu@
Unmerged revisions
- 597. By Haw Loeung
-
Don't allow overriding from domain
- 596. By Haw Loeung
-
Reconfigure ssmtp
All root destined emails to be sent to <email address hidden>. We
also try use langpack-o-matic. ubuntu. com as the sender's domain where
we can. - 595. By Haw Loeung
-
Remove ssmtp configuration
It's wrong, it misconfigures ssmtp causing undeliverable mail and
adding to mail logs noise:| Sep 2 01:15:02 seviper postfix/
smtpd[6486] : NOQUEUE: reject_warning: RCPT from ...: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname; from=<root@ localhost> to=<ubuntu@ localhost> proto=SMTP helo=<localhost>
| Sep 2 01:15:02 seviper postfix/smtpd[6486] : NOQUEUE: reject_warning: RCPT from ...: 504 5.5.2 <ubuntu@localhost>: Recipient address rejected: need fully-qualified address; from=<root@ localhost> to=<ubuntu@ localhost> proto=SMTP helo=<localhost>
| Sep 2 01:15:02 seviper postfix/smtpd[6486] : NOQUEUE: reject_warning: RCPT from ...: 504 5.5.2 <root@localhost>: Sender address rejected: need fully-qualified address; from=<root@ localhost> to=<ubuntu@ localhost> proto=SMTP helo=<localhost>
Thanks for the report
charms/ xenial/ langpack- o-matic/ hooks/start
sets <email address hidden> in the crontab, shouldn't it lead to a valid email being used?