[Nix-dev] NixOS Postfix service module config: why emptylocal_recipient_maps value?

aldiyen aldiyen at gmail.com
Thu Jan 1 20:28:09 CET 2015


Ah, fair enough then. I'd be happy to make it configurable, and perhaps
make it so that the default behavior is not to override Postfix's default
value if no value is set in the NixOS configuration. I've already forked
the repo and made appropriate changes locally in order to work around the
issue

What's the policy on changing modules created by other people? I didn't see
any information on it in any of the stuff on the web site. I know I'll have
to submit a pull request and all, but are there any conventions on what
sorts of changes are / aren't accepted?


On Thu, Jan 1, 2015 at 8:46 AM, Michael Raskin <7c6f434c at mail.ru> wrote:

> >On 31 December 2014 at 14:11, aldiyen <aldiyen at gmail.com> wrote:
> >> Hello,
> >>
> >> I just started trying to use NixOS a little under a week ago, and after
> >> installing the Postfix service I found that I was having trouble
> preventing
> >> my server from sending backscatter. After some searches, I found that
> when
> >> the local_recipient_maps setting is empty (which it always is with the
> >> config that is created), Postfix will accept email for unknown local
> >> recipients and then send a delayed bounce notification. (See
> >> http://www.postfix.org/LOCAL_RECIPIENT_README.html)
> >>
> >> What is the reasoning behind the decision to set it up this way,
> without the
> >> option to override it? Is there some expected configuration or use case
> that
> >> I'm missing here?
> >>
> >> Thanks! Hopefully I'm following proper etiquette here -- I just joined
> the
> >> mailing list today
> >>
> >> -aldiyen
> >
> >(+Michael Raskin, who git blames for that line of postfix.nix)
>
> I am not completely sure.
>
> It may be that at the time when I wrote postfix service definition, it
> was simpler to make +-addresses work that way.
>
> >I don't use postfix, but if that's not configurable, it's probably
> >just because nobody bothered to add a configuration variable.  It
> >should be easy to add it (nixos/modules/services/mail/postfix.nix).
>
> Yes, lack of option was just because I was adding a ton of options and
> missed a few. This part defeinitely had no deliberate choice behind it.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150101/69471a02/attachment.html 


More information about the nix-dev mailing list