Subject: Post to $list$@$domain$ denied: $subject$
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="=_$random0$$random1$_="
Content-Transfer-Encoding: 8bit

--=_$random0$$random1$_=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

%text prologue%

%wrap%The message from <$posteraddr$> with subject "$subject$" was unable to
be delivered to the list
%ifreason maxmailsize%
  because it exceeded the maximum allowed message size of $maxmailsize$
  bytes.
%endif%
%ifreason tocc%
  because the list address was not found in either the To: or CC: header.
%endif%
%ifreason access%
  because of an access rule set up by the list administrator.
%endif%
%ifreason expired%
  because too much time passed without any moderator releasing it.
%endif%
%ifreason reject%
  because a moderator rejected it.
%endif%
%ifreason subonlypost%
  because you are not a list subscriber.

  %ifncontrol closedlist%%ifncontrol closedlistsub%
    %^%%text subrelease%
  %endif%%endif%

  %ifcontrol closedlist closedlistsub%
    %^%%wrap%If you wish to become a subscriber, you will need to contact a
    list administrator. You can email <$list+$owner@$domain$> to contact the
    list owner.
  %endif%

  %^%%wrap%If you believe you are a subscriber, you are probably subscribed
  with a different email address. To find out which address you are
  subscribed with, refer to the message welcoming you to the list, or look
  at the envelope "Return-Path" header of a message you receive from the
  list.
%endif%
%ifreason modonlypost%
  because you are not a list moderator.
%endif%

%ifreason maxmailsize%
  %^%(The beginning of the denied message is below.)
%else%
  %^%(The denied message is below.)
%endif%

--=_$random0$$random1$_=
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit
Content-Disposition: inline; filename="message.eml"

%ifreason maxmailsize%
  %^%%originalmail 300%
%else%
  %^%%originalmail%
%endif%
--=_$random0$$random1$_=--
