Re: 請問sendmail的寄信..
※ 引述《danie@bbs.ee.ntu.edu.tw (玩玩linux吧)》之銘言:
: 是的..^^...就是要relay給家裡的ip
: 可是設定relay前不是要先修改sendmail.cf裡面那個可以存取smtp的Addr?
: 找好久找不到,是不是跟linux下的sendmail.cf不一樣呢?
: 有沒有人可以告訴我怎麼調整呢?
/etc/mail/access :
127.0.0.1 RELAY
192.168.1.1 RELAY
192.168.1 RELAY
如果是動態 IP 的話, 我會建議您用 Cyrus-SASL 作 SMTP auth .
: 另外relay不是設定access再makemap hash就可以了嗎?
# cd /etc/mail ; make maps
: 怎麼還要另外弄relay-domains?我對FreeBSD實在無能為力../_\..
# touch /etc/mail/relay-domains
: 而且FreeBSD也沒有rc.d/init.d/sendmail restart可以直接restart..
: 不知道該怎麼重新啟動呢(都只能用kill)..^^;...可以也幫我解答一下嗎?...
# cd /etc/mail ; make restart
or
# /etc/rc.d/sendmail restart
--
Linux is for people who want to know why it works.
Mac is for people who don't want to know why it works.
DOS is for people who want to know why it does not work.
Windows is for people who don't want to know why it does not work.
--
※Origin:星 情 小 築 < Star.leobbs.net >
※From: 221-169-82-134.adsl.static.seed.net.tw
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章
0
18