Age | Commit message (Collapse) | Author |
|
accept for domain "openbsd.org" relay via ssmtp "mx1.example.org"
to ensure that deliveries for whatever@openbsd.org goes through an SSL session
to mx1.example.org
|
|
the remaining code was moved to queue_shared.c; ok gilles@
|
|
LSAs to zero. We were using the interface index, which is not quite right
for this type of LSA.
This is part of a greater scheme:
Intra-Area-Prefix LSAs referencing Router LSAs (not yet implemented)
will initially have their Link State ID hard-coded to one.
Then, as soon as we implement fragmentation of Intra-Area-Prefix LSAs,
Link State IDs for both types of Intra-Area-Prefix LSA will have to be
generated dynamically in a non-overlapping fashion.
discussed with claudio@
|
|
Print not just the area, but also the interface to the link the LSA
is generated for.
ok claudio@
|
|
|
|
ok aschrijver@
|
|
|
|
|
|
that new line restores the one-line -> one-packet semantics.
ok hshoexer@, henning@, markus@
|
|
corrupt contents. ok henning@
|
|
|
|
as smtp_session.c does, so move all of the evbuffer_add_printf() calls out
of the way and replace them with session_respond() call.
|
|
state field from struct batch and propagate the change
|
|
write handler has been changed to set the bufferevent that's in there
rather than the one in struct batch. since struct batch is no longer doing
anything useful for events handling, we can remove many fields of it.
|
|
ok claudio@
|
|
of IPv6 prefixes with a Network LSA (there's another type of this LSA which
associates prefixes with a Router LSA -- this remains to be done).
Add what is necessary to allow ospf6ctl to read the new LSA type via IMSG.
ok claudio@
|
|
|
|
F_SSMTP on port 465 and one with F_STARTTLS on port 25) both mxhosts should
only retain the flag that they will use ("via ssl" means the mxhost before
expansion has both flags set). this will make mta_connect() simpler when we
bring ssl support in the way.
|
|
store a lot of its session related code, but this is just not right and
this commit starts making mta code aware of struct session. This will
ease the implementation of ssl sessions in mta.
while at it, make mta autodetect port to use if it isn't provided in a
rule but can be derived from a parameter (i.e: "relay via ssmtp ...").
|
|
|
|
clients would still be able to connect. instead, at pause time we
close and remove the listeners, and at resume time we request the
parent to reconfigure all listeners.
discussed with pyr@
|
|
|
|
batch we're handing over to mta. this prevented mta from knowing if a
session has to be established over ssl or not.
|
|
|
|
1) queue never reads /queue.
2) queue writes to /queue only at message injection time.
3) runner does all reading, and all writing apart from 2).
ok gilles@
|
|
unbreaks:
$ echo foo | mail gilles
send-mail: invalid recipient address.
|
|
|
|
ok mbalmer@
|
|
|
|
capable machines, remote powering them up.
ok claudio, sthen, "I like this a lot" & ok dlg
|
|
consists of checking headers for a custom header, but we also count how many
hops the mail went through and use a hard limit (currently set to 100 as was
recommanded by RFC) as a safe-guard.
idea discussed with jacekm@, qmail approach suggested by claudio@ a long time
ago
|
|
used by queue process but also by runner, while at it change the prototype
of queue_open_message_file() so it takes the message id and not a batch,
runner process requires the decriptor before it even starts building a
batch.
|
|
signify temp failure to the caller if ferror is true; ok gilles@
|
|
|
|
provided recipient even after aliases/forwards expansion, we'll need this
for loop detection.
message id and uid being MAXPATHLEN long is a waste, define MAX_ID_SIZE
which is currently set to 64 (but can probably be further reduced) and
make sure that structures and the few strlcpy's use the right define.
original idea by jacekm@ a while ago
|
|
|
|
::1 (fallback to 127.0.0.1) before sending the enqueue request.
|
|
|
|
come from the external process (smtpctl/send-mail/etc...), make the socket
world-writeable and request credentials with getpeereid().
discussed with pyr@ who was happy to hand me over UNP opened at the
"passing credentials through a unix socket" page, but hopefully saved by
dlg@ who knew about getpeereid() :-)
cvs: ----------------------------------------------------------------------
cvs: eNTER lOG. lINES BEGINNING WITH `cvs:' ARE REMOVED AUTOMATICALLY
cvs:
cvs: cOMMITTING IN .
cvs:
cvs: mODIFIED fILES:
cvs: CONTROL.C PARSE.Y SMTP.C SMTPD.C SMTPD.H STORE.C
|
|
discussed w/ aschrijver@
|
|
|
|
without "talking" smtp to listeners. currently, a big part of the server
side code is done (and requires a cleanup), next step is to get it usable
properly from a mail user agent.
|
|
to the RDE.
ok claudio@
|
|
|
|
the enqueue code i'm working on, but this is no longer necessary since the
enqueue code uses recipient_to_path. revert part of previous commit
|
|
|
|
|
|
which may not be null terminated; ok henning@
|
|
which caused th ev_arg member of struct event to be reset after the first
call to control_dispatch_ext (causing a null deref at second call). this
has been driving me nuts for at least an hour ...
|
|
|