mirror of
https://github.com/decke/smtprelay.git
synced 2026-04-25 04:45:52 +03:00
[GH-ISSUE #147] Remotes Auth Account Replace My From Account #36
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/smtprelay#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nonbutAworker on GitHub (Jan 25, 2024).
Original GitHub issue: https://github.com/decke/smtprelay/issues/147
Hi, thank for you repo !
If I send email From
A@test.comToB@test.com, but I configureC@test.comas auth account insmtprelay.inifile like this:Then I login in
B@test.comaccount and find out the sender isC@test.cominstead of REAL senderA@test.comas expectedHow Can I fix this as expected, any help would be appreciated !
@decke commented on GitHub (Jan 25, 2024):
This is expected behavior and what most mail services do. If you look at the headers of the email you will see that the mail was send from A@test.com but since you authenticated with C@test.com GMail automatically rewrites the mail headers accordingly. It is the price we have to pay for fighting spam.
@nonbutAworker commented on GitHub (Jan 25, 2024):
Thanks very much !
what you mean is who changed the
from addressis GMail instead of this repo? which means If I found another smtp server as my next deliver that didn't change thefrom address, I can get what I want?@decke commented on GitHub (Jan 25, 2024):
I do not use GMail myself anymore so I cannot easily test it but I used it in the past and the behavior was easy to understand when looking at the full mail headers.
Google SMTP servers preserve some headers so you will still see A@test.com somewhere but it also rewrites some parts of it to match with the email address you use for authentication.
If you can post a full mail including headers that would help a lot to explain it.