OSEC

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

From: Brian Evans (grknightscent-team.com)
Date: Tue Mar 04 2008 - 08:16:07 CST


gabi dinu wrote:
> 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 <mailto:xxxtest.com>
> mysql:/etc/postfix/mysql-virtual_forwardings.cf ----> yyytest.com
> <mailto:yyytest.com>
>
>
> So, the problem is that when i'm sending email to xxxtest.com
> <mailto:xxxtest.com> it goes to xxxtest.com <mailto:xxxtest.com>
> and not to yyytest.com <mailto:yyytest.com>.
>
>
>
> Can someone help with this?
>
Please show `postconf -n` as stated in
http://www.postfix.org/DEBUG_README.html#mail

Brian