Score:0

Issue with postfix configuration as relay server

ng flag

I have created a postfix server for my domain : residencebauge.fr.

I have also configured SPF to authorize only my public IP address : "v=spf1 a:vps.residencebauge.fr ip4:51.77.220.62 -all"

I have then configured DKIM and DMARC and when I check in different website, everything seems correct.

When I send an email directly from the server everything seems OK and the mail is never considered as SPAM :

echo "TEST" | mail -a "From: [email protected]" -s "TEST" [email protected]

But, my postfix server aims at relaying emails to several addresses in @residencebauge.fr. Like mailing lists in fact.

To do that, I defined my mailing list in virtual map. For example:

[email protected] [email protected]

When someone sends an email to [email protected], I would like this email is sent to [email protected] without being considered as a spam.

But it is not the case and emails are considered as spam.

When I send email from [email protected] to [email protected], the mail is received in [email protected] as a spam.

In headers I can see:

Received: from vps.residencebauge.fr (vps-3a4b84af.vps.ovh.net. [51.77.220.62])
        by mx.google.com with ESMTPS id j2-20020adfe502000000b002dd02867a56si8919660wrm.263.2023.04.17.14.11.17
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Mon, 17 Apr 2023 14:11:17 -0700 (PDT)
Received-SPF: neutral (google.com: 51.77.220.62 is neither permitted nor denied by domain of [email protected]) client-ip=51.77.220.62;
Authentication-Results: mx.google.com;
       dkim=pass [email protected] header.s=202006 header.b=ZYIsEzPx;
       spf=neutral (google.com: 51.77.220.62 is neither permitted nor denied by domain of [email protected]) [email protected]
Authentication-Results: vps.residencebauge.fr; dkim=pass (2048-bit key; unprotected) header.d=neuf.fr [email protected] header.a=rsa-sha256 header.s=202006 header.b=ZYIsEzPx; dkim-atps=neutral

I guess the issue is because "google.com: 51.77.220.62 is neither permitted nor denied by domain of [email protected]" but I don't find what to do to fix it.

Does someone have any idea?

in flag
Please provide your postfix configuration
in flag
Does this answer your question? [Postfix as email forwarder to gmail, SPF problems](https://serverfault.com/questions/635293/postfix-as-email-forwarder-to-gmail-spf-problems)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.