FORWARDINGS issue - Virtual Users & Domains W/Postfix,Courier,MySQL... (CentOS 6.3 x

Discussion in 'HOWTO-Related Questions' started by jshampur, Apr 20, 2014.

  1. jshampur

    jshampur New Member

    I've got everything working except for frowardings.

    I have an an entry there like so:

    user1@domain1.com in the source column, and the destination column contains user2@gmail.com

    When the email is sent to user1@domain.com, it is not forwarded but received internally.

    Help?

    Thanks, Jay
     
  2. jshampur

    jshampur New Member

    Found the issue: The tutorial says to add:

    virtual_alias_domains = virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf

    Which did not work. postfix was finding the correct user with the SQL, but forwardings did not work. I changed it to:

    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf

    And the forwardings now work.
     

Share This Page