Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-14 | As discussed with gilles@, actually impose the per-user limit regardless | Eric Faurot | |
of the delivery method. Bump the limit a bit. requested by and ok gilles@ | |||
2012-10-14 | Limit the number of per-user mda (external program) deliveries that can be | Eric Faurot | |
running at the same time. It prevents a user from consuming all mda "slots" with a long-running filter in his .forward file. Other delivery types are not affected. ok gilles@ chl@ | |||
2012-10-14 | When pushing too many envelopes to the mda at once, we can hit a filedesc | Eric Faurot | |
exhaustion situation that kills the server. For now, put a safe limit on the number of envelopes sent by the queue process to the mda. ok gilles@ chl@ | |||
2012-10-14 | Add status command. | Mark Kettenis | |
2012-10-14 | Beginning of a tool to control sun4v logical domains. For now this can start | Mark Kettenis | |
and stop domains. | |||
2012-10-14 | enforce different permissions on different files in ssl_load_file() | Alexander Hall | |
with gilles and eric, tested by me and gilles ok gilles@ | |||
2012-10-14 | substitute wrong comas into semicolons | Charles Longeau | |
ok gilles@ eric@ | |||
2012-10-14 | mistakenly removed an ".Xr smtpd 8" | Gilles Chehade | |
spotted by jmc@ | |||
2012-10-14 | replace 'plain' with 'file' as the backend source name for map_file.c | Gilles Chehade | |
2012-10-14 | missing from previous commit, byebye map_stdio.c | Gilles Chehade | |
ok eric@ and chl@ | |||
2012-10-14 | introduce map_file.c which will deprecate map_stdio.c | Gilles Chehade | |
The idea is to have a file-backed map but to have smtpd(8) cache the maps so that it cannot be partially read if edited while mail is received. The file is read and converted to a static map (map_static.c), changes aren't visible to smtpd until an explicit: smtpctl update map which reads file, builds a new static map and invalidates the former. partial-read issue discussed with beck@ and halex@ idea to convert internally to a static map by eric@ diff ok eric@ and chl@ | |||
2012-10-14 | smtpctl show runqueue no longer exists, it's been that way for a while | Gilles Chehade | |
2012-10-13 | missing header | Gilles Chehade | |
2012-10-13 | in aliases expansion, we can avoid requesting parent for ~user/.forward, if | Gilles Chehade | |
we check that user is a system user first before sending the imsg | |||
2012-10-13 | In update verbose mode, when skipping an update candidate due to an | Jeremy Evans | |
unmatching pkgpath, if no valid update candidates are found, print that we are skipping the update candidate and all pkgpaths for both the currently installed package and the skipped update candidate. This is designed to help diagnosing issues when ports move locations in the tree, but the necessary @pkgpath entries are not correctly added to the PLIST. Much help and OK espie@ | |||
2012-10-13 | when makemap is executed in sendmail mode, check if ".db" is part of the | Gilles Chehade | |
filename and imply it otherwise so that the following works: makemap hash /etc/mail/aliases < aliases | |||
2012-10-13 | Make map_lookup() and make_compare() set errno on failure to distinguish | Eric Faurot | |
between "no match" and "internal error" (e.g. missing or broken db file). Adapt alias expansion and ruleset matching code to check for such errors, in which case the current processing is aborted, and a temporary failure is reported to the smtp session. ok gilles@ | |||
2012-10-12 | Extend the "retry" field to 16 bits. The new quadratic retry formula | Eric Faurot | |
makes the maximum retry delay a bit to small on 8 bits. ok gilles@ chl@ | |||
2012-10-11 | - if argc / argv not empty after getopt() loop, display usage | Gilles Chehade | |
2012-10-11 | - no need to assign a separator to the last route flag since we're not | Gilles Chehade | |
going to use it | |||
2012-10-11 | - no need to set imsg_type to IMSG_MFA_CLOSE when we're not going to answer | Gilles Chehade | |
to SMTP .. | |||
2012-10-11 | - remove dead store | Gilles Chehade | |
spotted by clang | |||
2012-10-11 | - remove dead store | Gilles Chehade | |
spotted by clang | |||
2012-10-11 | - map_create() takes a map_src not a map_kind | Gilles Chehade | |
ok eric@ and chl@ | |||
2012-10-11 | - char * -> unsigned char * | Gilles Chehade | |
spotted by clang, ok eric@ and chl@ | |||
2012-10-11 | - ssize_t -> size_t | Gilles Chehade | |
spotted with clang, ok eric@ and chl@ | |||
2012-10-11 | - replace "from all" and "for all" with "from any" and "for any" | Gilles Chehade | |
ok eric@, chl@ | |||
2012-10-11 | package checksums are no longer MD5, from Dawe on tech@. | Stuart Henderson | |
2012-10-10 | F_BACKUP and ROUTE_BACKUP must be sync-ed for now, otherwise smtpd won't | Gilles Chehade | |
work as a backup MX ... bug experienced by todd, verified and analyzed by eric | |||
2012-10-10 | teach smtpctl how to display envelopes and messages using their id. | Gilles Chehade | |
this allows an admin to inspect the queue without having to manually extract bucket and find the path to an envelope or message. diff by Sunil Nimmagadda <sunil@poolp.org> ok eric@, chl@ and I | |||
2012-10-10 | io_connect() can take an optional address to bind() before connecting. | Eric Faurot | |
ok gilles@ | |||
2012-10-10 | For each alias node, mark if it has been expanded from an alias map or | Eric Faurot | |
from a .forward file. Local deliveries for files and filters expanded from an alias map are run as user _smtpd. issue reported by tood@ ok gilles@ todd@ | |||
2012-10-10 | show the port number for a relay if specified. | Eric Faurot | |
ok gilles@ | |||
2012-10-10 | Fix the hash http filter action to initialize the hash key correctly after | Reyk Floeter | |
the multiple relay tables commit. | |||
2012-10-10 | a SMTP -> an SMTP; | Jason McIntyre | |
2012-10-09 | make "relay ... as ..." work again. It's been zapped by mistake. | Eric Faurot | |
spotted by todd@ ok gilles@ | |||
2012-10-09 | - allow a listen statement to impose tls on its clients; | Gilles Chehade | |
- make listen statements impose authentication if 'auth' is specified and to make it optional if 'auth-optional' is specified; - sync documentation accordingly with ideas and input from beck@ and halex@, ok eric@ | |||
2012-10-09 | Reject ssl key/certs/CA/DH files if their ownership/permissions are not | Eric Faurot | |
correct (uid 0, no rights for g/o). Initial diff by Sunil Nimmagadda. ok gilles@ chl@ | |||
2012-10-09 | fix listen examples to not use an interface | Gilles Chehade | |
2012-10-09 | fix a FILE* leak when using compression. | Eric Faurot | |
ok gilles@ | |||
2012-10-08 | disk space is cheap but we still want to limit the default size of a body | Gilles Chehade | |
to a sane default for everyone. | |||
2012-10-08 | when building a db map, always lowercase the key before a lookup in makemap | Gilles Chehade | |
smtpd already does it, but this allows spotting a cycle at makemap time, so user isn't surprised at runtime. while at it, be more tolerant when user specifies /etc/mail/aliases instead of /etc/mail/aliases.db | |||
2012-10-08 | update to 1.2.4 | Robert Nagy | |
2012-10-08 | skip RR if type is not MX. Use hostname if the list of MX is empty | Eric Faurot | |
after the loop. spotted by huku at grhack.net ok gilles@ | |||
2012-10-07 | Implement a simple wait queue API. The idea is to allow multiple "waiters" | Eric Faurot | |
to wait on the same "tag" for a deferred result. A waiter is a callback and a void *argument. The first waiter (the one for which waitq_wait() returns true) is supposed to run some code that leads to waitq_run() being run, which will destroy that waitq and call all callbacks in turn. Not used at the moment, but will be soon. ok gilles@ chl@ | |||
2012-10-07 | We need to provide a sendmail-like interface to makemap so that some tools | Gilles Chehade | |
that assume sendmail do not break ... add support for reading map source from stdin, for specifying the DBTYPE of a map, and teach OUR makemap to emulate sendmail interface. ok eric@ | |||
2012-10-07 | convert iobuf_queue()'s to iobuf_fqueue(). (idea from gilles@) | Charles Longeau | |
introduce iobuf_xinit() and iobuf_xfqueue(). (idea from eric@) ok gilles@ | |||
2012-10-07 | bump max number of connections to a route from 5 to 10, the limit is too | Gilles Chehade | |
low as experienced by myself and another user. discussed with and ok eric@ | |||
2012-10-06 | fix usage(); ok dlg | Jason McIntyre | |
2012-10-06 | inetd Xr no longer relevant; ok dlg | Jason McIntyre | |