Skip to content

Log details of ns8-sendmail message submission #7983

@DavidePrincipi

Description

@DavidePrincipi

The ns8-sendmail command is used as mail gateway to send password expiration and other notification messages, however it does not record any activity information in system logs. There is no information about failed/succeeded message submission.

Proposed solution

When a message is submitted, write a structured record in system log that contains:

  • subject
  • sender
  • first recipient
  • remote server address
  • SMTP status code and status message

Alternative solutions

Not considered

See also


Thanks to @nrauso @lucagasparini

Metadata

Metadata

Labels

verifiedAll test cases were verified successfully

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions