Philip,

Tried to add the header

defaults write com.freron.MailMate MmAdditionalComposerHeaders "( { headerName 
= 'X-YourOrg-Info-Workstation'; defaultValue = 'Something'; type = 'plain'; } )"

I can set it ( and I can read the setting ) but it doesn’t seem to be added to 
the mail header.

Am I overlooking something ?


Marc






On 28 Jul 2021, at 4:49, Philip Paeps wrote:

> On 2021-07-27 18:24:10 (+0800), MM_Arc wrote:
>> At the office we are handling info-account with a number of users.
>> At rare occasions the need arises to be able to tell which workstation did 
>> send the mail . . .
>>
>> So I’m wondering if there is a possibility to configure/add/set a specific 
>> header/tag based on the MM installation.
>
> You could configure MailMate to put the hostname in the EHLO command it sends 
> to the SMTP server:
>
> defaults write com.freron.MailMate MmSMTPFixedHostname -string "example.com"
>
> In many (most? some?) setups, that will cause the string to turn up in the 
> first Received: header.
>
> Alternatively, you could set a custom header:
>
> defaults write com.freron.MailMate MmAdditionalComposerHeaders "( { 
> headerName = 'X-YourOrg-Info-Workstation'; defaultValue = 'Something'; type = 
> 'plain'; } )"
>
> That may be a little bit more reliable in transit but users can easily edit 
> or suppress the header (either inadvertently or maliciously).
>
> (These settings are documented on 
> https://manual.mailmate-app.com/hidden_preferences)
>
> A more reliable solution would be to give each user of the shared mailbox 
> their own credentials.
>
> Philip
>
> -- 
> Philip Paeps
> Senior Reality Engineer
> Alternative Enterprises
> _______________________________________________
> mailmate mailing list
> [email protected]
> https://lists.freron.com/listinfo/mailmate
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate

Reply via email to