On 08/28/2013 02:05 AM, Paul J Stevens wrote:
On 27-08-13 23:18, Lynn Dobbs wrote:
Sigh. I found two my mistakes. Both in the dbmail_filters table.
1. The headername was capitalized so it never matched the
dbmail_headername.
2. The headervalue is [email protected]; not just support.
With those changes, the filter table is being consulted. And the
appropriate mailbox found. But mail is till delivered to INBOX. Here is
what seems to be the relevant section of the log:
Mailboxes specified in filters need to exist beforehand.
It does exist before hand.
I've traced it down to this point, but I'm a bit out of my element
debugging C. Anyway, in sort_and_deliver here is what happens:
TRACE(TRACE_INFO, "Destination [%s] useridnr [%" PRIu64 "], mailbox
[%s], source [%d]",
destination, useridnr, mailbox, source);
This TRACE correctly reports the mailbox as "support"
/* Subaddress. */
config_get_value("SUBADDRESS", "DELIVERY", val);
TRACE(TRACE_INFO, "Destination [%s] useridnr [%" PRIu64 "], mailbox
[%s], source [%d]",
destination, useridnr, mailbox, source);
I added this TRACE and it reports the mailbox as "yes". In some manner
that I can't yet figure out, config_get_value is altering the value of
mailbox.
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail