xegr...@gmail.com:
> Hi. In a new install of Postfix 3.4.7-0+deb10u1 on Debian buster,
> I would like Postfix to append $myhostname instead of $myorigin
> to local mail with a From header containing just a username, like
> cron or fail2ban emails. This server is listed in mx records for
> example.
And the second server listed as MX for this domain has an identical main.cf,
but is running an older Postfix.
> On Feb 7, 2020, at 5:03 PM, xegr...@gmail.com wrote:
>
> I guess my problem is that when I have that set, myhostname is added to all
> mail. TO: aliases looked up in LDAP are return
I guess my problem is that when I have that set, myhostname is added to all
mail. TO: aliases looked up in LDAP are returned as just usernames and end up
as usern...@mx.example.com and bounce.
To clarify, i would expect that the FROM: changes, and this is what I want for
local mail, but the T
xegr...@gmail.com wrote:
> Hi. In a new install of Postfix 3.4.7-0+deb10u1 on Debian buster, I
> would like Postfix to append $myhostname instead of $myorigin to
> local mail with a From header containing just a username, like cron
> or fail2ban emails. This server is listed in mx records for
> ex
On 07.02.20 12:01, xegr...@gmail.com wrote:
Hi. In a new install of Postfix 3.4.7-0+deb10u1 on Debian buster, I would
like Postfix to append $myhostname instead of $myorigin to local mail
That is the point of myorigin, why you want it else?
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http
Thanks. If I remove $myorigin than all mail ends up going to @mx.example.com
and bounces.
postconf -n output https://pastebin.com/WwVdT8CF
>> On Feb 7, 2020, at 12:59 PM, Bill Cole
>> wrote:
>>
>> On 7 Feb 2020, at 13:01, xegr...@gmail.com wrote:
>>
>> Hi. In a new install of Postfix 3.4
Thanks. If I remove $myorigin than all mail ends up going to @mx.example.com
and bounces.
postconf -n output https://pastebin.com/WwVdT8CF
> On Feb 7, 2020, at 12:59 PM, Bill Cole
> wrote:
>
> On 7 Feb 2020, at 13:01, xegr...@gmail.com wrote:
>
>> Hi. In a new install of Postfix 3.4.7-0+
On 7 Feb 2020, at 13:01, xegr...@gmail.com wrote:
Hi. In a new install of Postfix 3.4.7-0+deb10u1 on Debian buster, I
would like Postfix to append $myhostname instead of $myorigin to local
mail with a From header containing just a username, like cron or
fail2ban emails.
Then just don't expli
Hi. In a new install of Postfix 3.4.7-0+deb10u1 on Debian buster, I would like
Postfix to append $myhostname instead of $myorigin to local mail with a From
header containing just a username, like cron or fail2ban emails. This server
is listed in mx records for example.com. In older Postfix ins