mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 08:23:48 +03:00
set correct local account when adding a message to the queue
all dsns were going to the postmaster account...
This commit is contained in:
parent
cb5097714b
commit
dc83ad1df5
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ func Count(ctx context.Context) (int, error) {
|
|||
func MakeMsg(senderAccount string, sender, recipient smtp.Path, has8bit, smtputf8 bool, size int64, messageID string, prefix []byte, requireTLS *bool) Msg {
|
||||
now := time.Now()
|
||||
return Msg{
|
||||
SenderAccount: mox.Conf.Static.Postmaster.Account,
|
||||
SenderAccount: senderAccount,
|
||||
SenderLocalpart: sender.Localpart,
|
||||
SenderDomain: sender.IPDomain,
|
||||
RecipientLocalpart: recipient.Localpart,
|
||||
|
|
Loading…
Reference in a new issue