When I ([email protected]) try to send an email using my alias address ([email protected]), i get:
<[email protected]>: Sender address rejected: not owned by user [email protected]
What I have in postfix-regexp.cf:
/.*@jkozlovsky.cz/ [email protected]
Context
I cannot respond to people writing me while using the same address they wrote to. So it may seem like somebody else is responding.
Expected Behavior
I can send email as any user defined by the regex. It's also stated in the documentation of SPOOF_PROTECTION.
# Configures the handling of creating mails with forged sender addresses.
#
# empty => (not recommended, but default for backwards compatability reasons)
# Mail address spoofing allowed. Any logged in user may create email messages with a forged sender address.
# See also https://en.wikipedia.org/wiki/Email_spoofing
# 1 => (recommended) Mail spoofing denied. Each user may only send with his own or his alias addresses.
# Addresses with extension delimiters(http://www.postfix.org/postconf.5.html#recipient_delimiter) are not able to send messages.
SPOOF_PROTECTION=1
Actual Behavior
See upper description.
Possible Fix
I don't know.
Steps to Reproduce
- Create similar regex alias.
- Reload server
- Send an email as someone matching the alias while having
SPOOF_PROTECTION=1
Your Environment
- Mailserver version used:
tvial/docker-mailserver:stable
- Docker version used:
Docker version 19.03.8, build afacb8b7f0
- Environment settings relevant to the config:
see upper description
- Any relevant stack traces ("Full trace" preferred):
none
When I (
[email protected]) try to send an email using my alias address ([email protected]), i get:What I have in
postfix-regexp.cf:Context
I cannot respond to people writing me while using the same address they wrote to. So it may seem like somebody else is responding.
Expected Behavior
I can send email as any user defined by the regex. It's also stated in the documentation of
SPOOF_PROTECTION.Actual Behavior
See upper description.
Possible Fix
I don't know.
Steps to Reproduce
SPOOF_PROTECTION=1Your Environment
tvial/docker-mailserver:stableDocker version 19.03.8, build afacb8b7f0see upper descriptionnone