Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Should smtp_helo_name always be the same as your MX record?

I can't seem to satisfy HELO checks on SPF records in all cases. I have an SPF record for my domain like this: "v=spf1 mx -all" The MX records in the zone are: mx0.mydomain.org.uk. ...
TommyPeanuts's user avatar
1 vote
1 answer
117 views

Understanding DMARC report - DKIM pass on SPF fail

I am looking for some help understanding a DMARC report for my email server. The xml content looks like the following: <?xml version="1.0" encoding="UTF-8" ?> <feedback>...
gdldg's user avatar
  • 13
0 votes
2 answers
239 views

postfix + spamassassin check SPF from the email headers

I have postfix + spamassassin. Spamassassin suppose to check the SPF of the sender, but I received following spam: [email protected] = this is the email on my postfix Return-Path: <leonah@betterway....
Nick's user avatar
  • 882
0 votes
2 answers
130 views

Postfix spuriously checks SPF policy for authenticated, submitting mail clients

I am running Postfix 3.8.1 on Ubuntu 23.10. Postfix serves port 25 for incoming mail from other MTAs and port 587 for authenticated MUAs. Postfix is supposed to check SPF for mails from other MTAs on ...
user2690527's user avatar
0 votes
0 answers
176 views

DMARC and Postfix delivery reports

I successfully set up DMARC, DKIM and SPF for my mailserver's domain, but delivery reports created by Postfix fail the DKIM/SPF tests. The headers of regular messages (sent via my mailserver) look ...
janeden's user avatar
  • 267
0 votes
0 answers
463 views

Howto Whitelist incoming mails Docker-Mailserver (=Postfix)

I recently set up the Docker-Mailserver for our company (v. 12.1.0). It's working well so far, except for one thing: We receive automated emails from a customer's Redmine system. These emails are not ...
mmytx's user avatar
  • 1
0 votes
1 answer
1k views

Postfix - can't send emails to gmail addresses via terminal

I have the following errors when trying to send emails to gmail addresses via my terminal: sudo tail /var/log/mail.log Jul 19 13:19:44 ubuntu-4gb-fsn1-1 postfix/cleanup[5780]: B4B8C5F4A3: message-id=&...
Run's user avatar
  • 101
0 votes
2 answers
536 views

Gmail reports SPF issues with emails sent from Thunderbird via postfix

This question is similar to the following question in the Mozilla forum. However, the answer given there to this question doesn't address the issue that I am seeing. Question in Mozilla forum: https://...
HippoMan's user avatar
  • 230
1 vote
2 answers
3k views

Why does DMARC fail for forwarded emails from this particular domain when it passes for all other domains?

I run a virtual mail server that forwards emails to my domain to a Gmail address, and I use PostSRSd to rewrite the addresses. For example, if someone sends an email to [email protected], my mail ...
John Doe's user avatar
  • 365
0 votes
0 answers
379 views

postfix configuration to prevent bounces when relaying to 3rd party (e.g. src -> my@work -> my@gmail)

i have an active mail relay that is using aliases as a main tool, at some point we started to get bounces for some emails. Source: somerandomsenderdomain.com Destination: myemaildomain.com ...
DrunkMice's user avatar
0 votes
2 answers
377 views

SPF record not getting recognized for mail server domain?

I'm currently attempting to setup a mail server on Debian. So far I've installed postfix and opendkim. I've also configured an FQDN, rDNS, DKIM, DMARC, and SPF, but the latter doesn't work somehow. An ...
St4rb0y's user avatar
  • 59
5 votes
2 answers
2k views

Forwarding to Gmail account via Postfix: SPF record with a hard fail

I run a Postfix server which forwards one address to a gmail address. # /etc/aliases localuser: [email protected] This works since several months. But if a sender has a SPF record with a hard ...
guettli's user avatar
  • 3,893
1 vote
0 answers
127 views

Postfix after-queue content filter

I am running a postfix/dovecot/spamassassin/clamav system on Debian 10 with Postfix 3.5.13 for my domains. One domain has a small private mailing list. If someone writes to the list postfix prepends ...
Leisniger's user avatar
0 votes
0 answers
232 views

Debugging occasional "Temporary failure in name resolution"

I have an internet-connected mailserver. A friend wants to send Email to one of the hosted domains. occasionally smtpd reports: Jun 24 00:56:22 myserver postfix/smtpd[xxx]: warning: hostname e2i740....
rew's user avatar
  • 101
0 votes
2 answers
3k views

gmail is rejecting my e-mails to a recipient with a gmail address with a 550-5.7.26

I have a fairly straight forward email setup using postfix. Within my house running on a raspberry-pi to which my router forwards all ports. I have a postfix instance that can see incoming mail. A ...
akc42's user avatar
  • 137
0 votes
0 answers
176 views

postfix to gmail silent delivery failure

With the impending turndown of free hosted Google workspace accounts, I'm trying to install my own mail server using postfix/dovecot/opendkim. Mostly, it's working and for many of the services I've ...
PaulProgrammer's user avatar
1 vote
1 answer
2k views

postfix: how to force IPv4 through SMTP?

Problem I have successfully set up a Postfix mailserver with an SMTP interface, set up DKIM, DMARC, SPF, all that stuff. But I had a problem when testing the delivery of emails to Gmail. Namely, SPF ...
VaNa's user avatar
  • 137
0 votes
1 answer
2k views

How can it be possible dkim fails whereas spf pass

I have set up a postfix which sends emails. I have configure spf, dkim and dmarc (with p=none). I have checked with mail-tester: spf and dkim work fine. I have set up a dmarc rua in order to receive ...
Bob5421's user avatar
  • 429
1 vote
2 answers
886 views

How to configure DNS SPF records for many subdomains

I have a domain name, say example.com, and many servers (potentially hundreds), each with a public IP and a sub domain (sub1.example.com, sub2.example.com, etc.). Each server hosts a Postfix ...
Pascal Ognibene's user avatar
0 votes
1 answer
5k views

550-5.7.26 Unauthenticated email from domain is not accepted due on ERP only

I have made updates to our mail server to use DMARC. So after This our ERP system cannot send emails to gmail.com or yahoo.com but Outlook sends emails with no problems. Below is the header for an ...
Ahmed Reda's user avatar
11 votes
2 answers
47k views

How do I prevent the SPF_HELO_NONE warning when sending from Postfix?

When using a tool like https://dkimvalidator.com/ to verify configuration of DKIM, SPF, DMARC, etc. for sending mail from a web server, I get a warning like this: 0.0 SPF_HELO_NONE SPF: HELO does not ...
Walf's user avatar
  • 438
0 votes
1 answer
2k views

SPF and OpenDMARC not working in Postfix

I am working on implementing SPF and OpenDMARC/DKIM to my mail servers. Currently I have two mail servers in different subnets, each with separate DNS server and domain name. They can exchange emails ...
MArhEV's user avatar
  • 19
1 vote
1 answer
3k views

Forward messages to Gmail (postfix+SRS) has DMARC failure even though SPF and DKIM succeed

I run my own domain, but forward many email addresses to my gmail account. Recently, I started seeing a lot of messages marked by gmail as spam. I have SPF set for my outgoing email, and use SRS to ...
Mikeage's user avatar
  • 2,741
0 votes
2 answers
532 views

Email protected with SPF but received valid signature from other IP anyway

I've received an email in spam from [email protected] to [email protected], but the "sent by" came from rec15.appleandrdoidmail.mx. [email protected] is an alias. Weird thing is that it says ...
Miquel's user avatar
  • 103
-2 votes
1 answer
801 views

My OpenDMARC is rejecting emails from firefox.com . Is their SPF record correct? Or am I wrong?

Why is opendmarc rejecting mail from firefox.com? It looks like their SPF record matches their sending address and does pass: v=spf1 mx a include:amazonses.com include:mail.zendesk.com -all /var/log/...
Andrew's user avatar
  • 145
1 vote
1 answer
809 views

Why is opendmarc SPF failing this arriving message?

Why is this incoming message failing? postfix/smtpd[4776]: connect from mail-mw2nam10on2073.outbound.protection.outlook.com[40.107.94.73] postfix/smtpd[4776]: Anonymous TLS connection established ...
Andrew's user avatar
  • 145
1 vote
2 answers
3k views

All mails to Yahoo are deferred or in spam

i have read a lot about the problems of delivering mail to yahoo.com, i have contact the tech support but the result it's always the same: from my server all mails to yahoo./aol. are deffered and when ...
Mattia Di Giuseppe's user avatar
1 vote
1 answer
740 views

Postfix send mail only to GMail, all other domains are deferred and not sended

My Postfix server is running on Debian Stretch. It is able to send emails to a GMail address without problems which are not considered as spam. At the DNS level I configured DKIM, SPF and DMARC and ...
Zetam's user avatar
  • 11
0 votes
1 answer
95 views

Postfix working on separate server having issues delivering mail to a specific domain

I have the following situation. My main domain is pointed to a Hostgator account. Because of bad performance of the site, the client decided to give DigitalOcean a go, but leaving the e-mails on ...
Mihail Minkov's user avatar
2 votes
2 answers
2k views

postfix-policyd-spf-python - spoof protection - spf checks FAIL but no action taken - why?

I've installed postfix-policyd-spf-python and configured the postfix integration according to the docs. This is my policyd-spf.conf config file: debugLevel = 1 TestOnly = 0 HELO_reject = ...
memyself's user avatar
  • 345
0 votes
0 answers
611 views

everything Pass but emails still go to the spam folder! I think it would be about hostname but not sure and don't know how to fix this

I checked too many topics and answers tested too many things! but can't find a solution to my problem. I'm a newbie user and maybe didn't understand some answers well. I need to fix this problem as ...
MrSmile's user avatar
0 votes
2 answers
860 views

Postfix mail relay to external address, SPF Check

I have a question which is not about the configuration but about the question what is right and what not. The scenario: Organisation A (OrgA) has a Mailserver which is responsible for example.org. ...
Nico's user avatar
  • 135
6 votes
2 answers
1k views

Postfix: ACCEPT if RBL and SPF checks pass, DUNNO/greylist otherwise. How to do it?

I would like to accept all clients that pass RBL and SPF checks (and possibly some checks, but these are minimum requirements for me), and greylist those who don't. When a client passes the SPF check (...
michau's user avatar
  • 61
1 vote
1 answer
110 views

DKIM & SPF records should be on the sender email domain or on the smtp domain?

I have two(2) vps servers. One of them hosts my website and the other has Postfix installed on it. VPS[1]: websitedomain.com VPS[2]: postfixdomain.com I am using smtp.postfixdomain.com to send an ...
Melody's user avatar
  • 23
1 vote
1 answer
4k views

How to build a whitelist of domains we ignore SPF check for in Postfix

My question would seem to be the opposite of How to setup postfix to check SPF record only for domains that i want to check - How would I go about modifying my Postfix server so that it checks SPF ...
davidgo's user avatar
  • 6,322
2 votes
2 answers
14k views

Postfix - Recipient Address Rejected on Incoming Mail Only

I am working on building a secure mail server for the first time using Postfix and Dovecot and I have encountered a problem that I cannot surpass. To avoid the email delivery in the spam box of ...
John's user avatar
  • 121
5 votes
3 answers
581 views

Can MTA send mail via a relay without being told so?

I'm thinking of adding an SPF to a domain. So I'm concerned if there are circumstances under which my MTA would use some relay when sending mail. Like, when the destination servers are too busy or ...
x-yuri's user avatar
  • 2,328
1 vote
3 answers
5k views

SPF setup for mail and relay server

So I am quite new to mail servers and looking for help with setting up SPF properly for this environment: mailserver (IP 11.11.11.11, example.com, random.com, test.com) relay server (IP 22.22.22.22,...
Wooza's user avatar
  • 17
0 votes
1 answer
799 views

Postfix warning: dns_get_fixed

I have a recently setup Postfix/Dovecot simple mail server (if there is such a thing). It was stable, and worked without issue for about 2-3 weeks, until I wanted to get SPF setup. Now, it still ...
drexl's user avatar
  • 21
1 vote
1 answer
1k views

SPF errors when sending emails

I setup a mail server on mail.mydomain.com. I am able to receive email. Problem occurs when i try to send an email. I have two servers: mail.mydomain.com - which is on different ip (e.g. 1.1.1.1) ...
Branislav B.'s user avatar
5 votes
2 answers
5k views

`connect to private/policy-spf: No such file or directory` when receive mail by postfix in centos 7

My system is centos 7 with postfix,dovecot,pypolicyd-spf, opendkim. I can send mail but cannot receive mail, I notice warnings as below: Feb 6 20:01:09 srv-8327 postfix/smtpd[20391]: warning: ...
kittygirl's user avatar
  • 985
1 vote
0 answers
2k views

What is wrong with this e-mail which is failing SPF(mailfrom) and DMARC?

This is a follow-up from "Why is my opendmarc failing pretty much everything that comes through?". I'm really struggling to understand what is going on. Outgoing mail is verified correctly by the ...
Morpheu5's user avatar
  • 279
12 votes
4 answers
8k views

Why is my opendmarc failing pretty much everything that comes through?

I have this domain for which I set up SPF, DKIM, and DMARC stuff. Let's pretend the domain is example.com which has the following entries in its DNS zone: example.com. 600 IN MX ...
Morpheu5's user avatar
  • 279
-1 votes
2 answers
2k views

SPF and DKIM configuration Ubuntu 18.04 fails

I have been following this tutorial from DigitalOcean. I have followed every detail but nothing seems to work as expected. Assuming that my FQDN is the following: mydomain.com. Here are my details: ...
Waiyl Karim's user avatar
2 votes
1 answer
3k views

Postfix: Managing Subdomain DMARC, DKIM, and SPF when bounce emails come from the null sender "<>"

I have several postfix servers that send mail on behalf of my domain (example.com). When a from address is provided, DKIM and SPF pass properly. However, I noticed in my DMARC notifications there are ...
jnrcorp's user avatar
  • 135
2 votes
1 answer
2k views

DMARC fails on forwarded mails without DKIM

I am running a mail server (postfix) on a VPS that is set up to forward all mail sent to an address in my private domain to a GMail address. SPF, SRS, DKIM, and DMARC are set up for my mail server and ...
user3298489's user avatar
6 votes
2 answers
2k views

Postfix: How to accept email with valid SPF but unresolvable hostname?

I have configured my Postfix to reject email sent from hosts without PTR record and hostnames that don't have A record. I found there are legitimate mail servers with valid SPF records which don't ...
LinuxBabe's user avatar
  • 1,035
1 vote
1 answer
2k views

SPF softfail even when set seemingly correctly [duplicate]

I have my own postfix server, that serves only as a forwarding mail server, i.e. if you send email at [email protected], it will arrive into my gmail/whatever else. My SPF looks as such: v=spf1 ip4:...
pydoge's user avatar
  • 165
0 votes
1 answer
3k views

Mail tester have 10 score, but email flagged as spam, by gmail

I have setup an smtp postfix server, with opendkim, on a domain code-gmail.com I have put spf policy, dkim, dmarc in my domain TXT recors. I did setup reverse dns, to point correctly do my domain, i ...
ThinCrustItalianPizza's user avatar
1 vote
0 answers
2k views

SPF softfail on gmail

I'm trying to setup my own smtp server with postfix and opendkim. I have publsished spf/dmarc/dkim recors, set up ptr. But currently, all my mail with any text goes into gmail spam folder. I have ...
ThinCrustItalianPizza's user avatar