Servidores de Email - Instalação

1,878 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,878
On SlideShare
0
From Embeds
0
Number of Embeds
27
Actions
Shares
0
Downloads
53
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Servidores de Email - Instalação

  1. 1. ¸˜ Servicos de Email - Instalacao ¸ Felipe Natale Munhoz ´ SENAC TI - Redes de Computadores - Florianopolis/SC 1 / 11
  2. 2. ¸˜ Instalacao do MTA Postfix em distros Debian-based apt-get install postfix 2 / 11
  3. 3. Enviado email via Telnet HELO server.loc MAIL From: remetente@dominio.com RCPT to: destinatario@outrodominio.com DATA ( termina a mensagem com o caracter ’.’ ) QUIT 3 / 11
  4. 4. ¸˜ Instalacao do leitor de emails mutt apt-get install mutt 4 / 11
  5. 5. ¸˜ Instalacao do servidor POP3 Courier apt-get install courier-pop apt-get install courier-pop-ssl 5 / 11
  6. 6. ¸˜ Instalacao do servidor IMAP Courier apt-get install courier-imap apt-get install courier-imap-ssl 6 / 11
  7. 7. ¸˜ Configuracao do servidor POP3 Courier cd /etc/courier mv imapd.pem imapd.pem.old ¸˜ Edite o arquivo imapd.cnf e preencha as informacoes sobre pa´s, cidade, etc. ı Gere novamente o arquivo do certificado com o comando mkimapdcert 7 / 11
  8. 8. ¸˜ Configuracao do servidor IMAP Courier cd /etc/courier mv pop3d.pem pop3d.pem.old ¸˜ Edite o arquivo pop3d.cnf e preencha as informacoes sobre pa´s, cidade, etc. ı Gere novamente o arquivo do certificado com o comando mkpop3dcert 8 / 11
  9. 9. ¸˜ Arquivo de configuracao do Postfix /etc/postfix/main.cf myhostname = server alias maps = hash:/etc/aliases alias database = hash:/etc/aliases myorigin = /etc/mailname mydestination = server.loc, server, localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8 home mailbox = Maildir/ mailbox command = mailbox size limit = 0 message size limit = 20000000 recipient delimiter = + inet interfaces = all inet protocols = all 9 / 11
  10. 10. Instalando o webmail SquirrelMail apt-get install squirrelmail Configure o apache para que o squirrelmail fique dispon´vel ı no endereco http://localhost/webmail ¸ Alias /webmail ”/usr/share/squirrelmail” DirectoryIndex index.php ´ ¸˜ Execute o utilitario de configuracao squirrelmail (squirrelmail-configure) 10 / 11
  11. 11. Exerc´cio ı Encontrar um plugin para o squirrelmail e configurar. 11 / 11

×