Re: cname resolution

From: Wietse Venema (no email)
Date: Thu Mar 01 2007 - 07:16:41 EST

  • Next message: KENNEDY VAN DAM Eric: "RE: smtpd_restriction_classes Question"

    Huaqing Zheng:
    > I have a sort of odd dilemma. My company maps user their respective
    > IMAP servers using the CNAME <user>.pobox.foobar.com. The user's
    > @foobar.com's forwarding addresses is stored in LDAP. For example, if
    > you send mail to , postfix looks up the forwarding
    > addresses for user in LDAP and returns
    >
    >
    >
    >
    > This all works and is fine. However, for our mailman server, this is
    > causing some bottlenecks. Since we have lists with thousands of users
    > and each user's forwarding address resolves to
    > <user>@<user>.pobox.foobar.com, postfix is delivering the mail to each
    > user separately, instead of resolving the CNAME
    > <user>.pobox.foobar.com down to one of a dozen real IMAP servers and
    > delivering to multiple recipients on the IMAP server in one shot. Is

    /etc/postfix/main.cf:
       transport_maps = hash:/etc/postfix/transport

    /etc/postfix/transport:
       .pobox.foobar.com smtp:pobox.foobar.com

    This will bundle different <user>.pobox.foobar.com deliveries
    in the same mail delivery transaction.

            Wietse

    > there any way to force Postfix resolve the CNAME to the A record after
    > the alias lookup? I tried messing with the
    > smtp_cname_overrides_servername option to no avail.
    >
    > --
    > Huaqing Zheng
    > Beer and Code Wrangler at Large
    >
    >


  • Next message: KENNEDY VAN DAM Eric: "RE: smtpd_restriction_classes Question"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD