I have a strange problem in my infrastructure. If i receive a mail which has the data from field encoded with base64 for example postfix decides to add my domain to the encoded data from.

For example Data From is dGVzdEB0ZXN0LmNvbQ== which comes out as dGVzdEB0ZXN0LmNvbQ==@domain.com

How can i fix this?

  • Do you mean the From field? – Michael Hampton Sep 19 '19 at 11:41
  • Yes, as i said in the message :) – Nico Sep 19 '19 at 13:48
  • You said Data From, which doesn't make sense in this context. – Michael Hampton Sep 19 '19 at 18:39
  • Yes ist does since there are two "froms". The envelope Sender (from) and the From in the Body or Data of the mail. – Nico Sep 19 '19 at 18:58

You can stop postfix appening myorigin by using: append_at_myorigin = no append_dot_mydomain = no in your config.

For further reference and security implications see: https://www.oreilly.com/library/view/postfix-the-definitive/0596002122/ch04s07.html

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.