sending mail to two address with postfix

Discussion in 'Server Operation' started by paulley, Jul 3, 2006.

  1. paulley

    paulley New Member

    hi all

    i am trying to relay mail from a domain to 2 address eg:

    [email protected] >> local user (user) and [email protected]

    config so far:-

    /etc/postfix/virtusertable

    [email protected] user ( which works fine)

    /etc/postfix/virtual

    [email protected] [email protected] (which works fine but disables the virtusertable content

    i want it to go to both the local user and the other email address.

    any help will be great

    thanks
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Create a .forward file in the user's homedir which looks like this:

    Code:
    "|/usr/bin/procmail -f-", [email protected]
    Then run
    Code:
    chmod 600 /path/to/.forward
    chown username:group /path/to/.forward
     

Share This Page