On 5/25/2022 5:41 AM, [email protected] wrote:
1. x-original-to header
When mail is sent by local processes without the domain part in the to
address it will be appended by postfix. But for the x-original-to
header there is only the user part. How can I manage to append the
domain part there, too? It is not always the same as delivered-to. I
have not seen this in the old setup.
2. catch-all dovecot/postfix
We will be using dovecot for delivery. When using postfix for
delivery we can do a catch-all with virtual_mailbox_maps (@blah.com
blah.com/all/). How can this be done with dovecot. I would like to
have mail, that nobody seems to be responsible for, sent to a specific
account, or even better to a folder within a specific account (+).
My setup has virtual users in a mysql database maintained by
postfixadmin. I use dovecot's LDA for delivery. Catchall does work,
set up in postfixadmin. Catchalls are implemented as aliases.
It typically adds the X-Original-To header when hitting one of the
aliases set up in postfixadmin.
I'm not sure what you would need to do to get FQDN in that header.
Probably take care of it in the MUA - before it gets to postfix.
3. locally delivered mail via submission
I'm a little out of my depth on that. I just tested delivery to the
local machine, IE [email protected], it does get delivered to the
local user. If somebody sent something to [email protected] where
domain.tld is one of the virtual user domains, there would have to be
either a mailbox or an alias in the postfixadmin database for that
address to work.
This is my postconf -n output:
https://paste.elyograg.org/view/da6b1f37
I tried a delivery to an unqualified user with "mail" and something in
the chain appended my primary virtual domain, not the local machine FQDN
... which is not what I expected or what I want:
echo "test message" | mail -r [email protected] elyograg
Thanks,
Shawn