Re: Alias directory

From: Dehnert James Sr (no email)
Date: Tue May 01 2007 - 20:05:04 EDT

  • Next message: Francisco Reyes: "virtual_alias_maps bypass smtpd_restriction_classes?"

    On May 1, 2007, at 4:41 PM, Wietse Venema wrote:

    > Dehnert James Sr:
    >> Question? Is it possible to create an alias directory and have
    >> postfix source all the files contained therein?
    >>
    >> I'd like to create a /etc/postfix/domain.tld directory and then have
    >> a file for each individual user or group in that directory. I know I
    >> could write a script that cats and outputs, then postmaps, but I was
    >> wondering if there are any provisions for that IN postfix.
    >
    > There is no need to re-invent cat(1) and make(1) for Postfix.

    Quite true.

    > Instead of maintaining lots of files, consider using a database.
    > Postfix supports SQL and LDAP. They allow you to change a few
    > records without having to postmap a huge amount of information.

    I did consider those, but I those were more complex than what I need
    for my current small
    application. If I was building a system for a larger user base I
    would go that route.

    > Wietse


  • Next message: Francisco Reyes: "virtual_alias_maps bypass smtpd_restriction_classes?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD