Re: [Exim] Bad Authentication ACL, used for relay - 4.20

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Wakko Warner
日付:  
To: Chris Huff
CC: exim-users
題目: Re: [Exim] Bad Authentication ACL, used for relay - 4.20
> today i doscovered im being used as a relay for about 12 hours. This is the first time this has happened. I looked on the list for an answer and could not find one. Can someone please take a looka t my file and let me know whats wrong?

Log sample?

> hostlist relay_hosts = DMZ1:DMZ2:OFFICE:COLO:CR:JOESOHO


What's this? You might want to consider making this a dbm like the other
lists.

> hostlist auth_relay_hosts = *


You're allowing everyone to relay if authenticated. (FYI)

> check_recipient:


Looks ok.

> check_message:


irrelevent

> ######################################################################
> #                   AUTHENTICATION CONFIGURATION                     #
> ######################################################################

>
> begin authenticators
>
> auth_login:
> driver = plaintext
> public_name = LOGIN
> server_condition = "${if eq {${lookup{$1}lsearch{/usr/local/exim4/exim.passwd}{$value}}} {$2} {yes} {no}}"

whoah. you are an open relay with this
simple change to:
server_condition = "${if eq {${lookup{$1}lsearch{/usr/local/exim4/exim.passwd}{$value}fail}} {$2} {yes} {no}}"
what does exim.passwd look like? user: pass
or something different?

> server_set_id = $1
> server_prompts = "Username:: : Password::"
>
> #####################################33
>
> Im currently trying to fix it myself but this is my server at work and I have to get it running well very soon.


Please wrap lines at 76char.

--
Lab tests show that use of micro$oft causes cancer in lab animals