Add "sender's name/email" to BODY of mail as header?
I want all mails sent to the list to come from the list's email address...
But, in this case, if the user forgets to sign their name at the bottom of their mail body, effectively the mail to the list is anonymous...!
Is there a way to add the user name (or email address) to the top of each mail so that the mails have the name of the sender, while the mail itself comes from the list address?
I have looked high and low for an answer, but noone seems to have the solution. Thank you! Mal
Mal wrote:
I want all mails sent to the list to come from the list's email address...
But, in this case, if the user forgets to sign their name at the bottom of their mail body, effectively the mail to the list is anonymous...!
That's why the setting that controls this is called anonymous_list.
Is there a way to add the user name (or email address) to the top of each mail so that the mails have the name of the sender, while the mail itself comes from the list address?
Only by modifying Mailman code or creating a custom handler to do it.
I wonder why you want all mail to be From: the list if you also want the poster to be identified. If it is because you want filtering rules to be able to identify the mail as list mail, consider using some header other than From: such as X-BeenThere: which identifies the list.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
I am interested in this option as well. Here is a scenario: When people send a message to the group and don't sign their name, I want their name to be picked from the membership list and mentioned at the top of the body as From: <name of the member> It will follow with their message in the body of the email.
So is there a variable that displays the name of the person and which template can we add it to.
Thanks!
Alex Bellig writes:
I am interested in this option as well. Here is a scenario: When people send a message to the group and don't sign their name, I want their name to be picked from the membership list and mentioned at the top of the body as From: <name of the member> It will follow with their message in the body of the email.
This is not possible to do reliably in email due to the control of the relevant information by email authors. If it's merely an issue of authors forgetting, then it could be done, but Mailman provides no such feature.
So is there a variable that displays the name of the person and which template can we add it to.
No. Personalization is designed for the benefit of the *recipient*. So the variables that are available are the recipient's: their email address, their personal options page, the archive URL, and the like.
A variable identifying the sender should be unnecessary with a typically configured list. Normally, the person's name and email address are available as "From" in the email header. All mail clients display this header field by default. If they are at one of the (obnoxious) commercial services that have restrictive DMARC policies, From can be set to something like
From: "A. N. User via This Mailing List" <some-list@example.net>
and Reply-To (normally hidden by most mail clients) to
Reply-To: "A. N. User" <user@example.org>,
some-list@example.net
(where the reply-to some-list is optional, depending on whether reply_to_list is set in the list configuration). This is a compromise that avoids triggering bounces from recipients and allows somewhat convenient reply-to-author.
If you have set personalization to "full" or configured an "anonymous list", then From is set to the list. But this is rarely desirable behavior unless you want to conceal the author's identity, or it's an announcement list where the list is the author in some sense, and the identity of the human "secretary" who composed the message is unimportant. If you want help configuring your list(s) to show the original poster, we can provide that.
Much as I hate to say it, if your users need this kind of feature, you should consider migrating to a web forum instead of a mailing list. Web forums are much more helpful in this way. Mailing lists, and their developers, are biased to allowing (and requiring) their users to take care of these things themselves.
Steve
On Sat, Feb 13, 2021 at 11:00:20PM +0900, Stephen J. Turnbull wrote:
Alex Bellig writes:
I am interested in this option as well. Here is a scenario: When people send a message to the group and don't sign their name, I want their name to be picked from the membership list and mentioned at the top of the body as From: <name of the member> It will follow with their message in the body of the email.
This is not possible to do reliably in email due to the control of the relevant information by email authors.
Just wondering... I can see that the above would be true in the case of lists that allow anybody to post. But is it true even in the case of lists that can only be posted to by subscribers?
(Well, I guess that Subscriber A could spoof their message as being from Subscriber B. But barring pathological cases like that, presumably Mailman can match the sender's email address against the subscriber list and find the value of the corresponding name field.)
Sam
-- A: When it messes up the order in which people normally read text. Q: When is top-posting a bad thing?
() ASCII ribbon campaign. Please avoid HTML emails & proprietary /\ file formats. (Why? See e.g. https://v.gd/jrmGbS ). Thank you.
At Sat, 13 Feb 2021 15:53:35 +0000 Sam Kuper <sampablokuper@posteo.net> wrote:
Content-Type: text/plain
On Sat, Feb 13, 2021 at 11:00:20PM +0900, Stephen J. Turnbull wrote:
Alex Bellig writes:
I am interested in this option as well. Here is a scenario: When people send a message to the group and don't sign their name, I want their name to be picked from the membership list and mentioned at the top of the body as From: <name of the member> It will follow with their message in the body of the email.
This is not possible to do reliably in email due to the control of the relevant information by email authors.
Just wondering... I can see that the above would be true in the case of lists that allow anybody to post. But is it true even in the case of lists that can only be posted to by subscribers?
(Well, I guess that Subscriber A could spoof their message as being from Subscriber B. But barring pathological cases like that, presumably Mailman can match the sender's email address against the subscriber list and find the value of the corresponding name field.)
Assumes that the corresponding name field is not empty...
Sam
-- Robert Heller -- 978-544-6933 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@deepsoft.com -- Webhosting Services
Sam Kuper writes:
On Sat, Feb 13, 2021 at 11:00:20PM +0900, Stephen J. Turnbull wrote:
Alex Bellig writes:
This is not possible to do reliably in email due to the control of the relevant information by email authors.
Just wondering... I can see that the above would be true in the case of lists that allow anybody to post. But is it true even in the case of lists that can only be posted to by subscribers?
(Well, I guess that Subscriber A could spoof their message as being from Subscriber B. But barring pathological cases like that,
Or subscriber B could lend their phone to subscriber A to write a quick reply.
presumably Mailman can match the sender's email address against the subscriber list and find the value of the corresponding name field.)
If somebody writes the code and installs it, yes. Most of the code is already there, somewhere, it's just that it's only used for messages from Mailman to the subscriber. This requires not just coding skills, but also access (usually root) on the server.
Steve
At Sat, 13 Feb 2021 23:00:20 +0900 "Stephen J. Turnbull" <turnbull.stephen.fw@u.tsukuba.ac.jp> wrote:
Content-Type: text/plain
Alex Bellig writes:
I am interested in this option as well. Here is a scenario: When people send a message to the group and don't sign their name, I want their name to be picked from the membership list and mentioned at the top of the body as From: <name of the member> It will follow with their message in the body of the email.
This is not possible to do reliably in email due to the control of the relevant information by email authors. If it's merely an issue of authors forgetting, then it could be done, but Mailman provides no such feature.
So is there a variable that displays the name of the person and which template can we add it to.
No. Personalization is designed for the benefit of the *recipient*. So the variables that are available are the recipient's: their email address, their personal options page, the archive URL, and the like.
A variable identifying the sender should be unnecessary with a typically configured list. Normally, the person's name and email address are available as "From" in the email header. All mail clients display this header field by default. If they are at one of the
Actually, *some* mail clients don't display all of the From header, specificly some smart phone clients only display the e-mail address and not the comment -- I believe this is due to limited screen space. Often e-mail address can be cryptic or otherwise uninformative. Oh, and with DMARC From munging, the e-mail address on the from header will be the the list and not the original sender.
(obnoxious) commercial services that have restrictive DMARC policies,
From can be set to something like
From: "A. N. User via This Mailing List" <some-list@example.net>
and Reply-To (normally hidden by most mail clients) to
Reply-To: "A. N. User" <user@example.org>, some-list@example.net
(where the reply-to some-list is optional, depending on whether reply_to_list is set in the list configuration). This is a compromise that avoids triggering bounces from recipients and allows somewhat convenient reply-to-author.
If you have set personalization to "full" or configured an "anonymous list", then From is set to the list. But this is rarely desirable behavior unless you want to conceal the author's identity, or it's an announcement list where the list is the author in some sense, and the identity of the human "secretary" who composed the message is unimportant. If you want help configuring your list(s) to show the original poster, we can provide that.
Much as I hate to say it, if your users need this kind of feature, you should consider migrating to a web forum instead of a mailing list. Web forums are much more helpful in this way. Mailing lists, and their developers, are biased to allowing (and requiring) their users to take care of these things themselves.
Steve
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-leave@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
-- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@deepsoft.com -- Webhosting Services
At Sat, 13 Feb 2021 23:00:20 +0900 "Stephen J. Turnbull" <turnbull.stephen.fw@u.tsukuba.ac.jp> wrote:
Content-Type: text/plain
Alex Bellig writes:
I am interested in this option as well. Here is a scenario: When people send a message to the group and don't sign their name, I want their name to be picked from the membership list and mentioned at the top of the body as From: <name of the member> It will follow with their message in the body of the email.
This is not possible to do reliably in email due to the control of the relevant information by email authors. If it's merely an issue of authors forgetting, then it could be done, but Mailman provides no such feature.
So is there a variable that displays the name of the person and which template can we add it to.
No. Personalization is designed for the benefit of the *recipient*. So the variables that are available are the recipient's: their email address, their personal options page, the archive URL, and the like.
A variable identifying the sender should be unnecessary with a typically configured list. Normally, the person's name and email address are available as "From" in the email header. All mail clients display this header field by default. If they are at one of the
Actually, *some* mail clients don't display all of the From header, specificly some smart phone clients only display the e-mail address and not the comment -- I believe this is due to limited screen space. Often e-mail address can be cryptic or otherwise uninformative. Oh, and with DMARC From munging, the e-mail address on the from header will be the the list and not the original sender.
(obnoxious) commercial services that have restrictive DMARC policies,
From can be set to something like
From: "A. N. User via This Mailing List" <some-list@example.net>
and Reply-To (normally hidden by most mail clients) to
Reply-To: "A. N. User" <user@example.org>, some-list@example.net
(where the reply-to some-list is optional, depending on whether reply_to_list is set in the list configuration). This is a compromise that avoids triggering bounces from recipients and allows somewhat convenient reply-to-author.
If you have set personalization to "full" or configured an "anonymous list", then From is set to the list. But this is rarely desirable behavior unless you want to conceal the author's identity, or it's an announcement list where the list is the author in some sense, and the identity of the human "secretary" who composed the message is unimportant. If you want help configuring your list(s) to show the original poster, we can provide that.
Much as I hate to say it, if your users need this kind of feature, you should consider migrating to a web forum instead of a mailing list. Web forums are much more helpful in this way. Mailing lists, and their developers, are biased to allowing (and requiring) their users to take care of these things themselves.
Steve
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-leave@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
-- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@deepsoft.com -- Webhosting Services
On 2/11/21 4:25 PM, Alex Bellig wrote:
I am interested in this option as well. Here is a scenario: When people send a message to the group and don't sign their name, I want their name to be picked from the membership list and mentioned at the top of the body as From: <name of the member> It will follow with their message in the body of the email.
So is there a variable that displays the name of the person and which template can we add it to.
It is not clear whether this is a Mailman 2.1 or Mailman 3 question, but the answer is essentially the same. If it is a Mailman 3 question, it should have been sent to mailman-users@mailman3.org <https://lists.mailman3.org/mailman3/lists/mailman-users@mailman3.org/>
In either MM 2.1 or MM 3 there are ways to add headers and footers to messages. In MM 2.1 these are the msg_header and msg_footer list attributes and in MM 3 they are the list:member:regular:header and list:member:regular:footer templates. However, neither MM 2.1 nor MM 3 has replacements for the sender of the message. Adding them would require modifying the code.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
So what I understand from the above thread is that currently there is no way to display (or forcefully display) a sender's details in a message that they send to the mailing list, even if those details are in the membership database....??
Could we add this as a feature for future releases?
If you are running a MM2 list, the answer is no. MM2 is getting security fixes only.
If you are running a MM3 list, ask on the MM3 support list. This list is only for MM2.
On Tue, Feb 16, 2021 at 7:57 PM Vako Nicolian <vako@varnitec.com> wrote:
So what I understand from the above thread is that currently there is no way to display (or forcefully display) a sender's details in a message that they send to the mailing list, even if those details are in the membership database....??
Could we add this as a feature for future releases?
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-leave@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
On 2/16/21 6:56 PM, Vako Nicolian wrote:
So what I understand from the above thread is that currently there is no way to display (or forcefully display) a sender's details in a message that they send to the mailing list, even if those details are in the membership database....??
Unless the list is anonymous, the Sender will always be exposed in one or more of the From:, Cc: or Reply-To: headers, but beyond that, without modifying code, there's no way to put it in a msg_header.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 2/16/21 6:56 PM, Vako Nicolian wrote:
So what I understand from the above thread is that currently there is no way to display (or forcefully display) a sender's details in a message that they send to the mailing list, even if those details are in the membership database....??
Could we add this as a feature for future releases?
Not in Mailman 2.1 because it's end of life and not adding any new features and probably not in Mailman 3 either because there is probably insufficient interest.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (9)
-
Alex Bellig
-
Chromatest J. Pantsmaker
-
Mal
-
Mark Sapiro
-
Mark Sapiro
-
Robert Heller
-
Sam Kuper
-
Stephen J. Turnbull
-
Vako Nicolian