Re: [Exim] bug: ACLs in files

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Christopher Bodenstein
Fecha:  
A: exim-users
Cc: Christopher Bodenstein
Asunto: Re: [Exim] bug: ACLs in files
--
On Fri, Nov 22, 2002 at 10:33:31AM +0000, Philip Hazel wrote:
> On Thu, 21 Nov 2002, Christopher Bodenstein wrote:
>
> > 2002-11-19 18:52:23 internal ACL error: uknown verb 825111348
>                                           ^^^^^^
> The typo is easy to fix. :-)

>

That was the easy part ;)

> This error indicates that there has been some overwriting of memory.
> Those are always the hardest kinds of bug to find.
>
> > Any idea what could cause this or how I could trace it to get more debug
> > info?
>
> Running with debugging turned on may provide something useful, and then
> again it may not.
>

I ran exim -bd -d+acl on our secondary MX and attached is an occurence
of an "internal ACL error: uknown verb 50".

The "NULL: condition test succeeded" doesn't seem very helpfull to me
but maybe it will help you to pinpoint the problem.

> > Here is my specific ACL file:
>
> I will see how much I can test that, but I won't be able to include the
> LDAP calls, and without the actual messages that provoke the error, it
> may prove hard.
>

As I mentionned, the errors occured even when I removed the ldap lookup
part and btw, the ldap lookup work fine when included in the exim
configuration file.

> > OTOH, I was just wondering what may happen to the messages raising that
> > error?
>
> They should remain on the sending host and be retried at a later time.
> However, if the problem is message-specific, the retries will presumably
> also fail in the same way.
>

That was my guess, and indeed it gives a 421 Unexpected failure, please
try later
(I was worried that it could give a 550 and therefore drop the mails).

Kind regards,

Chris

--
Christopher Bodenstein - christopher.bodenstein@???
Systems Administrator - Easynet Belgium

Great acts are made up of small deeds.
                -- Lao Tsu
--
SMTP<< MAIL From: <tdaily@???>

SMTP>> 250 OK

SMTP<< RCPT To: <jimsworld@???>
active address jimsworld@???
local_part=jimsworld domain=easynet.be
search_open: lsearch "/etc/exim/acllist"
search_find: file="/etc/exim/acllist"
key="easynet.be" partial=-1
LRU list:
8/etc/exim/acllist
End
internal_search_find: file="/etc/exim/acllist"
type=lsearch key="easynet.be"
file lookup required for easynet.be
in /etc/exim/acllist
lookup yielded: acl-easynet.be
using ACL "/etc/exim/acl-easynet.be"
processing "accept"
check hosts = :
host in ":"? no (end of list)
accept: condition test failed
processing "deny"
check local_parts = ^.*[@%!/|]
jimsworld in "^.*[@%!/|]"? no (end of list)
deny: condition test failed
processing "accept"
check local_parts = postmaster : abuse : support
jimsworld in "postmaster : abuse : support"? no (end of list)
accept: condition test failed
processing "deny"
check dnslists = relays.ordb.org
DNS list check: relays.ordb.org
using result of previous DNS lookup
DNS lookup for 245.189.213.65.relays.ordb.org failed
=> that means 65.213.189.245 is not listed at relays.ordb.org
deny: condition test failed
processing "warn"
check dnslists = orbs.dorkslayers.com : relays.osirusoft.com : dnsbl.njabl.org :
relays.visi.com
DNS list check: orbs.dorkslayers.com
using result of previous DNS lookup
DNS lookup for 245.189.213.65.orbs.dorkslayers.com failed
=> that means 65.213.189.245 is not listed at orbs.dorkslayers.com
DNS list check: relays.osirusoft.com
using result of previous DNS lookup
DNS lookup for 245.189.213.65.relays.osirusoft.com succeeded
=> that means 65.213.189.245 is listed at relays.osirusoft.com
warn: condition test succeeded
processing "require"
check verify = sender/defer_ok
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Verifying tdaily@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering tdaily@???
active address tdaily@???
local_part=tdaily domain=teenxxxmag.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing tdaily@???
--------> system_aliases router <--------
local_part=tdaily domain=teenxxxmag.com
checking domains
teenxxxmag.com in "ekahau.mail.be.easynet.net : mx2.mail.be.easynet.net"? no (en
d of list)
system_aliases router skipped: domains mismatch
--------> easysplitter router <--------
local_part=tdaily domain=teenxxxmag.com
checking domains
teenxxxmag.com in "be.easynet.net"? no (end of list)
easysplitter router skipped: domains mismatch
--------> easyalias router <--------
local_part=tdaily domain=teenxxxmag.com
checking domains
teenxxxmag.com in "easynet.be"? no (end of list)
easyalias router skipped: domains mismatch
--------> private_routes router <--------
local_part=tdaily domain=teenxxxmag.com
calling private_routes router
private_routes router called for tdaily@???
domain = teenxxxmag.com
search_open: lsearch "/etc/exim/new_transportmap"
search_find: file="/etc/exim/new_transportmap"
key="teenxxxmag.com" partial=-1
LRU list:
8/etc/exim/new_transportmap
8/etc/exim/acllist
End
internal_search_find: file="/etc/exim/new_transportmap"
type=lsearch key="teenxxxmag.com"
file lookup required for teenxxxmag.com
in /etc/exim/new_transportmap
lookup failed
private_routes router declined for tdaily@???
--------> test_poilsurlenet router <--------
local_part=tdaily domain=teenxxxmag.com
checking domains
teenxxxmag.com in "poilsurle.net : physicman.net"? no (end of list)
test_poilsurlenet router skipped: domains mismatch
--------> dnslookup router <--------
local_part=tdaily domain=teenxxxmag.com
checking domains
teenxxxmag.com in "@"? no (end of list)
teenxxxmag.com in "! +local_domains"? yes (end of list)
cached lookup data = NULL
calling dnslookup router
dnslookup router called for tdaily@???
domain = teenxxxmag.com
DNS lookup of teenxxxmag.com (MX) succeeded
65.213.185.82 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
fully qualified name = teenxxxmag.com
host_find_bydns yield = HOST_FOUND (2); returned hosts:
mail.teenxxxmag.com 65.213.185.82 10
queued for remote_smtp transport: local_part = tdaily
domain = teenxxxmag.com
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by dnslookup router
envelope to: tdaily@???
transport: remote_smtp
host mail.teenxxxmag.com [65.213.185.82] MX=10
----------- end verify ------------
sender tdaily@??? verified ok
NULL: condition test succeeded
LOG: MAIN PANIC DIE
internal ACL error: uknown verb 50
SMTP>> 421 Unexpected failure, please try later

SMTP<< RSET
SMTP>> 250 Reset OK

SMTP<< MAIL From: <tdaily@???>
SMTP>> 421 Unexpected failure, please try later

SMTP<< RSET
SMTP>> 250 Reset OK

SMTP<< QUIT
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=17623 terminating with rc=1 >>>>>>>>>>>>>>>>>>

child 17623 ended: status=0x100

--