Visualizzazione dei risultati da 1 a 5 su 5
  1. #1
    Utente di HTML.it
    Registrato dal
    Feb 2001
    Messaggi
    87

    Client/Server di posta e timer

    Bonsoir!

    Non sapevo dove postarlo... quindi passibile di migrazione.

    Quando ci si collega con un client ad un server SMTP o POP chi gestisce i timer per la disconnessione dopo un certo tempo, client o server? Per logica mi verrebbe da pensare che sia il server ma, ad esempio, Outlook permette di impostare il timeout dando l'impressione che sia il client a gestire la cosa.
    E poi... il timer č valido solo per le sessioni POP o anche SMTP?
    Ciao ciao!
    vlr

  2. #2
    Dalla RFC1725 (POP)

    A POP3 server MAY have an inactivity autologout timer. Such a timer MUST be of at least 10 minutes' duration. The receipt of any command from the client during that interval should suffice to reset the autologout timer. When the timer expires, the session does NOT enter the UPDATE state--the server should close the TCP connection without removing any messages or sending any response to the client.
    Per l'SMTP non saprei, dai magari un'occhiata alle RFC relative, 821 e 1869.

    ciao
    ksh
    PyGTK GUI programming
    un impegno concreto: eliminare la k dalle tastiere italiane

  3. #3
    Utente di HTML.it L'avatar di MMarzia
    Registrato dal
    Mar 2001
    Messaggi
    1,781
    proviamo su 'adsl, flat & connettivitā'
    io sono festosamente cicciottello :: e. cartman

    t'amo senza sapere come, nč quando nč da dove,
    t'amo direttamente senza problemi nč orgoglio:
    cosė ti amo perchč non so amare altrimenti

  4. #4
    Utente di HTML.it
    Registrato dal
    Feb 2001
    Messaggi
    87
    Originariamente inviato da KornShell
    Dalla RFC1725 (POP)



    Per l'SMTP non saprei, dai magari un'occhiata alle RFC relative, 821 e 1869.

    ciao
    ksh
    L'821 e il 1869 resi obsoleti dal 2821 che dice:
    • 4.5.3.2 Timeouts

      An SMTP client MUST provide a timeout mechanism. It MUST use per-
      command timeouts rather than somehow trying to time the entire mail
      transaction. Timeouts SHOULD be easily reconfigurable, preferably
      without recompiling the SMTP code. To implement this, a timer is set

      for each SMTP command and for each buffer of the data transfer. The
      latter means that the overall timeout is inherently proportional to
      the size of the message.

      Based on extensive experience with busy mail-relay hosts, the minimum
      per-command timeout values SHOULD be as follows:

      Initial 220 Message: 5 minutes
      An SMTP client process needs to distinguish between a failed TCP
      connection and a delay in receiving the initial 220 greeting
      message. Many SMTP servers accept a TCP connection but delay
      delivery of the 220 message until their system load permits more
      mail to be processed.

      MAIL Command: 5 minutes

      RCPT Command: 5 minutes
      A longer timeout is required if processing of mailing lists and
      aliases is not deferred until after the message was accepted.

      DATA Initiation: 2 minutes
      This is while awaiting the "354 Start Input" reply to a DATA
      command.

      Data Block: 3 minutes
      This is while awaiting the completion of each TCP SEND call
      transmitting a chunk of data.

      DATA Termination: 10 minutes.
      This is while awaiting the "250 OK" reply. When the receiver gets
      the final period terminating the message data, it typically
      performs processing to deliver the message to a user mailbox. A
      spurious timeout at this point would be very wasteful and would
      typically result in delivery of multiple copies of the message,
      since it has been successfully sent and the server has accepted
      responsibility for delivery. See section 6.1 for additional
      discussion.

      An SMTP server SHOULD have a timeout of at least 5 minutes while it
      is awaiting the next command from the sender.

    Se non ho capito male č in particolare il client che gestisce i timeout, il server disconnette soltanto se deve aspettare troppo tra un comando e l'altro. Tirando le somme, se volessi spedire 5 terabyte di posta chi me lo impedirebbe? Chissā perché c'č tanto spam...
    Ciao ciao!
    vlr

  5. #5
    Utente di HTML.it
    Registrato dal
    Feb 2001
    Messaggi
    87
    Originariamente inviato da MMarzia
    proviamo su 'adsl, flat & connettivitā'
    Vorresti dire che la prossima reply potremmo leggerla in altro luogo?
    Ciao ciao!
    vlr

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.