LISTSERV Tech Tip |
By Jacob Haller
Senior Support Engineer, L-Soft
When LISTSERV distributes a message to a list, it modifies certain email headers by adding a "Reply-To" or "Sender" address as well as a DKIM signature. It also standardizes the "To" and "Cc" fields so that they contain only the mailing list address. This is done for a couple of different reasons:
To prevent this, addresses present in the original message's "To" and "Cc" fields are moved to "X-To" and "X-Cc" headers, or "Comments: To" and "Comments: Cc" headers, or dropped altogether, depending on if the mailing list has an X-Tags list configuration setting configured.
We don't normally recommend changing this but also recognize that there may be cases where it's desirable for Cc:d addresses to be preserved. For those situations, you can use the following workaround.
There is a subscriber setting called IETFHDR, which tells LISTSERV to not alter most of a message's headers when it distributes it to subscribers who have the IETFHDR subscription option set. In particular, subscribers set to IETFHDR would see the original "To" and "Cc" headers in the messages that they receive.
IETFHDR has some side-effects:
A list owner can set an individual subscriber to IETFHDR by going under "List Management > LISTSERV Command" and issuing a command like this:
|
quiet set LISTNAME IETFHDR for subscriber@example.com |
That subscriber (and only that subscriber) will see messages that are posted to the mailing list with their original "To" and "Cc" headers intact. You can use this method to test out this option before setting it for the entire mailing list, or if there are particular subscribers who would find this option useful.
If you want to remove the IETFHDR setting for an individual subscriber, you can go under "List Management > Subscriber Management", find the user's subscription and choose another option under the "Headers" section of the subscriber options area.
If you decide to make all subscribers have this subscription option, first go under "List Management > List Configuration" and enter Default-Options= IETFHdr to set this option for all new subscribers. If there is already another HDR option listed in Default-Options (for instance, SUBJECTHDR or FULLHDR), then remove it at this time.
Then, go under "List Management > LISTSERV Command" and issue the following command:
|
quiet set LISTNAME IETFHDR for *@* |
This will apply the IETFHDR setting to all existing subscribers.
If you set IETFHDR option for all of your subscribers and later determine that it isn't well-suited to your needs, then you can undo the changes as follows.
First go under "List Management > List Configuration" and change the Default-Options setting to what it was before you added IETFHDR. In most cases, this will just require removing IETFHDR from the setting, or if there aren't any other parameters in the setting, removing the Default-Options line altogether. If you previously had another header option, for example SUBJECTHDR in Default-Options, then you would restore it now.
Second, go under "List Management > LISTSERV Command" and issue a command like this:
|
quiet set LISTNAME FULLHDR for *@* |
This will replace the IETFHDR option with FULLHDR for all existing subscribers. If you instead wish to set it the SUBJECTHDR or another header option, then you would substitute that option for FULLHDR in the command.
The IETFHDR subscription option was introduced in 1993 in LISTSERV 1.7f, following discussions in an Internet Engineering Task Force (IETF) working group regarding mailing list practices. The option was introduced to mimic the behavior required by what the group intended for an eventual "IETF LISTSERV" standard, and in the LISTSERV 1.7f release notes it stated:
It is important to understand that these headers are [...] being provided to answer requirements from Internet specialists; it is "their" headers, not "ours". They are not meant to be user-friendly and are not open to negotiations. They will not spawn sub-options with various bells and whistles added. They are here to allow LISTSERV to emulate an SMTP redistribution list if desired, and nothing more.
In the event, the "IETF LISTSERV" standard never materialized.
Was this article helpful to you? Would you recommend it to a colleague? Your input helps us create content that truly supports your work. Thank you!
|
Want More Insights? Catch up with the latest LISTSERV developments, industry best practices, expert tips, tutorials and more. |
LISTSERV is a registered trademark licensed to L-Soft international, Inc.
See Guidelines for Proper Usage of the LISTSERV Trademark for more details.
All other trademarks, both marked and unmarked, are the property of their respective owners.