Skip to content

Commit

Permalink
set correct local account when adding a message to the queue
Browse files Browse the repository at this point in the history
all dsns were going to the postmaster account...
  • Loading branch information
mjl- committed Feb 20, 2024
1 parent cb50977 commit dc83ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queue/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dc83ad1

Please sign in to comment.