Loading ...
Sorry, an error occurred while loading the content.

Re: limit alias lookup to configured domains

Expand Messages
  • Reindl Harald
    ... only if you are using mysql-configuration and scripts using a special table where you add the abuse@ aliases and if a new domain is created it adds the
    Message 1 of 2 , Nov 25, 2011
    • 0 Attachment
      Am 25.11.2011 09:41, schrieb Lars Täuber:
      > Hi list,
      >
      > is it somehow possible to limit the lookup for aliases in
      > virtual_alias_maps to domains the postfix system is responsible for?
      >
      > The problem:
      > I want »abuse@...« to be aliased to »postmaster« for every domain the system
      > is configured for. (virtual_mailbox_domains)
      >
      > Therefore I've done this:
      > virtual_alias_maps = regexp:/etc/postfix/virtual_aliases
      >
      > /etc/postfix/virtual_aliased:
      > /^abuse@.*/ postmaster
      >
      > but this aliases also mails that are sent from the local system to
      > abuse@....
      >
      > How can I avoid to add an alias for every new domain I configure?

      only if you are using mysql-configuration and scripts
      using a special table where you add the "abuse@" aliases
      and if a new domain is created it adds the needed aliases
      and removes them while deleting a domain
    Your message has been successfully submitted and would be delivered to recipients shortly.