Re: [milter-greylist] Re: 2.0.2&2.1.3 with SPF1 & SPF2 crashes
2006-02-25 by manu@netbsd.org
... Run nm on libspf. Do you find res_init, or nres_init? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@netbsd.org
Yahoo Groups archive
Messages
Page 106 of 144 · 7199 messages matched
2006-02-25 by manu@netbsd.org
... Run nm on libspf. Do you find res_init, or nres_init? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@netbsd.org
2006-02-25 by joosteto
... I really don t know how to find out:(. I m using Bind9 as DNS server, but I suppose the resolver comes from somewhere else. I read in the libc6 (gnu libc)
2006-02-22 by manu@netbsd.org
... An usual cause of crashes: is your libspf linked against a thread-safe DNS resolver? From the README: WARNING: milter-greylist is a multithreaded program.
2006-02-22 by joosteto
I tried to run milter-greylist on my x86-64 system, with libspf. 2.0.2 failed with SPF2 (didn t try SPF1) 2.1.3 failed with SPF1 and SPF2. System: linux
2006-02-17 by manu@netbsd.org
... Integrated. Next time, please post the output of diff -U4 old_file new_file, and if you have to copy/paste the patch in the e-mail, make sure your software
2006-02-15 by Jeff Rife
If you set debug , then one of the things that gets logged is expired greylist entries. These are useful to know about machines that didn t retry, so they
2006-02-09 by Eugene Filatov
... No. Here is part of man for open() from solaris: The open() function returns a file descriptor for the named file that is the lowest file descriptor not
2006-02-05 by manu@netbsd.org
... Sure, if someone write it. The change is probably small: an ifdef on dbopen and a configure test. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz
2006-02-04 by Hubertus A. Haniel
... I have been doing some further investigation on this but I am no C expert. It looks to me like there are changes in dbopen in later versions of db. - If I
2006-02-02 by attila.bruncsak@itu.int
... The OS may not give smallest available file descriptor on open(). It is possible that it only wraps around when reaches nofiles limit. It is very likely
2006-02-02 by Hubertus A. Haniel
Has anybody managed to do this on a SuSE linux system? I am running SuSE 9.2 professional with db-4.2.52-90 (and the -devel package) and drac 1.12-2 and I am
2006-02-01 by Eugene Filatov
... thanks! :-) Eugene.
2006-02-01 by fredrik.pettai@vattenfall.com
... The original milter-greylist-2.0.2 package, with no modified/patched code /P
2006-02-01 by Eugene Filatov
... And what should happen? We will just get errors when sendmail will try to communicate with milter which reached descriptors limit. Tha same problem we will
2006-01-30 by attila.bruncsak@itu.int
... Could you try to limit the number of available file descriptors to 254 as a workaround? Please use the vanilla code of milter-greylist-2.0.2 to test with,
2006-01-27 by Matthias Scheler
... poll() takes a timeout value in milliseconds. That original code only waited 10 microseconds. (void) poll(NULL, 0, 1); seems to be more advisable. Kind
2006-01-27 by Kai Schaetzl
... Clifford, these are probably grabbed Message-IDs since most of the mail worms can t distinguish between email address and Message-ID, they just grab
2006-01-27 by Eugene Filatov
... Unfortunally, I m not proficient in C and I will be not able to implement it :( I ll offer it to my friend, but I m not sure that he will agree to make it
2006-01-26 by Oliver Fromme
... That sounds like a good idea, I think. ... How about not closing the file at all, but keeping it open? Of course, fflush() must be called after each dump
2006-01-26 by manu@netbsd.org
... I m not sure it s easy to do in a clean way. Do you want to give it a try? -- Emmanuel Dreyfus Un bouquin en français sur BSD:
2006-01-26 by Matthias Scheler
... Yes, but that would be very slow because of the huge number of calls to malloc(), free() and write(). ... Yes, boot your machine with a 64Bit kernel,
2006-01-26 by Eugene Filatov
... We have Solaris 8. And manual says that usleep is unsafe :( ... I m not very proficient in this area, but I think that it s possible to calculate site of
2006-01-26 by Matthias Scheler
... Where does he have that information from? The Solaris 9 manual page says: ... That mean it *is* thread safe. ... A memory large enough for the whole dump
2006-01-26 by Eugene Filatov
... Yes, it s worked. I found some bugs in output to syslog in previous patch, corrected version is below. Also I increased usleep time. My friend which which
2006-01-26 by Eugene Filatov
... It s works well, but still no intresting errors in my syslog. I decreased dump interval to 5 minues. Hope that I catch wrong file descriptor soon :-)
2006-01-26 by Matthias Scheler
... Ah, I didn t know that. ... Oops. :-) ... Does that patch actually help? Kind regards -- Matthias Scheler
2006-01-26 by Oliver Fromme
... I don t know if this helps, but the canonical way on Solaris to find out what binaries are supported (32bit and/or 64bit) is to use /usr/bin/isainfo. On a
2006-01-26 by Eugene Filatov
... Yes. I modified it a little with help of my friend which knows Solaris and C much better than me :-) My friend told me that FD equal to 255 is also not
2006-01-25 by Matthias Scheler
... There s a typo in it ( dupfd instead of dumpfd ) but the compiler will catch that. ... Do we? The check below might be good enough: #if defined(__sun__)
2006-01-25 by manu@netbsd.org
... That looks painful :-) Eugene, can you finish and test Matthias hack? If it works, I ll integrate it. We also need a configure test to enable the hack.
2006-01-25 by Matthias Scheler
... Crude untested hack: #ifdef SOLARIS_FD_WORKARROUND if (dumpfd 255) { int retries = 10; while (dumpfd 255) { int lowfd; lowfd = dup(dumpfd); if (lowfd
2006-01-25 by Matthias Scheler
... It s 256 for 32Bit binaries. ... Yes, it s specific to the 32Bit ABI. ... Yes, that works arround the problem. Kind regards -- Matthias Scheler
2006-01-25 by Eugene Filatov
... I my case I have 32bit OS... Best Regards, mailto:eugenef@paco.net Eugene.
2006-01-25 by Emmanuel Dreyfus
... Try looking in the list archive. I m now convinced this is the same problem we had before with Solaris: there is a rather low limit on the number of file
2006-01-25 by Eugene Filatov
... #uname -a SunOS 5.8 Generic_108528-22 sun4u sparc SUNW,Ultra-80 Eugene.
2006-01-25 by Eugene Filatov
... I just looked at file descriptors. greylist has limit set to 2048 and uses at current time approx. 150-180 descriptors (now we have average load at mail
2006-01-25 by attila.bruncsak@itu.int
... Yes, I remember now. It simply does not work with 32 bit binaries but you have to compile the 64 bit version.
2006-01-25 by Emmanuel Dreyfus
... I recall a stupid limit on solaris with the number of FILE * you could open. The thing was dependent on the ABI, as far as I recall. -- Emmanuel Dreyfus
2006-01-25 by attila.bruncsak@itu.int
... Might be disk full condition, but rather the milter may have run out of file pointers.
2006-01-25 by Emmanuel Dreyfus
... Oh then it does not crash, it quits. Forget the gdb story. Here is the revelant code section: if ((dumpfd = mkstemp(newdumpfile)) == -1) { syslog(LOG_ERR,
2006-01-25 by Emmanuel Dreyfus
... I don t think it s such a problem. gdb will just sit down quitely until the kernel tells it that the traced process got a signal. What you need is a way to
2006-01-25 by Eugene Filatov
... In addition to my previos letter. The following string I found in my syslog before crash. Maybe it will be helpful. Jan 25 16:08:39 snark milter-greylist:
2006-01-25 by Eugene Filatov
... I use small script which starts greylist again after crash. I don t know how to start it automatically again under gdb. Another bad thing is that sometimes
2006-01-25 by Emmanuel Dreyfus
... Won t any process stop when it crashes? ... It s not on its own to decide that. Maybe it does not have write access to its current directory. ... If it s
2006-01-25 by Eugene Filatov
... I upgraded till milter-greylist 2.1.2 and found that -g flag is already in CFLAGS in makefile. I don t want to run milter-greylist under gdb, because I
2006-01-23 by Mailing List
Using milter-greylist 2.0.2 When I reboot my server the init script simply hangs there, preventing the following services from starting. If I disable the
2006-01-23 by tirilimpspoolteist
1) Why to show manual added acl based whitelisted stuff in logs, like - milter-greylist: k0N8LMLv009686: skipping greylist because sender DNS name
2006-01-23 by Martin Paul
... I ve solved the problem by listing all valid email addresses that should be protected by greylisting in greylist.conf, and changing the default action to
2006-01-22 by Matthias Scheler
... That s not true. Try to connect to mail.zhadum.de and see for yourself: 220 colwyn.zhadum.org.uk ESMTP Sendmail 8.13.3/8.13.3; Sun, 22 Jan 2006 22:25:09
2006-01-22 by Sysadmin
Hello. ... Great, it compiles fine. Btw, the link is wrong, the right is http://ftp.espci.fr/pub/milter-greylist/milter-greylist-2.1.3.tgz -- Sysadmin