Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-30 | update to.c to fix IPv6 address parsing in smtpd.conf, while at it allow | Gilles Chehade | |
use of tls+backup:// schema for relaying over TLS to primary MX ok sunil@, ok jung@ | |||
2015-11-30 | mechanical rename of some IMSG constants | Gilles Chehade | |
ok sunil@, ok jung@ | |||
2015-11-30 | While delivering to lmtp or mda, accept optional "as user" parameter | Sunil Nimmagadda | |
whose privileges would be used instead of the default. Ok gilles@ jung@ | |||
2015-11-30 | remove mailaddr_to_username(), no longer needed | Gilles Chehade | |
suggested by jung@ | |||
2015-11-30 | teach aliases expansion how to deal with user+tag | Gilles Chehade | |
ok sunil@, ok jung@ | |||
2015-11-26 | Don't dereference a route and then reference it again. In this particular case, | Tim van der Molen | |
the route would be referenced at least twice, so there is no use after free. Prompted by a mail from David CARLIER to misc@opensmtpd. OK eric@ | |||
2015-11-24 | add filter.c plumbing, not linked to the build, not used yet | Gilles Chehade | |
ok sunil@, ok jung@, ok eric@ | |||
2015-11-24 | teach table_db and table_static about mailaddr maps (unused yet) | Gilles Chehade | |
ok sunil@, ok jung@ | |||
2015-11-23 | allow table API to lookup for mailaddr mappings | Gilles Chehade | |
ok sunil@, ok jung@ | |||
2015-11-23 | strings.h -> string.h | Gilles Chehade | |
ok sunil@ | |||
2015-11-23 | cleanup | Gilles Chehade | |
2015-11-23 | Restructure bounce content as a multi-part MIME message. | Sunil Nimmagadda | |
Content-Type header diff from Philipp Takacs <philipp<at>bureaucracy.de> Ok gilles@ jung@ | |||
2015-11-05 | replace u_char and u_int* with standard stdint.h types to ease portable version | Joerg Jung | |
also remove trailing whitespaces while here no binary change ok sunil millert gilles | |||
2015-11-05 | Implement smtpctl uncorrupt <msgid> | Sunil Nimmagadda | |
"uncorrupt" moves envelopes from corrupt bucket back to the queue for further discovery by the daemon. After correcting the corrupt envelopes, admin could now... # smtpctl uncorrupt msgid # smtpctl discover msgid to schedule the messages. Ok gilles@ | |||
2015-11-05 | Do not terminate message walk on a corrupt envelope. | Sunil Nimmagadda | |
Ok gilles@ | |||
2015-11-05 | when a message consists solely of headers and does not end them with an | Gilles Chehade | |
empty line, the message parser gets confused, and forgets to flush last header to message file. detect if we're still in headers when hitting EOM, and flush if that is the case. reported by Philipp Takacs <philipp@bureaucracy.de> ok millert@, jung@, sunil@, eric@ | |||
2015-11-03 | Blank line after pledge call. | mmcc | |
2015-10-29 | Implement smtpctl discover <evpid|msgid>. | Sunil Nimmagadda | |
discover subcommand schedules envelopes manually moved to the queue. It triggers a queue walk searching for envelopes with the given id, schedules them and informs the user number of envelopes scheduled. Admins no longer would need to restart the daemon to discover manually moved messages. Ok gilles@ | |||
2015-10-28 | masquerade and senders map require being able to lookup mailaddr structures | Gilles Chehade | |
in tables, prepare for such features by bringing the helpers + smtpd.h part ok millert@ | |||
2015-10-28 | various macro fixes; | Jason McIntyre | |
2015-10-28 | remove old check on username length that simply makes no sense nowadays | Gilles Chehade | |
ok millert@ sunil@ | |||
2015-10-28 | dns_lookup_host() needs to remove brackets and IPv6: prefix when receiving | Gilles Chehade | |
a text representation otherwise getaddrinfo_async() will choke ok eric@ | |||
2015-10-28 | aliases support resolving to maildir:/path | Gilles Chehade | |
ok sunil@ millert@ | |||
2015-10-28 | Remove dead code. | Sunil Nimmagadda | |
Ok jung@ gilles@ | |||
2015-10-27 | add a rcpt-to parameter to be able to use the original (probably expanded) | Joerg Jung | |
RCPT TO within LMTP sessions ok gilles eric | |||
2015-10-27 | delivery lmtp gets fed with a message file as input which is guaranted to have | Joerg Jung | |
\n-terminated lines, so no need to strip \r here also remove an unneeded len assignment while here discussed with and ok gilles | |||
2015-10-27 | enqueue pledge: getmailname() needs dns, ~/dead.letter needs cpath/wpath | Gilles Chehade | |
ok jung@, ok millert@ | |||
2015-10-27 | aliases_virtual_check() has been unneeded for a while | Gilles Chehade | |
ok jung@, ok sunil@, ok millert@ | |||
2015-10-26 | Fix makemap(8) for values containing a '#'. | Sunil Nimmagadda | |
Ok millert@ gilles@ | |||
2015-10-26 | remove unneeded pidfile() from smtpd | Joerg Jung | |
ok gilles | |||
2015-10-26 | avoid a potential double free | Jonathan Gray | |
ok gilles@ | |||
2015-10-24 | add -h flag to SYNOPSIS as well | Joerg Jung | |
prodded and ok jmc | |||
2015-10-23 | document -h flag and add a .Xr | Joerg Jung | |
ok sunil millert | |||
2015-10-22 | delivery to maildir needs pledge fattr | Gilles Chehade | |
from Gregor Best <gbe@unobtanium.de> | |||
2015-10-21 | Use SSL_CTX_set_ecdh_auto() instead of rolling our own version. | Joel Sing | |
ok gilles@ | |||
2015-10-21 | Only enable SSL_VERIFY_PEER when the verify option is set on a listener. | Joel Sing | |
Always enabling SSL_VERIFY_PEER unnecessarily increases the number of messages/bytes in the TLS handshake and increases our attack surface, since we request and then process client certificates. ok gilles@ | |||
2015-10-19 | Kill whitespace at eol. | Sunil Nimmagadda | |
Ok gilles@ | |||
2015-10-18 | fix lmtp delivery regressions introduced in previous: | Joerg Jung | |
- strip \r\n and add them explicitly to all DATA lines - fix DATA termination - add missing QUIT command (and check for reply) - remove free() and fclose() and use exit(3) instead of _exit(2) to handle cleanup ok sunil gilles | |||
2015-10-17 | mailaddr_match() allows comparing two struct mailaddr taking into account | Gilles Chehade | |
catchall and +-tags ok millert@ and jung@ for util.c | |||
2015-10-17 | makemap shout strip initial and trailing whitespaces using strip() | Gilles Chehade | |
ok millert@, ok jung@ | |||
2015-10-17 | document handling of comments in makemap | Gilles Chehade | |
ok millert@, ok sunil@, ok jung@ | |||
2015-10-17 | both of these are deprecated | Gilles Chehade | |
2015-10-17 | Convert some fgetln to getline. | Sunil Nimmagadda | |
tested and ok gilles@ | |||
2015-10-17 | Cleanup and simplify LMTP code. | Sunil Nimmagadda | |
Ok millert@ gilles@ | |||
2015-10-17 | LMTP delivery requires "inet unix". | Sunil Nimmagadda | |
Ok millert@ gilles@ | |||
2015-10-17 | this file is deprecated | Gilles Chehade | |
2015-10-17 | remove unused variables | Gilles Chehade | |
2015-10-17 | KNF | Gilles Chehade | |
2015-10-17 | our strip() function should use isspace() | Gilles Chehade | |
ok jung@, ok millert@ | |||
2015-10-17 | smtpd starts rather robustly with a gigantic pledge request group (keep | Theo de Raadt | |
in mind that a gigantic group is already < ~50% of POSIX). It then grinds these down bit by bit as it sets up privsep for the various processes. At startup, smtpd will need the new "id" request as well. ok gilles tedu |