Exim (exim.conf)
Configura o seu computador local para atuar como smarthost para seu provedor.
Categoria: Smtp/Pop
Software: Exim
[ Hits: 39.255 ]
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
Como gerar qualquer emoji ou símbolo unicode a partir do seu teclado
Instalar e Configurar o Slackware Linux em 2025
Como configurar os repositórios do apt no Debian 12 em 2025
Passkeys: A Evolução da Autenticação Digital
Instalação de distro Linux em computadores, netbooks, etc, em rede com o Clonezilla
Muitas dificuldades ao instalar distro Linux em Notebook Sony Vaio PCG-6131L (VPCEA24FM)
Slackpkg+ (Slackpkg Plus) está de volta!
Como dividir duas janelas igualmente e lado-a-lado na sua tela
Configurando o Conky para iniciar corretamente no sistema
3 configurações básicas que podem melhorar muito a sua edição pelo editor nano
Minha rede tem um espaço invisível que não dá pra digitar o nome da re... (1)
Pedagogia no brasil não passa de alfabetização por m4sturbação mental ... (2)
compilação samba 4.22 rock linux 9.5 (3)
Erro de segmentação «Segmentation fault (core dumped)» ao retornar obj... (7)