<commit_before>Testando conexão de POP/SMTP

Telnet
  telnet <host> <port>
  # telnet pop3.domain.com 110
  # telnet smtp.domain.com 587

Netcat
  nc <host> <port>
  # nc pop3.domain.com 110
  # nc smtp.domain.com 587


POP commands:
  USER uid           Log in as "uid"
  PASS password      Substitue "password" for your actual password
  STAT               List number of messages, total mailbox size
  LIST               List messages and sizes
  RETR n             Show message n
  DELE n             Mark message n for deletion
  RSET               Undo any changes
  QUIT               Logout (expunges messages if no RSET)
  TOP msg n          Show first n lines of message number msg


IMAP commands:
	LOGIN [username] [password]
	LIST [flags] [folder separator] [search term]
	STATUS [mailbox] [flags]
	SELECT [mailbox]
	FETCH [first]:[last] flags
	FETCH [mail number] body[header]
	FETCH [mail number] body[text]
	LOGOUT
Para funcionar corretamente deve inserir uma `flag` identificando
o comando inserido, assim podem ser inseridos diversos comandos
ao servidor e identificar a resposta pela `flag` que precede a 
resposta

SMTP commands:<commit_msg>A: Teste de filtro de SPAM. A: Link para tutorial de como conectar/enviar emails pelo shell.<commit_after>Testando conexão de POP/SMTP

Telnet
  telnet <host> <port>
  # telnet pop3.domain.com 110
  # telnet smtp.domain.com 587

Netcat
  nc <host> <port>
  # nc pop3.domain.com 110
  # nc smtp.domain.com 587


POP commands:
  USER uid           Log in as "uid"
  PASS password      Substitue "password" for your actual password
  STAT               List number of messages, total mailbox size
  LIST               List messages and sizes
  RETR n             Show message n
  DELE n             Mark message n for deletion
  RSET               Undo any changes
  QUIT               Logout (expunges messages if no RSET)
  TOP msg n          Show first n lines of message number msg


IMAP commands:
	LOGIN [username] [password]
	LIST [flags] [folder separator] [search term]
	STATUS [mailbox] [flags]
	SELECT [mailbox]
	FETCH [first]:[last] flags
	FETCH [mail number] body[header]
	FETCH [mail number] body[text]
	LOGOUT
Para funcionar corretamente deve inserir uma `flag` identificando
o comando inserido, assim podem ser inseridos diversos comandos
ao servidor e identificar a resposta pela `flag` que precede a 
resposta


SMTP commands:



Como testar se o filtro de SPAM está *ligado*: 
https://en.wikipedia.org/wiki/GTUBE

Um artigo exemplificando como utiliar a linha de comando para acessar/enviar emails:
https://mediatemple.net/community/products/dv/204404584/sending-or-viewing-emails-using-telnet

{'fraction_non_alphanumeric': 0.06252339947585174, 'fraction_numerical': 0.013852489704230626, 'mean_word_length': 2.9007299270072995, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7195390', 'n_tokens_mistral': 923, 'n_tokens_neox': 841, 'n_words': 329}