Re: SOLVED: postmap can't always find keys

From: Wietse Venema (no email)
Date: Tue Nov 27 2007 - 10:16:36 EST

  • Next message: Victor Duchovni: "Re: SOLVED: postmap can't always find keys"

    Kirk Strauser:
    > ########
    > SASLDB=/usr/local/etc/sasldb2
    > POSTCONF=/usr/local/etc/postfix
    > RECIPIENTS=${POSTCONF}/local_recipients
    > VIRTUAL=${POSTCONF}/virtual
    >
    > all: virtual.db local_recipients.db
    >
    > virtual.db: virtual
    > postmap ${VIRTUAL}
    >
    > local_recipients.db: ${SASLDB}
    > postmap -s ${SASLDB} | awk '{print $$1,"x"}' > ${RECIPIENTS}.new
    > postmap ${RECIPIENTS}.new
    > mv ${RECIPIENTS}.new.db ${RECIPIENTS}.db
    > ########
    >
    > Although I do still have to admit that I wish postmap could search sasldb
    > directly. ;-)

    It can. Look at the -n and -N options.

            Wietse


  • Next message: Victor Duchovni: "Re: SOLVED: postmap can't always find keys"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD