Questions tagged [smtp-headers]

Email headers such as Received-By: are SMTP headers.

100 questions
10
votes
1 answer

Why don't my domain's messages to a google group get their headers rewritten so DMARC can pass?

Whenever my domain sends a message to a google group on another domain the DMARC alignment fails. This is true for all my approved senders, even using Gmail in my domain. It seems to be because the Return-Path (Envelope From) header is replaced by…
lordbyron
  • 331
  • 2
  • 9
10
votes
3 answers

"Delivered-To" Header in Exchange

In some SMTP server implementations (i.e. Postfix) you can enable Delivered-To and X-Original-To headers that will be added to your email. (or [X-]Envelope-To) This is very helpful with distribution lists to determine which e-mail address the mail…
Kaii
  • 735
  • 1
  • 6
  • 17
9
votes
2 answers

Postfix: selecting relay host based on From: mail header rather than envelope sender

I've successfully set Postfix to relay emails via Mandrill using SASL and sender_dependent_relayhost_maps with a MySQL table so that different senders connect to Mandrill using their own Mandrill username and API key. So far so good, but I've got…
Adrian Savage
  • 91
  • 1
  • 2
6
votes
1 answer

Why is sendmail adding an extra carriage return in headers?

I've got SendMail 8.14.4 running on a CentOS 5 server. A user in Japan is sending a message and when it gets processed by the server, SendMail is adding an extra carriage return for some reason. The email contains a X-header with values that…
Mike B
  • 11,570
  • 42
  • 106
  • 165
6
votes
3 answers

postfix - different header checks for incoming and outgoing mail

How can I apply different header_checks for incoming and outoing mail using postfix? By default, all header_checks are applied to both incoming and outgoing.
Zulakis
  • 4,191
  • 14
  • 44
  • 75
5
votes
2 answers

How to modify Receive header in Postfix

Each Mail Transport Agent that encounters a message adds a Receive header to indicate where, when, and how the message arrived and also some data about the receiver. When I send an email from Mac Mail.app MUA, my Postix MTA adds: Received: from…
potato
  • 159
  • 1
  • 4
5
votes
2 answers

How do I remove Received-headers from emails?

I'm using Postfix 2.3.3 and mail sent from my server always add useless headers which I'd like to remove. Currently I'm only using the PHP mail() function to send mail. Return-Path: Received: from mss-us4.mail.pw (localhost.localdomain…
aardbol
  • 1,463
  • 4
  • 17
  • 25
5
votes
1 answer

Is there a legitimate reason to use an encoded word in any header other than the subject?

Encoded words allow non-US-ASCII characters to be encoded as US-ASCII and thus placed into email headers. http://en.wikipedia.org/wiki/MIME#Encoded-Word Encoded words are often used in the Subject header, especially when the Subject is in another…
james.garriss
  • 360
  • 6
  • 17
5
votes
2 answers

How to configure Postfix to only send out emails with a certain header?

I'm setting up a local development VM and I was able to redirect all sent out emails to a local mailbox using virtual_alias_maps with the entry /.*/ username. What I'd like to add is an option to not redirect emails to the local mailbox if the email…
thasmo
  • 257
  • 2
  • 11
5
votes
3 answers

With valid SPF my mail header becomes huge -> high spamassasin score

I have a dedicated server with a survey system running on a subdomain. The parent domain is hosted on another server. I send email via google apps. Reverse DNS is correct. Without SPF og DKIM, the very smart 'check-auth@verifier.port25.com' returns…
Andreas
  • 153
  • 3
5
votes
3 answers

Prepend X-header to all relayed messages in Postfix

I've got several production servers running a LAMP stack. They each have a local Postfix server catching any mail from the system and from PHP, and relaying it via a smarthost (the SendGrid SMTP service). I'd like to add a custom header to every…
Martijn Heemels
  • 7,438
  • 6
  • 39
  • 62
4
votes
1 answer

postfix header_checks using regexp proper setup

I just can't seem to figure out why header_checks are not being evaluated. I'm on Ubuntu 12.04, postfix 2.7, dovecote, spamassasin, clamav, amavis. I add following line to /etc/postfix/main.cf : header_checks = regexp:/etc/postfix/header_checks And…
WJR
  • 321
  • 1
  • 4
  • 16
4
votes
2 answers

Sending e-mail from sendmail with headers

I'm trying to send an e-mail with sendmail, but I need to specify some headers (From, Content-Type, Subject). Here is the command I am currently running: echo "Content-Type: text/plain\r\nFrom: do-not-reply@mydomain.com\r\nSubject: Test\r\n\r\nThe…
Justin
  • 5,008
  • 19
  • 58
  • 82
3
votes
1 answer

Remove unnecessary quotes from sender display name with special characters

I have set up Postfix with Dovecot and SquirrelMail on an Ubunutu 18.04 machine. Everything is working great, except for the display name with special characters. In SquirrelMail, I have configured the Full Name to be Õäöü: But when I receive the…
3
votes
2 answers

What does this Received email header line mean?

I'm a little paranoid that my new mail server might not be configured right, and I'm wondering if I made a mistake somewhere. Or maybe it's just the way Yahoo does things with their mail service. To Yahoo mail from my mail server: Received: from…
Jeff
  • 1,406
  • 3
  • 26
  • 46
1
2 3 4 5 6 7