[問題] mail relay 問題
System:
debian 5.0.2
mail server:
exim4
需求:
若為合法使用者,無論在哪個網域上都能寄信;目前在特定網域下才能寄信。
exim4 config
...
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='140.117.168.71'
...
已做動作:
#apt-get install sasl2-bin
#vi /etc/default/saslauthd
START=yes
MECHANISMS="pam shadow"
#/usr/sbin/saslauthd -a shadow
(我是把這行寫到/etc/init.d/rcS裡頭,我覺得這沒必要弄個 特定的script來執行)
#vi /etc/group
把Debian-exim加到sasl這個群組裡頭
#vi /etc/exim4/conf.d/auth/30_exim4-config_examples
把裡頭所有的認證註解起來
#vi /etc/exim4/conf.d/auth/00_exim4-config_header
plain:
driver = plaintext
public_name = PLAIN
server_condition = ${if saslauthd{{$2}{$3}}{1}{0}}
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = ${if saslauthd{{$1}{$2}}{1}{0}}
#/etc/init.d/exim4 restart
(以上參照 http://moto.debian.org.tw/viewtopic.php?t=3124)
目前情況:
使用 outlook 能收信,但是依然無法寄信。
請問還需要哪些動作才能在此環境下達到需求呢?
謝謝。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.117.168.73
→
08/05 00:40, , 1F
08/05 00:40, 1F
→
08/05 10:42, , 2F
08/05 10:42, 2F
→
08/05 17:21, , 3F
08/05 17:21, 3F
→
08/05 17:22, , 4F
08/05 17:22, 4F
推
08/06 21:11, , 5F
08/06 21:11, 5F
→
08/07 00:53, , 6F
08/07 00:53, 6F
→
08/09 14:12, , 7F
08/09 14:12, 7F
→
08/09 14:23, , 8F
08/09 14:23, 8F
→
08/09 14:27, , 9F
08/09 14:27, 9F
→
08/09 14:27, , 10F
08/09 14:27, 10F
→
08/09 14:29, , 11F
08/09 14:29, 11F
討論串 (同標題文章)
完整討論串 (本文為第 1 之 3 篇):
1
11
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章