Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-11 | call reset_flags in bounce_session failure code path. | Jacek Masiulaniec | |
2009-08-11 | do not repeat flag resetting code, introduce reset_flags(). | Jacek Masiulaniec | |
discussed with gilles | |||
2009-08-10 | build on amd64 also | Jonathan Gray | |
ok deraadt@ | |||
2009-08-09 | Scale both receive and send buffer on the raw socket. The default 8192 | Claudio Jeker | |
bytes is not enough for larger networks causing send errors because of too big packets. OK henning | |||
2009-08-08 | - simplify a bit queue_message_update() | Gilles Chehade | |
- 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. | |||
2009-08-08 | sync with code change for mailq in smtpctl | Ian Darwin | |
2009-08-08 | mailq is a common sendmail alias for showing the queue; make smtpctl | Ian Darwin | |
implement this, ignoring sendmail options for now. OK gilles@, jackekm@ | |||
2009-08-08 | better synopsis; | Jason McIntyre | |
2009-08-08 | Make imsg_clear close and free any fds in the received fd queue as well as | Nicholas Marriott | |
freeing the msgbuf. While here also remove an unnecessary while loop. ok eric pyr | |||
2009-08-08 | add a real synopsis to chat(8); synchronize synopsis and usage; | Igor Sobrado | |
sort flags in the DESCRIPTION section of the manual page. synopsis tweaked by jmc@ ok jmc@, martynas@ | |||
2009-08-08 | fix a small typo with no consequence in the generation of message id when | Gilles 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-08 | missing cast | Gilles Chehade | |
2009-08-08 | missing header | Gilles Chehade | |
2009-08-08 | import 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-07 | smtp_session: ssl/ssl.h -> openssl/ssl.h | Gilles Chehade | |
2009-08-07 | in mta: ssl/ssl.h -> openssl/ssl.h, consistent with other files | Gilles Chehade | |
2009-08-07 | we were linking to libkeynote to use kn_base64_encode/decode, but honestly | Gilles 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-07 | wrap auth_userokay in a new function authenticate_user() and make sure | Gilles Chehade | |
that only authenticate.c knows about bsd_auth, no functionnal change. | |||
2009-08-07 | get the default ttl via sysctl instead of using IPDEFTTL | Reyk Floeter | |
2009-08-07 | rename 'struct session' to 'struct rsession' because it conflicts with | Reyk Floeter | |
another 'struct session' in sys/sysctl.h. | |||
2009-08-07 | allow to modify the IP TTL value for host checks. this can be used to | Reyk Floeter | |
check if the host is only n hops away and not re-routed over a longer path. | |||
2009-08-07 | add missing line | Reyk Floeter | |
2009-08-07 | allow to specify host attributes in an arbitrary order (parent, retry) by | Reyk Floeter | |
making the grammar a bit more flexible. | |||
2009-08-07 | cosmetic change - move address into an own element | Reyk Floeter | |
2009-08-07 | pull aml/aml_parse.h; otherwise it would take aml_parse_objectlist | Martynas Venckus | |
as an int; and not a pointer; which would be wrong on 64-bit archs oki marco@ | |||
2009-08-06 | fix a crash in mta when forwarding a bounce, caused by a null deref | Gilles Chehade | |
2009-08-06 | in smtp_session, fix logging so that when we accepted an empty envelope for | Gilles 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/MESSAGE | Gilles 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-06 | replace X-OpenSMPTD-Loop with Delivered-To | Gilles Chehade | |
idea by jacekm@ a few weeks ago, discussed with pyr | |||
2009-08-06 | when writing a bounce, follow the same rule as for mta sessions and prepend | Gilles Chehade | |
with a dot lines starting with a dot | |||
2009-08-06 | when a message in queue expires, generate a bounce before we remove it | Gilles Chehade | |
2009-08-06 | factorize file_copy_session() and file_copy() so file_copy() can handle | Gilles Chehade | |
both deliveries to mailboxes (mbox/maildir) and copying to a session. | |||
2009-08-06 | fix a typo in bounce message t -> to | Gilles Chehade | |
2009-08-06 | - introduce message_set_errormsg() to set the error description that will | Gilles 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-06 | swap 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-06 | This commit reworks the entire mailer daemon support to actually make it | Gilles 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-06 | ldpd must not add/delete AF_INET routes, it just have to change them | Michele Marchetto | |
inserting/deleting MPLS infos. ok claudio@ | |||
2009-08-06 | Implement the error handling as proposed in draft-ietf-idr-optional-transitive | Claudio 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-05 | prevent configuration of relays listening to a single addr:port tuple twice | Reyk Floeter | |
2009-08-05 | support multiple 'listen on' lines in a single relay block | Reyk Floeter | |
2009-08-05 | tables don't need pf if running in "l7" relay mode | Reyk Floeter | |
2009-08-04 | -epm are not relevant to most (any?) setups and quiet is good anyway: remove | Jason McIntyre | |
these options; thanks marc for feedback on what these options were for; ok oga deraadt | |||
2009-08-03 | Make announce "self" work like all others (self is a bit special because | Claudio 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-01 | when receiving characters with the most significant bit set over a session | Gilles 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-01 | Pass the right size of the structure "map" to the ldpd engine. | Michele Marchetto | |
2009-08-01 | Correctly print interface state and neighbor uptime in ldpctl show neighbor. | Michele Marchetto | |
2009-08-01 | subnet-number and netmask could be ip addresses only. | Federico G. Schwindt | |
krw@ jmc@ ok | |||
2009-07-31 | Reword 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-30 | add missing " when printing an error string. ok henning@ | Stuart Henderson | |