On Thu, Oct 05, 2017 at 12:41:53PM +0200, Michael Hekeler wrote:
> > aliases file:
> > root: [email protected]

If your monitoring app on localhost sends an email to "root"
then the header of that email has:

  From: Cron Daemon  <-- I don“t know what your sender looks like
  X-Original-To: root   <-- maybe
  To: [email protected]
  ...
   
Because of your alias file the smtpd will add the Delivered-To field
So the header is:

  From: Cron Daemon
  X-Original-To: root
  To: [email protected]
  Delivered-To: [email protected]
  ...

You can filter by Delivered-To for example or as I write before 
configure your monitoring app that it sends to [email protected]
Then the header will be:
   
  From: Cron Daemon
  To: [email protected]
  ...

Reply via email to