aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add issues.jsonpyRunxi Yu2024-06-171-617/+0
|
* Add issues exported from todo.sr.htRunxi Yu2024-05-041-0/+617
|
* Relay access denied thingAndrew Yu2023-07-077-12/+35
|
* Test alignment of DKIM d: and From:'s domainpartAndrew Yu2023-07-062-7/+5
|
* Do not create a seperate SMTP connection for the archiverAndrew Yu2023-07-062-4/+3
|
* Use conn.quit() at the end of transactionsAndrew Yu2023-07-061-0/+1
|
* Import common if .common failsAndrew Yu2023-07-061-1/+4
|
* Use sendmail(..., message.as_bytes(policy=policy))Andrew Yu2023-07-062-1/+2
|
* Add bug in READMEAndrew Yu2023-07-061-0/+2
|
* Set envelope From address in test.shAndrew Yu2023-07-061-1/+1
|
* Add testing scriptAndrew Yu2023-07-061-0/+17
|
* Note vulnerability on public-inboxAndrew Yu2023-07-061-3/+5
|
* Clarify wording in READMEAndrew Yu2023-07-061-3/+3
|
* Change Python email.policy optionsAndrew Yu2023-07-061-1/+1
|
* db.json changes for andrewyu.orgAndrew Yu2023-07-031-2/+2
|
* Fixed erroneous string substitution in error reportsAndrew Yu2023-07-032-28/+8
|
* Return upon [un]subscription action; also edit default configAndrew Yu2023-07-032-1/+4
|
* Fix programming errorsAndrew Yu2023-07-032-5/+7
|
* Don't import sqlite3 - it's unusedAndrew Yu2023-07-021-1/+0
|
* Primitive setup documentationAndrew Yu2023-07-021-1/+6
|
* Update documentationAndrew Yu2023-07-029-51/+134
|
* Use SENDER environment variable instead of parsing Return-PathAndrew Yu2023-07-021-2/+1
|
* Update READMEAndrew Yu2023-07-021-20/+71
|
* Implement list+[un]subscribe addresses and database locksAndrew Yu2023-07-023-40/+71
|
* FormattingAndrew Yu2023-07-022-2/+3
|
* EXCLUDE THIS COMMIT WITH CHERRY-PICKAndrew Yu2023-07-011-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 sqlite3Andrew Yu2023-07-011-0/+1
|
* Horrible attempt at file lockingAndrew Yu2023-07-023-13/+38
|
* Bugfix: Fail when /etc/smlmp.conf exists but is unreadableAndrew Yu2023-07-021-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 Yu2023-07-021-1/+1
|
* Bugfix: Use relative importAndrew Yu2023-07-021-1/+1
|
* Complain about missing configuration filesAndrew Yu2023-07-021-1/+5
|
* Bugfix: make report_error use exc's class nameAndrew Yu2023-07-021-2/+2
|
* Add implementation detail todo listAndrew Yu2023-07-021-3/+7
|
* Large commit (see commit details)Andrew Yu2023-07-026-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 READMEAndrew Yu2023-07-021-15/+3
|
* Rename notes.txt to NOTESAndrew Yu2023-07-011-0/+0
|
* Update README, make things a bit clearerAndrew Yu2023-07-011-15/+8
|
* Use the "archive" boolean to determine if lists should be archivedAndrew Yu2023-07-013-4/+12
|
* Bug fix: "extension" should be empty string, not None, when unusedAndrew Yu2023-07-011-2/+2
|
* Clarify license of parse_dkim_headerAndrew Yu2023-07-011-4/+7
|
* Remove unnecessary licensesAndrew Yu2023-07-013-702/+0
|
* merge exception sand sanitized_config into commonAndrew Yu2023-07-014-75/+30
|
* No longer use seperate smlmp_dkim.py, merge into _commonAndrew Yu2023-07-013-55/+41
|
* Better db.json for testing purposesAndrew Yu2023-07-011-1/+1
|
* Fix invalid syntaxAndrew Yu2023-07-011-1/+1
|
* Make List-ID somewhat compliant with RFC2919Andrew Yu2023-07-012-5/+8
|
* Again, update configs for new system setupAndrew Yu2023-06-302-4/+4
|
* Change db.json location for new system userAndrew Yu2023-06-301-1/+1
|
* Delay `actions' for future releaseAndrew Yu2023-06-301-5/+7
|