Exim4 from rewrite or Bacula from rewrite
I have a Debian box running a Bacula director (and fd and sd) and Exim4.
Bacula sends some mails to inform of the status. Those mails appear from
root@localhost while I'd like to appear from email@example.com where fq.dn is the
FQDN of that computer.
I see two possible solutions. Make Bacula write the correct header or make
Exim4 re-write all mail from localhost to be from the FQDN. Both are sane
(and I would do both in fact) but I couldn't find how to do any. Can any body
give me some hint about how to do it ?
José Pablo Fernández