Mail forwarding using postfix

Mail forwarding using postfix

Shimon Weinreich shimon at openu.ac.il
Thu Dec 2 11:44:14 IST 2010


Hi,

 

Did you type postmap virtual  & postmap transport ?

 

 

------

בברכה

 

      שמעון ויינרייך

    האוניברסיטה הפתוחה

 

From: linux-il-bounces at cs.huji.ac.il [mailto:linux-il-bounces at cs.huji.ac.il] On Behalf Of Ori Idan
Sent: Thursday, December 02, 2010 11:35 AM
To: IGLU Mailing list
Subject: Mail forwarding using postfix

 

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/5fbf06be/attachment.html>


More information about the Linux-il mailing list