modifying "from=<>"

Hi,

when Cipermail sends an encryption notification, the correspoding line in /var/log/mail.log is this:

Jul 17 15:22:15 ciphermail postfix/qmgr[1864]: 21B73206C5: from=<>, size=1460, nrcpt=1 (queue active)

How can I change "from=<>" to a valid sender address?

Rergards,

Stefan

Most automatically generated messages are sent using the null sender,
i.e., the sender is empty. It is recommended to use the null sender for
automatic notification messages, like the encryption notification, to
prevent possible mail loops (a bounce message will never be generated to
a null sender).

That said, you can change the sender address but it requires a change to
the config.xml file. Look for the following matcher entry:

<mailet match="All" class="Notify">
  <log> Sending encryption notification </log>
  <template> encryption-notification.ftl </template>
  <templateProperty> user.template.encryptionNotification
</templateProperty>
  <subject> ${sameAsMessage} </subject>
  <recipients> ${runtime.originator} </recipients>
  <sender> ${null} </sender>
  <to> ${sameAsRecipients} </to>
  <from> postmaster </from>
  <processor> transport-auto-submitted </processor>
  <passThrough> true </passThrough>
</mailet>

The sender is currently set to ${null}. You can change this to a valid
email address (don't forget to restart the back-end after changing
config.xml).

Kind regards,

Martijn Brinkers

···

On 07/18/2016 08:02 AM, Stefan Günther wrote:

Hi,

when Cipermail sends an encryption notification, the correspoding line in /var/log/mail.log is this:

Jul 17 15:22:15 ciphermail postfix/qmgr[1864]: 21B73206C5: from=<>, size=1460, nrcpt=1 (queue active)

How can I change "from=<>" to a valid sender address?

--
CipherMail email encryption

Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.

Twitter: http://twitter.com/CipherMail