summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-08-08fix a small typo with no consequence in the generation of message id whenGilles Chehade
an enqueued message follows the offline codepath. the code used ',' to separate components of the message uid when it should have used '.'
2009-08-08missing castGilles Chehade
2009-08-08missing headerGilles Chehade
2009-08-08import some changes from portable smtpd to reduce the delta between both.Gilles Chehade
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.
2009-08-07smtp_session: ssl/ssl.h -> openssl/ssl.hGilles Chehade
2009-08-07in mta: ssl/ssl.h -> openssl/ssl.h, consistent with other filesGilles Chehade
2009-08-07we were linking to libkeynote to use kn_base64_encode/decode, but honestlyGilles Chehade
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.
2009-08-07wrap auth_userokay in a new function authenticate_user() and make sureGilles Chehade
that only authenticate.c knows about bsd_auth, no functionnal change.
2009-08-07get the default ttl via sysctl instead of using IPDEFTTLReyk Floeter
2009-08-07rename 'struct session' to 'struct rsession' because it conflicts withReyk Floeter
another 'struct session' in sys/sysctl.h.
2009-08-07allow to modify the IP TTL value for host checks. this can be used toReyk Floeter
check if the host is only n hops away and not re-routed over a longer path.
2009-08-07add missing lineReyk Floeter
2009-08-07allow to specify host attributes in an arbitrary order (parent, retry) byReyk Floeter
making the grammar a bit more flexible.
2009-08-07cosmetic change - move address into an own elementReyk Floeter
2009-08-07pull aml/aml_parse.h; otherwise it would take aml_parse_objectlistMartynas Venckus
as an int; and not a pointer; which would be wrong on 64-bit archs oki marco@
2009-08-06fix a crash in mta when forwarding a bounce, caused by a null derefGilles Chehade
2009-08-06in smtp_session, fix logging so that when we accepted an empty envelope forGilles Chehade
the sender, we dont log 'from=<@>' but from=<> instead
2009-08-06- change all occurences of T_DAEMON_BATCH,MESSAGE to T_BOUNCE_BATCH/MESSAGEGilles Chehade
- make sure T_BOUNCE_MESSAGE is no longer OR-ed to T_MDA/MTA_MESSAGE - define F_MESSAGE_BOUNCE flag and make sure bounce sessions set it - teach smtpctl show queue how to recognize a bounce message
2009-08-06replace X-OpenSMPTD-Loop with Delivered-ToGilles Chehade
idea by jacekm@ a few weeks ago, discussed with pyr
2009-08-06when writing a bounce, follow the same rule as for mta sessions and prependGilles Chehade
with a dot lines starting with a dot
2009-08-06when a message in queue expires, generate a bounce before we remove itGilles Chehade
2009-08-06factorize file_copy_session() and file_copy() so file_copy() can handleGilles Chehade
both deliveries to mailboxes (mbox/maildir) and copying to a session.
2009-08-06fix a typo in bounce message t -> toGilles Chehade
2009-08-06- introduce message_set_errormsg() to set the error description that willGilles Chehade
appear in a bounce message, and message_get_errormsg() to retrieve that message. - when loop is detected, call message_set_errormsg() - in mta, call message_set_errormsg() for each recipient failure - in mta, call message_set_errormsg() to copy batch errors to recipients if we failed to deliver for a session related error - when bouncing, add the recipient and error reason to the bounce message
2009-08-06swap the postfix example for an smtpd one;Jason McIntyre
based on a diff from Peter J. Philipp, documentation/6205 ok gilles, millert while here, add missing makemap entry to the sendmail example
2009-08-06This commit reworks the entire mailer daemon support to actually make itGilles Chehade
work for real. As an added bonus, it simplifies it, makes it follow the same code path as regular messages and kills quite some code from mta, mda and store. There's still some work needed but the most painful part is behind us now ;) ok jacekm@
2009-08-06ldpd must not add/delete AF_INET routes, it just have to change themMichele Marchetto
inserting/deleting MPLS infos. ok claudio@
2009-08-06Implement the error handling as proposed in draft-ietf-idr-optional-transitiveClaudio Jeker
for optional transitive attributes. In short if the partial bit is set on an optional transitive attribute but the attribute fails validation ignore the attribute or mark the path as ineligible instead of killing the session with a NOTIFICATION. Tested, input and OK sthen, OK henning
2009-08-05prevent configuration of relays listening to a single addr:port tuple twiceReyk Floeter
2009-08-05support multiple 'listen on' lines in a single relay blockReyk Floeter
2009-08-05tables don't need pf if running in "l7" relay modeReyk Floeter
2009-08-04-epm are not relevant to most (any?) setups and quiet is good anyway: removeJason McIntyre
these options; thanks marc for feedback on what these options were for; ok oga deraadt
2009-08-03Make announce "self" work like all others (self is a bit special becauseClaudio Jeker
it's a keyword but "self" is not). OK henning@
2009-08-02"ldpctl show lib" output cleanup.Michele Marchetto
- Show only the remote/local labels of the prefixes currently present in fib. - Write a "-" instead of "0" when a remote label is not present (the prefix is directly connected). It avoids confusion with explicit null label. ok claudio@
2009-08-01when receiving characters with the most significant bit set over a sessionGilles Chehade
not flagged with F_8BITMIME, clear the bit instead of permanently erroring the whole message. some mta's do not always request 8BITMIME when they are sending messages which are not 8bit clean, this lets us be less strict for them while not violating RFC ourselves. ok jacekm@
2009-08-01Pass the right size of the structure "map" to the ldpd engine.Michele Marchetto
2009-08-01Correctly print interface state and neighbor uptime in ldpctl show neighbor.Michele Marchetto
2009-08-01subnet-number and netmask could be ip addresses only.Federico G. Schwindt
krw@ jmc@ ok
2009-07-31Reword the split horizon parameters in the configuration file.Michele Marchetto
Now the choioses are: none, simple, poisoned. Also make poisoned reverse the default behaviour. Based on a diff by Eugene Yunak, thanks. ok claudio@
2009-07-30add missing " when printing an error string. ok henning@Stuart Henderson
2009-07-29apply patch for https://www.isc.org/node/474 since jakob does notTheo de Raadt
appear to be around.
2009-07-28introduce daemon_record_message() and needed glue in queue_shared.c toGilles Chehade
atomically create a mailer daemon out of a message. it is unreferenced for now, this commit makes no functional change.
2009-07-28Use strcmp() for string comparison not ==Jonathan Gray
ok jacekm@
2009-07-28slightly change how makemap parses its lines so that we consider #Gilles Chehade
as a comment only when it starts a line or is preceded by whitespaces. fixes a bug that was reported to me twice and which i ran into, ok jacekm@
2009-07-28Install interface addresses of other routers (LA bit set or 128 prefixlen)Claudio Jeker
as router type and not as a network. From stsp@
2009-07-28More fallout from the r1.31 commit. This time PID and the fd got swapped.Claudio Jeker
Again from stsp@
2009-07-28Running 'ospf6ctl show' twice caused ospf6d to fatal. Cause was a missing -Claudio Jeker
when passing -1 as fd to the imsg call. No frogs for eric@ and pyr@ From stsp@
2009-07-28Track renamed struct member (r1.15 of ospf6d/ospf6.h) to fix compilation.Claudio Jeker
From stsp@
2009-07-28indentGilles Chehade
2009-07-28add missing bit to correctly spot loops in all cases.Gilles Chehade
at the moment we only break out of the loop, but do not generate mailer daemon, this will come soon. ok pyr@, tested by me with help from gui at iroqwa dot org