揮発性のメモ2

http://d.hatena.ne.jp/iww/

sSMTPの設定

#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=postmaster

# メールサーバのIPアドレスかホスト名。ポート番号もつけれる
mailhub=example.com:587
# ログインIDとパスワード(認証ありのとき)
AuthUser=hogehoge
AuthPass=piyopiyo
# TLSを使うならYES。 デフォルトはNO
#UseTLS=YES

# Where will the mail seem to come from?
#rewriteDomain=

# The full hostname
# FromLineOverrideがNoのときのホスト名
hostname=example.com

# Fromに好きなメールアドレスを書けるようにするかの設定
# Yesのとき、メールヘッダ部分に書いた From が有効になる
# No(デフォルト)だと、コマンドを実行したアカウント名とホスト名で書き換えられる
FromLineOverride=YES