Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-07 | - getaddrinfo() uses negative values for its error defines, our use of an | Gilles Chehade | |
u_int8_t to hold the value leads to invalid checking in runner_batch_resolved(), this lead to a crash in MTA because we assumed a batch had its mx resolved when it had not. while at it, be more strict about errors we don't know and fatal(), it should not happen. ok jacekm@, ok chl@ | |||
2008-12-07 | - fix function name in fatal() | Gilles Chehade | |
2008-12-07 | Don't check / reset s->s_msg.datafp where its state is obviously known. | Jacek Masiulaniec | |
2008-12-06 | Make queue_delete_incoming_message not fatal on ENOENT condition. | Jacek Masiulaniec | |
Also, fix function name in fatals. ok gilles@ | |||
2008-12-06 | command descriptions (.Nd macros) are usually lowercase; | Igor Sobrado | |
fix wording for "ruleset grammar". ok jmc@ | |||
2008-12-06 | the ellipsis allows more than one argument being specified. | Igor Sobrado | |
2008-12-06 | Get rid of anonymous unions. Discussed with and ok gilles@ | Paul de Weerd | |
2008-12-06 | In session_destroy, use "if (s->s_state >= S_MAIL)", and not | Jacek Masiulaniec | |
"if (s->s_state > S_MAIL)". Otherwise, session timeout after MAIL FROM would leave mess in queue. ok gilles@ | |||
2008-12-06 | Don't include <err.h> where log.c API must be used. | Jacek Masiulaniec | |
ok gilles@ | |||
2008-12-06 | - fix spelling and grammar, From Nicholas Marriott <nicm__@ntlworld.com> | Gilles Chehade | |
2008-12-06 | Unbreak -Werror. | Jacek Masiulaniec | |
ok gilles | |||
2008-12-06 | the ellipsis allows more than one argument being specified. | Igor Sobrado | |
discussed with gilles@ ok jmc@ | |||
2008-12-06 | smtpctl(8) was committed after 4.4. | Igor Sobrado | |
ok gilles@ | |||
2008-12-06 | NULL-ify s_msg.datafp upon fclose unconditionally. | Jacek Masiulaniec | |
ok gilles | |||
2008-12-06 | - teach smtpctl how to inspect queue and runqueue, it supports two commands | Gilles Chehade | |
`showqueue' which displays the content of the queue (all envelopes) `showrunqueue` which displays envelopes scheduled for delivery. The utility will be improved and extended, but for now we need at least this basic support to help debug queue-related issues. Output format is spamdb-alike: type|envelope uid|sender|recipient|last delivery date|retry count ok jacek@ | |||
2008-12-06 | evbuffer_readline already strips <CRLF> so that callers don't have to. | Jacek Masiulaniec | |
ok gilles | |||
2008-12-06 | - it is now possible to specify an interface instead of an address or a | Gilles Chehade | |
hostname in a listen statement (ie: listen on lo0) request by deraadt@ a while ago, ok jacekm@ | |||
2008-12-05 | haul in some stuff from ntpd.8; ok todd | Jason McIntyre | |
2008-12-05 | - more err/errx -> fatal/fatalx, warn/warnx -> log_warn/log_warnx | Gilles Chehade | |
contains bits based on an old diff from Jacek Masiulaniec and other bits from me. | |||
2008-12-05 | - err -> fatal(), old diff from Jacek Masiulaniec <jacekm@dobremiasto.net> | Gilles Chehade | |
2008-12-05 | - cosmethic, no functionnal change | Gilles Chehade | |
2008-12-05 | use HTTP/1.1 instead of HTTP/1.0 if a host header is specified. | Reyk Floeter | |
spotted by phessler@ | |||
2008-12-05 | change the way relayd reports check results: instead of logging an | Reyk Floeter | |
arbitrary string in debugging mode, it will store an error code (HCE_*) for each host. the error code can be translated to a string (in log.c) for debugging but it will also be passed to relayctl via the control socket. from a user point of view, this will print a human-readable error message in the "relayctl show hosts" output if a host is down because the check failed. the relayctl(8) manpage includes detailed explanations of the error messages including mitigations for the most-common problems. ok jmc@ (manpages) ok phessler@ | |||
2008-12-05 | add a few HOST-RESOURCES-MIB types (just names, no functionality yet) | Reyk Floeter | |
2008-12-05 | need set argument now in this example; ok mbalmer@ | Kevin Steves | |
2008-12-05 | fix a possible crash in debugging mode (if compiled for with -DDEBUG) | Reyk Floeter | |
found by Alexander Sabourenkov | |||
2008-12-05 | tweaks; | Jason McIntyre | |
2008-12-05 | - smtpctl utility to control the smtpd, don't expect too much yet as it is | Gilles Chehade | |
just an empty clone of relayctl with the glue needed to have it exchange imsg with smtpd correctly. code mostly by pyr@, reviewed by chl@ and I a while ago. | |||
2008-12-05 | - last part of the new queue code: the runner process (unprivileged and | Gilles Chehade | |
chrooted) is now in charge of doing the scheduling of deliveries, and the dispatching of messages to MDA and MTA. queue process only does inserts/updates/removals from the queue and can no longer be so busy that it delays answers to imsg from smtp server. | |||
2008-12-05 | add ethertype and tcpdump support for VLAN stacking (QinQ) with | Stuart Henderson | |
type number 0x88a8 specified by 802.1ad. from reyk on misc@. "ok, go for it" dlg | |||
2008-12-04 | - in session_read(), set EV_WRITE if we are going to send a "transaction | Gilles Chehade | |
failed" error. found by Jacek Masiulaniec <jacekm@dobremiasto.net> | |||
2008-12-04 | Declare printf-style functions with __attribute__((format(printf,x,x))) | Chad Loder | |
and fix some of the errors caught by this. Part of a general push to make yyerror() -Wformat clean throughout the tree. | |||
2008-12-04 | cosmetic changes: | Reyk Floeter | |
- log table changes in sync_table() if "log updates" is enabled. before we only logged these changes in debug mode when running relayd in foreground. - type in a log message | |||
2008-12-04 | - allow smtpd to build again | Gilles Chehade | |
2008-12-04 | move smtpd build to smtpd subdir so we can traverse to newaliases and makemap | Todd T. Fries | |
ok gilles@ | |||
2008-12-04 | some basic cleanup; | Jason McIntyre | |
2008-12-04 | - when in state S_DATACONTENT, do not disable EV_READ if the last line we | Gilles Chehade | |
read is empty, instead return and only disable EV_READ when we read "." | |||
2008-12-04 | - when doing the session timeout lookup, do not remove the last session | Gilles Chehade | |
that timed out twice. | |||
2008-12-04 | - fix event masking for DATA and make DATA look more like MAIL and RCPT | Gilles Chehade | |
with regard to communication with queue process (one state before sending imsg, another state when imsg has returned). this fixes an issue that I observed when clients send DATA and content without even looking at server replies. | |||
2008-12-04 | obvious 'missing space' typo in message, ok gilles@ krw@ | Ian Darwin | |
2008-12-03 | - smtpd's db maps are incompatible with sendmail's and needs a distinct | Gilles Chehade | |
makemap utility, this is needed for virtual users support amongst other things. links to smtpd's aliases.c and only provides a frontent to parse map descriptions. contains code from pyr@, chl@ and I. Should have also been imported with smtpd. | |||
2008-12-03 | smtpd's aliases db is incompatible with sendmail's and requires a distinct | Gilles Chehade | |
newaliases utility. newaliases links to the aliases.c file from smtpd and only provides a frontend to parse aliases file. contains code from pyr@, chl@ and I, it should have been imported with smtpd. | |||
2008-12-03 | clarify GPIO device specification. with input from jmc; ok mbalmer@ jmc@ | Kevin Steves | |
2008-12-03 | delete unused prototype, from lint; ok mbalmer@ | Kevin Steves | |
2008-12-03 | - these were used to debug the previous queue scheduler, they are no longer | Gilles Chehade | |
needed and aren't referenced anywhere any longer | |||
2008-12-03 | - remove log_debug() that's no longer needed | Gilles Chehade | |
2008-12-03 | - fix event masking issues in smtp process which could lead to a fatal() if | Gilles Chehade | |
queue process did not answer fast enough to an imsg. spotted by Jacek Masiulaniec <jacekm@dobremiasto.net> - queue layout was mostly to bootstrap the project, it does not behave good under load, it does complex things to stay in a recoverable state and it probably didnt do it too well. New queue code is simpler, smaller and allows for atomic submissions (a mail can never be in a state where it needs to be recovered). It still needs some work but works better than previous code, no regression. | |||
2008-12-03 | there is no longer a default GPIO device; ok mbalmer@ jmc@ | Kevin Steves | |
2008-12-03 | Some more ambigous -> ambiguous pointed out by mbalmer (there are | Stuart Henderson | |
others, these are the ones from code unlikely to be re-merged with upstream sources). | |||
2008-12-03 | typo; from Anathae Townsend | Jason McIntyre | |