On Wed, Dec 05, 2007 at 06:26:38PM -0800, [EMAIL PROTECTED] wrote: > At the end of all this research, I STILL find myself trying to > diagnose why my router isn't working; and it's a pretty darn simple > router at that. getting useful error messages out of exim debug is > worthless. > > So I thought, if I can run a simulation of whatever exim does, maybe I > could stop in the middle & see just what's going on. > > I thought my question was very specific. > What language is the exim conf file written for? > is it perl, or is it an exim-specific language. > > ie: the command line [from my router] is: > data = [EMAIL PROTECTED]/etc/exim4/email-accept} > {:fail: User unknown }} > > what interpreter can I execute this line of code in to see what the > heck it's doing? > I can't lookup the proper syntax of the lookup command if I don't know > the language it's based in. > > Here is what exim -debug says: > lookup yielded: [EMAIL PROTECTED]: << this IS a valid email, and > lsearch FOUND it. so far so good. > expanded: :fail: User unknown << WHY does my statement expand > to failure > file is not a filter file << what file isn't a > filter file, and what does that really mean?
one of my lookups that has a fail in it has no colons (:) around it and the fail is not in its own set of braces. try it like this: data = [EMAIL PROTECTED]/etc/exim4/email-accept}fail}} taking out the User unknown part. Don't ask me why... A
signature.asc
Description: Digital signature