Re: Rewriting @localhost to @$myhostname

2022-02-14 Thread michael . osipov
Am 2022-02-12 um 17:42 schrieb Benny Pedersen: On 2022-02-12 10:39, michael.osi...@siemens.com wrote: $mydomain does not accept emails also, not fair, but i will let it be Not really, because the Kerberos realm is not the email domain. it is not a email domain. mydestination could be l

Re: Rewriting @localhost to @$myhostname

2022-02-13 Thread Matus UHLAR - fantomas
michael.osi...@siemens.com: I am currently migrating from a sendmail-based relay to Postfix 3.6.3. Sendmail has the feature to automatically rewrite @localhost to @$myhostname automatically. As far as I have seen Postfix doesn't do this with trivial-rewrite(8) by default nor is a config option fo

Re: Rewriting @localhost to @$myhostname

2022-02-12 Thread Benny Pedersen
On 2022-02-12 10:39, michael.osi...@siemens.com wrote: $mydomain does not accept emails also, not fair, but i will let it be it is not a email domain. mydestination could be localhost only and nis domains could be listed as virtual that ensure all emails sendmail send is local only I k

Re: Rewriting @localhost to @$myhostname

2022-02-12 Thread michael . osipov
Am 2022-02-11 um 17:23 schrieb Wietse Venema: michael.osi...@siemens.com: Am 2022-02-11 um 15:38 schrieb Wietse Venema: michael.osi...@siemens.com: Hi, I am currently migrating from a sendmail-based relay to Postfix 3.6.3. Sendmail has the feature to automatically rewrite @localhost to @$myho

Re: Rewriting @localhost to @$myhostname

2022-02-12 Thread michael . osipov
Am 2022-02-11 um 17:05 schrieb Benny Pedersen: On 2022-02-11 15:09, michael.osi...@siemens.com wrote: What I have come up with is doing in /usr/local/etc/postfix/canonical: @localhost @myhostname I had to add the actual hostname since @$myhostname is not supported. My question: Is this the p

Re: Rewriting @localhost to @$myhostname

2022-02-11 Thread Viktor Dukhovni
> On 11 Feb 2022, at 9:09 am, michael.osi...@siemens.com wrote: > > What I have come up with is doing in /usr/local/etc/postfix/canonical: >> @localhost @myhostname > > I had to add the actual hostname since @$myhostname is not supported. > My question: Is this the proper way to go with Postfi

Re: Rewriting @localhost to @$myhostname

2022-02-11 Thread Wietse Venema
michael.osi...@siemens.com: > Am 2022-02-11 um 15:38 schrieb Wietse Venema: > > michael.osi...@siemens.com: > >> Hi, > >> > >> I am currently migrating from a sendmail-based relay to Postfix 3.6.3. > >> Sendmail has the feature to automatically rewrite @localhost to > >> @$myhostname automatically.

Re: Rewriting @localhost to @$myhostname

2022-02-11 Thread Benny Pedersen
On 2022-02-11 15:09, michael.osi...@siemens.com wrote: What I have come up with is doing in /usr/local/etc/postfix/canonical: @localhost @myhostname I had to add the actual hostname since @$myhostname is not supported. My question: Is this the proper way to go with Postfix to mimic sendmail b

Re: Rewriting @localhost to @$myhostname

2022-02-11 Thread michael . osipov
Am 2022-02-11 um 15:38 schrieb Wietse Venema: michael.osi...@siemens.com: Hi, I am currently migrating from a sendmail-based relay to Postfix 3.6.3. Sendmail has the feature to automatically rewrite @localhost to @$myhostname automatically. As far as I have seen Postfix doesn't do this with tri

Re: Rewriting @localhost to @$myhostname

2022-02-11 Thread Wietse Venema
michael.osi...@siemens.com: > Hi, > > I am currently migrating from a sendmail-based relay to Postfix 3.6.3. > Sendmail has the feature to automatically rewrite @localhost to > @$myhostname automatically. As far as I have seen Postfix doesn't do > this with trivial-rewrite(8) by default nor is