Skip to content

Loosen type-check restrictions for forwarding addresses

maralorn requested to merge maralorn/nixos-mailserver:master into master

I now this PR is probably controversial. So I am open for better suggestions.

Fact is this. I use my mailserver in a way, where I have aliases that forward to third party mailservers. That has been working fine for years. postfix supports it. And I configure it by adding the forward to the extraVirtualAliases option.

The catch is that extraVirtualAliases assumes that you only forward to local accounts. That might be a reasonable precaution, but it is not a technical necessity as witnessed by my practice.

So I suggest loosening the type restriction (as I already use it for a year now).

Alternative ideas would be some extra option for my usecase or even an opt-out option for the check I am disabling here.

But I would really like to have some solution upstream, so that I don‘t have to mantain my own for of nixos-mailserver anymore.

Merge request reports