[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[postfix-jp: 3685] ヴァーチャルドメインの設定について
- Subject: [postfix-jp: 3685] ヴァーチャルドメインの設定について
- From: 出水 浩一 <demmystar@xxxxxxxxxxx>
- Date: Fri, 18 Dec 2009 13:08:38 +0900 (JST)
以下の点線の環境で、「telnet」を使用して、
メール送信のテストをしましたが、
status=bounced (unknown user: "mailtest")
というエラーが出て、うまく配送されません。
設定の間違いがありましたら、ご指摘いただけませんか?
しがないサーバ管理者
=======================================================
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 hawk.[ドメイン名] ESMTP Postfix
helo hawk.[ドメイン名]
250 hawk.[ドメイン名]
mail from: demmystar@xxxxxxxxxxx
250 2.1.0 Ok
rcpt to: mailtest@mxtest.[ドメイン名]
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: TEST
TEST
.
250 2.0.0 Ok: queued as D5C5C582007E
QUIT
221 2.0.0 Bye
Connection closed by foreign host.
=======================================================
# tail -f /var/log/smtp.log
Dec 18 13:00:28 hawk postfix/smtpd[6734]:
connect from hawk.[ドメイン名][127.0.0.1]
Dec 18 13:01:33 hawk postfix/smtpd[6734]:
D5C5C582007E: client=hawk.[ドメイン名][127.0.0.1]
Dec 18 13:01:48 hawk postfix/cleanup[6750]:
D5C5C582007E:
message-id=<20091218040133.D5C5C582007E@hawk.[
ドメイン名]>
Dec 18 13:01:48 hawk postfix/qmgr[6725]:
D5C5C582007E: from=<demmystar@xxxxxxxxxxx>, size=411,
nrcpt=1 (queue active)
Dec 18 13:01:48 hawk postfix/local[6751]:
D5C5C582007E: to=<mailtest@mxtest.[ドメイン名]>,
relay=local, delay=35, delays=35/0/0/0, dsn=5.1.1,
status=bounced (unknown user: "mailtest")
Dec 18 13:01:48 hawk postfix/cleanup[6750]:
44E705820083:
message-id=<20091218040148.44E705820083@hawk.[
ドメイン名]>
Dec 18 13:01:48 hawk postfix/qmgr[6725]:
44E705820083: from=<>, size=2261, nrcpt=1 (queue active)
Dec 18 13:01:48 hawk postfix/bounce[6752]:
D5C5C582007E: sender non-delivery notification:
44E705820083
Dec 18 13:01:48 hawk postfix/qmgr[6725]:
D5C5C582007E: removed
Dec 18 13:01:50 hawk postfix/smtpd[6734]:
disconnect from hawk.[ドメイン名][127.0.0.1]
Dec 18 13:01:50 hawk postfix/smtp[6753]:
44E705820083: to=<demmystar@xxxxxxxxxxx>,
relay=xxx.yyy.zzz.aaa[xxx.yyy.zzz.aaa]:25, delay=2.6,
delays=0/0/2.5/0.13, dsn=2.0.0, status=sent (250 ok
1261108910 qp 16035)
Dec 18 13:01:50 hawk postfix/qmgr[6725]:
44E705820083: removed
=======================================================
【OS:Cent OS 5.3 x86_64(ドメイン名は伏せてます。)】
# uname -a
Linux hawk.[ドメイン名] 2.6.18-164.6.1.el5 #1 SMP Tue Nov
3 16:12:36 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
【postfix:2.3.3(ドメイン名とIPは伏せてます。)】
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 20
forward_path = /home/virtual/dot_forward_disabled
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain,
localhost
mydomain = [ドメイン名]
myhostname = hawk.[ドメイン名]
mynetworks = 127.0.0.0/8, 192.168.xxx.0/24,
xxx.yyy.zzz.0/20
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory =
/usr/share/doc/postfix-2.3.3/README_FILES
relay_domains = $mydestination
relayhost = [xxx.yyy.zzz.aaa]
remote_header_rewrite_domain =
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_helo_name = $myhostname
syslog_facility = local6
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual_aliases
virtual_destination_concurrency_limit = 50
virtual_gid_maps = static:10001
virtual_mailbox_base = /home/virtual
virtual_mailbox_domains = mxtest.[ドメイン名], cc.[ドメ
イン名]
virtual_mailbox_limit = 0
virtual_mailbox_maps =
hash:/etc/postfix/virtual_mdir_table
virtual_minimum_uid = 500
virtual_transport = virtual
virtual_uid_maps = static:10001
【関連設定ファイル(ドメイン名とIPは伏せてます。)】
# cat /etc/postfix/transport
hawk.[ドメイン名] local:
mxtest.[ドメイン名] local:
cc.[ドメイン名] local:
mlist.[ドメイン名] smtp:[xxx.yyy.zzz.bbb]
# cat /etc/postfix/virtual_aliases
mailer-daemon@mxtest.[ドメイン名] postmaster@localhost
postmaster@mxtest.[ドメイン名] postmaster@localhost
root@mxtest.[ドメイン名] root@localhost
#
mailer-daemon@cc.[ドメイン名] postmaster@localhost
postmaster@cc.[ドメイン名] postmaster@localhost
root@cc.[ドメイン名] root@localhost
# cat /etc/postfix/virtual_mdir_table
mailtest@mxtest.[ドメイン名]
mxtest/users/mailtest/Maildir/
--------------------------------------
Get Disney character's mail address on Yahoo! Mail
http://pr.mail.yahoo.co.jp/disney/
_______________________________________________
Postfix-jp-list mailing list
Postfix-jp-list@xxxxxxxxxxxxxxxxxxxx
http://lists.sourceforge.jp/mailman/listinfo/postfix-jp-list
- Follow-Ups
-
- [postfix-jp: 3686] Re: ヴァーチャルドメインの設定について, Nakane Ryuji
[検索ページ]
[Postfix-JP ML Home]