[FUG-BR] exim4
mateusgra
mateusgra em bol.com.br
Quarta Abril 30 14:53:43 BRT 2008
Onde esta root em free.bsd.local tinha que ser "root em intra.net" que [e o mesmo dominio do usuario qye ira receber a menssagem ejected RCPT <usuario em intra.net>
So que ele esta usando o nome da maquina!
No debian ele usa o que esta no /etc/mailname ja criei um arquivo local-domains e coloquei dentro dele intra.net e nada.
Log de Erro:
2008-04-30 14:39:21 H=localhost (free.bsd.local) [127.0.0.1] sender verify fail for <root em free.bsd.local>: Unrouteable address
2008-04-30 14:39:21 H=localhost (free.bsd.local) [127.0.0.1] F=<root em free.bsd.local> rejected RCPT <usuario em intra.net>: Sender verify failed
2008-04-30 14:39:21 1JrGH3-0000w0-Je <= <> H=localhost (free.bsd.local) [127.0.0.1] P=esmtp S=2376 id=200804301739.m3UHdLPc003595 em free.bsd.local
2008-04-30 14:39:21 1JrGH3-0000w0-Je ** root em free.bsd.local: Unrouteable address
2008-04-30 14:39:21 1JrGH3-0000w0-Je Frozen (delivery error message)
Arquivo de configuracao do exim
primary_hostname = 127.0.0.1 : intra.net
domainlist local_domains = 127.0.0.1 : intra.net : 10.0.0.101
domainlist relay_to_domains = 10.0.0.101 : intra.net
hostlist relay_from_hosts = 127.0.0.1 : 10.0.0.0/24
acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data
# av_scanner = clamd:/tmp/clamd
# spamd_address = 127.0.0.1 783
# tls_advertise_hosts = *
# tls_certificate = /etc/ssl/exim.crt
# tls_privatekey = /etc/ssl/exim.pem
# daemon_smtp_ports = 25 : 465 : 587
# tls_on_connect_ports = 465
#qualify_domain =
# qualify_recipient =
#allow_domain_literals=
exim_user = mailnull
exim_group = mail
never_users = root
host_lookup = *
rfc1413_hosts = *
rfc1413_query_timeout = 5s
ignore_bounce_errors_after = 2d
# This option cancels (removes) frozen messages that are older than a week.
timeout_frozen_after = 7d
# split_spool_directory = true
begin acl
acl_check_rcpt:
accept hosts = :
deny message = Restricted characters in address
domains = +local_domains
local_parts = ^[.] : ^.*[@%!/|]
deny message = Restricted characters in address
domains = !+local_domains
local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
accept local_parts = postmaster
domains = +local_domains
require verify = sender
accept hosts = +relay_from_hosts
control = submission
accept authenticated = *
control = submission
require message = relay not permitted
domains = +local_domains : +relay_to_domains
require verify = recipient
accept
accept
# domain_literal:
# driver = ipliteral
# domains = ! +local_domains
# transport = remote_smtp
dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
user = mailnull
group = mail
file_transport = address_file
pipe_transport = address_pipe
userforward:
driver = redirect
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
file = $home/.forward
# allow_filter
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
condition = ${if exists{$home/.forward} {yes} {no} }
localuser:
driver = accept
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
transport = local_delivery
cannot_route_message = Unknown user
begin transports
# This transport is used for delivering messages over SMTP connections.
remote_smtp:
driver = smtp
local_delivery:
driver = appendfile
file = /var/mail/$local_part
delivery_date_add
envelope_to_add
return_path_add
group = mail
user = $local_part
mode = 0660
no_mode_fail_narrower
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
address_reply:
driver = autoreply
begin retry
begin rewrite
begin authenticators
#PLAIN:
# driver = plaintext
# server_set_id = $auth2
# server_prompts = :
# server_condition = Authentication is not yet configured
# server_advertise_condition = ${if def:tls_cipher }
#LOGIN:
# driver = plaintext
# server_set_id = $auth1
# server_prompts = <| Username: | Password:
# server_condition = Authentication is not yet configured
# server_advertise_condition = ${if def:tls_cipher }
# begin local_scan
> Estou usando o exim para redirecionar emails da maquina local para o meu servidor de mail.
>
> So que ao enviar o email o root coloca o sequinte endereço root em bsd.rede.local so que eu queria que fosse root em dom.net no debian é so criar o arquivo /etc/mailname e colocar o domonio no freeBSD ja tentei de tudo e não consequi ?
>
Mais detalhes sobre a lista de discussão freebsd