2

我无法使用 exim4.8 发送邮件。请找到以下日志和我的 exim 配置文件。请帮忙!尝试了所有配置更改,但无法找到解决方案。

提前致谢。

以下是 eximgrep 结果:

exigrep "xyz" /var/spool/exim/log/mainlog

2013-07-19 17:43:01 1V09YT-0006vZ-Ax <= root@192.168.4.14 U=root P=local S=419
2013-07-19 17:43:01 1V09YT-0006vZ-Ax ** yyy@yyy.yyy: Unrouteable address
2013-07-19 17:43:01 1V09YT-0006vZ-Ax Completed

下面是我的 Exim 配置文件:

primary_hostname = 192.168.4.14

domainlist local_domains = @:localhost
domainlist relay_to_domains = *
hostlist   relay_from_hosts = 127.0.0.1

acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data
rfc1413_hosts = *
rfc1413_query_timeout = 5s



ignore_bounce_errors_after = 1d

timeout_frozen_after = 7d

begin acl

  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
          control       = dkim_disable_verify


  accept  authenticated = *
          control       = submission
          control       = dkim_disable_verify

  require message = relay not permitted
          domains = +local_domains : +relay_to_domains

  require verify = recipient

$dnslist_domain\n$dnslist_text
$dnslist_domain
  accept

acl_check_data:

  accept


begin routers
smart_route:
driver=manualroute
transport=remote_smtp

route_data=bamail2.nova.local
no_more
system_aliases:
  driver = redirect
  allow_fail
  allow_defer
  data = ${lookup{$local_part}lsearch{/etc/aliases}}
# user = exim
  file_transport = address_file
  pipe_transport = address_pipe


userforward:
  driver = redirect
  check_local_user
  file = $home/.forward
  no_verify
  no_expn
  check_ancestor
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply

localuser:
  driver = accept
  check_local_user
  transport = local_delivery
  cannot_route_message = Unknown user

begin transports


remote_smtp:
  driver = smtp

  interface = 10.50.50.41

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

*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,6h

begin rewrite


begin authenticators
4

1 回答 1

0

首先,您需要检查域的 MX 记录。

挖 domain.com MX

如果这是本地 MX,则确保其在 /etc/localdomains 中列出 如果是远程 MX,则确保在 /etc/remotedomains 中列出域

您最好运行以下脚本。

/脚本/更新用户域

/scripts/mailperm

于 2013-07-23T07:21:01.680 回答