On Sat, Jul 02, 2005 at 02:16:41AM +0200, Mark Martinec wrote:

> > >So to whitelist such sender address, you need to specify a
> > >null string as a sender address in lookup table, not 'mailer-daemon'.
> > >I'm not sure if this works well with LDAP, it certainly does
> > >with static tables.
> >
> > I dont think i can put a null in, i'll have a play later and see later on.
> 
> Just in case, to prevent someone misunderstanding: we are talking about
> empty string (no characters), and not about NULL character in a string.

Not sure if its possible to assign an empty string to an attribute.

To further diagnose this issue would it be possible to get a detailed
log entry ($log_level = 5;) for each case. The logs will look something
like (there is more this is just an excerpt):

...
Jul  1 20:05:48 ukiah amavis[85465]: (85465-01) wbl: checking sender <[EMAIL 
PROTECTED]
island.com>
Jul  1 20:05:48 ukiah amavis[85465]: (85465-01) query_keys: [EMAIL PROTECTED]
, @rockisland.com, @.rockisland.com, @.com, @.
Jul  1 20:05:48 ukiah amavis[85465]: (85465-01) wbl: (LDAP) query keys: "[EMAIL 
PROTECTED]
ockisland.com", "@rockisland.com", "@.rockisland.com", "@.com", "@."
Jul  1 20:05:48 ukiah amavis[85465]: (85465-01) lookup_ldap_attr(amavisblacklist
sender) "[EMAIL PROTECTED]" result=(ARRAY(0xb3b7dfc))
...

>From the logs we can then see exactly what the sender is and the keys
being used in the query.

<snip>

--

Mike Hall,
System Admin - Rock Island Communications           <[EMAIL PROTECTED]>
System Admin - riverside.org, ssdd.org              <[EMAIL PROTECTED]>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to