M
M
MrFavour2020-09-16 11:36:56
PHP
MrFavour, 2020-09-16 11:36:56

Headers Received, X-Authentication-Warning, sending mail with sendmail?

Good afternoon.

- There is an Ubuntu 20.04 server with Apache
- Installed sendmail
- Configured spf, dkim, dmarc
- The mail addresses themselves are configured via Yandex.Connect

I send messages using the mail function from php scripts.
Letters reach the addressee (except for mail.ru). But how the bewitched fall into spam.

Started looking at headlines.
I send a letter from [email protected] to serge[email protected]
ip and changed the name of the site ..
I see this picture:


Return-Path:
Received: from Server ([11.111.11.111])
by mx.google.com with ESMTPS id b3si5888045lfi.458.2020.09.16.01.00.28
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 16 Sep 2020 01:00:28 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates 11.111.11.111 as permitted sender) client-ip=11.111.11.111;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of [email protected] designates 11.111.11.111 as permitted sender) [email protected];
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=site.ru
Received: from localhost.localdomain (localhost [127.0.0.1])by Server (8.15.2/8.15.2/Debian-18) with ESMTP id 08G80SDu1403799 for ; Wed, 16 Sep 2020 11:00:28 +0300
Received: (from [email protected])by localhost.localdomain (8.15.2/8.15.2/Submit) id 08G80S7Q1403797; Wed, 16 Sep 2020 11:00:28 +0300
Date: Wed, 16 Sep 2020 11:00:28 +0300
Message-Id: <202009160800.08G80S7Q1403797 @localhost.localdomain>
X-Authentication-Warning: localhost.localdomain: www- data set sender to [email protected] using -f


Highlight problem areas in bold.
I understand that for correct delivery, all headers must be of the form Site .ru.
I've looked all over the internet and can't find a good solution.

Help plz!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yakov, 2020-09-16
@MrFavour

Check the match between HELO and rDNS, and best of all, post a link to the test from mail tester
And read this - https://7fk.ru/nastroyka-smtp/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question