1
vote
0answers
30 views

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 ...
0
votes
1answer
76 views

Scrub header for internal servers in Postfix?

We have all internal Centos servers sending mail to 2 outgoing MX servers in our business. I want to scrub the headers on our 2 outgoing MX servers to remove the information from where they ...
2
votes
1answer
90 views

Postfix: How to prepend a header only once?

I want to prepend a header with postfix to every outgoing mail from a specific domain. At the moment i use: check_sender_access hash:/etc/postfix/prepend with /etc/postfix/prepend: my.domain ...
1
vote
1answer
231 views

“From:” e-mail header spoofing - how to verify such mail?

I'm facing a problem of verifying a "From:" message field in e-mail messages, in terms of e-mail spoofing. I am currently using SPF and DKIM to verify the origin and integrity of messages, but as far ...
0
votes
1answer
1k views

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 : ...
0
votes
2answers
1k views

Postfix add custom header with random value

I am trying to add a custom header to all messages handled by my postfix server. I tried using a guide on the internet without any luck. In my master.cf i added: -o ...
-1
votes
1answer
139 views

Remove (Postfix) pattern in postfix email header

Due security due diligent, we need to remove the pattern (Postfix) in our email header. Here is an eg: Received: from Simon-Vs-MBCuiPap.local (unknown [118.69.224.5]) (using TLSv1 with cipher ...
0
votes
2answers
950 views

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 ...