Re: relay_recipients_maps / generic clash

From: mouss (no email)
Date: Mon Oct 02 2006 - 17:21:37 EDT

  • Next message: mouss: "Re: Fax server with postfix"

    John Knappers wrote:
    > Now the problem is completely claer, can you (or anyone else) assist
    > me with the awk script additions to do this, because my scripting
    > knowledge is not suffient for this. :(
    > I have a relay_recipients_maps with all valid mail addresses, but only
    > for the consolidated domains, and I have a generic_maps file, with
    > what olddomains will be rewritten to what newdomains.
    > Or is there an other around / better way solve this setup problem?

    consider using perl (or friends).

    if you insist on shell, do something like

    awk ... | while read domain; do
       awk ... | while read user; do
           echo $user@$domain OK >> $file
        done
    done

    If you have sql/ldap running and (partially) used, you can have this
    done via sql/ldap statements.


  • Next message: mouss: "Re: Fax server with postfix"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD