[pkg-bacula-devel] Bug#620825: bacula-director-common: wrong email From address

Teodor MICU mteodor at gmail.com
Mon Jan 28 14:48:14 UTC 2013


I'm using this configuration in Messages:

  mailcommand = "/usr/sbin/bsmtp -h SMTPHOST -f \"Bacula
\<bacula at HOST.DOMAIN.tld\>\" -s "[..]"

The main reason is to have the real address instead of the fake <%r>
which could be rejected at the destination. This same address is added
automatically by 'bsmtp' on Sender: header.

What I would like is to have a parameter (like %r) for the local host
name that I could use instead of specifying the FQDN.

Regarding <> this is mandated by strict RFC email rules. It's probably
common to activate 'strict_rfc821_envelopes = yes' in Postfix to block
unsolicited messages.


More information about the pkg-bacula-devel mailing list