On Thu, Jun 06, 2024 at 04:01:06PM -0400, Wietse Venema via Postfix-users wrote:
> GDS via Postfix-users:
> > Hello, I am seeing hundreds of lines like the one below in my mail.log from 
> > this specific IP address, which belongs to Google. 
> > Jun  5 19:09:32 arthemis postfix/error[86771]: 5D9D148296D: 
> > to=<r...@localhost.com>, orig_to=<root@localhost>, relay=none, delay=4099, 
> > delays=4099/0.02/0/0, dsn=4.4.1, status=deferred (delivery temporarily 
> > suspended: connect to localhost.com[74.125.224.72]:25: Connection timed out)
> > 
> 
> Maybe you have  "myhostname = something.com" and Postfix infers $mydomain 
> from that.

Indeed, when "mydomain" is not explicitly specified, one label is
dropped even if only two were present in $myhostname.

    $ postconf -o myhostname=foo.com mydomain
    mydomain = com

which, in combination with "append_dot_mydomain = yes", would match the
OP's report/observations.

It might be reasonable to infer "mydomain = $myhostname" when the latter
has two or fewer labels.

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to