Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| lwc:linux:sympa [2025/12/04 14:25] – John Harrison | lwc:linux:sympa [2025/12/15 07:54] (current) – John Harrison | ||
|---|---|---|---|
| Line 102: | Line 102: | ||
| # If you have trouble change from default log_level 1 | # If you have trouble change from default log_level 1 | ||
| log_level 2 | log_level 2 | ||
| + | |||
| + | # The sympa manager defaults to sympa so emails to subscribe/ | ||
| + | email manager | ||
| </ | </ | ||
| Line 114: | Line 117: | ||
| ===== Configuration ===== | ===== Configuration ===== | ||
| + | |||
| + | ==== Amazon SES relay ==== | ||
| + | * if forwarding emails to Amazon SES for sending, Amazon gets upset because of a duplicate header: '' | ||
| + | * This is because Sympa adds a Precedence: bulk (or list) header automatically to all list traffic to help spam filters identify it as a mailing list. | ||
| + | * Apparently the outgoing sender might have also added a Precedence header or maybe sympa is just confused :-o | ||
| + | * The result is that there is no Precedence header at all but that header has been obsoleted anyway so nothing lost | ||
| + | * to fix, add to ''/ | ||
| + | * also available as a setting in the UI in '' | ||
| + | |||
| ==== Customizing Templates ==== | ==== Customizing Templates ==== | ||
| Sympa uses a " | Sympa uses a " | ||
| Line 120: | Line 132: | ||
| - Site Level: ''/ | - Site Level: ''/ | ||
| - Default: ''/ | - Default: ''/ | ||
| + | === Cascaded Templates for messages sent to the list === | ||
| + | * have 2 footers, one plaintext ('' | ||
| - | To customize a template for one specific list, copy the default file into that list's folder and edit it there. | + | - List Level: |
| + | - Robot/ | ||
| + | - Site/Global Level: /'' | ||
| + | - Default: ''/ | ||
| ==== Unsubscribe Header ==== | ==== Unsubscribe Header ==== | ||
| Line 136: | Line 153: | ||
| ==== List Config ==== | ==== List Config ==== | ||
| - | * config file located at: ''/ | + | * config file located at: ''/ |
| + | * To get the emails sent from the list instead of the sender in the UI: | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * Change the from address from the sender to the list: | ||
| + | * '' | ||
| + | * ''" | ||
| + | * Prepend the list name to the subjects when sending out: | ||
| + | * '' | ||
| + | * '' | ||
| + | * Get rid of the "via list" in the from: | ||
| + | * '' | ||
| + | * '' | ||
| + | * consider increasing max message size: | ||
| + | * '' | ||
| + | * '' | ||
| + | * allow subscribers to view who is subscribed: | ||
| + | * '' | ||
| + | * create a list template to change the defaults for a new list: | ||
| + | < | ||
| + | # make a home for the new default override | ||
| + | sudo mkdir -p / | ||
| + | # copy from the original default | ||
| + | sudo cp -r / | ||
| + | # edit to your heart' | ||
| + | sudo emacs -nw / | ||
| + | </ | ||
| ==== Prettying it up ==== | ==== Prettying it up ==== | ||
| === Logo and Favicon === | === Logo and Favicon === | ||
| Line 148: | Line 193: | ||
| </ | </ | ||
| + | ==== Null Sender ==== | ||
| + | === Defining the problem === | ||
| + | * Sympa uses null sender (<>) when sending automated administrative messages like "post rejected: you aren't a member of the list" | ||
| + | * Amazon SES rejects null sender on SMTP relay (all my testing confirmed this and their AI FAQ thingie says this as well) | ||
| + | * Sending direct (skipping Amazon SES relay) fails too at least for gmail, who blocks null sender from my server address and accepts other addresses from the same server IP | ||
| + | * I tried many many attempts to get Postfix to replace the null sender with noreply@ and after hours of this gave up | ||
| + | === Workaround === | ||
| + | //yes I know this is a terrible workaround but couldn' | ||
| + | * Edit Sympa' | ||
| + | < | ||
| + | #change | ||
| + | ($return_path eq '<>' | ||
| + | #to | ||
| + | ($return_path eq '<>' | ||
| + | </ | ||
| + | * write a simple script to make sure you are notified if '' | ||
| + | < | ||
| + | #!/bin/bash | ||
| + | |||
| + | FILE="/ | ||
| + | TARGET_MD5="< | ||
| + | |||
| + | |||
| + | # Check if the file exists | ||
| + | if [ ! -f " | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | |||
| + | exit 1 | ||
| + | fi | ||
| + | |||
| + | # Get the md5 of the file | ||
| + | MD5=$(md5sum / | ||
| + | |||
| + | # Compare the md5 to the target | ||
| + | if [ " | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | else | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | fi | ||
| + | |||
| + | </ | ||
| + | * '' | ||
| + | * set Sympa to dump any bounced emails to noreply@: | ||
| + | * in ''/ | ||
| + | * '' | ||
| + | * '' | ||
| + | === Oh wait but we aren't done: Admin email is passing Google DKIM but failing Outlook DKIM === | ||
| + | Outlook is pretty unhappy with '' | ||
| + | * change ''/ | ||
| + | * //To make it look pretty, you will definitely want make some other changes to the template as well// | ||
| ==== Misc ==== | ==== Misc ==== | ||
| * It's a good idea to set the domain up with [[https:// | * It's a good idea to set the domain up with [[https:// | ||
| + | * There' | ||
| + | * completely removing a list needs to happen from the CLI: '' | ||
| + | * From [[https:// | ||