|
Save the teapot fund New CSS web design for Wibble proudly provided by Kelv. Please contact the webmaster with any questions or concerns. |
Wibble > List archives > postfix > 2004 > October
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Sporadic relay failures using a hash in mynetworks.
On Sun, Oct 17, 2004 at 04:08:32PM -0400, Wietse Venema wrote: > Josef Karthauser: > > > I don't see any evidence that the virtual.db map is failing at all so I > > am reluctant to think that it a problem in the db lookup code. > > Consider how few lines of Postfix code are between the logging of the > following lines: > > > Oct 15 13:01:57 jonah postfix/smtpd[45485]: match_hostaddr: 80.0.157.230 ~? hash:/usr/local/etc/postfix/mynetworks(0,100) > > Oct 15 13:01:57 jonah postfix/smtpd[45485]: dict_lookup: 80.0.157.230 = (notfound) > > Consider that that same Postfix code does all access DB file lookups. > > Consider that the same Postfix DB module is used for all DB file lookups. > > Consider that no-one else is experiencing this. > > Consider that I run Postfix on FreeBSD too. > > I think it is a site specific problem. > For the same reason considering how many other systems on the O/S use the DB hash code, and that the DB hash code works well specifically for virtual.db and aliases.db I can't see how it's an O/S problem either. Do you have any suggestions as to how I might proceed to debug this problem? Where's the fragment of code in postfix which does the reading? Maybe I can extract this and run it continuously to see how often it fails. Joe -- Josef Karthauser (joe@xxxxxxxxxx) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ ================ An eclectic mix of fact and theory. ================= Attachment:
pgpcQ8XpHfi6E.pgp
|