summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/envelope.c
AgeCommit message (Expand)Author
2024-01-03relax ORCPT syntax validationOmar Polo
2023-02-06smtpd(8) could abort due to a connection from a local, scoped ipv6 address.Sebastien Marie
2022-09-24ascii_load_sockaddr: Remove old IPv6 address parsing for envelope files.Todd C. Miller
2021-06-14add required headers for smtpd.h and remove unnecessary ones in other files.Eric Faurot
2021-05-26replaces calls to err(3)/errx(3) with fatal()/fatalx() from log.cEric Faurot
2019-11-25store smtp session username in envelope and allow ruleset to match specificGilles Chehade
2019-09-19second attempt at fixing how we display inet6 addresses in smtpd. this diffGilles Chehade
2019-08-14revert the inet6 format diff, regression observed by florian@Gilles Chehade
2019-08-13use proper format to display inet6 addresses in logs as well as to store inGilles Chehade
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2018-12-30Delete unnecessary <libgen.h> #includesPhilip Guenther
2018-12-27extract subaddress from last resolved node, not from dest or rcpt addressGilles Chehade
2018-12-08Use correct RFC 3464 specified values for Action field in a DSN.Sunil Nimmagadda
2018-05-29remove unused codeEric Faurot
2018-05-24switch smtpd to new grammarGilles Chehade
2017-08-06a long time ago, we made a change to the format of envelopes and introducedGilles Chehade
2015-12-28remove spaces after '!'Joerg Jung
2015-12-14Wrap long lines and fix bad indents.Sunil Nimmagadda
2015-11-30if a ca_name is set, dump it to on-disk envelope so we recall it on reload.Gilles Chehade
2015-11-30While delivering to lmtp or mda, accept optional "as user" parameterSunil Nimmagadda
2015-10-14we dump esc_code if we have an esc_class, code may be (and actually was)Gilles Chehade
2015-10-09if enhanced status class is not set, enhanced status code is never dumpedGilles Chehade
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-04-19(void) cast strlcpy(), it cannot truncateGilles Chehade
2014-02-04Add support for DSN and Enhanced Status CodeEric Faurot
2014-02-04pki code cleanupEric Faurot
2013-12-26bcopy -> memmoveEric Faurot
2013-12-05warn when failing to parse a fieldEric Faurot
2013-11-28unsigned char casts for ctypeEric Faurot
2013-11-18change dict_poproot() prototype: do not take key placeholder parameter asEric Faurot
2013-11-06Much much improved config parser and related changes.Eric Faurot
2013-10-26Simplify code for loading and dumping envelopes. Makes it much easierEric Faurot
2013-05-24sync with OpenSMTPD 5.3.2Eric Faurot
2013-01-31assorted fixes spotted by Coverity.Eric Faurot
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-10-12Extend the "retry" field to 16 bits. The new quadratic retry formulaEric Faurot
2012-10-11- remove dead storeGilles Chehade
2012-10-11- remove dead storeGilles Chehade
2012-09-26Stop using the delivery_data union (field "to") in delivery_mda.Eric Faurot
2012-09-19Remove DF_ENQUEUE flag. It is mostly unused and logically broken.Eric Faurot
2012-09-15When enqueueing from the local socket, the input address is faked as "::1".Eric Faurot
2012-09-02remove warningCharles Longeau
2012-08-24In envelope ascii dump/load:Charles Longeau
2012-08-21Allow smtpd to work as a backup MX, relaying only to MXs with higherEric Faurot
2012-08-19coding style: replace all occurences of u_int* with uint*Charles Longeau
2012-08-19Kill envelope_{dump,load}_file() and replace them with envelope_{dump,load}_b...Charles Longeau
2012-06-03Do not store the envelope id within the envelope, only the message id.Eric Faurot
2012-06-01move envelope dump/load functions to envelope.cEric Faurot
2012-01-15Add ascii_{load,dump}_time() to properly deal with time_t.Charles Longeau
2012-01-12remove envelope_get_errormsg() and move envelope_set_errormsg()Eric Faurot