Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.20 |
|
21-Mar-2017 |
bluhm |
From a syslog perspective it does not make sense to log fatal and warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@
|
#
1.19 |
|
09-Jan-2017 |
reyk |
Stop accessing verbose and debug variables from log.c directly.
This replaces log_verbose() and "extern int verbose" with the two functions log_setverbose() and log_getverbose().
Pointed out by benno@ OK krw@ eric@ gilles@ (OK gilles@ for the snmpd bits as well)
|
#
1.18 |
|
09-Jan-2017 |
reyk |
smtpd joins the 7 other daemons that share the same log.c file.
The only major difference was the "log_trace" concept that is only used by smtpd - move it from log.c into util.c and make it a local concept. This also needed to rename the global "verbose" variable to "tracing" in a few places.
OK krw@ gilles@ eric@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.17 |
|
28-Dec-2015 |
jung |
remove spaces after '!'
no binary change
ok millert
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.16 |
|
08-Jul-2014 |
eric |
Change fatal/fatalx to use a format string. Expand in a static buffer to cope with low-memory situations.
ok gilles@ chl@
|
Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.15 |
|
24-May-2013 |
eric |
sync with OpenSMTPD 5.3.2
ok gilles@
|
Revision tags: OPENBSD_5_3_BASE
|
#
1.14 |
|
26-Jan-2013 |
gilles |
Sync with our smtpd repo:
* first bricks of ldap and sqlite support (not finished but both working) * new table API to replace map API, all lookups are done through tables * improved handling of temporary errors throughout the daemon * improved scheduler and mta logic: connection reuse, optimizes batches * improved queue: more tolerant to admin errors, new layout, less disk-IO * improved memory usage under high load * SSL certs/keys isolated to lookup process to avoid facing network * VIRTUAL support improved, fully virtual setups possible now * runtime tracing of processes through smtpctl trace * ssl_privsep.c sync-ed with relayd * ssl.c no longer contains smtpd specific interfaces * smtpd-specific ssl bits moved to ssl_smtpd.c * update mail address in copyright
FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE.
smtpd.conf(5) simplified, it will require adaptations
ok eric@
|
#
1.13 |
|
23-Nov-2012 |
eric |
knf
ok gilles@
|
Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.12 |
|
22-Oct-2011 |
eric |
Add a log_trace() call to toggle logging of specific debugging info in verbose mode, and an associated -T command line option. Use it for the imsg traces.
Requested by gilles@ who doesn't like verbose to be too verbose.
ok gilles@ chl@
|
#
1.11 |
|
11-Sep-2011 |
chl |
remove unused header
ok gilles@
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE
|
#
1.10 |
|
28-Nov-2010 |
gilles |
a bit of .h cleanups, no functionnal change
|
#
1.9 |
|
09-Oct-2010 |
gilles |
backout the "new" queue code commited 4 months ago. it has many good ideas, is way more optimized than what we had earlier and there's definitely stuff we want to keep, however it is early optimization that doesn't account for many features and makes them hard (if not impossible) to write without ugly workarounds that ruin the purpose of the optimizations.
the backout goes to 30 May's right before the commit and catches up on all the non-queue related commits that happened since then.
i'll work on reintroducing the ideas from this queue when the basic features we expect from a MTA are implemented.
suggested on tech@ about a week ago, no objections, several "please make smtpd move forward" mails from hackers and tech readers.
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.8 |
|
01-Jun-2010 |
jacekm |
new queue, again; gcc2 compile tested by deraadt
|
#
1.7 |
|
01-Jun-2010 |
jacekm |
New queue doesn't compile on gcc2, back out. Spotted by deraadt@
|
#
1.6 |
|
31-May-2010 |
jacekm |
Rewrite entire queue code.
Major goals:
1) Fix bad performance caused by the runner process doing full queue read in 1s intervals. My Soekris can now happily accept >50 msg/s while having multi-thousand queue; before, one hundred queue would bring the system to its knees.
2) Introduce Qmail-like scheduler that doesn't write as much to the disk so that it needs less code for servicing error conditions, which in some places can be tricky to get right.
3) Introduce separation between the scheduler and the backend; these two queue aspects shouldn't be too tied too each other. This means that eg. storing queue in SQL requires rewrite of just queue_backend.c.
4) Make on-disk queue format architecture independent, and more easily extensible, to reduce number of flag days in the future.
Minor goals:
ENOSPC no longer prevents delivery attempts, fixed session limiting for relayed mail, improved batching of "relay via" mails, human-readable mailq output, "show queue raw" command, clearer logging, sending of single bounce about multiple recipients, exact delay= computation, zero delay between deliveries while within session limit (currently 1s delay between re-scheduling is enforced), mta no longer requests content fd, corrected session limit for bounce submissions, tiny <100B queue files instead of multi-KB, detect loops before accepting mail, reduce traffic on imsg channels by killing enormous struct submit_status.
|
#
1.5 |
|
19-May-2010 |
gilles |
cleanup-only commit, removes unrequired includes, no functionnal change
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.4 |
|
03-Jan-2010 |
chl |
Implement "log verbose" and "log brief" to enable or disable verbose debug logging on runtime.
Based on claudio@'s work on ripd, ospfd, ospf6d, dvmrpd, ldpd, bgpd.
With help/ideas/testing from gilles@ jacekm@ todd@
ok jacekm@
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.3 |
|
04-Dec-2008 |
cloder |
Declare printf-style functions with __attribute__((format(printf,x,x))) and fix some of the errors caught by this. Part of a general push to make yyerror() -Wformat clean throughout the tree.
|
#
1.2 |
|
17-Nov-2008 |
chl |
add missing header needed by time(), ctime_r() and tzset().
ok gilles@
|
#
1.1 |
|
01-Nov-2008 |
gilles |
smtpd is a smtp server implementation for OpenBSD. It is a work in progress which still lacks many features. bringing it in tree will help working on it more easily.
"at this stage it should go in" henning@, "move ahead" deraadt@
|