diff options
Diffstat (limited to 'src/lmtp.rs')
-rw-r--r-- | src/lmtp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lmtp.rs b/src/lmtp.rs index 4186d69..049e119 100644 --- a/src/lmtp.rs +++ b/src/lmtp.rs @@ -20,7 +20,7 @@ use smtp_server::{reply, Config, ConnectionMetadata, Decision, MailMetadata, Pro use crate::config::*; use crate::cryptoblob::*; use crate::login::*; -use crate::mail_uuid::*; +use crate::mail_ident::*; pub struct LmtpServer { bind_addr: SocketAddr, @@ -249,7 +249,7 @@ impl EncryptedMessage { let mut por = PutObjectRequest::default(); por.bucket = creds.storage.bucket.clone(); - por.key = format!("incoming/{}", gen_uuid().to_string()); + por.key = format!("incoming/{}", gen_ident().to_string()); por.metadata = Some( [("Message-Key".to_string(), key_header)] .into_iter() |