On Tue, 17 Apr 2001, Paulino Kenji Sato wrote:

>  se possivel, como se faz para limitar no sendmail o numero e
> endereços que podem ser colocados nos campos to, cc e bcc?


confMAX_RCPTS_PER_MESSAGE MaxRecipientsPerMessage [infinite] If allow
                          no more than the specified number of
                          recipients in an SMTP envelope.  Further
                          recipients receive a 452 error code (i.e.,
                          they are deferred for the next delivery
                          attempt).

Use no arquivo .mc na forma:

    define(`confMAX_RCPTS_PER_MESSAGE',`30')


Ou no sendmail.cf:

      # maximum number of recipients per SMTP envelope
      #O MaxRecipientsPerMessage=100


Ou na linha de comando:

      sendmail -bd -q15m -OMaxRecipientsPerMessage=30


--- Wagner                      [EMAIL PROTECTED]


Assinantes em 19/04/2001: 2233
Mensagens recebidas desde 07/01/1999: 109808
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista: 
            mailto:[EMAIL PROTECTED]

Responder a