OpenBSD CVS

src/usr.sbin/smtpd/


Click on a directory to enter that directory. Click on a file to display its revision history and to get a chance to display diffs between revisions.

Current directory: [local] / src / usr.sbin / smtpd

Current tag: OPENBSD_6_8


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[DIR] libsmtpdfilter/        
[DIR] mail/        
[DIR] makemap/        
[DIR] newaliases/        
[DIR] smtp/        
[DIR] smtpctl/        
[DIR] smtpd/        
[DIR] table-ldap/        
[DIR] table-passwd/        
[DIR] table-sqlite/        
[TXT] Makefile  1.18   6 years  gilles   switch smtpd to new grammar ok eric@
[TXT] aliases.5  1.16   4 years  jmc   ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;
[TXT] aliases.c  1.78   4 years  eric   In virtual alias context, do not try to match catchall entries for usernames, bu...
[TXT] bounce.c  1.82   4 years  eric   strip trailing CRs at smtp level rather than io level ok millert@
[TXT] ca.c  1.36   4 years  semarie   properly initialize errstr before going to fail label. ok gilles@
[TXT] compress_backend.c  1.9   9 years  deraadt   use <limits.h> comprehensively. For now try to push <> includes to each .c file...
[TXT] compress_gzip.c  1.10   8 years  jung   remove spaces after '!' no binary change ok millert
[TXT] config.c  1.51   4 years  gilles   give a better name to a couple functions and struct fields related to filters, n...
[TXT] control.c  1.125   3 years  martijn   Revert agentx support for now, we're too close to release. requested by deraadt...
[TXT] crypto.c  1.8   4 years  deraadt   When system calls indicate an error they return -1, not some arbitrary value < 0...
[TXT] dict.c  1.6   5 years  gilles   the tree_* and dict_* api's in smtpd can be used standalone, do not have them de...
[TXT] dict.h  1.1   5 years  gilles   the tree_* and dict_* api's in smtpd can be used standalone, do not have them de...
[TXT] dns.c  1.89   4 years  eric   Implement server certificate validation in smtp(1). Check certificate against MX...
[TXT] enqueue.c  1.118   4 years  eric   use CRLF line-ending during the SMTP dialog in the local enqueuer ok millert@
[TXT] envelope.c  1.47   4 years  gilles   store smtp session username in envelope and allow ruleset to match specific user...
[TXT] esc.c  1.5   7 years  gilles   remove dead code
[TXT] expand.c  1.31   6 years  gilles   remove 'where' parameter from all x*() functions in utils.c, it doesn't really h...
[TXT] forward.5  1.9   9 years  eric   typo
[TXT] forward.c  1.39   8 years  jung   remove spaces after '!' no binary change ok millert
[TXT] iobuf.c  1.13   4 years  eric   strip trailing CRs at smtp level rather than io level ok millert@
[TXT] iobuf.h  1.5   4 years  eric   change "ssl" to "tls" in various identifiers. no functional change. ok gilles@
[TXT] ioev.c  1.42   4 years  eric   change "ssl" to "tls" in various identifiers. no functional change. ok gilles@
[TXT] ioev.h  1.18   4 years  martijn   Sprinkle around some __attribute__((__format__ (printf(...))). OK gilles@
[TXT] limit.c  1.5   7 years  gilles   increase number of connections a local address is allowed to establish decrease ...
[TXT] lka.c  1.243   4 years  gilles   do not pass rdns, fcrdns, ss_src and ss_dest with IMSG_FILTER_SMTP_BEGIN, but ga...
[TXT] lka_filter.c  1.63.4.1   3 years  millert   smtpd's filter state machine can prematurely release resources leading to a cras...
[TXT] lka_session.c  1.93   4 years  gilles   teach smtpd how to do SRS so hosts that act as forwarders don't break SPF. this ...
[TXT] log.c  1.20   7 years  bluhm   From a syslog perspective it does not make sense to log fatal and warn with the ...
[TXT] log.h  1.8   6 years  eric   sync log.h with other daemons ok gilles@
[TXT] mail.lmtp.8  1.1   7 years  gilles   add new implementation of a standalone LMTP client which will deprecate the buil...
[TXT] mail.lmtp.c  1.14   4 years  millert   Initialize session.rcptto to NULL before parsing command line optinos. Otherwise...
[TXT] mail.maildir.8  1.5   6 years  jmc   tweak previous;
[TXT] mail.maildir.c  1.13   4 years  martijn   Allow maildir and mbox MDAs to tempfail on situations that might be resolved ove...
[TXT] mail.mboxfile.8  1.1   5 years  gilles   delivery to a filename should be in mbox format otherwise it will lack the ^From...
[TXT] mail.mboxfile.c  1.4   4 years  gilles   failing fsync() with EINVAL should not cause a TempFail in mboxfile, it means th...
[TXT] mail.mda.8  1.1   6 years  gilles   add mail.mda MDA in charge of running a third-party MDA, not linked yet
[TXT] mail.mda.c  1.3   5 years  gilles   fix mail.mda so it handles system() exit value correctly issue reported and dif...
[TXT] mailaddr.c  1.4   3 years  martijn   Allow handling long lines in an aliases table. Pointed out by AIsha Tammy (open...
[TXT] makemap.8  1.30   5 years  gilles   fix examples there were still using old grammar diff from Edgar Pettijohn III <...
[TXT] makemap.c  1.73   4 years  millert   Fix two security vulnerabilities discovered by Qualys. An out of bounds read in ...
[TXT] mda.c  1.141   4 years  gilles   no need to set n to 0 right before assigning it ret value from io_printf()
[TXT] mda_mbox.c  1.2   4 years  gilles   now that mail.local(8) relies on lockspool(1) for mailbox locking, have the mail...
[TXT] mda_unpriv.c  1.7   4 years  chrisz   Run lmtp deliveries as SMTPD_USER instead of the recipient user. ok millert@
[TXT] mda_variables.c  1.6   4 years  gilles   unescape / and ^ in the general delivery case, they only need to be for maildir ...
[TXT] mproc.c  1.36   4 years  tobhe   Exit when m_get_string() returns NULL to prevent nullptr dereference in strlen()...
[TXT] mta.c  1.234   4 years  gilles   keep track of the relay action in relays, will be used for smtp-out reporting
[TXT] mta_session.c  1.137   3 years  semarie   set TLS SNI when relaying to host ok beck@ "looks reasonable" millert@
[TXT] newaliases.8  1.12   5 years  millert   Now that aliases in smtpd.conf default to plain text files and not db files we d...
[TXT] parse.y  1.281   3 years  martijn   Revert agentx support for now, we're too close to release. requested by deraadt...
[TXT] parser.c  1.42   4 years  gilles   provide a better error message for invalid smtpctl commands
[TXT] parser.h  1.29   10 years  eric   Allow the admin to pause relaying to a specific domain: - smtpctl pause mta fro...
[TXT] proxy.c  1.1   4 years  gilles   this introduces experimental proxy v2 support which is fairly isolated to a sing...
[TXT] queue.c  1.190   4 years  eric   Check for the dispatcher name in the envelope validation function. Fixes a possi...
[TXT] queue_backend.c  1.66   4 years  eric   Check for the dispatcher name in the envelope validation function. Fixes a possi...
[TXT] queue_fs.c  1.20   4 years  millert   fsqueue_envelope_dump() returns 0 on temporary failure, not -1. We should only e...
[TXT] queue_null.c  1.8   5 years  guenther   Delete unnecessary <libgen.h> #includes ok deraadt@
[TXT] queue_proc.c  1.8   5 years  guenther   Delete unnecessary <libgen.h> #includes ok deraadt@
[TXT] queue_ram.c  1.9   5 years  guenther   Delete unnecessary <libgen.h> #includes ok deraadt@
[TXT] report_smtp.c  1.11   4 years  gilles   fix reporting of tx-mail and tx-rcpt for smtp-out
[TXT] resolver.c  1.5   4 years  eric   extend the resolver interface to delegate res_query() calls to the lka. ok gill...
[TXT] rfc5322.c  1.2   5 years  gilles   replace EFTYPE with EINVAL which is a both a better errno AND more portable ok ...
[TXT] rfc5322.h  1.1   5 years  eric   import alternative message parser (not used yet).
[TXT] ruleset.c  1.47   4 years  gilles   store smtp session username in envelope and allow ruleset to match specific user...
[TXT] runq.c  1.3   4 years  eric   simplify the runq interface: - remove (unused) per-job callback - rename runq_s...
[TXT] scheduler.c  1.60   5 years  guenther   Delete unnecessary <libgen.h> #includes ok deraadt@
[TXT] scheduler_backend.c  1.16   6 years  gilles   switch smtpd to new grammar ok eric@
[TXT] scheduler_null.c  1.9   9 years  deraadt   use <limits.h> comprehensively. For now try to push <> includes to each .c file...
[TXT] scheduler_proc.c  1.8   8 years  claudio   EAGAIN handling for imsg_read. OK henning@ benno@
[TXT] scheduler_ramqueue.c  1.45   6 years  gilles   remove 'where' parameter from all x*() functions in utils.c, it doesn't really h...
[TXT] sendmail.8  1.4   8 years  jung   document -h flag and add a .Xr ok sunil millert
[TXT] smtp.1  1.7   5 years  jmc   "proto" is optional; from matthew martin ok gilles
[TXT] smtp.c  1.166   4 years  gilles   this introduces experimental proxy v2 support which is fairly isolated to a sing...
[TXT] smtp.h  1.3   4 years  eric   Request a new SSL structure for each TLS session. Fix a crash reported by Ross L...
[TXT] smtp_client.c  1.14   4 years  eric   strip trailing CRs at smtp level rather than io level ok millert@
[TXT] smtp_session.c  1.426   4 years  eric   strip trailing CRs at smtp level rather than io level ok millert@
[TXT] smtpc.c  1.11   3 years  millert   Fix handling of user names containing '@' symbols. It is possible to have a user...
[TXT] smtpctl.8  1.65   3 years  martijn   Make "spf walk" report if an spf-record has macro's and can't be resolved. Orig...
[TXT] smtpctl.c  1.167   4 years  millert   Fix two security vulnerabilities discovered by Qualys. An out of bounds read in ...
[TXT] smtpd-api.h  1.36   5 years  gilles   the tree_* and dict_* api's in smtpd can be used standalone, do not have them de...
[TXT] smtpd-defines.h  1.12   4 years  millert   Fix two security vulnerabilities discovered by Qualys. An out of bounds read in ...
[TXT] smtpd-filters.7  1.6   4 years  eric   update filter documentation after protocol change from Gilles Chehade
[TXT] smtpd.8  1.32   7 years  jmc   document forward(5); from mk ok gilles
[TXT] smtpd.c  1.335   3 years  martijn   Revert agentx support for now, we're too close to release. requested by deraadt...
[TXT] smtpd.conf.5  1.255   3 years  martijn   Revert agentx support for now, we're too close to release. requested by deraadt...
[TXT] smtpd.h  1.659   3 years  martijn   Revert agentx support for now, we're too close to release. requested by deraadt...
[TXT] spfwalk.c  1.19   3 years  martijn   All buffers are in rw-memory, but lookup_record has it defined as const char *. ...
[TXT] srs.c  1.3   4 years  gilles   SRS uses base64 encoding for the checksum, however while this is ok when we only...
[TXT] ssl.c  1.93   4 years  gilles   a long long time ago, in a galaxy quite close actually, reyk@ introduced an RSA ...
[TXT] ssl.h  1.21   4 years  eric   Implement server certificate validation in smtp(1). Check certificate against MX...
[TXT] stat_backend.c  1.11   5 years  gilles   remove dead code, we will only support ramstat stat backend ok eric@
[TXT] stat_ramstat.c  1.11   6 years  gilles   remove 'where' parameter from all x*() functions in utils.c, it doesn't really h...
[TXT] table.5  1.11   4 years  gilles   no longer document that username may be omitted if equal to label, this is not t...
[TXT] table.c  1.48   5 years  eric   report errno in debug logs and other minor cleanups. ok gilles@
[TXT] table_db.c  1.21   4 years  deraadt   When system calls indicate an error they return -1, not some arbitrary value < 0...
[TXT] table_getpwnam.c  1.12   5 years  eric   introduce dump() and add() table methods, only implemented for static tables. o...
[TXT] table_proc.c  1.16   4 years  gilles   fatal() if imsg_flush() call fails in table proc
[TXT] table_static.c  1.32   5 years  eric   type static tables on the fly when the first element is added ok gilles@
[TXT] to.c  1.44   4 years  gilles   fix a logic bug in ruleset matching that makes `from socket` rules possibly cras...
[TXT] tree.c  1.6   5 years  gilles   the tree_* and dict_* api's in smtpd can be used standalone, do not have them de...
[TXT] tree.h  1.1   5 years  gilles   the tree_* and dict_* api's in smtpd can be used standalone, do not have them de...
[TXT] unpack_dns.c  1.1   6 years  sunil   Move unpack functions into a seperate file. Required for upcoming 'smtpctl spf ...
[TXT] unpack_dns.h  1.1   6 years  sunil   Move unpack functions into a seperate file. Required for upcoming 'smtpctl spf ...
[TXT] util.c  1.151   4 years  millert   Cast argument of ctype(3) macros to unsigned char, not int. Similar to a diff fr...
[TXT] waitq.c  1.6   6 years  gilles   remove 'where' parameter from all x*() functions in utils.c, it doesn't really h...
[TXT] cert.c (in the Attic) [Hide]  1.2   5 years  eric   Improve the cert_*() interface. Use the return value to tell whether the request...
[TXT] pony.c (in the Attic) [Hide]  1.27   4 years  eric   extend the resolver interface to delegate res_query() calls to the lka. ok gill...
[TXT] ssl_smtpd.c (in the Attic) [Hide]  1.13   8 years  benno   SSL_CTX_free() and SSL_free() check for null so dont do it in smtpd ok jung@ ted...
[TXT] ssl_verify.c (in the Attic) [Hide]  1.2   4 years  gilles   switch ASN1_STRING_data() with constified ASN1_STRING_get0_data()