|
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 Fri, Oct 01, 2004 at 07:43:55PM +0200, Magnus B?ck wrote: > On Friday, October 01, 2004 at 17:56 CEST, > Josef Karthauser <joe@xxxxxxxxxx> wrote: > > > I'm getting sporadic problems with a relay configuration and I don't > > understand why. > > > > I recently changed mynetworks to point to a db hash file: > > mynetworks = hash:/usr/local/etc/postfix/mynetworks > > > > 212.42.1.5 * > > 212.42.1.6 * > > 212.42.1.7 * > > 217.35.98.249 * > > 80.0.157.230 dynamic > > > > I am having trouble with 80.0.157.230. Most of the time it relays fine > > but periodically (several times a day) I get: > > > > Oct 1 15:36:22 jonah postfix/smtpd[82999]: NOQUEUE: reject: RCPT from spc1-brig2-4-0-cust230.asfd.broadband.ntl.com[80.0.157.230]: 554 <address@xxxxxxxxxxx>: Relay access denied; from=<sender@xxxxxxxxxxx> to=<address@xxxxxxxxxxx> proto=ESMTP helo=<sending.hostname> > > Add the problematic client(s) to debug_peer_list to get verbose log > output. > Ok, I've done that. It appears that the hash lookup is failing periodically, Oct 15 03:05:37 jonah postfix/smtpd[78064]: match_hostaddr: 80.0.157.230 ~? hash:/usr/local/etc/postfix/mynetworks(0,100) Oct 15 03:05:37 jonah postfix/smtpd[78064]: dict_lookup: 80.0.157.230 = dynamic 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) And yet the mynetworks file hasn't been changed at all: % ls -l /usr/local/etc/postfix/mynetworks* -rw-r--r-- 1 root wheel 83 Oct 1 20:56 /usr/local/etc/postfix/mynetworks -rw-r--r-- 1 root wheel 65536 Oct 1 20:57 /usr/local/etc/postfix/mynetworks.db There appears to be a bug here. :( 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:
pgpDI2O21zo9c.pgp
|