diff options
-rw-r--r-- | deliver_dir.go (renamed from incoming.go) | 2 | ||||
-rw-r--r-- | mta_recv.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/incoming.go b/deliver_dir.go index e672587..bba9eb4 100644 --- a/incoming.go +++ b/deliver_dir.go @@ -8,7 +8,7 @@ import ( "go.lindenii.runxiyu.org/lindenii-common/misc" ) -func deliver_incoming(envelope_from string, envelope_recipients []string, data []byte, dir_path string) error { +func deliver_to_local_directory(envelope_from string, envelope_recipients []string, data []byte, dir_path string) error { clog.Debug( "incoming_mail", "envelope_from", envelope_from, diff --git a/mta_recv.go b/mta_recv.go index d5a14ed..ea1a1ef 100644 --- a/mta_recv.go +++ b/mta_recv.go @@ -155,7 +155,7 @@ func handle_incoming_server_connection(reader *bufio.Reader, writer *bufio.Write inboxes_to_deliver_to[inbox] = struct{}{} } for inbox := range inboxes_to_deliver_to { - err = deliver_incoming(current_mail_from, current_rcpt_to, current_data, inbox) + err = deliver_to_local_directory(current_mail_from, current_rcpt_to, current_data, inbox) } } if err == nil { |