Exim header - how to get header?

patrickkasie

Verified User
Joined
Sep 21, 2021
Messages
244
Location
Een echte Hollander
As much as I'd like to write a complicated story, my question is pretty straightforward, yet impossible for me to find out: how to get the headers in a mail so I can see what's going wrong when sending a mail?
I also do not know how to find mail that I have sent for investigation, so those 2 combined should provide me with what I'm looking for.
 
This is not really a DA support question. I presume you are admin and have a DA license?
Anyway, getting headers depends on the mail client you are using. You could have Googled this question as it's a question very often asked.

If you are using Outlook for example, open the mail then click on File-> properties (or in Dutch Bestand -> Eigenschappen) and you should see the headers.
It might be that some versions (like Outlook 2013) need a registry tweak to get full headers there.
As for Tunderbird you can just Google it.
 
I'm afraid I have not posed my question correctly. The thing is I'd like to find the headers from the server I'm sending it using SSH. I'm still very new to all of this and I do not know exactly what I'm doing and how everything works.

Edit: I mean, I could always send myself a mail and find it in Outlook, however, that's not exactly what I'd like to get out of it. The reply is still a valid answer though, so yeah. Thank you for that! :)
 
As for my answer, you're welcome.

The thing is I'd like to find the headers from the server I'm sending it using SSH.
You won't. As far as I know the headers are send by the MTA, so by Exim, and Exim does not log outgoing headers.
Not even even you send mail via SSH commandline.
It can be done if I'm correct, but this would take some special Exim customization.

Maybe it's better to write down what you are trying to achieve. Because for example, if you go to mail-tester.com and follow instructions to send a mail, you can also see what could be wrong. Also exim's logfiles could point to causes.
I don't know if you're Dutch, if you are you can send me a pm in Dutch and maybe I can help you.
 
Back
Top