summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/filter.c
AgeCommit message (Expand)Author
2017-01-09smtpd joins the 7 other daemons that share the same log.c file.Reyk Floeter
2016-11-30make struct io opaque:Eric Faurot
2016-11-22Normalize the io input buffer internally when reinstalling the io event, soEric Faurot
2016-11-21replace calls to iobuf_*() functions with the corresponding io_*() wrappers.Eric Faurot
2016-11-20add dedicated functions to set fd and callback on a struct io.Eric Faurot
2016-11-16pass the user pointer as parameter to the io callback instead of havingEric Faurot
2016-06-29Explicitely enclose SMTP transactions between BEGIN and COMMIT/ROLLBACKEric Faurot
2016-05-16fix logic in error code path of smtp state machine that can lead to anGilles Chehade
2016-03-25Nuke session_socket_blockmode() and session_socket_linger(). UseKenneth R Westerback
2016-02-03When a filter rejects a message content, report immediatly to theEric Faurot
2016-01-29remove unused fieldEric Faurot
2016-01-29Simplify code: hasrun is confusing and useless. There is no wayEric Faurot
2016-01-29Remove the query queueing mechanism. It's useless since pipelining isEric Faurot
2016-01-28Simplify the query-chain code now that events are sent through a dedicated loop.Eric Faurot
2016-01-27send events to filters in a simple loop, rather than using theEric Faurot
2015-12-14Wrap long lines and whitespace fixes.Sunil Nimmagadda
2015-11-24add filter.c plumbing, not linked to the build, not used yetGilles Chehade
2012-06-16rename filter.c --> filter_api.c (to be consistent with upcoming changes)Charles Longeau
2012-06-14- rename filter.h -> filter_api.h to be consistent with upcoming changesGilles Chehade
2012-01-18Add new filters callbacks for:Charles Longeau
2011-11-28use STATUS_* filter codes, instead of -1/0/1 hard coded valuesCharles Longeau
2011-11-16fix obvious variable substitution mistakeCharles Longeau
2011-11-15- change callback prototypes in filter.c to allow stricter checksGilles Chehade
2011-08-31add support for per-line DATA callbacks, this allows filters to take theirGilles Chehade
2011-08-27initial support for a session-time filtering APIGilles Chehade