summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
AgeCommit message (Collapse)Author
2015-12-10free sc_queue_key only when it points to something other than "stdin"Sunil Nimmagadda
string literal. Ok gilles@
2015-12-10Do not fatal when a log_warn suffices.Sunil Nimmagadda
Ok jung@ gilles@
2015-12-10While listing envelopes using mailq(or smtpctl show queue), passSunil Nimmagadda
the data between processes by dumping to and loading from a buffer which is shorter compared to transferring a structure. Also fixes mailq on platforms where PATH_MAX is way larger than on OpenBSD thus exceeding max imsg. Ok jung@ millert@
2015-12-09Document forward-only keyword. From Jason Barbier <jabarb@serversave.us>Sunil Nimmagadda
Ok gilles@ jung@
2015-12-09Install aliases(5), forward(5), makemap(8) and newaliases(8) manpagesSunil Nimmagadda
that got accidentally removed while merging makemap(8) into smtpctl(8). Spotted by Nathanael Rensen.
2015-12-08Let smtpd shutdown gracefully with a zero exit code when the privSunil Nimmagadda
process receives a SIGINT/SIGTERM. Initial diff by nfnty <git@nfnty.se> Ok gilles@ jung@ millert@
2015-12-07Merge makemap(8) into smtpctl(8).Sunil Nimmagadda
Ok gilles@, jung@
2015-12-05Remove a few NULL-checks before free().mmcc
2015-12-05EAGAIN handling for imsg_read. OK henning@ benno@Claudio Jeker
2015-12-03new sentence, new line;Jason McIntyre
2015-12-03remove trailing whitespaceJoerg Jung
2015-12-03introduce limit session keyword replacing fixed valuesJoerg Jung
original diff from Renaud Allard ok gilles
2015-12-02whitespacesGilles Chehade
2015-12-01missing articles in previous;Jason McIntyre
2015-12-01whitespaceGilles Chehade
2015-12-01add received-auth parameter to listener to identify authenticated sessionsGilles Chehade
in locally appended Received header when enabled ok millert@, jung@
2015-12-01update enum values in listen optionsGilles Chehade
2015-12-01when peer outputs a multi-line response, concat response into a single logGilles Chehade
ok sunil@, jung@
2015-12-01reorder headerGilles Chehade
2015-12-01whitespaceGilles Chehade
2015-12-01delay between retries when operating as a secondary MX increases too much,Gilles Chehade
reduce it to something saner. while at it cleanup some whitespaces and set the relay task pointer to NULL before iterating over tasks
2015-12-01cleanup MakefileGilles Chehade
2015-12-01cleanup MakefileGilles Chehade
2015-12-01cleanup MakefileGilles Chehade
2015-12-01add IMSG_SMTP_CHECK_SENDER in list of smtp IMSGGilles Chehade
2015-12-01add IMSG_SMTP_CHECK_SENDER in preparation for another diffGilles Chehade
2015-12-01prepare the ground for the CA certificate handling refactor, this commitGilles Chehade
adds the parse.y bit + structures & members needed but does not make use of it yet
2015-11-30remove table-passwd, table-sqlite, and table-ldapJoerg Jung
about 4k lines seldom used code people who rely on this install mail/opensmtpd-extras direction discussed (and agreed) with many ok gilles
2015-11-30change Xrs from now-defunct db(3) to dbopen(3); this wasn;t aJason McIntyre
straight replace: thanks both to schwarze and maja for feedback on how to rewrite parts; i've snuck in an rcs id->openbsd id change in dev_mkdb too;
2015-11-30fix prototypeGilles Chehade
2015-11-30smtpd-api.h update, missing prototypes, no functional changeGilles Chehade
2015-11-30add a couple smtpd-specific defines we want to expose to filtersGilles Chehade
and comment to clarify what they are used for
2015-11-30if a ca_name is set, dump it to on-disk envelope so we recall it on reload.Gilles Chehade
we don't set ca_name yet, it is part of a larger diff i'm splitting
2015-11-30add ca_name field to some structures in preparation for a largerGilles Chehade
diff to refactor handling of CA certificates
2015-11-30when looking up tables, start in /usr/local/libexec before /usr/libexec, soGilles Chehade
ports/packages can be installed in the proper place ok jung@
2015-11-30bring lka_mailaddrmap(), currently unused, required by sendermap/masqueradeGilles Chehade
ok jung@
2015-11-30handle "mda command too long" as a tempfailGilles Chehade
2015-11-30replace a fatalx() with a graceful failureGilles Chehade
2015-11-30update to.c to fix IPv6 address parsing in smtpd.conf, while at it allowGilles Chehade
use of tls+backup:// schema for relaying over TLS to primary MX ok sunil@, ok jung@
2015-11-30mechanical rename of some IMSG constantsGilles Chehade
ok sunil@, ok jung@
2015-11-30While delivering to lmtp or mda, accept optional "as user" parameterSunil Nimmagadda
whose privileges would be used instead of the default. Ok gilles@ jung@
2015-11-30remove mailaddr_to_username(), no longer neededGilles Chehade
suggested by jung@
2015-11-30teach aliases expansion how to deal with user+tagGilles Chehade
ok sunil@, ok jung@
2015-11-26Don'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-24add filter.c plumbing, not linked to the build, not used yetGilles Chehade
ok sunil@, ok jung@, ok eric@
2015-11-24teach table_db and table_static about mailaddr maps (unused yet)Gilles Chehade
ok sunil@, ok jung@
2015-11-23allow table API to lookup for mailaddr mappingsGilles Chehade
ok sunil@, ok jung@
2015-11-23strings.h -> string.hGilles Chehade
ok sunil@
2015-11-23cleanupGilles Chehade
2015-11-23Restructure bounce content as a multi-part MIME message.Sunil Nimmagadda
Content-Type header diff from Philipp Takacs <philipp<at>bureaucracy.de> Ok gilles@ jung@