Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-07 | replace malloc()+strlcpy() with strndup() in cmdline_symset(). | miko | |
"looks good" gilles@ halex@ | |||
2018-09-05 | rename flag | Eric Faurot | |
ok gilles@ | |||
2018-09-05 | rename token to match naming convention | Gilles Chehade | |
ok eric@ | |||
2018-09-05 | some text improvements from matt schwartz; ok gilles | Jason McIntyre | |
2018-09-05 | do not use the literal string "label" as our example label; ok gilles | Jason McIntyre | |
2018-09-05 | rework the text about "label" somewhat for clarity; ok eric | Jason McIntyre | |
2018-09-04 | remove useless session flag | Eric Faurot | |
ok gilles@ | |||
2018-09-04 | upon mda failure, smtpd would assume tempfail and retry. this is at odds | Gilles Chehade | |
with the other MTA which assume a permfail unless the exit status is one of a specific set. make smtpd honour the same exit statuses as postfix. note that all errors that occur before the user mda is executed (fork, pipe and related) are still considered tempfail, only errors coming from the mda itself are handled as permfail. this commit is a temporary solution as i believe the SIGCHLD handler is way more complex than it should be and we'll simplify it after 6.4 is out. ok eric@ | |||
2018-09-04 | remove unused flags | Eric Faurot | |
2018-09-03 | simplify the smtp_command() function by splitting cmd handlers into | Gilles Chehade | |
two sets of functions smtp_check_<verb> and smtp_proceed_<verb>. we use the check functions to validate that verb is acceptable at this point of a session and proceed to actually move the session forward ok eric@ | |||
2018-09-03 | bump max line size | Gilles Chehade | |
ok eric@ | |||
2018-09-03 | document "wrapper" in the local section; from matt schwartz | Jason McIntyre | |
ok gilles while here, fix some spelling at eol whitespace introduced in previous; | |||
2018-09-03 | use new smarthost syntax in log message | Eric Faurot | |
2018-09-03 | Update and document syntax for smarthost string in smtpd.conf: | Eric Faurot | |
- the +auth specifier is removed: it is implied by the presence of an auth label in the rest of the string - secure:// is removed: use smtp+tls:// or smtps:// - tls:// is replaced by smtp+tls:// - smtp:// becomes SMTP with opportunistic STARTTLS - smtp+tls:// becomes SMTP with mandatory STARTTLS Adjust your config file accordingly. ok gilles@ | |||
2018-09-02 | mailaddr matching was working for the exact and domain match, but not when | Gilles Chehade | |
only a user-part was supplied. ok millert@ and eric@ | |||
2018-09-01 | properly deal with MAILER-DAEMON sender in LMTP | Gilles Chehade | |
reported and fix tested by Mark Kane | |||
2018-09-01 | clarify the forward-only delivery action | Gilles Chehade | |
2018-09-01 | sync fatalx() message between smtp_client_{state,response}; ok stsp@ gilles@ | miko | |
2018-08-31 | switch to improved incoming message parser: | Eric Faurot | |
- simpler interface not using callbacks - no hard-coded line length - avoid unnecessary string copy ok gilles@ | |||
2018-08-30 | fix use-after-free | Eric Faurot | |
spotted by jsg@ input from jsg@ miko@ | |||
2018-08-29 | clean up the imsg structure for getnameinfo lookup results. | Eric Faurot | |
fix a crash with ill-configured reverse address. found by jturner@ ok jturner@ gilles@ | |||
2018-08-25 | remove unused header | Gilles Chehade | |
from Freddy Dissaux | |||
2018-08-23 | import alternative message parser (not used yet). | Eric Faurot | |
2018-08-22 | Fix a crash when relaying with authentication but auth table is not set. | Eric Faurot | |
found by and ok stsp@ | |||
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@ |