Date: Wed, 18 Oct 2000 14:59:10 +0200 From: "chem@i-p-d.nl" <chem@i-p-d.nl> To: freebsd-isp@FreeBSD.ORG Subject: pop before smtp: makemap hangs Message-ID: <200010181257.OAA12791@ns5.i-p-d.nl>
next in thread | raw e-mail | index | archive | help
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<OK> /etc/mail/popauth
SLocal_check_rcpt
R$* $: $(popauth $&{client_addr} $: <?> $)
R<?> $@ NoPopAuth
R$*<OK> $# 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010181257.OAA12791>
