Enhancement #3219

Backup notification: add sender field

Added by Filippo Carletti over 4 years ago. Updated over 4 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:<multiple packages>
Target version:v6.6
Resolution: NEEDINFO:No

Description

Add a "Sender" field to the Notification tab of the backup data page.
Using the default sender when the system has a non-registered domain name leads to blocks from some mail servers with errors like:
550 Sender verify failed


Related issues

Related to NethServer 6 - Enhancement #3117: Add hostname and domain in subject of backup result email CLOSED

Associated revisions

Revision 34f06eb3
Added by Filippo Carletti over 4 years ago

Add support for custom sender. Refs #3219

Revision df729d0e
Added by Filippo Carletti over 4 years ago

Add support for custom sender. Refs #3219

Revision 833d9e46
Added by Giacomo Sanchietti over 4 years ago

Merge pull request #2 from filippocarletti/master

Add support for custom sender. Refs #3219 + hostname in subject

Revision 14517932
Added by Giacomo Sanchietti over 4 years ago

Merge pull request #5 from filippocarletti/master

Add support for custom sender. Refs #3219

Revision 13329863
Added by Giacomo Sanchietti over 4 years ago

db: change default for notifyFrom. Refs #3219

Revision f9908aa6
Added by Giacomo Sanchietti over 4 years ago

db: add default for notifyFrom. Refs #3219

Revision 8d8cff25
Added by Giacomo Sanchietti over 4 years ago

Web UI: fix notifyFrom validator. Refs #3219

History

#1 Updated by Filippo Carletti over 4 years ago

  • Related to Enhancement #3117: Add hostname and domain in subject of backup result email added

#2 Updated by Giacomo Sanchietti over 4 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#3 Updated by Giacomo Sanchietti over 4 years ago

  • Category changed from nethserver-backup-data to <multiple packages>
  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30
Affected packages:
  • nethserver-backup-data
  • nethserver-backup-config

#4 Updated by Giacomo Sanchietti over 4 years ago

  • Assignee set to Giacomo Sanchietti

#5 Updated by Giacomo Sanchietti over 4 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#6 Updated by Giacomo Sanchietti over 4 years ago

  • Category deleted (<multiple packages>)
  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70
Packages in nethserver-testing:
  • nethserver-backup-config-1.4.0-1.7.g2e8321a.ns6.noarch.rpm
  • nethserver-backup-data-1.1.4-1.4.g8d8cff2.ns6.noarch.rpm
Test case 1
  • Configure the data backup
  • Always enable notifications
  • Leave the sender address field empty inside the UI
  • Execute the backup
  • Check the mail is sent from root@<FQDN>
Test case 2
  • Configure the data backup
  • Always enable notifications
  • Configure the sender address field inside the UI
  • Execute the backup
  • Check the mail is sent with the configured sender

#7 Updated by Giacomo Sanchietti over 4 years ago

  • Assignee deleted (Giacomo Sanchietti)

#8 Updated by Giacomo Sanchietti over 4 years ago

  • Category set to <multiple packages>

#9 Updated by Filippo Carletti over 4 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

Mail headers from test 1:

Return-Path: <root@ns65.neth.net>
From: root@ns65.neth.net

Mail headers from test 2:
Return-Path: <gigi@cremeria.it>
From: gigi@cremeria.it

#10 Updated by Giacomo Sanchietti over 4 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-backup-data-1.1.5-1.ns6.noarch.rpm
  • nethserver-backup-config-1.4.1-1.ns6.noarch.rpm

Also available in: Atom PDF