Problem with SPAM

v7
mailserver
mail

(Federico Ballarini) #1

NethServer Version: 7
Module: Email

Why if I send mail from admin@domain.ext they will arrive correctly to user, but if I send email with another email address of identical domain, they will arrive in the SPAM?
Thanks.

Regards,
Federico Ballarini


(Filippo Carletti) #2

Look in the email headers. I never observed a similar behavior, I have no idea on a possible misconfiguration.


(Federico Ballarini) #3

This is the email that arrive correctly.

Delivered-To: fed.ballarini@gmail.com
Received: by 10.12.158.130 with SMTP id r2csp1805187qvd;
Sat, 29 Jul 2017 10:31:23 -0700 (PDT)
X-Received: by 10.223.130.110 with SMTP id 101mr8329168wrb.111.1501349482957;
Sat, 29 Jul 2017 10:31:22 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1501349482; cv=none;
d=google.com; s=arc-20160816;
b=njdRFxdbp+JLaRc5zOm7dt+sbWISrvIPLbTca6au+SAbgWeJ/MC81dNeUB67Xep0AH
T2wMzWnxIVriPbNIwokt7phHJyUHpeyAcbp5VOc3qx8wm1xz3kTqsCtEGyal8do02QfP
iY6FSkxpSIh+0/2KWbXyUHWF0TOo5dVTOX9oHkGigPZQS8J26vR5Ye33k2xTmHA+7lC1
M4aKmMkobIcwTe28zKElHd10rVCPVLPGVTzFe6yn1pEkyDSuJk+ES3mE+sT+ehzIEe+X
lW77hoXIk6vTswOSGXRnaV2WOU/8pMorE9XZUYNN7/JSO7SWCsdAM6eultIapxQ9UdYY
ZLdQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=user-agent:message-id:subject:to:from:date
:content-transfer-encoding:mime-version:arc-authentication-results;
bh=I0EHYskCnuP5SDmJw1o27XL5HmiCJZ6ckj9HiK3CQNg=;
b=WmYi36Xii1OksCsAnxY8Q8csUM8/2ISN0wJBBuhTIhK7n97nthDSzr/NtxG/WfL5dc
04CSya+l6/fZvX9MwrFWaWNJ5nJfr6u6ULQECHxzU/b79K2PPLrBwLW7e0NwrtxUJWe0
dHlLJoP2o6arhWYVWScxwF9hTy02N3PgGYXcyBa390Hp4LRX0RagE4Tb/u9joUQjKaf9
PKHBFTfymz1KvXQGpxYMs0ZlqrKWkaxDbEDuisV4ZouOQBX2dbeM5Yo8JyREwQb7GVF0
JViTdOHFPSMt9T/0c1RvN8+FP3U2ZFrfjYuSSG+jZVgGczwD1BPIl9CoU0U8CCdAT8Mk
nOjg==
ARC-Authentication-Results: i=1; mx.google.com;
spf=pass (google.com: domain of admin@iisvittuone.net designates 79.7.253.77 as permitted sender) smtp.mailfrom=admin@iisvittuone.net
Return-Path: admin@iisvittuone.net
Received: from mail.iisvittuone.net (mail.iisvittuone.net. [79.7.253.77])
by mx.google.com with ESMTP id x2si5454576wmf.6.2017.07.29.10.31.22
for fed.ballarini@gmail.com;
Sat, 29 Jul 2017 10:31:22 -0700 (PDT)
Received-SPF: pass (google.com: domain of admin@iisvittuone.net designates 79.7.253.77 as permitted sender) client-ip=79.7.253.77;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of admin@iisvittuone.net designates 79.7.253.77 as permitted sender) smtp.mailfrom=admin@iisvittuone.net
Received: from mail.iisvittuone.net (localhost [127.0.0.1]) by mail.iisvittuone.net (Postfix) with ESMTP id E608A209FCAD for fed.ballarini@gmail.com; Sat, 29 Jul 2017 19:31:21 +0200 (CEST)
Received: from mail.iisvittuone.net (localhost [127.0.0.1]) by mail.iisvittuone.net (Postfix) with ESMTP for fed.ballarini@gmail.com; Sat, 29 Jul 2017 19:31:21 +0200 (CEST)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Date: Sat, 29 Jul 2017 19:31:21 +0200
From: admin@iisvittuone.net
To: fed.ballarini@gmail.com
Subject: Test
Message-ID: 97a16ed8d37aee00c07dce0db2f24e8b@iisvittuone.net
X-Sender: admin@iisvittuone.net
User-Agent: Roundcube Webmail/1.1.9

Questa è un’email di test.


(Federico Ballarini) #4

This is the email that finish in the SPAM.

Delivered-To: fed.ballarini@gmail.com
Received: by 10.12.158.130 with SMTP id r2csp1805657qvd;
Sat, 29 Jul 2017 10:32:03 -0700 (PDT)
X-Received: by 10.223.135.214 with SMTP id c22mr10345894wrc.263.1501349523751;
Sat, 29 Jul 2017 10:32:03 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1501349523; cv=none;
d=google.com; s=arc-20160816;
b=je/jUN1GebfIN+VicXb8DRD2PmD0IOaBS5DweVb3cVI1Dw6QQ7z+R4WnYbLUlXOs1t
em+Ro9TEAZ/RlD/60cDP7QjYhxNvd+GZESnfk3xp4yTsgGcMkxigKvKXiLsK1fjwZhZE
9gbm0MB94HodDgQZlzntMCHUsahWS/GRp35vRXyFiqVsQiaADHUVPCY/Q27Rz93UzelP
/4lUjw6shAzGPl/VHueQ4eeilOtnR7V8ZB5YTk/ZflS9HqEa+C9kWyca4KAEZuMoT8mM
X0pQR7O9Wjwvnv9zZWrwGry7DNP/sckW3EjT1df3CPcjYNc+sPXtlN0CuduFzSp5Y0NM
LX+A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=user-agent:message-id:subject:to:from:date
:content-transfer-encoding:mime-version:arc-authentication-results;
bh=I0EHYskCnuP5SDmJw1o27XL5HmiCJZ6ckj9HiK3CQNg=;
b=zR3lkCzYvlUtFU3fcJ0IeH6szA0TAZ639QK5D4NPgdc0N+0azLeotYhjK7KbRVLXQZ
+sopYH5B13McD1srFPSQsC4j1j/xG5/0woifNSWW5LV17Dv1BD0OMo6QWM86hEPTXpdj
MUI1tvv2CwQKo+LodfAKfjaMxtB0EJ/xe0zTcfylBirQrpmUlcav0Bj+IGtcnTUI+gzI
rGk81VusFfCE7K682f0sJEInuFxEyirIFMcooi1uPt9IvDgJ+U1TusVZd6RnmA57Joum
DbRc20Ul3EpkKIfgHRhFFnZQHfAirddAYYkAqwIJbXJJKxEcNHc0OD8N61Ya/dhmOlUQ
XvsQ==
ARC-Authentication-Results: i=1; mx.google.com;
spf=pass (google.com: domain of umanet@iisvittuone.net designates 79.7.253.77 as permitted sender) smtp.mailfrom=umanet@iisvittuone.net
Return-Path: umanet@iisvittuone.net
Received: from mail.iisvittuone.net (mail.iisvittuone.net. [79.7.253.77])
by mx.google.com with ESMTP id g126si7425428wme.199.2017.07.29.10.32.03
for fed.ballarini@gmail.com;
Sat, 29 Jul 2017 10:32:03 -0700 (PDT)
Received-SPF: pass (google.com: domain of umanet@iisvittuone.net designates 79.7.253.77 as permitted sender) client-ip=79.7.253.77;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of umanet@iisvittuone.net designates 79.7.253.77 as permitted sender) smtp.mailfrom=umanet@iisvittuone.net
Received: from mail.iisvittuone.net (localhost [127.0.0.1]) by mail.iisvittuone.net (Postfix) with ESMTP id 706C3209FCAD for fed.ballarini@gmail.com; Sat, 29 Jul 2017 19:32:03 +0200 (CEST)
Received: from mail.iisvittuone.net (localhost [127.0.0.1]) by mail.iisvittuone.net (Postfix) with ESMTP for fed.ballarini@gmail.com; Sat, 29 Jul 2017 19:32:03 +0200 (CEST)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Date: Sat, 29 Jul 2017 19:32:03 +0200
From: Umanet Expo umanet@iisvittuone.net
To: fed.ballarini@gmail.com
Subject: Test
Message-ID: c09e67b044c93ff1f72beda66ca3df88@iisvittuone.net
X-Sender: umanet@iisvittuone.net
User-Agent: Roundcube Webmail/1.1.9

Questa è un’email di test.


(Vincenzo Turri) #5

I’ve seen you tried with gmail.
If you open the mail from the spam folder, it writes you in the top


(Federico Ballarini) #6

I obtain the same message.
But I don’t understand why… can you help me?


(Vincenzo Turri) #7

I’ve tested the server settings via mxtoolbox and it seems all right.
Have you tried using another user besides umanet@ and admin@?


(Federico Ballarini) #8

Now I try with info@


(Federico Ballarini) #9

Also with info@ the mail finish in the SPAM…


(Vincenzo Turri) #10

Your domain is managed by ovh.com.
I have read of several users who use it having problems with google.

The problem is only with gmail? Try sending emails to other domain and changing content prova, test etc can be marked as spam.

I do not think it’s a server problem


(Enrique D) #11

Until you add the new address to your gmail contacts, Gmail will mark as spam those mails.

Right now I’m using citadel, and with http://mxtoolbox.com/ I test my smtp server to see what I need to tweak/fix. I can’t fix all that gmail wants, maybe when I change my smtp server to a new version.
Regards


(Marc) #12

Don’t know how to solve it, but you might check if some of these helps:


(Federico Ballarini) #13

I’ve opened an OVH ticket because my server mail is correctly configured.
I will update you.
Thanks you all.


(Michael Kicks) #14

Don’t forget that mark spamming is a decision made by the recipient.
Who can choose why mark spam some messages and not marking some others.

All things that you can try to do is:

  • do things like SPF, DKIM, DMARC on your server for let other servers trust yours
  • verify you are not into a Blacklist (and eventually ask for a remove)
  • send messages which content is not cosiderable as Spam
  • (not a case for NethServer) do configure your MTA as an oper relay
  • therefore, do not host webapplications that can misuse your MTA

In any case, only recipient server take the decision of what is spam and what is not spam…


(Federico Ballarini) #15

But why admin@ works and others don’t work?


(Michael Kicks) #16

You should ask to Google … (therefore, read into headers if there’s something can help you)
is the admin address into your addressbook?


(Federico Ballarini) #17

No, the admin@ address is not in my contacts… how can I ask to google?


(Federico Ballarini) #18

Now, also admin@ messages arrive in SPAM.
All the email that I send finish in the SPAM. I’ve configured also SPF record… someone can help me?


(Federico Ballarini) #19

Now it works. I don’t know why…


(Michael Kicks) #20

[quote=“pike, post:14, topic:7474”]
In any case, recipient server takes decision of what is spam and what is not[/quote] :wink:
Therefore, maybe the “reputation” of your server was updated few days after.