Exim (exim.conf)
Configura o seu computador local para atuar como smarthost para seu provedor.
Categoria: Smtp/Pop
Software: Exim
[ Hits: 39.681 ]
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
Bluefin - A nova geração de ambientes de trabalho Linux
Como atualizar sua versão estável do Debian
Cirurgia para acelerar o openSUSE em HD externo via USB
Pós-instalação do elementary OS 8.1
Quer auto-organizar janelas (tiling) no seu Linux? Veja como no Plasma 6 e no Gnome
Copiando caminho atual do terminal direto para o clipboard do teclado
archlinux resolução abaixou após atualização (18)
Conky não mostra temperaturas da CPU no notebook (7)
Estou com um problema no meu desktop do ubuntu (2)
Não estou conseguindo fazer funcionar meu Postfix na versão 2.4 no Deb... (0)









