Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I currently use postfix to send mail using 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 So I bought 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 This works nicely.

Now I would like to send email from AND but I can't find how to do that since is a virtual host.

Whenever a mail is sent from a user on my server, it'll have (myorigin parameter from postfix config ?)

So how would you send mail with a virtual account from

Hope I was clear!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

By using a sender address that contains, of course.

share|improve this answer
Well even if the tone is a bit condescending you're right, for whoever read this, sendmail has a -f do to such things –  Michael Laffargue Apr 27 '12 at 7:07
Excuse me ? Where did you mention sendmail(1) ? I am not a mind reader. –  adaptr Apr 27 '12 at 10:57
Well I did put that in the tag but it has been edited. –  Michael Laffargue Apr 27 '12 at 11:54
If you'd tagged it as sendmail that would mean the MTA, not the program... –  adaptr Apr 27 '12 at 13:54
So offload this task to somebody who is. –  adaptr Apr 27 '12 at 14:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.