LINUX.ORG.RU

EXIM-3.36


0

0

Skompilil ya sebe exim-3.36, konfig vzyal s drugogo server'a (rabochego) i vse sdelal kak tam skazano, no vot trabl nebol'shoy pri SMTP avtorizacii:

(rejectlog exim'a):

------------------------------------------------------------------------------
2002-10-21 19:10:28 Authentication failed for hos1.localnetwork (hos1) [192.168.0.34]: 435 Unable to authenticate at present: "${perl" is not a known operator (or a } is missing in a variable reference)
------------------------------------------------------------------------------

Moget kto podskaget naschet "${perl", u menya v konfige vezde prosto stoit sledushee:

server_condition = "${perl{checkuserpass}{$1}{$2}}"

naprimer, nu i t.d., takoe oshushenie chto Exim ne znaet pro perl.

Kto hochet polniy konfig ostav'te milo ya kinu.

S uvageniem.

anonymous

Пересобери с embedded perl. Вот и всё.

Shadow ★★★★★
()

A vot teper' chego gonit:

2002-10-21 21:28:36 Authentication failed for hos1.localnetwork (hos1) [192.168.0.34]: 435 Unable to authenticate at present: A setting of perl_startup is needed when using the Perl interpreter

2002-10-21 21:28:36 failed to expand condition"${perl{checkspam}}" for lookuphost router: A setting of perl_startup is needed when using the Perl interpreter

Podskagite plz

anonymous
()

Vot posmotrel na servake gde pashet - tam perl_startup = /etc/exim.pl, a vot chego v etot /exim.pl zagonyat'?

anonymous
()

Da vot eshe gluk, vrode vse nastroil, i dage /etc/exim.pl, a vse ravno trabl takoy:

est' akkount "muh@mail.muh.biz", dlya nego vse est' chto nugno exim'e - file s parolem, papki, etc. Esseno vkluchen SMTP Auth v vide PLAIN_TEXT, no kogda ya pitaus' ispolzovat' etot account chtobi slat' milo s "hos1.somenetwork.com" to exim shachala ishet vse files dlya "muh@mail.muh.biz" chtobi avtorizovat', s etim vse OK, NO potom on zachem-to nachinaet iskat' "hos1.somenetwork.com" toge, i v itoge ne nahodya posilaet nafig.


LOG EXIM'a V DEBUG MODE:

root@home:/var/spool/exim# /usr/sbin/exim -bd -d9 -q1h
Exim version 3.36 debug level 9 uid=0 gid=0
Berkeley DB: Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000)
Caller is an admin user
Caller is a trusted user
originator: uid=0 gid=0 login=root name=
port = 25
listening on all interfaces (IPv4)
pid written to /var/lock/exim.pid
LOG: 0 MAIN
exim 3.36 daemon started: pid=16257, -q1h, listening for SMTP on port 25
set_process_info: 16257 daemon: -q1h, listening on port 25
daemon running with uid=1002 gid=12 euid=1002 egid=12
SIGALRM received
1 queue-runner process running
Starting queue-runner: pid 16258
listening on port 25...
Connection request from 192.168.0.2/2310
1 SMTP accept process running
interface address = 192.168.0.3
host in rfc1413_hosts? yes (*)
child 16258 ended: status=0x0
0 queue-runner processes now running
listening on port 25...
ident callback failed
sender_fullhost = [192.168.0.2]
sender_rcvhost = [192.168.0.2]
Process 16259 is handling incoming connection from [192.168.0.2]
checking for IP options
no IP options found
host in host_lookup? yes (0.0.0.0/0)
looking up host name for 192.168.0.2
IP address lookup yielded rygl.netstream-gh.com
sender_fullhost = rygl.netstream-gh.com [192.168.0.2]
sender_rcvhost = rygl.netstream-gh.com ([192.168.0.2])
set_process_info: 16259 handling incoming connection from rygl.netstream-gh.com [192.168.0.2]
host in host_reject? no (option unset)
host in host_reject_recipients? no (option unset)
host in auth_hosts? no (option unset)
host in sender_unqualified_hosts? no (option unset)
host in receiver_unqualified_hosts? no (option unset)
host in helo_verify? no (option unset)
host in helo_accept_junk_hosts? no (option unset)
SMTP>> 220 home.miha.biz ESMTP Exim 3.36 #3 Mon, 21 Oct 2002 22:33:12 +0000
set_process_info: 16259 handling incoming connection from rygl.netstream-gh.com [192.168.0.2]
ready for new message
smtp_setup_msg entered
SMTP<< EHLO rygl
sender_fullhost = rygl.netstream-gh.com (rygl) [192.168.0.2]
sender_rcvhost = rygl.netstream-gh.com ([192.168.0.2] helo=rygl)
set_process_info: 16259 handling incoming connection from rygl.netstream-gh.com (rygl) [192.168.0.2]
SMTP>> 250-home.miha.biz Hello rygl.netstream-gh.com [192.168.0.2]
250-SIZE
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
SMTP<< MAIL FROM:<miha@mail.miha.biz>
miha@mail.miha.biz in sender_reject? no (option unset)
miha@mail.miha.biz in sender_reject_recipients? no (option unset)
host in sender_verify_hosts? yes (*)
verifying sender miha@mail.miha.biz
>>>>>>>>>>>>>>>>>>>> >>>>
Verifying miha@mail.miha.biz
search_open: lsearch "/etc/localdomains"
search_find: file="/etc/localdomains"
key="mail.miha.biz" partial=-1
LRU list:
7/etc/localdomains
End
internal_search_find: file="/etc/localdomains"
type=lsearch key="mail.miha.biz"
file lookup required for mail.miha.biz
in /etc/localdomains
lookup yielded:
mail.miha.biz in local_domains? yes (matched lsearch;/etc/localdomains)
mail.miha.biz in percent_hack_domains? no (end of list)
address miha@mail.miha.biz
local_part=miha domain=mail.miha.biz
domain is local
>>>>>>>>>>>>>>>>>>>> >>>>
directing miha@mail.miha.biz
central_filter director skipped: verify 1 0 0
calling virtual_aliases_nostar director
df_lookup entered: search type = lsearch
virtual_aliases_nostar director: lsearch key=miha@mail.miha.biz
file="/etc/valiases/mail.miha.biz"
search_open: lsearch "/etc/valiases/mail.miha.biz"
search_find: file="/etc/valiases/mail.miha.biz"
key="miha@mail.miha.biz" partial=-1
LRU list:
7/etc/valiases/mail.miha.biz
7/etc/localdomains
End
internal_search_find: file="/etc/valiases/mail.miha.biz"
type=lsearch key="miha@mail.miha.biz"
file lookup required for miha@mail.miha.biz
in /etc/valiases/mail.miha.biz
lookup failed
virtual_aliases_nostar director declined for miha:
search_open: lsearch "/etc/userdomains"
search_find: file="/etc/userdomains"
key="mail.miha.biz" partial=-1
LRU list:
7/etc/userdomains
7/etc/valiases/mail.miha.biz
7/etc/localdomains
End
internal_search_find: file="/etc/userdomains"
type=lsearch key="mail.miha.biz"
file lookup required for mail.miha.biz
in /etc/userdomains
lookup yielded: miha
mail.miha.biz in "lsearch;/etc/userdomains"? yes (matched lsearch;/etc/userdomains)
calling virtual_sa_user director
Starting Perl interpreter
virtual_sa_user director skipped: condition failure
search_open: lsearch "/etc/userdomains"
cached open
search_find: file="/etc/userdomains"
key="mail.miha.biz" partial=-1
LRU list:
7/etc/userdomains
7/etc/valiases/mail.miha.biz
7/etc/localdomains
End
internal_search_find: file="/etc/userdomains"
type=lsearch key="mail.miha.biz"
cached data used for lookup of mail.miha.biz
in /etc/userdomains
lookup yielded: miha
mail.miha.biz in "lsearch;/etc/userdomains"? yes (matched lsearch;/etc/userdomains)
calling virtual_user director
df_lookup entered: search type = lsearch
search_open: lsearch "/etc/userdomains"
cached open
search_find: file="/etc/userdomains"
key="mail.miha.biz" partial=1023
LRU list:
7/etc/userdomains
7/etc/valiases/mail.miha.biz
7/etc/localdomains
End
internal_search_find: file="/etc/userdomains"
type=lsearch key="mail.miha.biz"
cached data used for lookup of mail.miha.biz
in /etc/userdomains
lookup yielded: miha
search_open: lsearch "/etc/passwd"
search_find: file="/etc/passwd"
key="miha" partial=-1
LRU list:
7/etc/passwd
7/etc/userdomains
7/etc/valiases/mail.miha.biz
7/etc/localdomains
End
internal_search_find: file="/etc/passwd"
type=lsearch key="miha"
file lookup required for miha
in /etc/passwd
lookup yielded: x:1000:102::/home/miha:/bin/bash
virtual_user director: lsearch key=miha
file="/home/miha/etc/mail.miha.biz/passwd"
search_open: lsearch "/home/miha/etc/mail.miha.biz/passwd"
search_find: file="/home/miha/etc/mail.miha.biz/passwd"
key="miha" partial=-1
LRU list:
7/home/miha/etc/mail.miha.biz/passwd
7/etc/passwd
7/etc/userdomains
7/etc/valiases/mail.miha.biz
7/etc/localdomains
End
internal_search_find: file="/home/miha/etc/mail.miha.biz/passwd"
type=lsearch key="miha"
file lookup required for miha
in /home/miha/etc/mail.miha.biz/passwd
lookup yielded: x:1000:102::/home/miha/mail/mail.miha.biz/miha:/bin/false
queued for virtual_userdelivery transport: local_part=miha domain=mail.miha.biz
errors_to=NULL
domain_data=miha local_part_data=NULL
virtual_user director succeeded for miha
miha@mail.miha.biz verified ok as miha@mail.miha.biz
SMTP>> 250 <miha@mail.miha.biz> is syntactically correct
SMTP<< RCPT TO:<rygl@rygl.biz>
search_open: lsearch "/etc/localdomains"
cached open
search_find: file="/etc/localdomains"
key="rygl.biz" partial=-1
LRU list:
7/etc/localdomains
7/home/miha/etc/mail.miha.biz/passwd
7/etc/passwd
7/etc/userdomains
7/etc/valiases/mail.miha.biz
End
internal_search_find: file="/etc/localdomains"
type=lsearch key="rygl.biz"
file lookup required for rygl.biz
in /etc/localdomains
lookup failed
rygl.biz in local_domains? no (end of list)
search_open: lsearch "/etc/localdomains"
cached open
search_find: file="/etc/localdomains"
key="rygl.biz" partial=-1
LRU list:
7/etc/localdomains
7/home/miha/etc/mail.miha.biz/passwd
7/etc/passwd
7/etc/userdomains
7/etc/valiases/mail.miha.biz
End
internal_search_find: file="/etc/localdomains"
type=lsearch key="rygl.biz"
cached data used for lookup of rygl.biz
in /etc/localdomains
lookup failed
search_open: lsearch "/etc/secondarymx"
search_find: file="/etc/secondarymx"
key="rygl.biz" partial=-1
LRU list:
7/etc/secondarymx
7/etc/localdomains
7/home/miha/etc/mail.miha.biz/passwd
7/etc/passwd
7/etc/userdomains
7/etc/valiases/mail.miha.biz
End
internal_search_find: file="/etc/secondarymx"
type=lsearch key="rygl.biz"
file lookup required for rygl.biz
in /etc/secondarymx
lookup failed
rygl.biz in relay_domains? no (end of list)
search_open: lsearch "/etc/relayhosts"
search_find: file="/etc/relayhosts"
key="rygl.netstream-gh.com" partial=-1
LRU list:
7/etc/relayhosts
7/etc/secondarymx
7/etc/localdomains
7/home/miha/etc/mail.miha.biz/passwd
7/etc/passwd
7/etc/userdomains
7/etc/valiases/mail.miha.biz
End
internal_search_find: file="/etc/relayhosts"
type=lsearch key="rygl.netstream-gh.com"
file lookup required for rygl.netstream-gh.com
in /etc/relayhosts
lookup failed
Actual local interface address is 127.0.0.1 (lo)
Actual local interface address is 192.168.0.3 (eth0)
local host found for non-MX address
localhost 127.0.0.1 mx=-1
host in host_accept_relay? no (end of list)
SMTP>> 550 relaying to <rygl@rygl.biz> prohibited by administrator
LOG: 1 MAIN REJECT
refused relay (host) to <rygl@rygl.biz> from <miha@mail.miha.biz> H=rygl.netstream-gh.com (rygl) [192.168.0.2]
SMTP<< RSET
SMTP>> 250 Reset OK
SMTP<< QUIT
SMTP>> 221 home.miha.biz closing connection
search_tidyup called
child 16259 ended: status=0x0
0 SMTP accept processes now running
listening on port 25...

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.