Convert from BoltDB to Maildir storage for emails
This commit is contained in:
@@ -66,12 +66,12 @@ func (m *msa) Login(user, pass string) (smtp.User, error) {
|
||||
Handler: &sender{msa: m, account: account},
|
||||
}
|
||||
|
||||
log.Printf("Beginning session %d for username=%s", session.ID, account.Username)
|
||||
log.Printf("Beginning session %s for username=%s", session.ID, account.Username)
|
||||
// FIXME: TODO: Track ongoing sessions for termination or notifications
|
||||
|
||||
return session, nil
|
||||
}
|
||||
|
||||
func (m *msa) AnonymousLogin() (smtp.User, error) {
|
||||
return nil, smtp.AuthRequiredErr
|
||||
return nil, smtp.ErrAuthRequired
|
||||
}
|
||||
|
Reference in New Issue
Block a user