Age | Commit message (Collapse) | Author |
|
|
|
|
|
is not supposed to happen but better safe than sorry.
suggested by jacekm@
- while at it, remove the locking of delivery file we create when doing a
Maildir delivery. the purpose of Maildir is to prevent the need
for locking in the first place ... I must have been tired that day.
|
|
is not good at all. As a result, under heavy load messages would be
kept in queue, and delayed for hours just because we failed locking
a few times. This commit makes smtpd distinguish between lock fails
and "regular" temporary fails.
- delivery scheduler will reschedule immediately a message that couldn't be
delivered because of a lock fail. If we fail to lock too many times
we fallback to previous "delay increase" logic.
"looks sane" jacekm@
|
|
quickly as possible; it fails under temporary error conditions,
letting caller react appropriately.
ok gilles@
|
|
to that file from smtpd.h.
ok gilles@
|
|
Add basic line length checking, as required by rfc.
It is no longer required to disable EV_READ upon evbuffer_readline failure.
ok gilles@
|
|
"accept for { domain "foo", domain "bar" } ..."
From Nicholas Mariott <nicholas.marriott@gmail.com>
|
|
packet and thus modifying it use local varialbes instead. Otherwise,
hexdumping packets shows corrupted data.
ok markus@ some time ago
|
|
ok gilles@
|
|
Improve cleanup condition to cover more cases.
ok gilles@
|
|
error such as "makemap foo.db".
ok gilles@
|
|
ok gilles@
|
|
|
|
queue, and removed from disk by runner.
On startup, clean /incoming by moving msgs within it to /purge.
ok gilles@
|
|
|
|
low priority gateway route below itself plus a carp interface on the same
network. The result is that some arp entries can't be added.
This is a bandaid that will give me time to figure out the real bug.
|
|
When interfaces go up/down the demotion counter of the
specified group is decreased/increased.
ok henning@
|
|
|
|
useful when 'sdiff eb' does not cope with one's needs.
idea and input from weerd@
ok weerd@ sthen@
|
|
struct tm to mktime() so that the calculation will follow the local
DST rules
ok millert@ otto@
|
|
|
|
ajacoutot@ ok.
|
|
ok gilles@
|
|
ok gilles@
|
|
ok gilles@
|
|
ok gilles@
|
|
ok espie
|
|
ok gilles@
|
|
ok gilles@
|
|
segv on lines consisting exclusively of whitespace.
ok gilles@
|
|
place, regardless of number of preexisting aliases.
Don't call db->sync; it's covered by db->close shortly before rename.
ok chl@ gilles@
|
|
for other reasons.
Never exit outside main; we need to return to main to clean the
temp file.
Check parse_entry return code; otherwise $? == 0 even when invalid
entries were found.
ok gilles@
|
|
Do chmod before rename to eliminate short time window when aliases.db
is "official" but not readable.
Use PATH_ALIASESDB instead of hardcoding "/etc/mail/.."
Check db->close return code.
ok gilles@ henning@
|
|
- Drop static qualifiers.
- Drop unused -d switch.
- Use 0/1 exit codes instead of <sysexits.h> defines.
ok gilles@
|
|
number of arguments.
ok gilles@
|
|
|
|
track multipath routes. Code is mostly stolen from similar fixes to ospfd but
a bit different as this kroute.c implementation is more complex because of
additional task (nexthop verification for example).
This change and the similar ospfd change were desperatly needed on larger
complex network setups which tended to end up in situation where the kernel
had a different oppinion about routing than the daemon. Now the situation
should be a lot better.
Tested and OK sthen@ gollo@
|
|
|
|
makes to code simpler. While the routing table is somewhat simpler the
redistribution code does not allow a much more radical approach. With some
additional help of Mr. Kernel and his rtsock it should be possible to rip
even more code out of kroute.c.
Tested and OK sthen@, gollo@
|
|
sockaddrs included in the message. This makes the code more robust when
kernel and userland are out of sync. put it in deraadt@
|
|
ok gilles@
|
|
ok gilles@
|
|
Per RFC4271 the partial bit must be set if the attribute was not generated
on the originating router. This is mostly cosmetics.
OK sthen@
|
|
attributes and use the correct lenght in some other error cases.
OK sthen@
|
|
|
|
|
|
|
|
|
|
- makemap and newaliases need util.c now
|