1

I am setting up yet another mailserver with postfix.

So while configuring I see these configurations in main.cf. Can someone tell me why these are in the main.cf? I mean, why would a daemon config have these settings in it? Where is it used?

   manpage_directory       = /usr/share/man
   sample_directory        = /usr/share/doc/postfix-2.3.3/samples
   readme_directory        = /usr/share/doc/postfix-2.3.3/README_FILES

I looked it up and this is in the manpage.

readme_directory (default: see "postconf -d" output) The location of Postfix README files that describe how to build, configure or operate a specific Postfix subsystem or feature.

closed as primarily opinion-based by Stephen Harris, G-Man, RalfFriedl, Jeff Schaller, Christopher Dec 4 '18 at 16:45

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Which part is this opinion based? I would like to know why this is in the Postfix config? I am not expecting when clients connected to smtp and they are doing something wrong, that the manpages will popup in the session.. – laapsaap Dec 4 '18 at 20:21
  • 1
    If I'm interpreting you correctly, you don't see a use for those parameters, and are wondering why the programmer put them there. That's tantamount to asking us to interpret their reasoning or make something up ourselves. I think your edit gets the question closer to being answerable, along the lines of "what purpose do these configuration parameters serve in the functioning of postfix?" – Jeff Schaller Dec 4 '18 at 21:05
  • Anyways you seem to understand what I am trying to ask, but somehow you are totally unhelpful. I guess this is not a place for me. Anyways I dived into the postfix src and found out why, but because I cannot answer this question except this comment. I will just say it belongs to legacy code. – laapsaap Dec 12 '18 at 22:32