Weird error with SQL lookups in amavisd
Guus Leeuw jr
guus.leeuw at itpassion.com
Thu Apr 12 18:51:41 CEST 2012
Hello,
I upgraded my smtp box from Fedora 13 to Fedora 15, also upgraded amavisd in
the process.
According to amavisd, I'm now at 2.6.6, and I keep getting the following
errors:
Apr 12 15:07:02 smtp amavis[10332]: (10332-02) (!)lookup_sql: Can't use an
undefined value as an ARRAY reference at (eval 78) line 257, <GEN20> line
3., ,
Apr 12 15:07:02 smtp amavis[10332]: (10332-02) (!!)TROUBLE in
process_request: Can't use an undefined value as an ARRAY reference at (eval
78) line 257, <GEN20> line 3. at (eval 78) line 282, <GEN20> line 3.
Apr 12 15:07:02 smtp amavis[10332]: (10332-02) (!)Requesting process rundown
after fatal error
Now, I don't know which eval this is, but I'm pretty sure, it's the one from
line 9568 in sub process_request, from package Amavis.
I've got $lookup_sql_dsn configured with workable connection data, so the
eval mentioned above will use the SQL bits from line 9633 onwards. One of
them must throw the error... Don't know which one though...
If you want to see my table structure, I can certainly get a picture out,
but it is the one detailed in the attached sql file.
Anybody seen this or has a solution, or even a way of figuring out what Perl
actually means to say with "eval 78" <GEN20>, line 257, line 282, or line 3?
:D
Thanks,
Guus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mysql.sql
Type: application/octet-stream
Size: 13473 bytes
Desc: not available
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20120412/c68909f0/attachment.obj>
More information about the amavis-users
mailing list