exim4:remove_local_username
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
exim4:remove_local_username [2016/11/16 14:59] – peter | exim4:remove_local_username [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 23: | Line 23: | ||
< | < | ||
- | received_header_text = Received: \ | + | received_header_text = "Received: \ |
${if def: | ${if def: | ||
{${if def: | {${if def: | ||
Line 35: | Line 35: | ||
{(envelope-from < | {(envelope-from < | ||
id $message_exim_id\ | id $message_exim_id\ | ||
- | ${if def: | + | ${if def: |
</ | </ | ||
Line 60: | Line 60: | ||
< | < | ||
- | received_header_text = Received: \ | + | received_header_text = "Received: \ |
by $primary_hostname \ | by $primary_hostname \ | ||
${if def: | ${if def: | ||
Line 68: | Line 68: | ||
{(envelope-from < | {(envelope-from < | ||
id $message_exim_id\ | id $message_exim_id\ | ||
- | ${if def: | + | ${if def: |
</ | </ | ||
Line 74: | Line 74: | ||
< | < | ||
- | received_header_text = Received: \ | + | received_header_text = "Received: \ |
${if def: | ${if def: | ||
${if def: | ${if def: | ||
Line 83: | Line 83: | ||
${if def: | ${if def: | ||
(Exim ${version_number} # | (Exim ${version_number} # | ||
- | id ${message_id} | + | id ${message_id}" |
</ | </ | ||
Line 91: | Line 91: | ||
Ignoring the fact that the use is widespread (googlemail for example) [[http:// | Ignoring the fact that the use is widespread (googlemail for example) [[http:// | ||
- | | + | <WRAP box 80% center> |
+ | The FROM field, which MUST be supplied in an SMTP environment, | ||
+ | </ | ||
+ | Mail submission ([[http:// | ||
+ | |||
+ | Note that this only removes the location from the Recieved: header generated by the submission server - the information may also exist in other parts of the header such as Message-Id: header, it depends on the MUA involved. | ||
+ | |||
+ | To refresh the Message-Id for submission mail, one method would be to use a system filter: | ||
+ | |||
+ | < | ||
+ | if $authenticated_id is not "" | ||
+ | headers remove " | ||
+ | headers add " | ||
+ | endif | ||
+ | </ | ||
===== Alternative Approach ===== | ===== Alternative Approach ===== | ||
Line 107: | Line 121: | ||
http:// | http:// | ||
+ | |||
+ | http:// | ||
+ |
exim4/remove_local_username.1479308359.txt.gz · Last modified: 2020/07/15 09:30 (external edit)