On Mon, Dec 06, 2021 at 03:18:11PM -0500, Herndon Elliott wrote:

> I am just getting started with trying to install postifx and get it running
> on a single Ubuntu 18.04 server.  The documentation talks at length about
> changes to be made in "/etc/postfix/main.cf" file, but there is no such
> file in my install.  I have a main.cf.proto, but no main.cf  The only
> mention I can find the documentation of these files is " multi-instance
> template files "
> 
> So am I supposed to rename (or better yet, copy) main.cf.proto as main.cf
> before making the changes to it??
> 
> The installation instructions certainly could be a bit more explicit about
> this for a beginner....

The lack of a main.cf file is a choice made by the O/S distribution.
When installing the package, you must have opted for "no configuration",
rather than a specific configuration (local only, inbound server, ...).

The upstream "make install", when building Postfix from source does
create a main.cf file.

So your issue is with Ubuntu/Debian, not Postfix.

That said, yes, create a "main.cf" file that meets your needs.  You can
start with an empty file, or a copy of "main.cf.proto".

Personally, I always start with empty files, but I'm already quite
familiar with the options I want to set, and prefer to avoid the clutter
of all the comments, that for me obscure the big picture.  For you the
comment blocks for each of the common settings may be more helpful.

-- 
    Viktor.

Reply via email to