OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Problem with forwarding email

From: gabi dinu (itprutul.ro)
Date: Tue Mar 04 2008 - 01:53:07 CST


this is my configuration:

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

/etc/postfix/mysql-virtual_forwardings.cf:
    user = xxx
    password = xxx
    dbname = mail
    table = forwardings
    select_field = destination
    where_field = source
host = 127.0.0.1

postmap -q xxxtest.com mysql:/etc/postfix/mysql-virtual_forwardings.cf ----> yyytest.com

So, the problem is that when i'm sending email to xxxtest.com it goes to xxxtest.com and not to yyytest.com.

Can someone help with this?