Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-06-11 | smtpd: fix indent | Theo Buehler | |
ok op | |||
2024-06-09 | introduce a new K_AUTH service to allow offloading the credentials to a | Gilles Chehade | |
table for non-crypt(3) authentication. tables configured with auth that support K_AUTH are asked to check if a user and passwd are valid rather than asked to provide the password for a user so smtpd does crypt(3) on its side. helps with cases like ldap or custom auth. ok op@ | |||
2024-01-20 | Use imsg_get_fd() to access the fd passed via imsgs. | Claudio Jeker | |
Most of the conversion is simple there is just log_imsg() that can no longer display the fd since imsg_get_fd() can only be called once. OK op@ | |||
2021-06-14 | add required headers for smtpd.h and remove unnecessary ones in other files. | Eric Faurot | |
ok jung@ | |||
2021-05-26 | replaces calls to err(3)/errx(3) with fatal()/fatalx() from log.c | Eric Faurot | |
for code that runs in the daemon. ok florian@ millert@ | |||
2021-04-21 | unplug unused certificate verification code, now that this is done by libtls. | Eric Faurot | |
ok tb@ millert@ | |||
2020-12-31 | Rename the pony process to dispatcher and klondike to crypto. | Martijn van Duren | |
From gilles@ OK millert@ giovanni@ | |||
2019-12-21 | do not pass rdns, fcrdns, ss_src and ss_dest with IMSG_FILTER_SMTP_BEGIN, | Gilles Chehade | |
but gather the information from the link-connect reporting event instead. this removes redundant code and makes it easier to prepare for smtp-out. | |||
2019-12-18 | teach relay action how to do domain-based relay host, this allows declaring | Gilles Chehade | |
a single relay action with a mapping of relay hosts per domain. ok eric@ | |||
2019-12-12 | filter protocol has an initial handshake within which smtpd tells filters | Gilles Chehade | |
about a few global configuration informations. this makes smtpd tell proc filters for which subsystem they are registered allowing them to register only events that are relevant. | |||
2019-08-28 | Add a link-greeting report. This allows us to get the active domain name | Martijn van Duren | |
in use for the current request. OK gilles@ | |||
2019-07-26 | even though RSET can be issued outside a tx, RFC states it's noop outside a | Gilles Chehade | |
transaction so rename link-reset to tx-reset and only issue the smtp report when a reset _actually_ has a side-effect. note that rset is implicit on a message commit or rollback, so tx-reset get issued even though there was no explicit RSET. the filters are MUCH simpler to write when you don't need to track every event that can reset a tx :-) | |||
2019-07-11 | introduce link-auth to the smtp reporting stream so that filters may know | Gilles Chehade | |
if a link has been authenticated successfully or not and for which user | |||
2019-07-11 | modify link-identify so it reports if HELO or EHLO was used | Gilles Chehade | |
2019-07-11 | introduce link-reset to let smtpd report resets happening in a session | Gilles Chehade | |
2019-06-27 | Allow filters to log information through stderr. This simplifies and | Martijn van Duren | |
unifies the way filters need to get their logging to the right location. Log-messages are read line by line and are logged at LOG_ERR level via the lookup process. OK gilles@ | |||
2019-06-13 | extend the resolver interface to delegate res_query() calls to the lka. | Eric Faurot | |
ok gilles@ sunil@ | |||
2019-01-05 | introduce smtp 'timeout' reporting event to notify filters that a timeout | Gilles Chehade | |
occured during the smtp session | |||
2018-12-28 | remove the tag workaround for table_create() and table_find(), | Eric Faurot | |
now that static tables handle their updates internally. ok gilles@ | |||
2018-12-26 | reorder parameters for consistency | Eric Faurot | |
2018-12-26 | get rid of the unused dict argument in table lookup and fetch api. | Eric Faurot | |
ok gilles@ | |||
2018-12-23 | remove dead code | Eric Faurot | |
ok gilles@ | |||
2018-12-21 | bring in new grammar for filters, allowing filter chains and plugging of | Gilles Chehade | |
different filters & chains on different interfaces. in this diff, proc filters are still disabled as they're missing on very important piece of logic. ok eric@ | |||
2018-12-13 | in event reports, use a struct timeval instead of time_t since we want more | Gilles Chehade | |
than second precision discussed with eric@ | |||
2018-12-12 | add tx-data reporting event | Gilles Chehade | |
2018-12-11 | do some imsg renaming to make them more clear | Gilles Chehade | |
2018-12-11 | factor smtp-in and smtp-out reporting code | Gilles Chehade | |
2018-12-11 | report filter responses to smtp | Gilles Chehade | |
2018-12-11 | generate an event when a helo name identifies a link | Gilles Chehade | |
2018-12-09 | no longer pass rdns in all filtering requests, they can be retrieved from | Gilles Chehade | |
the filter session. | |||
2018-12-09 | add client and listener address, as well as client rDNS and FCrDNS lookup | Gilles Chehade | |
result to the filter_session structure upon filter session allocation. it will allow me to simplify all filter hooks. | |||
2018-12-07 | Refactor certificate initialization and verification. | Eric Faurot | |
Factorize code duplicated in smtp_session.c and mta_session.c Implement a simple callback interface, with proper request management and simplified imsg protocol. Only add the necessary parts for now. Exisiting code path will be adapted later. input from gilles@ sunil@ ok gilles@ | |||
2018-12-06 | link-connect event report had an empty fcrdns field, but now that eric@ has | Gilles Chehade | |
plugged fcrdns in the smtp_session we can fill the field with a value | |||
2018-12-06 | introduce tx-mail and tx-rcpt report events | Gilles Chehade | |
2018-12-06 | bring the first bits of DATA filtering plumbing but bypass it for now | Gilles Chehade | |
ok eric@ | |||
2018-11-30 | prepare for smtp-out reporting and while at it, make a few changes to the | Gilles Chehade | |
report format | |||
2018-11-08 | when reporting tx events, report tx id | Gilles Chehade | |
when reporting tx commit, report data size report tx-envelope events | |||
2018-11-03 | check-rdns builtin filter, to be improved | Gilles Chehade | |
2018-11-03 | bring plumbing for builtin filters | Gilles Chehade | |
ok millert@, eric@, jung@ | |||
2018-11-02 | report rDNS in link connect event | Gilles Chehade | |
2018-11-02 | pass struct sockaddr_storage instead of ss_to_text() in reporting | Gilles Chehade | |
2018-11-01 | teach smtp process how to report smtp events to lka and teach lka how to | Gilles Chehade | |
report these events to a proc ok millert@ | |||
2018-11-01 | allow smtpd to fork processes at startup and maintain a socketpair with | Gilles Chehade | |
them. ok jung@, eric@ | |||
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-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-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-29 | no need to parse and dump the relayhost in the lookup process. | Eric Faurot | |
ok gilles@ | |||
2018-05-24 | switch smtpd to new grammar | Gilles Chehade | |
ok eric@ | |||
2018-01-03 | Use crypt_checkpass(3) instead of crypt(3). | Sunil Nimmagadda | |
Based on a diff from Edgar Pettijohn. Ok gilles@ eric@ | |||
2017-11-27 | Show correct command execution status by checking against update | Sunil Nimmagadda | |
operation return value. Issue reported by 'Zelest' (Jesper Wallin). Suggestions and ok eric@ gilles@. |