Email headers such as Received-By: are SMTP headers.
Questions tagged [smtp-headers]
105 questions
1
vote
2 answers
would this header cause the email to be flagged as suspect?
Authentication-Results: [snip].mail.[snip].[snip].com
from=someDomain.com; domainkeys=neutral (no sig);
from=someDomain.com; dkim=neutral (no sig)
Received: from 127.0.0.1 (EHLO smtp1.someOtherDomain.net) (1.23.45.67)
by [snip ...]
Received:…

Tim
- 13
- 2
1
vote
2 answers
Exchange Transport Rule to block combination of recipients?
Is it possible to create an ETR that blocks certain combinations of recipients? Imagine I have two customers in different domains with similar email addresses. I want to prevent sending to recipient lists that inadvertently mix users from the two…

bendodge
- 156
- 9
1
vote
0 answers
"smtp_header_checks" in postfix not including the header
I am trying to add AWS SES's X-SES-CONFIGURATION-SET header in my postfix. For this I am using smtp_header_checks as follows:
My main.cf has the following line:
smtp_header_checks = pcre:/etc/postfix/header_checks
header_checks file is as…

Fulliautomatix
- 13
- 3
1
vote
1 answer
Is it sensible to use postfix header_checks to block email where the From: header is missing any @domain portion?
We are running inbound mail services using postfix for a large number of domains and looking to reject more junk email earlier in the path.
We have already implemented the postconf setting remote_header_rewrite_domain = domain.invalid, which means…

CrayFishUK
- 119
- 1
- 3
- 7
1
vote
1 answer
what addresses are in the first "received:" entry in email header
I am trying to figure out whether an email header contains the IP address of the host who sent the email.
The header is supposed to have a number of received: fields, which list that one mail server has received this email from another.
What exactly…

Effie
- 154
- 8
1
vote
1 answer
Make Postfix add "Authentication-Results" header to locally originated mail destined to local domain?
If I write via sendmail or SubmissionS client a mail to my virtual account (my domain is example.org), the mail I receive looks like this:
Return-Path:
Delivered-To: user@example.org
Received: from example.org
by hostname with…

Polizi8
- 25
- 1
- 6
0
votes
2 answers
Transport Rule After Hours Pattern
I am trying to create a Transport rule to automatically add the shared email address when received after hours (8am-5pm).
The current idea is to use the "when the message header matches text patterns" condition on the "Received" header to detect if…

Nato
- 101
0
votes
2 answers
How to make Sendmail add an evelope recipient(s) header to all inbound email messages?
Disclaimer: I have read some of the questions and articles here and elsewhere which deal with Sendmail rewriting headers. I haven't found an answer to the question below because the other question mostly relate to rewriting headers (instead of…

Binarus
- 558
- 5
- 16
0
votes
1 answer
Postfix: SMTP relay authentication for FROM local addresses only
I have Postfix SMTP configured to require authentication for relaying mail to outside world.
When an outside SMTP server want to deliver mail to my domain (destination: anything@mydomain.com), authentication is not necessary - this is the way things…

vzr
- 1
- 2
0
votes
2 answers
Show Public IP address when sending via Postfix via Postmarkapp
We have a security system set up where the first time a sold computer is booted up we get an e-mail from it's destination to show its been received. The police recommend we do this after a number of unfortunate scam attempts - all is working fine…

Danny Shepherd
- 177
- 1
- 12
0
votes
1 answer
Does Email Header record / include the IP address of the Receiver?
In an email header, it seems only the IP addresses of the email sender and also the relaying servers are logged, as it travels to its destination. However, I need to also find the destination IP address for the receiver as well.
Is that not logged…

lieiti
- 3
- 1
0
votes
1 answer
exim4 sends wrong Mail From header
When I send an email via my smtp exim4 server, I get this error:
The sender address blah@usersdomain@myserver.net is not\n553 5.1.2 a valid RFC-5321 address.
Logins to the server are with full email address. But exim4 just concatenates the user…

J. Martin
- 101
- 3
0
votes
1 answer
To-Recipient Required in Email?
I would like to know if a "To"-Recipient is required in an e-mail per definition or if all recipients could be Bcc or Cc.
RFC5322 states
The only required header fields are the origination date field and
the originator address field(s). All…

LeRookie
- 103
- 1
0
votes
1 answer
exchange 2013 content-type header
I am creating Transport Rules to create company-wide signatures. One of the quirks that I noticed was that, while everything looks great for HTML mail, anything sent in plain-text includes a bit of ugly HTML code (eg. [a href] tags, etc).
I tried…

ltwally
- 315
- 2
- 7
- 23
0
votes
1 answer
postfix header_checks - regex spanning multiple lines
I would like to create a spam filter that spans multiple lines in headers. This is my /etc/postfix/header_checks file:
/^From:.*name[0-9]+@.+[\r\n]+To:.*name@domain\.com/ REJECT
It's a valid regex, but doesn't work, because header_checks applies…

blade
- 109
- 1
- 3