postfixの設定で
管理から「メール転送エージェント切り替え」
postfixを選択してok
gedit /etc/postfix/main.cf
#myhostname = virtual.domain.tld
を
myhostname = ****.com
に修正
#mydomain = domain.tld
を
mydomain = ****.com
に修正
#myorigin = $myhostname
を
myorigin = $myhostname
#inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
inet_interfaces = localhost
を
inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
#inet_interfaces = localhost
mydestination = $myhostname, localhost.$mydomain, localhost
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
を
#mydestination = $myhostname, localhost.$mydomain, localhost
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
に修正
#local_recipient_maps = unix:passwd.byname $alias_maps
を
local_recipient_maps = unix:passwd.byname $alias_maps
に修正
最後に
#Enable SMTP Auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_auth_destination,permit_sasl_authenticated, reject
message_size_limit=1000000
mailbox_size_limit=10000000
disable_vrfy_command=yes
virtual_alias_maps = hash:/etc/postfix/virtual
を追加
gedit /etc/postfix/virtual
例
first.com anything
red@first.com red
second.com anything
webmaster@second.com red
blue@second.com blue
third.com anything
white@third.com white
みたいに記述する
次に
postmap /etc/postfix/virtual
でdbを作成
トラックバック
このエントリーのトラックバックURL:
http://jp-kaigo.com/cgi/mt-tb.cgi/3
コメント
自分でコメントします。sendmailからみるとpostfixは高機能??バーチャルなドメインでのメールも使えます。
投稿者 わたしです : 2007年02月09日 07:21
自分でコメコメ(笑い)この内容はfedora core 悪戦苦闘
さんを参考にかきました。
投稿者 わたし : 2007年02月09日 07:23