Yes, I'm sorry I forgot to mention the recompiling. I get so used to having spamdyke compiled with excessive output that I tend to forget most people don't compile that way. :)
But you're 100% correct -- it's definitely a big bug. I'll get that fixed pronto! Until then, I'd have to recommend everyone NOT use the spamdyke-qrv program for recipient validation. -- Sam Clippinger On Feb 3, 2014, at 10:10 AM, Stephen Marley <[email protected]> wrote: > Hi Sam > > I’ve done some more testing on the problem I have and it seems that if a > .qmail-user file contains an external forwarding address, then spamdyke-qrv > looks for the external domain in the virtualdomains file, which it doesn’t > find, and returns invalid address. Is there something I need to do to make > this work? > > BTW, I had to reconfigure ’spamdyke-qrv with “—with-excessive-output” and use > –vv to get any debug information. I’m not sure if that’s what you intended: I > would have thought –vv should work with no configuration options. Also a > single –v doesn’t generate any extra output. > > In any case, here is some edited debug output from an example: > > Example: > $ cat .qmail-bob > [email protected] > > # spamdyke-qrv –vv example.com bob > > QRV-EXCESSIVE(read_file()@fs-qrv.c:370): opened file for reading: > /home/e/x/example/.qmail-bob > QRV-EXCESSIVE(read_file()@fs-qrv.c:390): read 27 bytes from > /home/e/x/example/.qmail-bob, line 1: [email protected] > ... > QRV-EXCESSIVE(validate()@validate-qrv.c:350): did not find recipient domain > someremotedomain.com in virtualdomains file /var/qmail/control/virtualdomains > ... > QRV-EXCESSIVE([email protected]:900): INVALID RECIPIENT recipient: > [email protected] resolved username: example-bob > > Stephen > > > From: [email protected] > [mailto:[email protected]] On Behalf Of Sam Clippinger > Sent: 02 February 2014 19:45 > To: spamdyke users > Subject: Re: [spamdyke-users] Invalid recipient returned for .qmail-user files > > Try running spamdyke-qrv with a "-vv" flag (two verbose levels). It will > show exactly which files it's parsing and how it's proceeding through the > flowchart (in the documentation folder). If you have any trouble > interpreting the output (it is very verbose), feel free to send it to me > privately. > > -- Sam Clippinger > > > > > On Feb 1, 2014, at 5:05 PM, Stephen Marley <[email protected]> wrote: > > > Hi > > I’ve just installed Spamdyke 5.0.0 and the spamdyke-qrv program is > incorrectly returning invalid recipient for addresses with .qmail- files that > forward to other valid addresses. > > For example: > > /home/e/x/example is home directory for example.com with .qmail-bob file > owned by root containing a valid forward address. > /home/e/x/example/users/alice contains Maildir folder > > spamdyke-qrv example.com alice returns 1 (valid) > spamdyke-qrv example.com bob returns 2 (invalid) > > How can I find out what’s going wrong? > > Stephen > _______________________________________________ > spamdyke-users mailing list > [email protected] > http://www.spamdyke.org/mailman/listinfo/spamdyke-users > > _______________________________________________ > spamdyke-users mailing list > [email protected] > http://www.spamdyke.org/mailman/listinfo/spamdyke-users
_______________________________________________ spamdyke-users mailing list [email protected] http://www.spamdyke.org/mailman/listinfo/spamdyke-users
