From owner-freebsd-isp Wed Oct 18 5:54:21 2000 Delivered-To: freebsd-isp@freebsd.org Received: from ns5.i-p-d.nl (ns5.i-p-d.nl [208.239.240.164]) by hub.freebsd.org (Postfix) with ESMTP id E9A5B37B4C5 for ; Wed, 18 Oct 2000 05:54:18 -0700 (PDT) Received: from gina (xs02-102.support.nl [195.114.229.102]) by ns5.i-p-d.nl (8.9.3/8.9.3) with ESMTP id OAA12791 for ; Wed, 18 Oct 2000 14:57:10 +0200 (CEST) (envelope-from chem@i-p-d.nl) Message-Id: <200010181257.OAA12791@ns5.i-p-d.nl> From: "chem@i-p-d.nl" To: freebsd-isp@FreeBSD.ORG Date: Wed, 18 Oct 2000 14:59:10 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: pop before smtp: makemap hangs Reply-To: chem@i-p-d.nl X-mailer: Pegasus Mail for Win32 (v3.12b) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, We have imlemented pop before smtp-check for sendmail, and I have an increasing problem on several of our boxes that the hashing of the popauth.db (every 30 seconds) keeps hanging after a while. sometimes it will run for hours, sometimes not more than 10 minutes. I see this in the maillog: Oct 18 14:51:13 ns9 sendmail[10530]: NOQUEUE: SYSERR(root): Cannot open hash database /etc/mail/popauth.db: Inappropriate file type or format which in my opinion is caused by the hanging of the makemap command. It started a few weeks ago, and has become severe after I implemented the "official" pop-b4-smtp hack from sendmail last week. The sh-script reads: !/bin/sh cd /var/spool/popauth/ while `true` do mv /etc/mail/popauth /etc/mail/popauth-old echo > /etc/mail/popauth for addr in `ls -1` do echo "$addr OK" >> /etc/mail/popauth done cat /etc/mail/popauth | makemap -r hash /etc/mail/popauth.db < /etc/mail/popauth sleep 30 done And the significant rules (in sendmail.cf) are: Kpopauth hash -a /etc/mail/popauth SLocal_check_rcpt R$* $: $(popauth $&{client_addr} $: $) R $@ NoPopAuth R$* $# OK The makemap- and sendmail-binairies are of the same date. Does anyone have any suggestions what causes this? TIA Gina van Zundert Unix SysAdmin (Spec:DNS-Email-MySQL) IPD Hosting BV ------------------- WWW Hosting --------------------- http://www.i-p-d.nl Tel: 0165-571675 http://www.ipdhosting.com Fax: 0165-571710 http://www.domeinhosting.com Email: support@i-p-d.nl http://www.secure.nl ----------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message