Russell Premont writes:

How do I set the maximum size allowed for an attachment? I found the
following in the esmtpd file ULIMIT=. The value specified after ULIMIT= what
size does it equal bytes, Kilobytes, or Megabytes and would that be what I
needed to set?

ULIMIT has nothing to do with the maximum size of an attachment.

Here's the description of ULIMIT, from the esmtpd configuration file:

#
#  Sets the maximum size of courieresmtpd's data segment
#

There's nothing here that refers to attachment sizes in any way.

You want to set the sizelimit configuration file, and/or override it by setting SIZELIMIT in the smtpaccess file.

See the courier(8) man page.


Attachment: pgp5jFexYFbWT.pgp
Description: PGP signature

Reply via email to