2011.07.21 Thursday
この広告は60日以上更新がないブログに表示されております。
新しい記事を書くことで広告を消すことができます。
新しい記事を書くことで広告を消すことができます。
やっと重い腰を上げて…というか、急に思い立ちまして、つなビィのブログページをスマフォ対応にしたのであります。example.com anything
info@example.com info # info@ は、ユーザinfoへ。
@example.com catchalluser # その他のメールは、ユーザcatchalluserへ。
今までやってた流れはこんなかんじ。
ユーザ追加してー、
# adduser hoge
virtual追加してー、
# vi /etc/postfix/virtual
example.com anything
info@example.com info
hoge@example.com hoge # 追加
@example.com catchalluser
そして設定反映ー。
# postmap /etc/postfix/virtual
# /etc/init.d/postfix restart
#local_recipient_maps =
↓ #を取る
local_recipient_maps =
# ユーザが該当しないメールはユーザcatchalluserに送る
luser_relay = catchalluser