Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-22 | Make enable selected by attribute work. | Mats O Jansson | |
Reported by John Lloyd j at bitminer dot ca. -moj | |||
2008-11-21 | closefrom the fds that we aren't interested in. pr5994 | Ted Unangst | |
2008-11-21 | Track nexthops when the underlying route is changing. Until now true nexthops | Claudio Jeker | |
were only resolved when they were added. This calls for troubles if something like ospfd starts to change the underlying routes. Tested by gollo@, OK henning@ | |||
2008-11-21 | Kill some old debug messages that are no longer needed. | Claudio Jeker | |
2008-11-21 | imsg_* returns ssize_t | Claudio Jeker | |
2008-11-21 | Introduce support for flash updates. | Michele Marchetto | |
They spread routing changes immediately as they happen avoiding wait until the next report interval. OK norby@ | |||
2008-11-17 | add missing header needed by time(), ctime_r() and tzset(). | Charles Longeau | |
ok gilles@ | |||
2008-11-17 | - clear session flags upon helo/ehlo | Gilles Chehade | |
2008-11-17 | - until now a client could issue a command from an extension even though it | Gilles Chehade | |
greeted with helo and not ehlo. introduce session flag F_EHLO and make sure the session_command() dispatch only looks at extensions when a session does not have the F_EHLO flag. | |||
2008-11-17 | - err() -> fatal() | Gilles Chehade | |
- printf() -> log_debug() - be more verbose in debug mode | |||
2008-11-17 | - remove prototypes for the atomic API, we don't use it anymore | Gilles Chehade | |
2008-11-17 | add missing header needed by signal(). | Charles Longeau | |
2008-11-17 | - we don't need this anymore | Gilles Chehade | |
2008-11-17 | - remove some unused prototypes | Gilles Chehade | |
2008-11-17 | - queue_record_daemon() no longer used, remove definition | Gilles Chehade | |
2008-11-17 | - replace uses of O_EXLOCK and O_EXLOCK|O_NONBLOCK with the corresponding | Gilles Chehade | |
open()/flock() constructs as chl@ says it prevents him from doing a portable build. discussed with chl@, diff is common work from him and myself | |||
2008-11-17 | - fix error message in aliases_virtual_exist() | Gilles Chehade | |
By Alexander Hall <alexander@beard.se> | |||
2008-11-17 | - exit() -> _exit() | Gilles Chehade | |
- err() -> fatal() Both by Jacek Masiulaniec <jacekm@dobremiasto.net> | |||
2008-11-17 | - remove several constructs where format strings are used in an evbuffer | Gilles Chehade | |
printf with constant parameters, turn them into a constant string. - when client sends EHLO without a parameter, send the appropriate error message ("EHLO takes ..." instead of "HELO takes ...") From Jacek Masiulaniec <jacekm@dobremiasto.net> | |||
2008-11-17 | Missing end quote in example. | Marc Balmer | |
2008-11-14 | Sigh. Some clients can't handle three DHO_PAD options holding space | Kenneth R Westerback | |
for an unused overload option. Noticed by mk@ when netbooting his G4 mac mini. So compact the options by shifting them over the unused option and filling the end by DHO_PAD. Tested by mk@. | |||
2008-11-13 | - rephrase the "cannot load cert" warning that is output at startup when a | Gilles Chehade | |
listen directive has no matching certificate. it sounds like a critical failure when it just means "no tls support". - minor log_debug() addition in smtp.c | |||
2008-11-12 | we should not document each operand in the usage of a command, | Igor Sobrado | |
it is an usual practice on BSDs and make the synopsis and usage more robust when operands are added or removed; synchronize the usage with the synopsis on the manual page; while here, remove superfluous information from the usage. ok jmc@ | |||
2008-11-11 | - mistakenly removed this lock | Gilles Chehade | |
2008-11-11 | - introduce queue_init_submissions() which will sanitize the disk-based | Gilles Chehade | |
queue at startup: catches left overs from interrupted sessions, reset F_MESSAGE_INPROCESS so that messages which were in MTA or MDA gets scheduled again. - temporarily comment chl@'s O_EXLOCK -> fcntl change until we figure why it locks my mailbox under load | |||
2008-11-11 | - temporarily comment chl@'s O_EXLOCK -> fcntl() change until we understand | Gilles Chehade | |
what causes the mailbox lock bug i'm observing under heavy load. | |||
2008-11-11 | - now that we fdopen() message file descriptor, do not forget to fclose() | Gilles Chehade | |
2008-11-11 | some small improvements. ok gilles | Ted Unangst | |
2008-11-11 | - queue process no longer schedules messages which do not have flag | Gilles Chehade | |
F_MESSAGE_COMPLETE - submit recipients to the queue as we read them from RCPT instead of submiting them all at once when DATA is over. this prevents us from having to keep a potentially large number of recipients in memory during the whole session. - remove all code that dealt with the recipients queue of a message as it is no longer used. - several small changes to make sure the server is always in a recoverable state in case of an unexpected shutdown. | |||
2008-11-11 | remove the use of O_EXLOCK, when open()ing a file, and use flock() instead. | Charles Longeau | |
ok gilles@ | |||
2008-11-10 | - open the message file earlier after a successful MAIL command instead of | Gilles Chehade | |
waiting for the DATA command. this currently has no impact on the session but is needed for another change that will make submission of recipients safer with regard to "unexpected shutdowns at bad timings" | |||
2008-11-10 | - define MAX_LINE_SIZE which is the maximum length of a line we allow from | Gilles Chehade | |
a client. it must be set to the highest value we have from all of the extensions which are/will be implemented. - replace all occurences of STRLEN define with MAX_LINE_SIZE, kill STRLEN | |||
2008-11-10 | rename h_errno field into getaddrinfo_error, to avoid confusion with errno. | Charles Longeau | |
h_errno has been obsoleted since the gethostbyname() --> getaddrinfo() replacement. ok gilles@ | |||
2008-11-10 | fix store_write_header() prototype. | Charles Longeau | |
ok gilles@ | |||
2008-11-10 | delete operation not needed; from naddy | Theo de Raadt | |
2008-11-10 | #if 0 a function which we have we do not use, and where the call to it is in ↵ | Theo de Raadt | |
#if 0 as well | |||
2008-11-10 | spaces fixed while reading code | Theo de Raadt | |
2008-11-10 | If a bind() spuriously fails (as appears to happen once in a blue moon due | Theo de Raadt | |
to some stupid ipv6 bug in particular), remove that 'listen' from the list and continue operation. issue spotted by naddy ok henning | |||
2008-11-10 | - remove last occurences of the atomic api in store.c, smtpd no longer uses | Gilles Chehade | |
atomic api when dealing with files but uses stdio instead | |||
2008-11-10 | last character in line is at len - 1. ok gilles | Ted Unangst | |
2008-11-10 | insertion sort is faster than bubble sort. ok gilles | Ted Unangst | |
2008-11-10 | - simplify the passing of ssl cert/key during ssl configuration, | Gilles Chehade | |
from Jacek Masiulaniec <jacekm@dobremiasto.net> | |||
2008-11-10 | - in queue, do not use the atomic api when dealing with real files | Gilles Chehade | |
change based on a comment from deraadt@ - in queue_register_submission(), if an envelope cannot be fully written because of some error (ie: disk full), not only return error but also remove the partial envelope from file system. this prevents the queue process from trying (failing) to reload it over and over. | |||
2008-11-10 | - plug a descriptor leak when session is aborted by a server error instead | Gilles Chehade | |
of a client QUIT or client timeout | |||
2008-11-10 | - move '=>' into the lex loop, requested by and with help from deraadt@ | Gilles Chehade | |
2008-11-10 | - in queue_load_submissions(), if queue_message_from_id() fails for some | Gilles Chehade | |
reason just warn instead of aborting the whole smtpd. | |||
2008-11-10 | - snprintf() can return -1, make sure every call is checked properly | Gilles Chehade | |
2008-11-10 | - recognize '=>' as one token instead of trying to match '=' and '>'. this | Gilles Chehade | |
prevents: "foo = > bar" from being valid | |||
2008-11-10 | - make READ_BUF_SIZE a power of 2 | Gilles Chehade | |
2008-11-09 | typo fixed (overriden -> overridden) | Tobias Stoeckmann | |
ok espie, jmc |