Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2000 08:51:07 +1000
From:      Phil Homewood <pdh@bit.net.au>
To:        "chem@i-p-d.nl" <chem@i-p-d.nl>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: pop before smtp: makemap hangs
Message-ID:  <20001019085107.D11714@atlas.bit.net.au>
In-Reply-To: <200010181257.OAA12791@ns5.i-p-d.nl>; from chem@i-p-d.nl on Wed, Oct 18, 2000 at 02:59:10PM %2B0200
References:  <200010181257.OAA12791@ns5.i-p-d.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
chem@i-p-d.nl wrote:
> !/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

cat FOO | command < FOO ????
Try replacing that with

makemap hash /etc/mail/popauth.db < /etc/mail/popauth

(doing it correctly, the "-r" should be redundant too.)

>        sleep 30
>     done

-- 
Phil Homewood                 pdh@asiaonline.net
Senior Technician             +61 7 3620 1930
Asia Online (Queensland)      http://www.asiaonline.net/


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?20001019085107.D11714>