Rewrite the project
The previous project architecture was far too complicated and hard to maintain. The new one is much more simple. Although procedural macros are cools, they are a no-go on Rust-OpenSMTPD. Reports and filter are implemented (except data-line) but untested.
This commit is contained in:
parent
fc072743ad
commit
a6d4dd21c1
48 changed files with 1723 additions and 1493 deletions
4
examples/samples/empty.log
Normal file
4
examples/samples/empty.log
Normal file
|
@ -0,0 +1,4 @@
|
|||
config|smtpd-version|6.6.1
|
||||
config|smtp-session-timeout|300
|
||||
config|subsystem|smtp-in
|
||||
config|ready
|
6
examples/samples/single_session.log
Normal file
6
examples/samples/single_session.log
Normal file
|
@ -0,0 +1,6 @@
|
|||
config|smtpd-version|6.6.1
|
||||
config|smtp-session-timeout|300
|
||||
config|subsystem|smtp-in
|
||||
config|ready
|
||||
report|0.5|1576146008.006099|smtp-in|link-connect|7641df9771b4ed00|mail.openbsd.org|pass|199.185.178.25:33174|45.77.67.80:25
|
||||
report|0.5|1576147242.200225|smtp-in|link-disconnect|7641dfb3798eb5bf
|
Reference in a new issue