Age | Commit message (Collapse) | Author |
|
ok gilles@
|
|
ok eric@ gilles@
|
|
Bug reported by Mark Patruck <mark at wrapped.cx>
ok gilles@ eric@
|
|
ok gilles@ chl@
|
|
ok gilles@ chl@
|
|
While there, simplify the offline_enqueue() function by doing all the
sanity checks in the forked process, and remove all fatal(): on error,
the offline message is left untouched in the directory. Also, get rid
of the path_starts_with() check since all paths to offline messages are
now constructed internally.
ok gilles@ chl@
|
|
change code type back to int8_t
ok gilles@
|
|
- introduce STATUS_WAITING, filters will reroute async DNS queries through
LKA in a near future
- filter_api.c will contain our filter API (empty for now)
- Makefile to build libsmtpdfilter (not linked to the build,dev stuff only)
|
|
|
|
queue_backend into account and assumed a filesystem with a specific layout.
This commit does plenty of things:
- make qwalk an abstraction in the queue_backend API, and impose queue
drivers to implement qwalk_open(), qwalk() and qwalk_close();
- move previous qwalk_open(), qwalk() and qwalk_close() to the fsqueue
driver since they were fsqueue specific ...
- make qwalk API work with msgid/evpid instead of pathnames since we're
going to use the queue_backend API to load envelopes by evpid anyway;
- makes smtpd use *solely* the queue_backend API when manipulating the
queue. pathnames were removed from smtpd.h and moved into the fsqueue
which means we can now store a queue anywhere ... as long as we write
the ten functions or so required for a queue driver ;-)
ok eric@, ok chl@
|
|
with help and ideas from eric@
ok eric@ gilles@
|
|
before enqueueing offline mail.
ok gilles@
|
|
must be created early by smtpd, rather than in fsqueue.
ok gilles@ chl@
|
|
ok gilles@
|
|
startup, rather than playing tricks with the runner. This will allow
further simplifications and improvements in the runner/queue.
ok gilles@
|
|
as a structure anymore.
ok chl@ gilles@
|
|
ok chl@ gilles@
|
|
client.c doesn't need to be build with -DCLIENT_NO_SSL anymore,
so get rid of #ifdef CLIENT_NO_SSL
ok eric@
|
|
ok gilles@
|
|
{u_,}int64_t or time_t
While there, cast some time_t to int64_t
These will fix build warnings for portable smptd
ok gilles@ eric@
|
|
caching, don't try to negotiate an RFC 4507-style session ticket,
as it would be useless and some (broken and non-compliant) servers
choke on TLS extension negotiation.
ok gilles@
|
|
|
|
- rename IMSG and smtpctl pause/resume parameters
- update man page
tested by me, ok chl@, eric@
|
|
a "relay... as" rule.
mikeb can now send mails.
ok gilles@ mikeb@
|
|
|
|
- introduce 'smtpctl schedule-all'
ok eric@
|
|
spotted by chl@
ok chl@
|
|
- use correct endianness when dumping/loading port
- use the right flag set when dumping/loading flags
- keep and use the authmap name when needed, rather than an id that
might change when smtpd is restarted
- dump/load the authmap name with the envelope
- remove the rule struct from rq_batch as only the relay info is useful
ok gilles@
|
|
ok gilles@
|
|
schedule queue to corrupt queue upon envelope loading failure.
tested by me, ok eric@
|
|
ok eric@ gilles@
|
|
tested by gilles@
ok gilles@ eric@
|
|
couple of load/dump functions to convert to and from a human readable fmt.
while at it kill struct delivery and merge back its fields to the envelope.
this basically means we shouldn't require users to flush their queues every
time we make a change to struct envelope.
work is not done, but we're at a better state than the binary fsqueue so
we'll improve it in-tree.
has been running on my own box for the last 12 hours or so
ok eric@, chl@
|
|
ok gilles@
|
|
|
|
verbose mode, and an associated -T command line option. Use it for
the imsg traces.
Requested by gilles@ who doesn't like verbose to be too verbose.
ok gilles@ chl@
|
|
correctly freed by SSL_free() at the end of the session.
Plug a leak in the mta.
ok! gilles@
|
|
|
|
|
|
ok gilles@ chl@
|
|
and triggering if clients sent a large number of DATA lines in one write
|
|
by David Walker, ok jmc@
|
|
|
|
use STDERR_FILENO instead of hard coded value
ok gilles@
|
|
exactly 1024.
Better fix comming soon.
Committing on behalf of gilles@
|
|
delivered to many ramqueue hosts, therefore storing the rq_host pointer in
the rq_msg envelope is wrong and causes baaaaad behavior.
this commit fixes reliability issues in runner process, experienced and
reported by many
|
|
- do not forward lines to mfa when FILTER_DATALINE is not set in filtermask
prevents smtpd from handling mails slowly while I'm hacking on filters
support
|
|
ok gilles@
|
|
called for each single line of DATA exchanged between smtp and mfa
|
|
simpler and hopefully saner way.
ok gilles@ chl@
|