mailサーバ argosoftというソフトを使います このソフトをダウンロードしてインストールします 設定を行います 設定 General DNSサーバは赤のチェックをクリックすると現時の設定が現れます Load server at windows startup チェック Automatically Start the server チェック Allow Relay チェック Hide Passwords In Logs チェック LocalHost sen.zive.net DoNotUse Web Interface チェック Allow Creation of・・・ When Bouncing・・・ チェック LocalDomain sen.zive.net Ports 元のまま Logging 適当にチェック SMTP Autherification すべてチェックなし ただし、不正中継の対策をするためには Enable SMTP Authentication チェック Use POP3 User Names and Password チェック User Properties mailのユーザを設定する Forward address 記入不要 return Address は mailアドレスを記入 サーバからPHPやPerlを使ってメールを送る場合 sendまね〜る 「sendまね〜る」というソフトを使用する(VISTAでも使用可能) インストールして、初期設定を行う いづれも、read1st.txtに詳細が書かれている # CGIから sendmaneを使う [Perlの場合] $sendmail = '/usr/lib/sendmail'; → $sendmail = 'C:\sendm\sendmane.exe'; [PHPの場合] PHPで mb_send_mail や mail関数を使ってメール送信するとき、Windowsでは php.ini で [mail function] ; For Win32 only. ;SMTP = localhost ;smtp_port = 25 ; For Win32 only. ;sendmail_from = user@example.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path = C:\sendm\sendmane.exe -t -i 不正中継のチェック http://www.rbl.jp/svcheck.php