Wietse, That was one of my test cases. I just tried it again;
ssm-user@postfix-warming-c:~$ postconf | grep -E "append_at_my|remote_header_rewrite|local_header_rewrite|inet_interfaces" append_at_myorigin = yes inet_interfaces = all local_header_rewrite_clients = remote_header_rewrite_domain = blackhole.local 220 postfix-warming-c.us-east-2.compute.internal ESMTP Postfix (Ubuntu) helo me 250 postfix-warming-c.us-east-2.compute.internal mail from:<sean.hennes...@mercurygate.com> 250 2.1.0 Ok rcpt to:<x> 250 2.1.5 Ok data 354 End data with <CR><LF>.<CR><LF> . 250 2.0.0 Ok: queued as ADA723FAB4 sudo grep ADA723FAB4 /var/log/mail.log Jan 29 18:24:27 postfix-warming-c postfix/smtpd[16934]: input attribute value: ADA723FAB4 Jan 29 18:24:27 postfix-warming-c postfix/smtpd[16934]: ADA723FAB4: client=ip-10-104-87-249.us-east-2.compute.internal[10.104.87.249] Jan 29 18:24:29 postfix-warming-c postfix/cleanup[16925]: ADA723FAB4: message-id=<20230129182427.ada723f...@postfix-warming-c.us-east-2.compute.internal> Jan 29 18:24:29 postfix-warming-c postfix/qmgr[16918]: ADA723FAB4: from=<sean.hennes...@mercurygate.com>, size=383, nrcpt=1 (queue active) Jan 29 18:24:29 postfix-warming-c postfix/smtpd[16934]: > ip-10-104-87-249.us-east-2.compute.internal[10.104.87.249]: 250 2.0.0 Ok: queued as ADA723FAB4 Jan 29 18:24:29 postfix-warming-c postfix/local[16927]: ADA723FAB4: to=<x...@postfix-warming-c.us-east-2.compute.internal>, orig_to=<x>, relay=local, delay=6.8, delays=6.8/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "x") Jan 29 18:24:29 postfix-warming-c postfix/bounce[16936]: ADA723FAB4: sender non-delivery notification: 9D6723FABC Jan 29 18:24:29 postfix-warming-c postfix/qmgr[16918]: ADA723FAB4: removed ________________________________ From: owner-postfix-us...@postfix.org <owner-postfix-us...@postfix.org> on behalf of Wietse Venema <wie...@porcupine.org> Sent: Sunday, January 29, 2023 9:03 AM To: postfix-users@postfix.org <postfix-users@postfix.org> Subject: Re: append_dot_mydomain, how to make it work > What I'm looking for is a way to force a rewrite of ADDRESSES THAT > DON'T HAVE AN @DOMAIN that are coming into this machine from other > computers. Use append_at_myorigin: append_at_myorigin (for addresses without *domain*), Not append_dot_mydomain: append_dot_mydomain (for addresses without *parent domain*) Specify the forced domain with: remote_header_rewrite_domain (default: empty) And make sure that it happens only for clients that don't match: local_header_rewrite_clients (which depends on SMTP client IP address, 10.104.87.249 in your test). Wietse