I currently use postfix to send mail using
@domain1.com addresses, mail reception for this domain are handled directly by my provider (OVH).
So far so good mails are sent using DKIM no problem.
However I got to change my domain name to
domain2.com. So I bought
domain2.com and redirected it to the same server as
The problem is that this time I want to use my own Mail server for sending and receiving. So
I did reconfigure postfix to handle Virtual host for
domain2.com. This works nicely.
Now I would like to
send email from
domain1.com but I can't find how to do that since
domain2.com is a virtual host.
Whenever a mail is sent from a user on my server, it'll have
domain1.com (myorigin parameter from postfix config ?)
So how would you send mail with a virtual account from
Hope I was clear!