aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/dmarc.lua
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Explicitly convert things to stringsVsevolod Stakhov2020-02-241-2/+12
| | | | Issue: #3272
* [Minor] Implement additional_address_bcc featureVsevolod Stakhov2020-02-241-21/+33
| | | | Issue: #3242
* [Minor] Fix parsing DMARC records containing upper-case lettersThomas Oettli2020-02-121-1/+20
|
* [Minor] Register forgotten symbol DMARC_BAD_POLICYThomas Oettli2020-01-261-0/+7
|
* Tune DMARC reportVitaliy Vasilenko2020-01-021-1/+2
| | | Add customization - message-id from
* [Project] More fixes to follow the C module semanticsVsevolod Stakhov2019-12-021-23/+6
|
* [Minor] Fix dmarc after changeVsevolod Stakhov2019-12-021-1/+1
|
* [Minor] Fix not logging DMARC reporting addresses.Phil Ross2019-10-261-1/+1
| | | | | `reporting_addr` uses the email address strings as keys so `table.concat` won't produce any output.
* [Fix] Fix issues sending DMARC reports.Phil Ross2019-10-231-14/+16
| | | | | | | | | | | | | | | | | | | | | | Processing the email template was causing a parse error (#3054). This was caused by the use of `{% ... %}` statements instead of `{= ... =}` output expressions. The message was failing to be sent over SMTP, closing the socket after reading the response to the DATA command and logging the following errors: > lua_tcp_arg_toiovec: bad argument at position -1 > lua_tcp_add_write: tcp request has bad data argument at pos 3 This was caused by the number of substitutions made by `gsub` being added to the message table. Sending would stop after processing the first message. This was caused by the sendmail callback function missing a call to `get_reporting_domain` on a successful outcome. Resolves #3054.
* [Minor] Distinguish absent IP address in a more sane wayVsevolod Stakhov2019-10-111-1/+1
|
* fix variable name report_startcgielen2019-09-271-1/+1
|
* [Minor] Dmarc: Fix bad policies detectionVsevolod Stakhov2019-09-261-1/+1
|
* rename report_domain -> reportING_domaincgielen2019-09-251-3/+3
|
* [Fix] Fix DMARC_NA behaviour in case of no valid policiesVsevolod Stakhov2019-09-021-0/+5
| | | | | Issue: #2955 Submitted by: @mguesdon
* [Minor] Use lua_smtp for dmarc reportsVsevolod Stakhov2019-05-251-149/+66
|
* [Fix] Do not blacklist mail by SPF/DMARC for local/authed usersVsevolod Stakhov2019-05-041-2/+2
| | | | Issue: #2871
* [Fix] Switch to GMTVsevolod Stakhov2019-05-011-1/+1
|
* [Fix] Set dmarc force action as least actionVsevolod Stakhov2019-04-291-1/+1
|
* [Minor] Do not use `get_symbol` to check existanceVsevolod Stakhov2019-04-241-4/+4
|
* [Minor] Add more fields to the DMARC reportsVsevolod Stakhov2019-04-201-3/+11
| | | | Issue: #2847
* [Minor] Fix line length in DMARC reportsVsevolod Stakhov2019-03-251-1/+1
| | | | | Issue: #2820 Closes: #2820
* [Minor] Fix flags on virtual symbolsVsevolod Stakhov2019-03-231-1/+0
|
* Update dmarc.luaanalogic2019-01-271-1/+1
|
* Update dmarc.luaanalogic2019-01-241-1/+1
|
* [Minor] Remove too long strings in Lua codeVsevolod Stakhov2018-12-231-5/+16
|
* [Fix] Perform policy downgrade on sample out, add testsVsevolod Stakhov2018-11-281-3/+11
|
* [Test] Add tests for pct=0 caseVsevolod Stakhov2018-11-281-1/+4
|
* [Minor] Include module name when setting pre resultVsevolod Stakhov2018-10-131-1/+1
|
* [Minor] Fix some testsVsevolod Stakhov2018-10-121-15/+17
|
* [Rework] Completely rewrite DMARC checks logicVsevolod Stakhov2018-10-121-296/+423
|
* [Minor] Unify check_auth/check_local optionsVsevolod Stakhov2018-10-021-8/+17
|
* [Fix] Fix groups messVsevolod Stakhov2018-09-291-0/+14
|
* [Fix] Fix resolving in DMARC reportsVsevolod Stakhov2018-09-271-15/+34
| | | | Issue: #2538
* make dmarc report from address customJan-Philipp Benecke2018-09-241-1/+3
|
* [Fix] Deprecate task:inc_dns_req as it is redundantVsevolod Stakhov2018-09-141-1/+0
|
* [Feature] Use pure Lua debugm functionVsevolod Stakhov2018-08-101-4/+5
|
* [Minor] Avoid pre-result overridingVsevolod Stakhov2018-07-111-0/+2
|
* [Fix] Try to fix leak in dmarc moduleVsevolod Stakhov2018-06-141-1/+3
|
* [Fix] Send DMARC reports compressedVsevolod Stakhov2018-06-081-9/+21
|
* [Fix] Fix base64 folding in Lua APIVsevolod Stakhov2018-05-061-1/+4
| | | | Issue: #2225
* [Project] Encourage dependencies registration by name onlyVsevolod Stakhov2018-03-151-2/+2
|
* [Fix] Deal with non-key arguments in lua_redis.exec_scriptAndrew Lewis2018-02-271-1/+1
|
* [Fix] DMARC: require report_settings for sending reports onlyAndrew Lewis2018-02-271-1/+1
|
* [Minor] DMARC: apply library functionsAndrew Lewis2018-02-271-42/+5
|
* [Minor] Add common methods to find a primary controllerVsevolod Stakhov2018-02-261-3/+4
|
* [Fix] Setting check_local / check_authed in plugins (#1954)Andrew Lewis2017-12-111-1/+1
|
* [Minor] Use controller for single-instance tasksAndrew Lewis2017-08-261-1/+1
|
* [Fix] Redis script loading in DMARC; URL tags; URL reputationAndrew Lewis2017-08-251-2/+1
| | | | - Issue: #1716
* [Minor] Fix Content-Type for DMARC reportsVsevolod Stakhov2017-08-161-1/+1
| | | | | Issue: #1793 Closes: #1793
* [Feature] Skip updates for messages scanned via controllerVsevolod Stakhov2017-07-011-1/+4
| | | | | | | | | | | | Rationale: controller worker is not designed to perform scan jobs, hence, we check for `Password` header or check `User-Agent` for `rspamc` and skip some of rules parts: - DMARC reports - Greylisting - Ratelimits - Ip score update - Clickhouse export