Changes

Jump to navigation Jump to search
9 bytes added ,  03:02, 7 September 2008
no edit summary
Line 87: Line 87:     
If you want to enable personalization in mailman (make every name sent with the name of the recipient in the to: field as example or add the name of the user on the text) you do this:
 
If you want to enable personalization in mailman (make every name sent with the name of the recipient in the to: field as example or add the name of the user on the text) you do this:
Copy the entire folder mm_cfg.py from /etc/e-smith/templates/usr/lib/mailman/Mailman/ to /etc/e-smith/templates-custom/usr/lib/mailman/Mailman/ creating the needed folders if they arent there (most probably)
+
Copy the entire folder mm_cfg.py from  
Then edit /etc/e-smith/templates-custom/usr/lib/mailman/Mailman/mm_cfg.py/30hostname adding this text to the last line:
+
/etc/e-smith/templates/usr/lib/mailman/Mailman/
OWNERS_CAN_ENABLE_PERSONALIZATION = 1
+
to
 +
/etc/e-smith/templates-custom/usr/lib/mailman/Mailman/
 +
creating the needed folders if they arent there (most probably)
 +
Then edit:
 +
/etc/e-smith/templates-custom/usr/lib/mailman/Mailman/mm_cfg.py/30hostname adding this text to the last line:
 +
OWNERS_CAN_ENABLE_PERSONALIZATION = 1
 
And run:
 
And run:
expand-template /usr/lib/mailman/Mailman/mm_cfg.py
+
expand-template /usr/lib/mailman/Mailman/mm_cfg.py
signal-event reboot
+
signal-event reboot
 
Then enter to your mailing list admin (yoursite.com/mailman/admin/yourlist) and go to non-digest and in "Should Mailman personalize each non-digest delivery?" choose either yes or full personalization, test both to see wich one do you like more...
 
Then enter to your mailing list admin (yoursite.com/mailman/admin/yourlist) and go to non-digest and in "Should Mailman personalize each non-digest delivery?" choose either yes or full personalization, test both to see wich one do you like more...
 
Also if you want to add a header with the person name enter in "Header added to mail sent to regular list members" this:
 
Also if you want to add a header with the person name enter in "Header added to mail sent to regular list members" this:
Hello dear %(user_name)s
+
Hello dear %(user_name)s
 
and mailman is going to replace the string with the name the person used when he/she subscribed...
 
and mailman is going to replace the string with the name the person used when he/she subscribed...
  
7

edits

Navigation menu