Exim (exim.conf)
Configura o seu computador local para atuar como smarthost para seu provedor.
Categoria: Smtp/Pop
Software: Exim
[ Hits: 39.052 ]
Por: Fábio Berbert de Paula
Este arquivo configura o Exim, que é um servidor SMTP (como o sendmail,
qmail, etc) para redirecionar todas as mensagens enviadas pelo seu
programa de e-mail (mutt, kmail, etc) diretamente para o servidor de
e-mail do seu provedor.
Isso é uma mão-na-roda, pois dessa forma
você não precisa se preocupar em configurar os programas de e-mail
de seus usuários para utilizar o SMTP remoto fulano.de.tal. Configura-se
isto somente num único lugar.
O pulo-do-gato está na sessão ROUTERS do arquivo, onde define-se
o smarthost como sendo a máquina trex.ism.com.br, que é
o servidor de e-mail do meu provedor.
############################################## # MAIN CONFIGURATION SETTINGS # ############################################## # dominio do meu provedor qualify_domain = ism.com.br # dominio que o exim irá tratar como local local_domains = localhost # somente os IPs separados por : podem fazer relay host_accept_relay = 127.0.0.1 end ############################################ # TRANSPORTS CONFIGURATION ############################################ # ORDER DOES NOT MATTER # Only one appropriate transport is called for each delivery. ############################################ local_delivery: driver = appendfile group = mail mode = 0660 mode_fail_narrower = false envelope_to_add = true return_path_add = true file = /var/spool/mail/${local_part} address_pipe: driver = pipe path = /usr/bin:/bin:/usr/local/bin return_output address_file: driver = appendfile envelope_to_add = true return_path_add = true address_directory: driver = appendfile no_from_hack prefix = "" suffix = "" # maildir_format address_reply: driver = autoreply procmail_pipe: driver = pipe command = "/usr/bin/procmail" return_path_add delivery_date_add envelope_to_add suffix = "" remote_smtp: driver = smtp # authenticate_hosts = smarthost.isp.com # To use SMTP AUTH when sending to a particular host, such as your ISP's # smarthost, uncomment and edit the above line, and also the example # client-side authenticators at the bottom of the file end ########################################## # DIRECTORS CONFIGURATION # Specifies how local addresses are handled ########################################## # ORDER DOES MATTER # A local address is passed to each in turn until it is accepted. ########################################## real_local: prefix = real- driver = localuser transport = local_delivery system_aliases: driver = aliasfile file_transport = address_file pipe_transport = address_pipe file = /etc/aliases search_type = lsearch # user = list # Uncomment the above line if you are running smartlist userforward: driver = forwardfile file_transport = address_file pipe_transport = address_pipe reply_transport = address_reply no_verify check_ancestor check_local_user file = .forward modemask = 002 filter # This director runs procmail for users who have a .procmailrc file procmail: driver = localuser transport = procmail_pipe require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail no_verify # This director matches local user mailboxes. localuser: driver = localuser transport = local_delivery end ######################################### # ROUTERS CONFIGURATION # Specifies how remote addresses are handled ######################################### # ORDER DOES MATTER # A remote address is passed to each in turn until it is accepted. ######################################### # Send all mail to a smarthost smarthost: driver = domainlist transport = remote_smtp route_list = "* trex.ism.com.br bydns_a" end ###################################### # RETRY CONFIGURATION ###################################### # Domain Error Retries # ------ ----- ------- * * F,2h,15m; G,16h,2h,1.5; F,4d,8h end ####################################### # REWRITE CONFIGURATION ####################################### # There are no rewriting specifications in this default configuration file. end ####################################### # AUTHENTICATION CONFIGURATION ####################################### # These examples below are the equivalent for client side authentication. # They assume that you only use client side authentication to connect to # one host (such as a smarthost at your ISP), or else use the same user # name and password everywhere # plain: # driver = plaintext # public_name = PLAIN # client_send = "^username^password" # # login: # driver = plaintext # public_name = LOGIN # client_send = ": username : password" # # cram_md5: # driver = cram_md5 # public_name = CRAM-MD5 # client_name = username # client_secret = password # End of Exim configuration file
Compartilhando a tela do Computador no Celular via Deskreen
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
Como renomear arquivos de letras maiúsculas para minúsculas
Imprimindo no formato livreto no Linux
Vim - incrementando números em substituição
Efeito "livro" em arquivos PDF
Como resolver o erro no CUPS: Unable to get list of printer drivers
Não to conseguindo resolver este problemas ao instalar o playonelinux (1)
Excluir banco de dados no xampp (1)
[Python] Automação de scan de vulnerabilidades
[Python] Script para analise de superficie de ataque
[Shell Script] Novo script para redimensionar, rotacionar, converter e espelhar arquivos de imagem
[Shell Script] Iniciador de DOOM (DSDA-DOOM, Doom Retro ou Woof!)
[Shell Script] Script para adicionar bordas às imagens de uma pasta