aboutsummaryrefslogtreecommitdiff
path: root/incoming.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-31 16:44:14 +0000
committerRunxi Yu <me@runxiyu.org>2024-12-31 16:45:10 +0000
commit2c7ee2f2405db2071b43a9ad5b69930040b765e8 (patch)
tree11f6f368b4be1d86e90584e4a94598deccd0afb8 /incoming.go
parentImplement QUIT and RSET (diff)
downloadmaild-2c7ee2f2405db2071b43a9ad5b69930040b765e8.tar.gz
maild-2c7ee2f2405db2071b43a9ad5b69930040b765e8.tar.zst
maild-2c7ee2f2405db2071b43a9ad5b69930040b765e8.zip
File splitting
Diffstat (limited to 'incoming.go')
-rw-r--r--incoming.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/incoming.go b/incoming.go
new file mode 100644
index 0000000..f915ac0
--- /dev/null
+++ b/incoming.go
@@ -0,0 +1,12 @@
+package main
+
+import "go.lindenii.runxiyu.org/lindenii-common/clog"
+
+func deliver_incoming(envelope_from string, envelope_recipients []string, data []byte) {
+ clog.Debug(
+ "incoming_mail",
+ "envelope_from", envelope_from,
+ "envelope_recipients", envelope_recipients,
+ "data", string(data),
+ )
+}