Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add issues exported from todo.sr.ht | Runxi Yu | 2024-05-04 | 1 | -0/+617 |
| | |||||
* | Relay access denied thing | Andrew Yu | 2023-07-07 | 7 | -12/+35 |
| | |||||
* | Test alignment of DKIM d: and From:'s domainpart | Andrew Yu | 2023-07-06 | 2 | -7/+5 |
| | |||||
* | Do not create a seperate SMTP connection for the archiver | Andrew Yu | 2023-07-06 | 2 | -4/+3 |
| | |||||
* | Use conn.quit() at the end of transactions | Andrew Yu | 2023-07-06 | 1 | -0/+1 |
| | |||||
* | Import common if .common fails | Andrew Yu | 2023-07-06 | 1 | -1/+4 |
| | |||||
* | Use sendmail(..., message.as_bytes(policy=policy)) | Andrew Yu | 2023-07-06 | 2 | -1/+2 |
| | |||||
* | Add bug in README | Andrew Yu | 2023-07-06 | 1 | -0/+2 |
| | |||||
* | Set envelope From address in test.sh | Andrew Yu | 2023-07-06 | 1 | -1/+1 |
| | |||||
* | Add testing script | Andrew Yu | 2023-07-06 | 1 | -0/+17 |
| | |||||
* | Note vulnerability on public-inbox | Andrew Yu | 2023-07-06 | 1 | -3/+5 |
| | |||||
* | Clarify wording in README | Andrew Yu | 2023-07-06 | 1 | -3/+3 |
| | |||||
* | Change Python email.policy options | Andrew Yu | 2023-07-06 | 1 | -1/+1 |
| | |||||
* | db.json changes for andrewyu.org | Andrew Yu | 2023-07-03 | 1 | -2/+2 |
| | |||||
* | Fixed erroneous string substitution in error reports | Andrew Yu | 2023-07-03 | 2 | -28/+8 |
| | |||||
* | Return upon [un]subscription action; also edit default config | Andrew Yu | 2023-07-03 | 2 | -1/+4 |
| | |||||
* | Fix programming errors | Andrew Yu | 2023-07-03 | 2 | -5/+7 |
| | |||||
* | Don't import sqlite3 - it's unused | Andrew Yu | 2023-07-02 | 1 | -1/+0 |
| | |||||
* | Primitive setup documentation | Andrew Yu | 2023-07-02 | 1 | -1/+6 |
| | |||||
* | Update documentation | Andrew Yu | 2023-07-02 | 9 | -51/+134 |
| | |||||
* | Use SENDER environment variable instead of parsing Return-Path | Andrew Yu | 2023-07-02 | 1 | -2/+1 |
| | |||||
* | Update README | Andrew Yu | 2023-07-02 | 1 | -20/+71 |
| | |||||
* | Implement list+[un]subscribe addresses and database locks | Andrew Yu | 2023-07-02 | 3 | -40/+71 |
| | |||||
* | Formatting | Andrew Yu | 2023-07-02 | 2 | -2/+3 |
| | |||||
* | EXCLUDE THIS COMMIT WITH CHERRY-PICK | Andrew Yu | 2023-07-01 | 1 | -15/+15 |
| | | | | | | | This commit disables the report-to-administrator functionality of the delivery agent, so the program just crashes on uncaught exceptions. This means the traceback will be sent to the original sender by postfix's bouncing facilities, so Test_User could see the traceback. | ||||
* | Import sqlite3 | Andrew Yu | 2023-07-01 | 1 | -0/+1 |
| | |||||
* | Horrible attempt at file locking | Andrew Yu | 2023-07-02 | 3 | -13/+38 |
| | |||||
* | Bugfix: Fail when /etc/smlmp.conf exists but is unreadable | Andrew Yu | 2023-07-02 | 1 | -3/+1 |
| | | | | | | | | | Previous version simply checks for existence of /etc/smlmp.conf, and if it exists, uses config.read on it, which will silently fail if the file can't be read but exists, i.e. with wrong permissions. Since config.read returns a list of files that it successfully read, we can check if it returned something; if not, the config file wasn't read, and we enter a fail condition. | ||||
* | Bugfix: Correct misspelt "DOMAIN" | Andrew Yu | 2023-07-02 | 1 | -1/+1 |
| | |||||
* | Bugfix: Use relative import | Andrew Yu | 2023-07-02 | 1 | -1/+1 |
| | |||||
* | Complain about missing configuration files | Andrew Yu | 2023-07-02 | 1 | -1/+5 |
| | |||||
* | Bugfix: make report_error use exc's class name | Andrew Yu | 2023-07-02 | 1 | -2/+2 |
| | |||||
* | Add implementation detail todo list | Andrew Yu | 2023-07-02 | 1 | -3/+7 |
| | |||||
* | Large commit (see commit details) | Andrew Yu | 2023-07-02 | 6 | -86/+199 |
| | | | | | | | | | | | | | | | | | | | - Put things in the correct form of a Python package, with an "smlmp" directory that contains an empty "__init__".py and the "mda" and "common" modules. Change imports to reflect this change. - - Instead of importing a Python file to use as a configuration file, we now read /etc/smlmp.conf, which is an ini file parsed through configparser. An example smlmp.conf.example is provided with detailed comments documenting how each configuration option could be used. - Email addresses and related parts in the configuration and incoming emails are lower-cased, as email is a case insensitive protocol and we shall thus make case insensitive comparisons, simply by internally handling everything lowercase. - Instead of only providing an exception's arguments (exc.args) when sending exception reports, send the full traceback. (This causes the entire program to requires Python 3.10 or later.) In addition to emailing the administrator when a non-sender's-fault exception occurs, tell the sender that their email failed to deliver. | ||||
* | Remove unnecessary examples from README | Andrew Yu | 2023-07-02 | 1 | -15/+3 |
| | |||||
* | Rename notes.txt to NOTES | Andrew Yu | 2023-07-01 | 1 | -0/+0 |
| | |||||
* | Update README, make things a bit clearer | Andrew Yu | 2023-07-01 | 1 | -15/+8 |
| | |||||
* | Use the "archive" boolean to determine if lists should be archived | Andrew Yu | 2023-07-01 | 3 | -4/+12 |
| | |||||
* | Bug fix: "extension" should be empty string, not None, when unused | Andrew Yu | 2023-07-01 | 1 | -2/+2 |
| | |||||
* | Clarify license of parse_dkim_header | Andrew Yu | 2023-07-01 | 1 | -4/+7 |
| | |||||
* | Remove unnecessary licenses | Andrew Yu | 2023-07-01 | 3 | -702/+0 |
| | |||||
* | merge exception sand sanitized_config into common | Andrew Yu | 2023-07-01 | 4 | -75/+30 |
| | |||||
* | No longer use seperate smlmp_dkim.py, merge into _common | Andrew Yu | 2023-07-01 | 3 | -55/+41 |
| | |||||
* | Better db.json for testing purposes | Andrew Yu | 2023-07-01 | 1 | -1/+1 |
| | |||||
* | Fix invalid syntax | Andrew Yu | 2023-07-01 | 1 | -1/+1 |
| | |||||
* | Make List-ID somewhat compliant with RFC2919 | Andrew Yu | 2023-07-01 | 2 | -5/+8 |
| | |||||
* | Again, update configs for new system setup | Andrew Yu | 2023-06-30 | 2 | -4/+4 |
| | |||||
* | Change db.json location for new system user | Andrew Yu | 2023-06-30 | 1 | -1/+1 |
| | |||||
* | Delay `actions' for future release | Andrew Yu | 2023-06-30 | 1 | -5/+7 |
| | |||||
* | Bugfix | Andrew Yu | 2023-06-30 | 1 | -5/+7 |
| |