Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-25 | Implement a generic interface to forward resolver queries to the lka | Eric Faurot | |
process. Use it for the reverse lookups required by smtp and mta. Until now, DNS-related lookups were implemented using ad-hoc IMSGs between the lka and other processes. It turns out to be confusing and difficult to maintain/extend. So we want to replace this with a better set of IMSGs matching the standard resolver interface. ok gilles@ | |||
2018-07-25 | qmail advertizes a size of 0 as "no limit on data", fix SIZE handling in | Gilles Chehade | |
mta_session.c spotted by deraadt@ and benno@ | |||
2018-07-25 | delivery to a filename should be in mbox format otherwise it will lack the | Gilles Chehade | |
^From separator and corrupt files ok eric@ | |||
2018-07-20 | Now that aliases in smtpd.conf default to plain text files and not | Todd C. Miller | |
db files we don't want to tell people to run makemap instead of newaliases. OK deraadt@ jmc@ | |||
2018-07-15 | remove unused variable | Gilles Chehade | |
2018-07-11 | Do for most running out of memory err() what was done for most running | Kenneth R Westerback | |
out of memory log_warn(). i.e. ("%s", __func__) instead of manual function names and redundant verbiage about which wrapper detected the out of memory condition. ok henning@ | |||
2018-07-09 | No need to mention which memory allocation entry point failed (malloc, | Kenneth R Westerback | |
calloc or strdup), we just need to log that we ran out of memory in a particular function. Recommended by florian@ and deraadt@ ok benno@ henning@ tb@ | |||
2018-07-08 | when rejecting a recipient due to any kind of error related to .forward and | Gilles Chehade | |
aliases/virtual expansion, provide a more explicit status in the session. ok millert@ | |||
2018-07-08 | remove 'event=' from logs it doesn't carry any information | Gilles Chehade | |
suggested by eric@, ok millert@ | |||
2018-07-07 | make it more obvious that there was a problem with a .forward file: | Gilles Chehade | |
424 4.2.4 Mailing list expansion problem 524 5.2.4 Mailing list expansion problem postmaster still has to look to logs to understand the real issue but at least it doesn't go unnoticed anymore. ok eric@ | |||
2018-07-05 | further tweak the introductory text; ok gilles | Jason McIntyre | |
2018-07-04 | "proto" is optional; from matthew martin | Jason McIntyre | |
ok gilles | |||
2018-07-03 | unbreak newaliases. | mortimer | |
ok millert@ | |||
2018-06-28 | Don't ignore -n; OK gilles@ | Tim van der Molen | |
2018-06-21 | - various tweaks to try to make DESCRIPTION read better | Jason McIntyre | |
- try to avoid muddling "reserved words" and "keywords" ok gilles | |||
2018-06-18 | simplify parse_config() further so it no longer has any side effect outside | Gilles Chehade | |
of parse.y, there's still work to be done but it's now able to run twice if we want (we don't) without failing due to some global side-effect. ok millert@ | |||
2018-06-18 | split smtp_accept() in two parts: the accept part, the session init part, | Gilles Chehade | |
while at it allow smtp_session() to receive a pre-allocated struct io ok millert@ diff contributed by Antoine Kaufmann | |||
2018-06-18 | upfront, explain action/match, since it is central to how the new config works; | Jason McIntyre | |
help/ok gilles | |||
2018-06-16 | rework the table API so that it takes a struct smtpd * context in parameter | Gilles Chehade | |
of functions creating, looking up or destroying tables. this is a first step in cleaning up parse.y so it doesn't have side effects outside of parse_config(), bringing nothing but making code cleaner. ok millert@ | |||
2018-06-15 | the %{sender} variable should expand to the MAIL FROM address, so in the | Gilles Chehade | |
case of a mailer daemon, this is an empty string, not '@' introduce %{mbox.from} which is the From separator line representation of a sender, usually an email address or MAILER-DAEMON if sender is empty ok eric@ | |||
2018-06-13 | various clarifications for the auth/ca/pki/cert stuff; | Jason McIntyre | |
ok gilles, who obtains The Order Of Patience | |||
2018-06-09 | parse SIZE advertisement | Eric Faurot | |
2018-06-07 | remove unused flags and obsolete comments | Eric Faurot | |
ok gilles@ | |||
2018-06-07 | use RELAY_* flags where appropriate | Eric Faurot | |
ok gilles@ | |||
2018-06-07 | simplify the codepath for backup relay setup | Eric Faurot | |
ok gilles@ | |||
2018-06-06 | code cleanup | Eric Faurot | |
ok gilles@ semarie@ | |||
2018-06-06 | remove fields that are found in struct dispatcher from struct relayhost | Eric Faurot | |
ok gilles@ | |||
2018-06-05 | remove struct relayhost from struct envelope. | Eric Faurot | |
ok gilles@ | |||
2018-06-05 | document "match tag"; ok gilles | Jason McIntyre | |
2018-06-04 | honor SIZE extension when advertised by peer | Gilles Chehade | |
ok millert@ | |||
2018-06-04 | for "match", document that envelopes that do not match anything are rejected, | Jason McIntyre | |
and that rules are evaluated sequentially, first match wins; ok gilles | |||
2018-06-04 | tweak previous; | Jason McIntyre | |
2018-06-04 | add support for mda wrappers allowing postmaster to define command wrappers | Gilles Chehade | |
that will be executed (with recipient privileges) before calling the users' mail delivery agent ok eric@ | |||
2018-06-04 | tweak the text of the relaying example: make it clear that the example | Jason McIntyre | |
allows delivery as well as relaying (for authenticated users), and that passing to an external mda is possible, but not required; ok gilles | |||
2018-06-04 | "match auth" matches transactions that *have been* authenticated; | Jason McIntyre | |
ok gilles | |||
2018-06-03 | split forkmda() in two: | Gilles Chehade | |
- forkmda() creates the process that will be used for the delivery and does the switching of privileges then calls mda_unpriv() - mda_unpriv() runs with privileges of the recipient, it expands variables, sets up environment and executes the mda ok millert@ and eric@ | |||
2018-06-02 | restore one set of quotes i shouldn;t have removed; | Jason McIntyre | |
from ingo feinerer | |||
2018-06-01 | reorder pki grammar, no functional change | Gilles Chehade | |
2018-06-01 | instead of using 'set queue XXX' 'set mta XXX' 'set mda XXX' to set option | Gilles Chehade | |
XXX on the relevant component, just drop the keyword 'set', it does not do anything useful and makes config directives longer. while at it, instead of having 'limit' as a main keyword, make it an option on components. and also while at it, do cleanup parse.y a bit ok millert@ | |||
2018-06-01 | when peer advertises SIZE, keep track of it in the session | Gilles Chehade | |
this will later allow _not_ sending messages when we know they will be rejected at commit time ok eric@ | |||
2018-06-01 | document that keywords have to be quoted when used additionally as argument | Jason McIntyre | |
names, and remove any unneccessary quoting from the existing examples; ok gilles | |||
2018-06-01 | Require a valid certificate by default when relaying through a smarthost. | Eric Faurot | |
Add "tls no-verify" relay option to disable it. suggested and initial diff by semarie@. ok gilles@ | |||
2018-05-31 | remove 'where' parameter from all x*() functions in utils.c, it doesn't | Gilles Chehade | |
really help us with anything, propagate the change in codebase ok millert@ | |||
2018-05-31 | - Replace virtual(5) reference by table(5) as virtual table format is | Gilles Chehade | |
documentation in table(5) man page under "Aliasing tables" section. - Add "auth <table>" documentation. Example at end of the man page uses it, so it should be documented. diff from Sebastien Marie | |||
2018-05-31 | simplify | Eric Faurot | |
ok gilles@ | |||
2018-05-30 | cosmethic change, shuffle smtpd specific grammar bits _after_ the ones that | Gilles Chehade | |
make sense to others | |||
2018-05-30 | when path is too long, display it in error message | Gilles Chehade | |
suggested by millert@ | |||
2018-05-30 | consistent casing; | Jason McIntyre | |
2018-05-30 | tweak previous; | Jason McIntyre | |
2018-05-30 | teach mail.maildir how to junk mails if -j option is set and X-Spam is | Gilles Chehade | |
positive, this can be enabled with the 'junk' option in maildir action ok eric@ |