Omezeni poctu adresatu v jedne zprave - sendmail

Lubos Kaspar lk na cnb.cz
Pátek Duben 11 16:29:30 CEST 2003


> Date: Thu, 10 Apr 2003 13:41:20 +0200
> From: Michal Dobes <dobes na tesnet.cz>
> To: sendmail na linux.cz
> Subject: Re: Omezeni poctu adresatu v jedne zprave - sendmail
> 
> Petr Barta wrote:
> > Preji prijemne odpoledne,
> > 	mam maly dotaz - je mozne nejakym zpusobem natvrdo omezit pocet
> > prijemcu zpravy, kterou sendmail dostane ke zpracovani? (V postfixu je na
> > to parametr smtp_destination_recipient_limit, v sendmailu jsem na zadny
> > takovy neprisel.) Pomuze i nakopnuti na spravny odkaz... :-)
> 
> KOP: confMAX_RCPTS_PER_MESSAGE :-)

V sendmail.cf je to "O MaxRecipientsPerMessage".

V RFC 2821 se k tomu v kap. "4.5.3.1 Size limits and minimums" pise:

recipients buffer
      The minimum total number of recipients that must be buffered is
      100 recipients.  Rejection of messages (for excessive recipients)
      with fewer than 100 RCPT commands is a violation of this
      specification.  The general principle that relaying SMTP servers
      MUST NOT, and delivery SMTP servers SHOULD NOT, perform validation
      tests on message headers suggests that rejecting a message based
      on the total number of recipients shown in header fields is to be
      discouraged.  A server which imposes a limit on the number of
      recipients MUST behave in an orderly fashion,  such as to reject
      additional addresses over its limit rather than silently
      discarding addresses previously accepted.  A client that needs to
      deliver a message containing over 100 RCPT commands SHOULD be
      prepared to transmit in 100-recipient "chunks" if the server
      declines to accept more than 100 recipients in a single message.
--
Lubos Kaspar


Další informace o konferenci Sendmail