d--j / srs-milter

Mail filter handling SRS address rewriting
BSD 2-Clause "Simplified" License
4 stars 1 forks source link

not familiar at all with SRS #3

Closed f1-outsourcing closed 9 months ago

f1-outsourcing commented 11 months ago

Currently I have this sort of setup. Where external email is received on a mx server that relays to local mail server for users to collect their email.

               email

                 |
                 |
                 |
                 V
          +------------+
          |     MX     |
          |            |
          |  accessmap |
          |            |
          +------+-----+
                 |
                 |
                 |
          +------+-----+
          |    LOCAL   |
          |            |
          |  virtuser  |
          |            |
          +------------+

Ideally (I guess) I would like to have the MX servers check if the email needs local delivery or forwarded, and if it is externally forwarded, it should go through the srs milter on the mx servers to the external server. Do I understand this correctly? I was thinking of putting the forward address in the virtuser table.