mail relay 問題 - Linux

By Christine
at 2009-08-04T22:43
at 2009-08-04T22:43
Table of Contents
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 能收信,但是依然無法寄信。
請問還需要哪些動作才能在此環境下達到需求呢?
謝謝。
--
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 能收信,但是依然無法寄信。
請問還需要哪些動作才能在此環境下達到需求呢?
謝謝。
--
Tags:
Linux
All Comments

By Zora
at 2009-08-05T07:14
at 2009-08-05T07:14

By Skylar DavisLinda
at 2009-08-09T17:12
at 2009-08-09T17:12

By Edith
at 2009-08-10T18:35
at 2009-08-10T18:35

By Caroline
at 2009-08-14T17:51
at 2009-08-14T17:51

By Megan
at 2009-08-15T16:11
at 2009-08-15T16:11

By Hedy
at 2009-08-17T10:08
at 2009-08-17T10:08

By Eden
at 2009-08-18T07:03
at 2009-08-18T07:03

By Hedwig
at 2009-08-22T09:05
at 2009-08-22T09:05

By Tristan Cohan
at 2009-08-24T14:37
at 2009-08-24T14:37

By Edward Lewis
at 2009-08-28T14:31
at 2009-08-28T14:31
Related Posts
Re: 安裝顯示卡驅動程式問題

By Regina
at 2009-08-04T21:24
at 2009-08-04T21:24
可否下載無界或自由門? 簡體字?

By Suhail Hany
at 2009-08-04T21:11
at 2009-08-04T21:11
請問有windows版的man page嗎?

By Andrew
at 2009-08-04T21:07
at 2009-08-04T21:07
centOS底下無法開啟firefox

By Lucy
at 2009-08-04T20:49
at 2009-08-04T20:49
firefox 3.0.5在opensuse11.0上超吃資源

By Una
at 2009-08-04T18:01
at 2009-08-04T18:01