Re: Working examples of "pipe forwards"?

From: Wietse Venema (no email)
Date: Wed Jun 01 2005 - 07:44:33 EDT

  • Next message: Matt Fretwell: "Re: Combining transport and aliases"

    Matt England:
    > At 5/31/2005 11:32 PM, Matt England wrote:
    > >I had a suggestion of how to create a pipe for every virtual mailbox on a
    > >specific virtual domain...which I think may work...and may even save me
    > >work...if I can figure it out.
    >
    > Actually, this will break a different application (Request Tracker over
    > mail2forum). Every-email-at-one-domain-going-through-one-pipe will not work.
    >
    > For what it's worth, qmail seems to handle the
    > every-virtual-emailbox-can-get-it's-own-pipe-in-a-.qmail-file pretty
    > well...I'd really like postfix to be able to do the same thing somehow.

    /etc/postfix/main.cf:
        virtual_alias_domains = example.com
        virtual_alias_maps = regexp:/etc/postfix/virtual

    /etc/postfix/virtual:
        /^(.*)@example\.com$/ example+$1

    /home/example/.forward:
       "|command...."

    /home/example/.forward+sales:
       "|command...."

    /home/example/.forward+info:
       "|command...."

    /home/example/.forward+postmaster:
       "|command...."

    And so on.

            Wietse


  • Next message: Matt Fretwell: "Re: Combining transport and aliases"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD