Wordpress multisite email question

7 posts / 0 new
Last post
#1 Thu, 05/26/2011 - 11:18
claussor

Wordpress multisite email question

I have a Virtualmin installation on a Centos 5.6 Volumedrive VPS.

What I've got: Wordpress multisite installation with domain mapping plugin, that allows me to have a primary domain, and under this domain setup several subservers which I then map to their domain.

Example:

123.com primary domain 123.com/cars subdir mapped to cars.com 123.com/auto mapped to auto.com

This works greats as intended. What I need is to setup an email (like webmaster@cars.com) on each domain, and preferrably make it forward everything to webmaster@123.com (my primary domain).

Is this possible? If yes what do I need to do?

Best regards

Thu, 05/26/2011 - 11:27
andreychek

Howdy,

There's a few ways to do that... one way is to go into Edit Mail Aliases for cars.com, and create an email alias for webmaster@cars.com that forwards everything to your account at 123.com.

Would that do what you're after?

-Eric

Fri, 05/27/2011 - 02:35
claussor

So, I would need to create them as servers (cars, auto) in Virtualmin, and then make the mail alias?

If yes, what features should be added when I make them? DNS Zone, create webserver etc.?

Right now only my primary domain is created in Virtualmin. "auto.com" and "cars.com" works fine without any mention of them.

Mon, 06/06/2011 - 02:06
claussor

Any help, or should I go rtfm again? ;)

Mon, 06/06/2011 - 03:58
Locutus

You'd need to create the domains in Virtualmin to configure email aliases for it, yep. Anything else makes no sense: To accept email for those domains, Postfix must be configured to do so.

You say that your secondary domains right now work without being set up in Virtualmin. If so, where are their DNS zones hosted, and how did you instruct your Apache to serve Wordpress for them?

If they're hosted externally, and point to your VM machine, you only need the "Mail for domain" feature to create email aliases.

Fri, 06/10/2011 - 01:47
claussor

HI Locutus

Thanks for your reply.

I have DNS at my registrar. I entered the IP for my VPS, and with Wordpress multisite running it just works. I haven't configured anything in Apache.

The only server configured in Virtualmin is my original site "123.com".

Fri, 06/10/2011 - 04:12
Locutus

Okay, so you mean that you have the cars.com and auto.com zones hosted externally, and have configured your Apache so that (or are just lucky that) your Wordpress server also catches those zones?

Alright, well if you wish to use email aliases then, I'm afraid you'll need to either create the domains in Virtualmin, to be able to use its features to create the aliases, or configure your postfix virtual domain mapping tables directly. :) I'm not fully sure right now which of those needs more work.

Topic locked