Age | Commit message (Collapse) | Author |
|
|
|
Make bounce code and /usr/sbin/sendmail interface use this new API.
The mta process continues to use its own implementation, but
eventually will be switched to use this shared module.
Buffer routines are taken from buffer.c rather than from evbuffer.
This is one step forward to using a single buffer API across the
program.
"it looks sexy" gilles@
|
|
|
|
Make bounce code and /usr/sbin/sendmail interface use this new API.
The mta process continues to use its own implementation, but
eventually will be switched to use this shared module.
Buffer routines are taken from buffer.c rather than from evbuffer.
This is one step forward to using a single buffer API across the
program.
"it looks sexy" gilles@
|
|
|
|
em0". the implementation will lookup the first IPv4 address of an
interface before any other IPv4 and IPv6 addresses.
ok gilles@ (i got inspired by smtpd)
|
|
check for non-existent ~/.forward, so make the check more robust;
fix a fd leak under rare circumstances; use secure_file for
testing .forward file security.
|
|
|
|
bounce as soon as it hits mx2 in mx1 -> mx2 -> mx3 relay chain.
hint by sthen@, ok gilles@
|
|
From Lars Nooden <lars dot curator at gmail dot com>.
deraadt@ agrees.
|
|
From Stephan A. Rickauer <stephan dot rickauer at startek dot ch> with
minor tweaks. ok by many.
|
|
of pcap_live and priv_pcap_live in rev 1.6 to differ from the implementations,
change the type back to what it was.
ok djm@
|
|
Fixes a problem with pkg_add -u where package names are encoded in the
listing (e.g. those containing + like gtk+2-2.16.5 on standards-compliant
servers).
Problem noted and fix tested by ajacoutot@ against a server running
lighttpd. No regressions against Apache. ok espie@
|
|
Fix TMPDIR while here and remove the EDITOR definition, it is only used
once.
ok sthen@
|
|
"fine" jmc@
|
|
template neighbor because the AS was set before the 4-byte one was parsed.
While there force enforce neighbor-as to no for iBGP peers.
Found and fix tested by Matthias Cramer (cramer (at) swissix.ch)
OK henning@, sthen@
|
|
Delivered-To header was wrong and could eventually lead to smtpd adding it
too early and making the remaining headers appear as body part to MUAs.
issue reported by Mathieu Goessens <gebura@poolp.org>
|
|
Remove the '-a' switch (auto-mode) and make this behaviour the default.
Add a new '-d' switch to get former default (full diff) mode.
General idea ok for several.
man page improvements from jmc@
ok jim@ oga@ sobrado@
ok sthen@ "sane defaults++ :)"
|
|
|
|
ok pyr@, jmc@ for man bits
|
|
to libedit to prevent the resulting binaries from falling under
the GPL. Prototypes are internally defined so no includes have
to be changed.
ok miod@ reyk@ "I very much approve" deraadt@
|
|
ok sthen@
|
|
ok deraadt@
|
|
ok jmc@
|
|
|
|
Thanks to Sebastian Benoit, closes pr6146
|
|
|
|
|
|
based on health check results, using the existing table syntax. this
allows to maintain multiple (uplink) gateways to implement link
balancing or WAN link failover if no routing protocol or other
keepalive method is available. works fine with or without
net.inet.ip.multipath enabled.
ok pyr@, jmc@ for manpages
|
|
new name cache information gathering code.
|
|
This eliminates the large single namecache hash table, and implements
the name cache as a global lru of entires, and a redblack tree in each
vnode. It makes cache_purge actually purge the namecache entries associated
with a vnode when a vnode is recycled (very important for later on actually being
able to resize the vnode pool)
This commit does #if 0 out a bunch of procmap code that was
already broken before this change, but needs to be redone completely.
Tested by many, including in thib's nfs test setup.
ok oga@,art@,thib@,miod@
|
|
command argument. Testers, you want this.
Committing on gilles@'s behalf.
|
|
have to pass those options. this makes amd much easier to restart by
hand (though it still remains a nasty daemon do that with)
ok millert
|
|
|
|
discussed with gilles
|
|
ok deraadt@
|
|
bytes is not enough for larger networks causing send errors because of
too big packets. OK henning
|
|
- make sure queue_message_update() creates bounces using bounce_record()
- when mta sends update to queue and it sees that batch is flagged with
F_BATCH_PERMFAIL, only update the envelope error message if it doesn't
have F_MESSAGE_PERMFAIL set, otherwise we may lose the real reason why
we failed for that recipient. There's cleanup to do around that old
code, i'm sure we can get it simpler.
this commit fixes a bug pea@ spotted where a bounce message would not
display the reason of a failure when we generated it after failing to
deliver a relayed message.
|
|
|
|
implement this, ignoring sendmail options for now.
OK gilles@, jackekm@
|
|
|
|
freeing the msgbuf.
While here also remove an unnecessary while loop.
ok eric pyr
|
|
sort flags in the DESCRIPTION section of the manual page.
synopsis tweaked by jmc@
ok jmc@, martynas@
|
|
an enqueued message follows the offline codepath. the code used ',' to
separate components of the message uid when it should have used '.'
|
|
|
|
|
|
this commit contains mostly missing casts and cosmethic changes, do not
expect to build this anywhere but on OpenBSD, it does not contain any of
the portable glue.
|
|
|
|
|
|
this was a ugly hack, and i'd rather include resolv.h and use __b64_encode
and __b64_decode as openssh does. this commit kills all references to
libkeynote in smtpd, should help a bit with porting ... no functionnal
change.
|