On Wed, 2021-08-18 at 00:43 -0400, Viktor Dukhovni wrote: > On Tue, Aug 17, 2021 at 09:18:08PM -0400, fp145 wrote: > > > Aug 18 02:58:09 libertyfp postfix/lmtp[11706]: D0C4941E97: > > to=<fp...@libertyfp.org>, orig_to=<bi...@billoblog.com>, > > relay=mail.libertyfp.org[private/dovecot-lmtp], delay=0.96, > > delays=0.91/0.02/0.02/0.01, dsn=2.0.0, status=sent (250 2.0.0 > > <fp...@libertyfp.org> +TFjIyFbHGG7LQAAHPmxyw Saved) > > This unequivocally shows that you have a virtual(5) aliases rewrite > rule > mapping "bi...@billoblog.com" to "fp...@libertyfp.org", if that's not > what you actually want, delete the rule from virtual alias tables. > > > sender_dependent_relayhost_maps = hash:/etc/postfix/bysender > > Whatever, not directly relevant to your problem... > > > and here's what's in /etc/postfix/bysender > > > > % more bysender > > *@gmail.com [mail.billoblog.com]:25 > > *@hotmail.com [mail.billoblog.com]:25 > > *@charter.com [mail.billoblog.com]:25 > > That's not valid syntax for that table, these are not ever used as > written. As can't have seen the above syntax documented, one might > wonder how you arrived at that particular form... See postconf(5): > > sender_dependent_relayhost_maps (default: empty) > A sender-dependent override for the global relayhost parameter > setting. > The tables are searched by the envelope sender address and > @domain. A > lookup result of DUNNO terminates the search without overriding > the > global relayhost parameter setting (Postfix 2.6 and later). This > information is overruled with relay_transport, > sender_dependent_default_transport_maps, default_transport and > with the > transport(5) table. > > Specify zero or more "type:name" lookup tables, separated by > whitespace > or comma. Tables will be searched in the specified order until a > match > is found. > > For safety reasons, this feature does not allow $number > substitutions > in regular expression maps. > > This feature is available in Postfix 2.3 and later. >
Thanks for both of those points. The relaybynames thing wasn't working either, but I was going to deal with that next. I got that syntax from a tutorial on a web page (I don't remember which). It was odd, I found three tutorials on it, and all three had different syntax. I was working my way down the list. As far as the virtual table goes, that's what I thought, too, but this is all I have in /etc/postfix/virtual: $more /etc/postfix/virtual ad...@libertyfp.org fp...@libertyfp.org www-d...@libertyfp.org fp...@libertyfp.org And, yeah, I made sure I had run postmap. When I grep /etc/postfix for billoblog.com, only the sender_dependent_relay_host things come up. billo