/ 雑記帳

gmail に送信サーバーをお願いする relayhost の設定

プロバイダーに送信サーバーを封鎖されて一年(笑)ほったらかしにしていたが
今回、gmailさんには悪いがリレー設定を行った。
      
必要パッケージをインストール
      
# yum install cyrus-*
      
# vi /etc/postfix.main.cf を設定
---------------------------------------------------
relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpass
smtp_sasl_tls_security_options = noanonymous
smtp_sasl_mechanism_filter = plain
smtp_tls_CApath = /etc/pki/tls/certs/ca-bundle.crt
---------------------------------------------------
gmailの送信サーバーを利用するためのファイルを作成します。
考え方としてはgmailからメールを送信する手続きをpostfixに代行して
もらうイメージです。
      
# vi /etc/posfix/saslpass
---------------------------------------------------
[smtp.gmail.com]:587 hoge@gmail.com:パスワード
---------------------------------------------------
      
ファイル作成後に
# postmap /etc/postfix/saslpass
# ls /etc/postfix/saslpass.db
/etc/postfix/saslpass.db
      
Postfixをリロードして設定を有効化
      
# /etc/rc.d/init.d/postfix reload
      
参考HP
http://park1.wakwak.com/~ima/centos_postfix_relay0001.html

— posted by くま at 10:27 pm   pingTrackBack [0]

 

長年ありがたい 感謝

http://www.macmil.co.jp/macmil/linux045.htm

— posted by くま at 09:54 am   pingTrackBack [0]

 

Carpenters - I Won’t Last A Day Without You

I won't last a day without you
~愛は夢の中に~
我不能没有你歌词
日本語訳?が一番センスが感じられないのは
私にセンスが無い為なんだろうか。
中国語訳の「貴方無しではいられない。」的なニュアンスが
日本語タイトルには感じられない。
ただ曲自体からは激しい感情では無く、
心を癒す暖かい感情が感じられ
中国語タイトルは直接過ぎる様に思う。
私がタイトル考えろと言われたら...主よ人の望みの喜びよ(^_^;)

— posted by くま at 12:20 am   pingTrackBack [0]

<< 2014.5 >>
SMTWTFS
    12 3
45 6789 10
11 12 13 14151617
18192021222324
25262728 29 3031
 
























T: Y: ALL: Online:
ThemePanel
Created in 0.3343 sec.