-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sender based transport map is ignored by alias #5848
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
You must not use aliases to deliver outside of mailcow. When you creating or editing aliases you have clearly this written in the description. You ignore this, that's why you think it's bug. You MUST create local mailbox with sieve forward rule to send emails outside of mailcow and use this local mailbox with alias. Then everything will work as should. |
Thanks @dragoangel! Your answer shown me light and I finally got email rewriting properly. Instead of trying user@domain -> other@elsewhere by alias, now I did user@domain mail account with some random password, only smtp/sieve enabled. Then sieve prefilter to redirect to other@elsewhere (example code is enough). |
You also can do: [email protected] (alias) => [email protected] (mailbox), [email protected] (mailbox), [email protected] (mailbox on mailcow), [email protected] (mailbox on mailcow with sieve fwd to [email protected]), So it will be very clear, main rule: alias can include another alias or local mailbox, and NOT external one, external delivery MUST be done with sieve forwarding via local mailbox. |
Contribution guidelines
I've found a bug and checked that ...
Description
Logs:
Steps to reproduce:
Which branch are you using?
master
Which architecture are you using?
x86
Operating System:
Ubuntu 22.04 LTS
Server/VM specifications:
8 CPU, 32GB, 240 GB SSD
Is Apparmor, SELinux or similar active?
no
Virtualization technology:
Docker version:
26.0.1
docker-compose version or docker compose version:
v2.26.1
mailcow version:
2024-04
Reverse proxy:
nginx
Logs of git diff:
Logs of iptables -L -vn:
Logs of ip6tables -L -vn:
Logs of iptables -L -vn -t nat:
Logs of ip6tables -L -vn -t nat:
DNS check:
The text was updated successfully, but these errors were encountered: