On 08/18/2016 04:55 PM, Steven D'Aprano wrote: > On Thu, Aug 18, 2016 at 04:36:58PM -0700, Mark Sapiro wrote: >> >> Altering the From: based on recipient can be done by modifying the code. >> Say you have a message "From: Ann User <a...@example.com>" and you want >> to change that to "From: Ann User <ann+...@example.com>" where xxx is a >> unique code for each recipient. > > Isn't that risky? Not all mail servers understand +xxx addresses. > (What's the official term for that?) I know of at least one domain that > uses -xxx instead, because they found too many broken mail servers that > claimed that + was not legal in an email address. > > The point is that if you mangle the address in this way, and people > email ann+...@example.com, there's a good chance that it won't be > delivered.
Yes, it's risky for the reasons you suggest. Putting the code in the Subject: as Richard asks in a follow up is much safer. > I'd be more inclined to look at the IP address where the spam is coming > from. Does it match one of your users? Then they are likely the culprit > (or rather, more likely a bot on their machine is the culprit). Good point. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org