Bernd Ernesti | 8 Jul 2012 21:40
Picon

Missing postfix file main.cf.default

Hi,

I just lost a few mails because the main.cf, which is shipped
with NetBSD, contains only a very limited set of configuration
examples.

It looks like there is normally a main.cf.default installed but
we do not have it.

Bernd

Greg Troxel | 8 Jul 2012 22:06
Picon

Re: Missing postfix file main.cf.default


Bernd Ernesti <netbsd <at> lists.veego.de> 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?

> 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
Bernd Ernesti | 8 Jul 2012 23:22
Picon

Re: Missing postfix file main.cf.default

On Sun, Jul 08, 2012 at 04:06:41PM -0400, Greg Troxel wrote:
> 
> Bernd Ernesti <netbsd <at> lists.veego.de> 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.

> > 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.

Bernd

Greg Troxel | 9 Jul 2012 01:02
Picon

Re: Missing postfix file main.cf.default


Bernd Ernesti <netbsd <at> lists.veego.de> writes:

> On Sun, Jul 08, 2012 at 04:06:41PM -0400, Greg Troxel wrote:
>> 
>> Bernd Ernesti <netbsd <at> lists.veego.de> 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?

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

>> > It looks like there is normally a main.cf.default installed but
>> > we do not have it.
>> 
(Continue reading)

Bernd Ernesti | 10 Jul 2012 07:06
Picon

Re: Missing postfix file main.cf.default

On Sun, Jul 08, 2012 at 07:02:51PM -0400, Greg Troxel wrote:
> 
> Bernd Ernesti <netbsd <at> lists.veego.de> writes:
> 
> > On Sun, Jul 08, 2012 at 04:06:41PM -0400, Greg Troxel wrote:
> >> 
> >> Bernd Ernesti <netbsd <at> lists.veego.de> 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.

(Continue reading)

Tom Spindler | 9 Jul 2012 01:57
Favicon

Re: Missing postfix file main.cf.default

> > Did you look at:
> > /usr/share/examples/postfix/main.cf
> 
> Sure but it only contains a fraction of all options.

There's always `postconf -v`. 


Gmane