hello sam, will do as you wrote, it is easy to reproduce, give me some time and a will send you the results.
regards, stephan Quoting Sam Clippinger <[email protected]>: > spamdyke certainly should be keeping the configurations for the two > different domains separate, only filtering each recipient based on the > contents of the config-dir file for that domain. > > Can you reproduce this behavior easily? It would be most helpful for me > if you could recompile spamdyke by running the "configure" script with > the "--with-excessive-output" option, then rerun "make" and install the > new binary. Then enable full logging with the "full-log-dir" option and > trigger this bug. If you could then send me the resulting full log file > (privately, if you don't want to post it here), I will be able to see > exactly what's happening (and hopefully fix it). > > -- Sam Clippinger > > [email protected] wrote: >> hello there, >> >> i am using version 4.0.10, and started using config-dir a >> week ago. wanting to have per domain configuration. so my >> config-dir entry looks like: /etc/spamdyke/customers >> >> i started with one file in it: >> /etc/spamdyke/customers/_recipient_/tld/somedomain1 >> >> so as much as i understood, the file somedomain1 contains the >> configuration for somedomain1.tld. having set: >> reject-empty-rdns >> reject-unresolvable-rdns >> >> i get the correct result in the logfile for somedomain1.tld: >> DENIED_RDNS_MISSING >> DENIED_RDNS_RESOLVE >> >> some days after i added the file somedomain2. both files >> have the same contents. >> >> analyzing the logfiles each day there was something that popped >> into my eye. not only these two domains do have the rdns checks >> enabled as it seems. others too. having a closer look to the >> logfiles i get entries like this one: >> >> @4000000049f186bf2333e104 spamdyke[18771]: DENIED_RDNS_RESOLVE from: >> [email protected] to: myu...@somedomain >> 1.tld origin_ip: XXX origin_rdns: XXX auth: (unknown) >> @4000000049f186bf2333e8d4 spamdyke[18771]: DENIED_RDNS_RESOLVE from: >> [email protected] to: someu...@otherdom >> ain.tld origin_ip: XXX origin_rdns: XXX: (unknown) >> >> according to my understanding of the log file, the neverland sender was >> about to send an email to the somedomain1 and otherdomain users. spamdyke >> checks the configuration file for somedomain1 and uses it, however the >> second recipient, otherdomain, is configured to NOT deny when rdns resolving >> fails. >> >> could it be that spamdyke is reading the configuration only once, for the >> first addressed user of an e-mail during one session ? >> >> i can remove the second file again, just to check if this behavior is >> really related to the fact having two domain files, or if it will also >> apear having only one. >> >> anybody having experienced similar effects with config-dir >> >> _______________________________________________ >> 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
