summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
AgeCommit message (Collapse)Author
2014-04-15reply with correct imsg when using non-system auth.Eric Faurot
reported by Stefan Sieg ok gilles@
2014-04-11fix a use after free in an error pathJonathan Gray
ok gilles@
2014-04-09display correct imsg when profiling is on and if the type was changedEric Faurot
2014-04-09Zap the mfa process. It is not currently doing anything, and content filteringEric Faurot
will be done at session level anyway. ok gilles@
2014-04-09need to change imsg type before forwarding.Eric Faurot
reported by jturner@ ok gilles@
2014-04-09remove useless define for bannerEric Faurot
ok gilles@
2014-04-08use correct imsgEric Faurot
ok gilles@
2014-04-08zero-fill static buffer before use in DSN codeGilles Chehade
diff from Sunil Nimmagadda, ok eric@
2014-04-05fix writing of multiline To and Cc headersGilles Chehade
issue spotted, fix tested and okayed krw@
2014-04-04fix header parsing issue in enqueuer leading to From: header being strippedGilles Chehade
in some cases ok eric@
2014-04-04Merge the mda, mta and smtp processes into a single unprivilegedEric Faurot
process managing message reception, delivery and transfer. Mostly mechanical, but very intrusive as it required to rewamp all IMSG to fix ambiguities. with and ok gilles@
2014-04-04start the purge task after events are set, or we can miss SIGCHLDEric Faurot
ok gilles@
2014-04-03use asr helpers after libevent update.Eric Faurot
2014-04-01Remove -ggdb -g3, this shouldn't be hereFederico G. Schwindt
Requested by deraadt@
2014-04-01cleanup forkmda() and get rid of a useless seteuid()-based danceGilles Chehade
prompted by deraadt@, ok eric@
2014-03-26asr API is now publicEric Faurot
2014-03-25update after asr API updateEric Faurot
2014-03-25reword error message when a table has an invalid configuration file, it hasGilles Chehade
confused a few people ok eric@
2014-03-25when locally enqueuing messages without specifying a domain for sender orGilles Chehade
recipient, the local domain is assumed. this was correctly handled at the smtp level, but headers were not updated to reflect that. issue experienced by several people, fix tested by ajacoutot@ and I ok eric@
2014-03-25Integrate necessary dns packet parsing helpers from asr.Eric Faurot
They are not supposed to be exposed. ok gilles@
2014-03-24do not call purge_task every 10 secs, it is only needed once at startup andGilles Chehade
will cause the parent process to wake up unnecessarily at runtime ok eric@
2014-03-22disable the imsg buffers profiling code unless requested, this will preventGilles Chehade
all processes from waking up every second
2014-03-19use smtpd man pages by default. ok deraadt jmcTed Unangst
sendmail.8 note by jmc
2014-03-14more informative log message on unknown SNI.Eric Faurot
looks better to tedu@, ok gilles@
2014-03-14field renameEric Faurot
2014-03-14print the correct user name if SMTPD_QUEUE_USER is missingAlexander Hall
ok tedu@
2014-03-13When failing to find the required privsep user entry, it is not cool atTheo de Raadt
all to fall back to a different user entry. It is decidedly unsafe. ok tedu.
2014-03-13remove old instructions about sendmail. poke by jmcTed Unangst
2014-03-13The enqueue utility should not add a User-Agent header to emails.Chris Cappuccio
ok gilles jcs
2014-03-08format string has changed for K_USERINFOEric Faurot
2014-03-08code cleanupEric Faurot
2014-03-02if peer advertises DSN and we don't want to use it, make sure we don't sendGilles Chehade
trailing spaces, not every MTA can cope with that ok eric@
2014-02-28The user.directory expansion is not supposed to be escaped.Eric Faurot
ok gilles@ deraadt@
2014-02-28do not miss out F_BACKUP when dumping envelope or it breaks backup MXGilles Chehade
ok eric@
2014-02-25if a specific pattern of failures/success happen, we can end up notGilles Chehade
reinitializing curevp correctly for next transaction leading to a possible crash. diff by eric@, ok by me
2014-02-24fix off by one leading to invalid host stats treeEric Faurot
2014-02-20use strcasecmp() to compare domains.Eric Faurot
2014-02-17fix possible NULL-deref in error code pathEric Faurot
2014-02-17new "smtpctl show status" command to show if mta/mda/smtp are currently ↵Eric Faurot
running or paused.
2014-02-17do not lookup pki based on hostname if one was specified for the listenerEric Faurot
otherwise we may fail to find it and reject client.
2014-02-161) Fix the markup of the time specifications,Ingo Schwarze
which is quite tricky (discussed with jmc@). 2) Also fix the display of literal exclamation marks: Do not use \! - in roff(7), that's an arcane thing called the "transparent line indicator", which doesn't render as '!' with groff, and which isn't implemented at all in mandoc.
2014-02-10tweak usage() and bump version.Eric Faurot
2014-02-04tweak previous;Jason McIntyre
2014-02-04fix warnings and copyrightEric Faurot
2014-02-04update documentationEric Faurot
2014-02-04Add support for DSN and Enhanced Status CodeEric Faurot
2014-02-04Allow the admin to pause relaying to a specific domain:Eric Faurot
- smtpctl pause mta from <source> for <domain> - smtpctl resume mta from <source> for <domain> - smtpctl show mta paused
2014-02-04internal improvements and cleanupsEric Faurot
- get rid of the whole penalty thing for failed envelopes in the mta and scheduler. - do not disable routes on smtp errors - try to schedule all types of envelopes on each scheduler frame.
2014-02-04socketmap table backend.Eric Faurot
2014-02-04pki code cleanupEric Faurot
- rename "struct ssl" and "cert" to "struct pki" and "cert" to "pki_name" - inherit pki conf on fork instead of passing it through imsg at startup - implement SNI on smtp listeners