Cygwin なんでも掲示板

一覧最新記事過去一覧 | 検索FAQアンテナHOME
(新規投稿・発言はできません)

No.2695  Cygwinでのメールサーバでコマンド「exim -bt」でローカル・リモートに送信できません
発言者: chisako
発言日: 2005 01/05 15:02
 
WAN側
|
RedHat9(192.168.5.1)─vine3.1
|
(192.168.2.1)
Win2k(Cygwin)

としています。Cygwinでメールサーバを立てたく思っています。

[Administrator@win2k]$ uname -r
1.5.12(0.116/4/2)

[Administrator@win2k]$ cat /etc/exim.conf
primary_hostname = win2k.dyndns.net
domainlist local_domains = @
domainlist relay_to_domains =
hostlist relay_from_hosts = 127.0.0.1 192.168.0.0/16
acl_smtp_rcpt = acl_check_rcpt
gecos_pattern = (.*?)(,U-|,S-|$)
gecos_name = $1
host_lookup = !127.0.0.1/8:*
rfc1413_hosts = !127.0.0.1/8:*
rfc1413_query_timeout = 30s
ignore_bounce_errors_after = 2d
timeout_frozen_after = 7d
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
$dnslist_domain\n$dnslist_text
accept domains = +local_domains
endpass
verify = recipient
accept domains = +relay_to_domains
endpass
verify = recipient
accept hosts = +relay_from_hosts
accept authenticated = *
deny message = relay not permitted
begin routers
send_to_smart_host:
driver = manualroute
route_list = !+local_domains win2k.dyndns.net
transport = remote_smtp
dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16
no_more
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
file_transport = address_file
pipe_transport = address_pipe
userforward:
driver = redirect
check_local_user
file = $home/.forward
allow_filter
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
local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
initgroups = no
mode = 0666
directory_mode = 700
mode_fail_narrower = no
check_group = no
check_owner = no
maildir_format
directory = /home/${local_part}/Maildir
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

[Administrator@win2k]$ ls -l /etc/exim.conf
-rw-r--r-- 1 Administ 26720 Jan 5 12:05 /etc/exim.conf

[Administrator@win2k]$ chown 18.544 /etc/exim.conf

[Administrator@win2k]$ ls -l /etc/exim.conf
-rw-r--r-- 1 SYSTEM root 26720 Jan 5 12:05 /etc/exim.conf

[Administrator@win2k]$ cat /etc/aliases
root: hoge@isp.co.jp
MAILER-DAEMON: root@localhost
postmaster: root@localhost

[Administrator@win2k]$ cat ~/.forward
&hoge@isp.co.jp

[Administrator@win2k]$ ls -l ~/.forward
-rw-r--r-- 1 Administ 28 Jan 5 14:53 /home/Administrator/.forward

[Administrator@win2k]$ cygrunsrv --start exim
Administrator@win2k /etc

[Administrator@win2k]$ exim -bt
> root@localhost
syntax error: domain missing or malformed
> Administrator@localhost
Administrator@localhost
router = send_to_smart_host, transport = remote_smtp
host dyndns.net [xxx.xxx.xxx.xxx]
> hoge@isp.co.jp
hoge@isp.co.jp
router = send_to_smart_host, transport = remote_smtp
host dyndns.net [xxx.xxx.xxx.xxx]
Administrator@win2k.dyndns.net
router = localuser, transport = local_delivery

としたのですがhoge@isp.co.jp宛に届きません。
一体何が原因なのでしょうか?


▼関連発言

2695:Cygwinでのメールサーバでコマンド「exim -bt」でローカル・リモー [chisako] 01/05 <

Pass 保存

早田のホームページへ
CGIROOM