When I check with ldd, milter-greylist does not link to either libmilter.a or libmilter.so ... I wonder if something is missing here. thx bash-2.03# which...
3334
Emmanuel Dreyfus
manu@...
Feb 23, 2007 9:33 am
... ldd show you dynamic linking. A .a is a static library which is embedded in the executable. If ldd does nto shows you libmilter, it means the static ...
3335
Oliver Fromme
olli@...
Feb 23, 2007 9:34 am
... You are right, I've just had a look at the documentation. That's a serious design flaw in the milter API. :-( Brain-damaged, if you ask me. However, it...
3336
Emmanuel Dreyfus
manu@...
Feb 23, 2007 9:47 am
... Well, I'd just say that there is a missing feature: libmilter should call a handler in the milter when receiving kill -1 (for reloading config), or kill...
3337
attila.bruncsak@...
Feb 23, 2007 9:59 am
... Emmanuel, I have submitted a patch earlier that fixes the missing dump at program exit. You wrote that you are not going to put into the 3.0 stable...
3338
Emmanuel Dreyfus
manu@...
Feb 23, 2007 10:04 am
... I hope I did, but it may have sliped through. ChaneLog does not says about it. Can you check 3.1.6 to see if your code was included, and if it was not, can...
3339
attila.bruncsak@...
Feb 23, 2007 10:14 am
... You did not missed it, the patch is in it. I did not verified for this release, but if there is no other glitch it should work....
3340
Jorge Revuelta
jorge.revuelta@...
Feb 23, 2007 10:20 am
Hi! I have the user database in sendmail`s aliases. So, without milter-greylist, sendmail refuses mails destinated to unknown users as expected. But if...
3341
Oliver Fromme
olli@...
Feb 23, 2007 10:25 am
... According to the source (signal.c and engine.c), that call- back is called upon SIGINT, but not on SIGTERM or SIGHUP. I don't understand why....
3342
Emmanuel Dreyfus
manu@...
Feb 23, 2007 10:26 am
... I don't know if it's possible, but I solve this the other way around: my greylist.conf contains the list of valid recipients, and milter-greylist tells...
3343
Emmanuel Dreyfus
manu@...
Feb 23, 2007 10:27 am
... Which means that if you get a SIGSEGV, you loose. ... I thought smfi_main() was never returning. Does it? -- Emmanuel Dreyfus manu@......
3344
attila.bruncsak@...
Feb 23, 2007 10:33 am
... Yes it does. RTFM. Absolutely no need for the use of atexit() here....
3345
Emmanuel Dreyfus
manu@...
Feb 23, 2007 10:35 am
... I just looked at the code, and we already dump when smfi_main exits. atexit serves just as a safety net if libmilter calls exit(), but I'm not sure if it...
3346
attila.bruncsak@...
Feb 23, 2007 10:44 am
... I library should never decide to exit on its own, it is supposed to return error code if it has any trouble. Exiting is the privilege of the main program. ...
3347
Jorge Revuelta
jorge.revuelta@...
Feb 23, 2007 10:44 am
OK, But the problem is my aliases file has 130.000 entryes, and I think it would be very dificult to manage. What is better (memory and cpu)? 1.000.000 entrys...
3348
Oliver Fromme
olli@...
Feb 23, 2007 10:57 am
... Right, but you shouldn't get a SIGSEGV during normal operation, because that would be a bug, wouldn't it. ;-) And you _can_ install your own signal...
3349
Oliver Fromme
olli@...
Feb 23, 2007 11:06 am
... There are no calls to exit() or _exit() in the libmilter sources. Easy to check with "grep -w". If there were any, that would be a serious bug. A...
3350
attila.bruncsak@...
Feb 23, 2007 11:39 am
... And probably you do not want to destroy the previous dump with some junk/garbage you have in the memory. (since SIGSEGV warns you about something...
3351
Jorge Revuelta
jorge.revuelta@...
Feb 23, 2007 12:38 pm
Hi! I have tried your solution and works fine: acl greylist rcpt alias1@domain acl greylist rcpt alias2@domain acl greylist rcpt alias3@domain acl greylist...
... I don't know, but my Postfix with milter-greylist works like you want - rejects unknown users and doesn't write them to greylist.db. I didn't do anything...
... Please use a debugger (gdb or some Solaris one), run milter-greylist under it with a -D switch and post backtrace here when it crashes. You can try the...
I downloaded 3.1.6 and now it dumps correctly when it is terminated on Solaris 8. But it still crashes every hour. I use mimedefang and spamassassin. What's...
... Hmm, I told you already in a private mail, didn't I? cd /where milter-greylist is gdb ./milter-greylist r -P /var/milter-greylist/milter-greylist.pid -p...
3359
manu@...
Feb 24, 2007 7:40 am
... That can probably be fixed, but I need a backtrace (see Nerijus instructions) -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@......
I am still trying to get a backtrace using gdb. There are errors starting milter-greylist with gdb... bash-2.03# pwd /usr/local/bin bash-2.03# gdb...
3361
manu@...
Feb 24, 2007 2:59 pm
Hello everybody For early testers: I just added in CVS the ability to gather properties sent by a urlcheck and reuse them in the ACL. Here is an example,...