Re: [Exim] LDAP query failures

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Jeff
Cc: exim-users
Asunto: Re: [Exim] LDAP query failures
On Thu, 19 Apr 2001, Jeff wrote:

> In the directors I'm using a condition line -
> condition = "${lookup ldap {ldap:///?Mailbox?sub?(Mail=$local_part@$domain)}
> {yes} {no} }"


Suggest you use ${quote_ldap:$local_part} to avoid problems.

> One thing I'm not entirely clear on is why a RCPT TO line would contain a to
> field of that format


People playing silly games. People trying to get you to relay what you
shouldn't. People testing to see if you're an open relay...

> user.name@???@domain.com
> username@???, user.name@???
> username@??? smtp username@???)
> user.name@???@domain.com)
> user.name@???@@domain.com)
> etc...
>
> Are these from dodgy mail clients ? Should I be rejecting the email
> immediately or is it possible that exim is corrupting the ldap query ?


Bugs are always possible, but I suspect it's more likely to be dodgy
clients or people playing games.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.