On 27/04/21 3:38 am, Michael White wrote:
So updating mailer.conf got rid of sendmail.  So now I need to move to the next step which is to understand what the resulting messages are telling me:

Apr 26 11:22:57 white-home postfix/pickup[23008]: DE94263846: uid=1002 from=<xxxx> Apr 26 11:22:57 white-home postfix/cleanup[23025]: DE94263846: message-id=<20210426152257.de94263...@mail.white-home.net <mailto:20210426152257.de94263...@mail.white-home.net>> Apr 26 11:22:57 white-home postfix/qmgr[23009]: DE94263846: from=<x...@mail.white-home.net <mailto:x...@mail.white-home.net>>, size=309, nrcpt=1 (queue active) Apr 26 11:22:57 white-home postfix/virtual[23029]: DE94263846: to=<xxxx@localhost>, relay=virtual, delay=0.09, delays=0.04/0.02/0/0.02, dsn=5.1.1, status=bounced (unknown user: "xxxx@localhost") Apr 26 11:22:57 white-home postfix/cleanup[23025]: F0B4C63883: message-id=<20210426152257.f0b4c63...@mail.white-home.net <mailto:20210426152257.f0b4c63...@mail.white-home.net>> Apr 26 11:22:57 white-home postfix/bounce[23031]: DE94263846: sender non-delivery notification: F0B4C63883 Apr 26 11:22:57 white-home postfix/qmgr[23009]: F0B4C63883: from=<>, size=2215, nrcpt=1 (queue active)
Apr 26 11:22:57 white-home postfix/qmgr[23009]: DE94263846: removed
Apr 26 11:22:57 white-home postfix/virtual[23029]: F0B4C63883: to=<x...@mail.white-home.net <mailto:x...@mail.white-home.net>>, relay=virtual, delay=0.01, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "x...@mail.white-home.net <mailto:x...@mail.white-home.net>")
Apr 26 11:22:57 white-home postfix/qmgr[23009]: F0B4C63883: removed

Now I am at a loss as to how to mix real and virtual users.  I am using postfixadmin to manage my virtual user database and it does not allow me to add a localhost domain as I mentioned with my initial post.  Agin I tried ‘localhost.’ thinking that might cover the ‘x.x’ edit.

It looks like what you need is something to alias xxxx@localhost to x...@mail.white-home.net? Or perhaps what would be more useful is aliasing xxxx@/anything/ to x...@mail.white-home.net? If so I'd suggest having a look at virtual_alias_maps?

I'm thinking something along the lines of...

In main.cf:

   virtual_alias_domains =
   virtual_alias_maps = hash:/etc/postfix/virtual

In /etc/postfix/virtual:

   xxxx x...@mail.white-home.net

(And don't forget to run "postmap hash:/etc/postfix/virtual".)

I seem to recall there is a bit more to this, including checking that myorigin is set, but hopefully that will get you heading in the right direction?

Nick.

Reply via email to