Mail forwarding using postfix

Mail forwarding using postfix

Ori Idan ori at helicontech.co.il
Thu Dec 2 11:35:19 IST 2010


Hello,

I have a new postfix server running on a virtual host.
I would like to forward mails sent to domains on this machine to other
addresses.
for example, if domain example.com resolves to my machine, I would like to
forwared mail sent to ori at example.com to ori at helicontech.com

I wrote in /etc/postfix/virtual:
ori at example.com ori at helicontech.co.il

I also wrote in /etc/postfix/transport
example.com helicontech.co.il

I restarted postfix, sent a test (from different address, not from
ori at helicontech.co.il)
I then looked at /var/log/mail.log

I have seen connect message from google.com (I sent the mail using gmail)
I then saw a message like to=<ori at helicontech.co.il> with status=sent

However the mail never reached the destination.

What have I done wrong?

-- 
Ori Idan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20101202/8cda78ec/attachment.html>


More information about the Linux-il mailing list