Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Missing postfix file main.cf.default



On Sun, Jul 08, 2012 at 07:02:51PM -0400, Greg Troxel wrote:
> 
> Bernd Ernesti <netbsd%lists.veego.de@localhost> writes:
> 
> > On Sun, Jul 08, 2012 at 04:06:41PM -0400, Greg Troxel wrote:
> >> 
> >> Bernd Ernesti <netbsd%lists.veego.de@localhost> writes:
> >> 
> >> > I just lost a few mails because the main.cf, which is shipped
> >> > with NetBSD, contains only a very limited set of configuration
> >> > examples.
> >> 
> >> I don't follow.  Can you be more specific?
> >
> > The size limits are not listed so a mail will bounce if the spool file
> > gets too big, which was not an issue with sendmail.
> >
> > I checked the example main.cf before and there was nothing mentioned
> > about the limits so I assumed that there are sane and would have been
> > more cautious if I knew the actual limits.
> 
> So you mean
> 
>   you didn't change the size limits explicitly, and were surprised that
>   your MTA rejected messages that were over 10 MB?

Of course not. It was the mailbox size limit (mailbox_size_limit) which
doesn't account the free disk space size and so stops accepting mails
if that file is around 50MB big.

> (I am finding your descriptions to be hard to understand precisely.)

See above. Maybe to call it a spool file didn't match the directory name ...

> >> > It looks like there is normally a main.cf.default installed but
> >> > we do not have it.
> >> 
> >> Did you look at:
> >> /usr/share/examples/postfix/main.cf
> >
> > Sure but it only contains a fraction of all options.
> 
> Perhaps you can propose a diff; perhaps main.cf.default belongs in
> /usr/share/examples/postfix/.  It seems like a documentation file, not a
> file that is actually read.

Adding that to /usr/share/examples/postfix would be enough but I have
no idea right now how this could be generated.

Bernd



Home | Main Index | Thread Index | Old Index