Exim (exim.conf)
Configura o seu computador local para atuar como smarthost para seu provedor.
Categoria: Smtp/Pop
Software: Exim
[ Hits: 38.996 ]
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
Atenção a quem posta conteúdo de dicas, scripts e tal (6)
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
O mínimo que você precisa saber sobre o terminal (parte 2)
O mínimo que você precisa saber sobre o terminal (parte 1)
Como iniciar uma máquina virtual do VirtualBox automaticamente no boot do LUbuntu 18 LTS
Mudar o gerenciador de login (GDM para SDDM e vice-versa) - parte 2
Como deixar as abas do Firefox mais fininhas
Mudar o gerenciador de login (GDM para SDDM)
"Tentando" fazer com que programas rodem no Wayland e no X11
Erro ao iniciar Ubuntu 24.04.1 LTS - Management Owner Key - MoK (5)
Notebook samsung 550xda não reconhece mais SSD (7)
Erro Problema com instalação de Endian Firewall em novo computador. pl... (1)
Google Chrome não para de escrever no disco (13)
Notebook instalado com Linux Debian de fábrica dando problema (6)