On 2018-04-11 13:28, Graeme Fowler wrote: > On 10 Apr 2018, at 16:51, Nazarevych Ol via Exim-users <exim-users@???> wrote:
> > Why "Internal server" use primary_hostname instead qualify_domain ? > > You most likely need to look at your configuration to find that. You don’t > say on what operating system you’re running, nor whether you’ve already got > dsn_from set somewhere. > > By default, exim does not use postmaster@$primary_hostname, so you’ve almost > certainly got either a global setting or something in a router or transport > (or a rewrite) that’s doing it for you. > > Graeme > Hello, thanks fot the answer. This is a clear CentOS Linux release 7.4.1708 (Core) install with Exim version 4.90_1 #2 built 16-Feb-2018 16:47:02 The field dsn_from was set to: dsn_from = Mail Delivery System <Mailer-Daemon@$qualify_domain> But this does not does not affect to SPF check on another side on Cisco ESA, and Mail delivery reports looks like: From: [email protected] - there were dsn_from applied, if we change dsn_from for something accurate as Mailer-Daemon@$exeactly.com - we can see that field changed in a NDN letter. But this is an declarative fields and real headers looks like: Received-SPF: None (esa.company.com: no sender authenticity information available from domain of [email protected]) identity=mailfrom; client-ip=1.1.1.1; receiver=esa.company.com; envelope-from=""; x-sender="[email protected]"; x-conformance=spf_only Received-SPF: None (esa.company.com: no sender authenticity information available from domain of [email protected]) identity=helo; client-ip=1.1.1.1; receiver=esa.company.com; envelope-from=""; x-sender="[email protected]"; x-conformance=spf_only Authentication-Results: esa.company.com; spf=None [email protected]; spf=None [email protected]; dkim=pass (signature verified) [email protected]; spf=None [email protected]; dmarc=pass (p=reject dis=none) d=company.com Received: from corp17.company.com ([1.1.1.1]) by esa.company.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Apr 2018 18:06:39 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; Received: from exim by corp17.company.com with local (Exim 4.90_1) id 1f5upx-0002G0-08 for [email protected]; Tue, 10 Apr 2018 18:05:33 +0300 X-Failed-Recipients: [email protected] Auto-Submitted: auto-replied From: Mail Delivery System <[email protected]> -------------- this is correct, but fail SPF check above To: [email protected] Subject: Mail delivery failed: returning message to sender Date: Tue, 10 Apr 2018 18:05:33 +0300 Content-type: text/plain; charset=us-ascii This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
