User Tools

Site Tools


vps:gmail_smtp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vps:gmail_smtp [2011/10/20 16:44]
hoge@hoge
vps:gmail_smtp [2012/05/04 11:51]
hoge@hoge [/etc/rc.conf 設定]
Line 28: Line 28:
 ==== /​etc/​rc.conf 設定==== ==== /​etc/​rc.conf 設定====
 fw, web, desktopからメールを受け取るため、rc.confにdaemon起動の設定を追加する。 fw, web, desktopからメールを受け取るため、rc.confにdaemon起動の設定を追加する。
-  ​sendmail_enable="​YES"​ +<​code>​ 
 +sendmail_enable="​YES"​ 
 +sendmail_procname="/​usr/​local/​sbin/​sendmail"​ 
 +saslauthd_enable="​YES"​ 
 +</​code>​ 
 +  * sendmail_procnameは効いていない様子
 ==== /etc/hosts 設定 ==== ==== /etc/hosts 設定 ====
 メールのリレー元であるfw,​ web, desktopを/​etc/​hostsに登録する。 メールのリレー元であるfw,​ web, desktopを/​etc/​hostsに登録する。
Line 47: Line 51:
 編集したjailer.mcからsendmail.cfを生成する。 編集したjailer.mcからsendmail.cfを生成する。
   # cd /etc/mail   # cd /etc/mail
-  # m4 /​usr/​local/​share/​sendmail/​cf/​m4/​cf.mr jailer.mc > sendmail.cf+  # m4 /​usr/​local/​share/​sendmail/​cf/​m4/​cf.m4 jailer.mc > sendmail.cf
   #   #
  
vps/gmail_smtp.txt · Last modified: 2019/06/16 15:16 (external edit)