-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I wasn't aware that most e-mail servers either deliver mail locally or forward mail remotely (and PostSRSd was built with the second type in mind) but not both. However, I have a mail server that either sends from local, delivers to local, or forwards from remote to remote (a fairly regular setup to accompany a web server I believe). Only when forwarding it should be using SRS rewriting.
- To avoid rewriting when sending from local, we can use the solution in SRS_INCLUDE_DOMAINS - Only specific domains make use of SRS #42 (comment) which is quite elegant (or use SRS_EXCLUDE_DOMAINS)
- To avoid rewriting when delivering to local, we can use the solution in Only rewrite sender when forwarding and dynamically exclude local domains #76, but is not very elegant (for one, this starts a new smtpd service, and second, I can't use a UNIX socket for this somehow, in order to restrict access)
How can I use the milter setup to make this work?
Metadata
Metadata
Assignees
Labels
No labels