SlideShare une entreprise Scribd logo
1  sur  8
@default.local  で メールしほーだい! 2010/07/16 Nichicom-LT - Tozo TANAKA 今日は法律トーク無しよ☆
やりたいこと ,[object Object],[object Object],[object Object]
結論 ,[object Object],[object Object],[object Object]
1. メアド決める (1) ,[object Object],[object Object],[object Object],[object Object]
1. メアド決める (2) ,[object Object],[object Object]
2. メルサバ立てる (1) ,[object Object],[object Object],[object Object],※ 細かい設定はノートに記載していますので、   興味のある方は表示モードを変更してご覧ください。
2. メルサバ立てる (2) ,[object Object],[object Object],[object Object]
まとめ ,[object Object],[object Object],[object Object],Let's D.I.Y!

Contenu connexe

Tendances

Janogia20120921 yoshinotakeshi
Janogia20120921 yoshinotakeshiJanogia20120921 yoshinotakeshi
Janogia20120921 yoshinotakeshi
Keisuke Ishibashi
 
tcpdumpとtcpreplayとtcprewriteと他。
tcpdumpとtcpreplayとtcprewriteと他。tcpdumpとtcpreplayとtcprewriteと他。
tcpdumpとtcpreplayとtcprewriteと他。
(^-^) togakushi
 
ファイルサーバ構築
ファイルサーバ構築ファイルサーバ構築
ファイルサーバ構築
Takashi Noboru
 

Tendances (17)

Rust で簡易 HTTP サーバーを作ってみよう
Rust で簡易 HTTP サーバーを作ってみようRust で簡易 HTTP サーバーを作ってみよう
Rust で簡易 HTTP サーバーを作ってみよう
 
ブロッキングの技術的課題(公開版)
ブロッキングの技術的課題(公開版)ブロッキングの技術的課題(公開版)
ブロッキングの技術的課題(公開版)
 
hpingで作るパケット
hpingで作るパケットhpingで作るパケット
hpingで作るパケット
 
Perl and Email #2/Kansai.pm第14回ミーティング@京都
Perl and Email #2/Kansai.pm第14回ミーティング@京都Perl and Email #2/Kansai.pm第14回ミーティング@京都
Perl and Email #2/Kansai.pm第14回ミーティング@京都
 
peco活用術
peco活用術peco活用術
peco活用術
 
第1回鹿児島node.jsの会資料_内村
第1回鹿児島node.jsの会資料_内村第1回鹿児島node.jsの会資料_内村
第1回鹿児島node.jsの会資料_内村
 
Janogia20120921 yoshinotakeshi
Janogia20120921 yoshinotakeshiJanogia20120921 yoshinotakeshi
Janogia20120921 yoshinotakeshi
 
Linuxにおけるコマンドとエディタの使用方法の紹介
Linuxにおけるコマンドとエディタの使用方法の紹介Linuxにおけるコマンドとエディタの使用方法の紹介
Linuxにおけるコマンドとエディタの使用方法の紹介
 
ターミナル上でのSwift運用
ターミナル上でのSwift運用ターミナル上でのSwift運用
ターミナル上でのSwift運用
 
ターミナル上でのSwift運用 ver.1.1
ターミナル上でのSwift運用 ver.1.1ターミナル上でのSwift運用 ver.1.1
ターミナル上でのSwift運用 ver.1.1
 
tcpdumpとtcpreplayとtcprewriteと他。
tcpdumpとtcpreplayとtcprewriteと他。tcpdumpとtcpreplayとtcprewriteと他。
tcpdumpとtcpreplayとtcprewriteと他。
 
Varnish
VarnishVarnish
Varnish
 
分散データベース gun について調べた
分散データベース gun について調べた分散データベース gun について調べた
分散データベース gun について調べた
 
マスタリングJUNOS DNS
マスタリングJUNOS DNSマスタリングJUNOS DNS
マスタリングJUNOS DNS
 
仕事で使えるシェルスクリプト
仕事で使えるシェルスクリプト仕事で使えるシェルスクリプト
仕事で使えるシェルスクリプト
 
ファイルサーバ構築
ファイルサーバ構築ファイルサーバ構築
ファイルサーバ構築
 
CpawCTF 勉強会 Network
CpawCTF 勉強会 NetworkCpawCTF 勉強会 Network
CpawCTF 勉強会 Network
 

En vedette (9)

多活50年系列图书《跑步》
多活50年系列图书《跑步》多活50年系列图书《跑步》
多活50年系列图书《跑步》
 
An annotated bibliography of imaginary subterranean
An annotated bibliography of imaginary subterraneanAn annotated bibliography of imaginary subterranean
An annotated bibliography of imaginary subterranean
 
Gasoline Demand in Canada
Gasoline Demand in CanadaGasoline Demand in Canada
Gasoline Demand in Canada
 
How to save money!!
How to save money!!How to save money!!
How to save money!!
 
Industrial Organization. Tests
Industrial Organization. TestsIndustrial Organization. Tests
Industrial Organization. Tests
 
Delta ch2000 m_en_20120625
Delta ch2000 m_en_20120625Delta ch2000 m_en_20120625
Delta ch2000 m_en_20120625
 
EGT and economics
EGT and economicsEGT and economics
EGT and economics
 
NASA aviation & alternative fuels workshop
NASA aviation & alternative fuels workshopNASA aviation & alternative fuels workshop
NASA aviation & alternative fuels workshop
 
Tokyo系列介绍(一)
Tokyo系列介绍(一)Tokyo系列介绍(一)
Tokyo系列介绍(一)
 

Plus de Tozo Tanaka (6)

The parts of salary
The parts of salaryThe parts of salary
The parts of salary
 
The responsibility for a programming bug
The responsibility for a programming bugThe responsibility for a programming bug
The responsibility for a programming bug
 
The practical use method of a mosaic
The practical use method of a mosaicThe practical use method of a mosaic
The practical use method of a mosaic
 
White and black used on work
White and black used on workWhite and black used on work
White and black used on work
 
Opa - Cloud Language
Opa - Cloud LanguageOpa - Cloud Language
Opa - Cloud Language
 
Data sorting by SQL
Data sorting by SQLData sorting by SQL
Data sorting by SQL
 

Dernier

Dernier (10)

Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 

Apache James - local mail server

  • 1. @default.local で メールしほーだい! 2010/07/16 Nichicom-LT - Tozo TANAKA 今日は法律トーク無しよ☆
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.

Notes de l'éditeur

  1. hosts を変更した段階で、 http://default.local/ は http://127.0.0.1/ へのアクセスと認識します。
  2. 【 telnet 関連】 ・ Win7/Vista で telnet が立ち上がらないときは、 [ コントロールパネル ] - [ プログラムと機能 ] – [Windows の機能の有効化または無効化 ] から「 Telnet クライアント」をインストール。 http://blog.heiichi.com/?eid=486815 ・ telnet で James にユーザ追加するコマンド C:\\> telnet localhost 4555 JAMES Remote Administration Tool 2.2.0 Please enter your login and password // 初期設定では ID,PW ともに root Login id: root Password: root Welcome root. HELP for a list of commands help Currently implemented commands //id=test1 、 password=test でユーザを作成する add user test1 test // 終了 quit
  3. 【 James 設定】 hosts ファイルに設定したホスト名を servername に設定。 <servername>localhost</servername> ↓ <servername>default.local</servername> 存在しないユーザ名でもエラーにしないよう、以下を削除。 <mailet match="HostIsLocal" class="ToProcessor"> <processor> local-address-error </processor> <notice>550 - Requested action not taken: no such user here</notice> </mailet> リモートに送信しないよう、以下を削除。 <mailet match="All" class="RemoteDelivery"> <outgoing> file://var/mail/outgoing/ </outgoing> <!-- alternative database repository example below --> : ( 略 ) : </mailet> 同じ位置に、以下を追加。 <mailet match="All" class="Forward"> <forwardTo>test1@default.local</forwardTo> </mailet> これで存在しないローカルアドレスと、全リモートアドレスが test1@default.local にフォワードされます。 Control-C で James を止めて、 run.bat で再度起動。
  4. 【その他】 Apache なら php.ini の設定 [mail function] ; For Win32 only. SMTP = 127.0.0.1 smtp_port = 25 sendmail_from = test1@default.local ・ CodeIgniter でメール送るスクリプト function index() { $this->load->library('email'); $this->email->from(‘test1@default.local', 'Tozo TANAKA'); $this->email->to(‘atesaki@default.local'); $this->email->subject('Email Test'); $this->email->message('Testing the email class.'); $this->email->send(); echo $this->email->print_debugger(); }