Lion Server: How can i host multiple emailaccounts?

Hi there,
I've a problem.
I have installed Lion os x server with the latest updates.
I have the following domains that i want to host with emails.
www.example1.com
www.example2.com
Hosting of website is not a problem. I have it working including PHP+MYSQL.
But now..How can i setup to receive and send emails with both domains? (www.example1.com and www.example2.com)
I want to have something like this:
www.example1.com:
[email protected]
Hostname: server.example1.com
Outgoing: server.example1.com
and
www.example2.com:
[email protected]
Hostname: server.example2.com
Outgoing: server.example2.com
for www.example1.com it's the standard one and works fine (including apple Push). But realy confusing that i cannot get it work with example2.com.
Can anybody help me? I've searched the whole web but cannot find a good answer.
Thank you very much in advance!
JBressers

G'day mate,
You are posting in the 10.7 Lion client forum, rather than the 10.7 Lion Server forum.
Thus it's quite likely that no-one here know the answer.
Here's the link to the correct forum:
https://discussions.apple.com/community/servers_enterprise_software/mac_os_x_lio n_server
Good luck!
Rodney

Similar Messages

  • How can i host multiple email accounts?

    Hi there,
    I've a problem.
    I have installed Lion os x server with the latest updates.
    I need help to set up Separate E-Mail Accounts for each Domain, so each Domain receives it's own mail.
    I have the following domains that i want to host with emails.
    www.example1.com
    www.example2.com
    Hosting of website is not a problem. I have it working including PHP+MYSQL.
    But now..How can i setup to receive and send emails with both domains? (www.example1.com and www.example2.com)
    I want to have something like this:
    www.example1.com:
    [email protected]
    Hostname: server.example1.com
    Outgoing: server.example1.com
    and
    www.example2.com:
    [email protected]
    Hostname: server.example2.com
    Outgoing: server.example2.com
    for www.example1.com it's the standard one and works fine (including apple Push). But realy confusing that i cannot get it work with example2.com.
    Can anybody help me? I've searched the whole web but cannot find a good answer.
    Thank you very much in advance!
    JBressers

    You can run multiple domains in postfix/Mac OS X server, but don't get bogged down with the hostname.
    There is nothing wrong with mail for a [email protected] being delivered to/from a server.example2.com (or vice versa). Most users never see the hostname of the server in the process, so don't bother trying to create multiple hostnames on the server to make this work. If you're really bothered just create records in your DNS that map back to the same IP address (e.g. server.example1.com -> 1.2.3.4, server.example2.com -> CNAME -> server.example1.com) so users can use either hostname.
    For the accounts, there are two ways of managing multiple domains, depending largely on your comfort level with the command line vs. GUI, and how the users map.
    If the usernames are the same (e.g. [email protected] is the same person as [email protected]) then the simplest thing to do is tell postfix to accept mail for both domains - mail addressed to either domain (example1.com or example2.com) will route to the same user's mailbox.
    If your users are different then you can either use Mac OS X-style aliases or postfix aliases.
    The Mac OS X-style aliases work through Workgroup Manager - you add all your users to the main directory, and create additional shortnames for each user's email addresses. For example, you might have a user 'joe' who is also '[email protected]', so add that second email address as a shortname.
    Postfix-style aliases require setting up in the command line, where you create maps of email addresses to users, and is well documented on various postfix-driven web sites.

  • Lion Server: How can I enable directory listing for the Web Server?

    The functionality was part of the Server App in Lion Server but was not included in Lion.  Can anyone shed some light on how to enable Directory Listing.  Any help is appreciated!

    Go to /etc/apache2 and edit the file 000_any_80_.conf
    using sudo nano command and replace  "-Indexes" with "+Indexes".
    Restart Apache with "sudo apachecrl restart"
    Good luck,
    Ricky
    from Costa Rica

  • Lion Server: How can I restore OD after a crash ?

    Hello all,
    the issue is not new but I found no way how to repair the OD database. I admit I am no expert and I rely upon senior advice.
    I ran the restore command as described here to no avail:
    http://www.prestonlee.com/2009/07/08/recovering-a-corrupt-openldap-database-on-o sx-server/
    What happened ?
    After a Finder crash we had to re-boot our Lion Server (10.7.5) with the power button and after that the Network Accounts were all gone because OD's LDAP, Kerberos and Password Server were no longer running.
    I re-stored the server from a TM back-up just the day before and I got back the network accounts but this is probably just a last resort.
    What is the quickest way to restore OD services in Lion Server ?
    Thanks for your help,
    Twistan
    P.S.
    The TM restore from the previous day's backup did NOT RESTORE the following:
    1) calendars of network accounts
    2) Enrolled devices (profile manager)
    I shall post these experiences in a separate thread.

    If you originally bought the iWork apps through the Mac App Store (doubtful based on your profile) you can reinstall from the Mac App Store using your Apple ID. The Mac App Store does require at least Mac OS 10.6.6.
    If you originally installed from a retail boxed DVD, use that DVD to reinstall.
    If you downloaded the trial & bought a serial number electronically, you can redownload the trial & apply the serial number you were given. If you do not have the e-mail with the serial number you can get the serial number from the list of online purchases in your Apple Store account. You do not need a new serial number from Apple. Go to the Store tab at the top of this page, click Account (small, faint gray word next to the cart icon in the upper right), click on Downloadable Software Purchases & sign in.

  • How can I host multiple domains on a single Mac?

    It's actually a little more complicated than that.
    I have a site, let's call it site.com, and it's hosted just fine on my Mac Mini, accessible via the Internet and everything.
    I want to use the .co domain of my site, which is pointed to the same IP as .com in DNS records, for the Wiki feature.  Unfortunately, I'm pretty sure OS X Server won't let you use both a custom website AND Wiki, but besides that I want the two on different domains.
    I have a Parallels VM of OS X 10.9 with Server installed and more or less configured for Wiki with the .co domain.... I feel like I'm really close, here, maybe just a couple of steps away, but alas, I'm stuck, mostly because all the guides I've found that cover this do so with earlier versions of OS X Server, and aren't quite doing what I want to do (another domain and Wiki as opposed to just adding a Site to the list, so I think I absolutely need a VM here).
    I'm pretty sure I have to configure the DNS settings of the OS X Server instance in the host OS, and I have an IP to give it (if I put that into a browser in the host OS X, it takes me to the .co site, but going directly to .co just takes me to .com).
    Any ideas?

    jaygatsby1123 wrote:
    So what exactly am I doing with virtual hosts?  There is a place for Aliases...  What would I put in the "Aliases" box?
    Any other host name that you want to resolve to the specified virtual host.  It's quite literally an alias.
    if you want www.example.com and www.example.org to end up at the same web site and you already have a virtual host — Apple refers to virtual hosts as sites — configured for www.example.com in Server.app, then you'd add www.example.org as an alias for the www.example.com virtual host (site).
    Virtual hosts are implemented in a web server using some details of the HTTP or HTTPS protocol, and what the web browser (client) specified.  The client gets handed an IP address or a domain name by the user, and the client then fetches the associated IP address for the target web server from the client's DNS services or local host database, and the client then connects to the IP address and passes over the text string that the user had requested — the IP address or domain name or even some local shortcut set up in the client system — via the HTTP or HTTPS protocol.  The web server receives and processes this arriving text string from the client, and uses it to select which web site to render back to the web client.   One subtle detail lurks here, too: the server's own DNS configuration really isn't involved in the selection of the virtual host.

  • How can I host multiple DNS zones using OS X Server?

    Simply that. I want to host several zones and can't find a UI to do it.
    Is it a case of hacking at the named config files and never using the UI again? That would seem rather ridiculous.
    Thanks,
    Neil.

    Solved myself. The advanced options in DNS manager don't appear unless you tick "Show all records" in the drop down. Checking that gives access to many more types of entry in the "+" menu, and also enables editing existing zones via double-clicking them.

  • How can I host multiple sites?

    What I want to do is host a site on my .mac account as I do now. I want to add a personal domain and host a separate site. Can I do this?
    When I set up the personal domain it now sends both sites to that domain. How do I keep them separate?

    Since you're asking a question about .Mac web sites, your question is best asked in the .Mac forum. This forum is for questions related to Mac OS X Server.

  • I have a lion server set up to host storage for time machine backups. Is there a limit to how many different computers can back up to the single server to back up. I am only backing up the users folders . The backup drive is an external Drobo with 6 TB.

    I have a lion server set up to host storage for time machine backups. Is there a limit to how many different computers can back up to the single server to back up. I am only backing up the users folders . The backup drive is an external Drobo with 6 TB. Right now it seems to back up my users all day long. I set their time machine interval to every 5 hours but it still runs all day long and is very slow. Server is on a new Mac Server mini.

    AFAIK, there is no user limit.. it is simply a question of the network load. AFP is a fairly clean protocol.. but TM is not.. it does a lot of testing of the backup.. infact your setting of 5hour gap could well make it worse.
    I would sort out the clients that are doing 100GB backups to a different backup location.. no matter how fast your network.. 100GB takes time to backup.. and over wireless forever.. it will never end.
    I guess some of these clients are on wireless?? I would separate the TM of wireless to those that are wired. No more than 4 or 5 wireless clients to a target device. Otherwise you are saturating your network with backup data. And use 5ghz.. so close by.. it is much faster than 2.4ghz and you will get much better transfer rates.

  • How do I host multiple domains on a single Messaging Server?

    How do I host multiple domains on a single Messaging Server?
    <p>
    To host multiple domains on one Messaging Server, use the
    mailAlternateAddress attribute. If you want to host two domains
    (customer1.com and customer2.com) on your server mail1.domain.com,
    make sure that:
    The various domains (in DNS) point to the installed mail server
    (you must have the MX records that
    points mail for customer1.com to mail1.domain.com and
    customer2.com to mail1.domain.com)
    That each person receiving mail at customer1.com and
    customer2.com has an appropriate mailAlternateAddress
    attribute describing the appropriate email address. For
    instance, John Doe can have an email address (i.e. the value
    of the 'mail' attribute for the John Doe LDAP entry) of
    [email protected] and receive his mail on
    [email protected] (the value of the mailAlternateAddress
    attribute)
    With Messaging Server 3.5, mailAlternateAddress can take the
    form of @mail1.domain.com. If jdoe's mailAlternateAddress is
    set to @mail1.domain.com, mail sent to [email protected]
    will be delivered to [email protected]

    jaygatsby1123 wrote:
    So what exactly am I doing with virtual hosts?  There is a place for Aliases...  What would I put in the "Aliases" box?
    Any other host name that you want to resolve to the specified virtual host.  It's quite literally an alias.
    if you want www.example.com and www.example.org to end up at the same web site and you already have a virtual host — Apple refers to virtual hosts as sites — configured for www.example.com in Server.app, then you'd add www.example.org as an alias for the www.example.com virtual host (site).
    Virtual hosts are implemented in a web server using some details of the HTTP or HTTPS protocol, and what the web browser (client) specified.  The client gets handed an IP address or a domain name by the user, and the client then fetches the associated IP address for the target web server from the client's DNS services or local host database, and the client then connects to the IP address and passes over the text string that the user had requested — the IP address or domain name or even some local shortcut set up in the client system — via the HTTP or HTTPS protocol.  The web server receives and processes this arriving text string from the client, and uses it to select which web site to render back to the web client.   One subtle detail lurks here, too: the server's own DNS configuration really isn't involved in the selection of the virtual host.

  • How Can i specify multiple server names in rwservlet.properties  file?

    How Can i specify multiple server names in rwservlet.properties file without clustering?
    I am using oracle 10g Application server. we have 3 servers Repsvr1, RepSvr2 and RepSvr3. Now i need to configure rwservlet.properties file to point to these servers based on any running report. i got 3 keymap files with reports info.
    Sample entry in the key map file is:
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    rwservlet.properties file letting me to enter only one servername. Even though i merged all 3 keymap files into 1, still i have the server name issue. If i leave the server to the default name still i am getting the below error.
    REP-51002: Bind to Reports Server Repsvr1 failed. However, i know the default rep_<servername> would be used incase we dont have SERVER=<value> parameter in the rwservlet.properties file.
    If i specify the servername in the rwservlet.properties file then only Repsvr1 reports are working fine and other 2 server reports are giving the same error like
    REP-51002: Bind to Reports Server <<Server Name>> failed.
    how can i configure the info which will work all 3 reports. 2 Port servers are invoking using oracle forms and report server is invoking using ASP pages.
    If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error, whenever i am trying to integrate all 3 to workable i am getting binding error. if i exclude the server from rwservlet.properties still i am getting the same error.

    My RELOAD_KEYMAP setting is YES only.As i said If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error.
    keymap file entries
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    If i use http://server.domain:port/reports/rwservlet? cmdkey = key1 should bring the report from Repsvr1 and http://server.domain:port/reports/rwservlet? cmdkey = key2 should bring the report from Repsvr2, but i am getting an error from Repsvr2 saying that REP-51002: Bind to Reports Server repsvr2 failed.
    Only Servername Repsvr1 is in rwservlet.properties file. Now what is the best option to by pass the server from rwservlet.properties file and should be from keymap file. if i comment server name in rwservlet.properties file still i am getting REP-51002: Bind to Reports Server <<Server Name>> failed error for both keys.

  • How can i host a server for assetto corsa

    How can i host a server for assetto corsa with log me in ?We are like 5 friends, and we are on diffrent networks Pls Help, if this is possible that is

    National Instruments also offers a web UI builder, and you can learn more about it here.  This allows you to build a web-based user interface for your programs.  I have never used it, but it says it can compile "the code into a Silverlight .XAP file, which can then be deployed to any web server for a user to invoke from a web browser".  Maybe this could run on your web server.

  • HT204053 how can i create multiple icloud accounts for my family members

    how can i create multiple icloud accounts for my family members

    Thanks...  I appreciate the reply.  Since I wrote the previous email, I actually went and changed my apple id (the main id) and the documentation I looked at said iCloud will set mail up automatically(?)...  I had it working before. 
    Also, I tried to manually set up the ID via the Mail Accounts screen(s) and I can't figure out what my server information is...  Pop or Imap?  What's the outgoing server and the incoming server?
    I typically have never had problems setting up mail accounts (in apple mail) with no problem.
    Can anyone point me in the right direction?
    Thanks in advance!

  • How can I use multiple row insert or update into DB in JSP?

    Hi all,
    pls help for my question.
    "How can I use multiple rows insert or update into DB in JSP?"
    I mean I will insert or update the multiple records like grid component. All the data I enter will go into the DB.
    With thanks,

    That isn't true. Different SQL databases have
    different capabilities and use different syntax, That's true - every database has its own quirks and extensions. No disagreement there. But they all follow ANSI SQL for CRUD operations. Since the OP said they wanted to do INSERTs and UPDATEs in batches, I assumed that ANSI SQL was sufficient.
    I'd argue that it's best to use ANSI SQL as much as possible, especially if you want your JDBC code to be portable between databases.
    and there are also a lot of different ways of talking to
    SQL databases that are possible in JSP, from using
    plain old java.sql.* in scriptlets to using the
    jstlsql taglib. I've done maintenance on both, and
    they are as different as night and day.Right, because you don't maintain JSP and Java classes the same way. No news there. Both java.sql and JSTL sql taglib are both based on SQL and JDBC. Same difference, except that one uses tags and the other doesn't. Both are Java JDBC code in the end.
    Well, sure. As long as you only want to update rows
    with the same value in column 2. I had the impression
    he wanted to update a whole table. If he only meant
    update all rows with the same value in a given column
    with the same value, that's trivial. All updates do
    that. But as far as I know there's know way to update
    more than one row where the values are different.I used this as an example to demonstrate that it's possible to UPDATE more than one row at a time. If I have 1,000 rows, and each one is a separate UPDATE statement that's unique from all the others, I guess I'd have to write 1,000 UPDATE statements. It's possible to have them all either succeed or fail as a single unit of work. I'm pointing out transaction, because they weren't coming up in the discussion.
    Unless you're using MySQL, for instance. I only have
    experience with MySQL and M$ SQL Server, so I don't
    know what PostgreSQL, Oracle, Sybase, DB2 and all the
    rest are capable of, but I know for sure that MySQL
    can insert multiple rows while SQL Server can't (or at
    least I've never seen the syntax for doing it if it
    does).Right, but this syntax seems to be specific to MySQL The moment you use it, you're locked into MySQL. There are other ways to accomplish the same thing with ANSI SQL.
    Don't assume that all SQL databases are the same.
    They're not, and it can really screw you up badly if
    you assume you can deploy a project you've developed
    with one database in an environment where you have to
    use a different one. Even different versions of the
    same database can have huge differences. I recommend
    you get a copy of the O'Reilly book, SQL in a
    Nutshell. It covers the most common DBMSes and does a
    good job of pointing out the differences.Yes, I understand that.
    It's funny that you're telling me not to assume that all SQL databases are the same. You're the one who's proposing that the OP use a MySQL-specific extension.
    I haven't looked at the MySQL docs to find out how the syntax you're suggesting works. What if one value set INSERT succeeds and the next one fails? Does MySQL roll back the successful INSERT? Is the unit of work under the JDBC driver's control with autoCommit?
    The OP is free to follow your suggestion. I'm pointing out that there are transactions for units of work and ANSI SQL ways to accomplish the same thing.

  • How Can I Use Multiple Weblogic Instances in a Single OS

    Hello Everyone,
    Actually I have to install Some different applications. Few of them need weblogic 10.3.6 and others need 10.3.4. The OS am using is Oracle  Enterprise Linux 5.
    Now I am able to install 2 separate(One of 10.3.4 and 10.3.6) instances with two different users,In two different directories.
    I have installed the weblogic 10.3.6 version with a user webadmin and installed node manager with port 5556. This is working fine.
    The main problem here is :
    In the second instance (10.3.4 ) installed with a a different user and gave the port number to NodeManager as 1600 and its not getting started. Its throwing error and also after some errors in the terminal am able to see that its reverting to port number 5556 only.
    What might be the issue?
    I have to install 2 different versions of weblogic in a single Server. But am failing with NodeManager. What Can I do to have multiple weblogic instances with multiple versions in a single server ?
    Can anyone suggest a resolution for this please ?
    Thanks in advance.

    Pl do not spam these forums with multiple posts - How Can I Use Multiple Weblogic Instances in a Single OS

  • How can I insert multiple page contents in the page layout properly?

    I wanted to create 4 columns on the page layout. These 4 columns are of page contents.
    After creating new web page based on that page layout, I attempted to enter 4 different inputs on all 4 columns.
    Then, the result (from all columns) becomes the same.
    Image - edit the web page based on 4 columns page layout:
    Image - after edit & save:
    How can I insert multiple page contents in the page layout properly?

    First, I copied the HTML snippet for the Page Content on Sharepoint's Design Manger. The code of Page Content HTML snippet is shown below:
    <div data-name="Page Field: Page Content">
    <!--CS: Start Page Field: Page Content Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField"
    Namespace="Microsoft.SharePoint.Publishing.WebControls"
    Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldRichHtmlField:RichHtmlField
    FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server">-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <div id="ctl02_label" style="display:none">Page Content</div>
    <div id="ctl02__ControlWrapper_RichHtmlField" class="ms-rtestate-field"
    style="display:inline" aria-labelledby="ctl02_label"><div align="left"
    class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer"
    nowrap="nowrap"><span class="ms-formfieldlabel"
    nowrap="nowrap">Page Content</span></div>
    <div class="ms-formfieldvaluecontainer"><div class="ms-rtestate-field">
    Page Content field value. Lorem ipsum dolor sit incididuntet dolore.</div>
    </div></div></div><!--PE: End of READ-ONLY PREVIEW-->
    <!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
    <!--CE: End Page Field: Page Content Snippet-->
    </div>
    After I published the page layout, I found the code for Page Content from its ASPX page. The code is shown below:
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/></div>
    So, I attempted to create 4 columns by using 4 HTML snippets of Page Content on the same page layout. The page layout is generated from HTML file to ASPX file.
    Then I edited some parts in ASPX page layout:
    <asp:Content runat="server" ContentPlaceHolderID="PlaceHolderMain">
    <table>
    <tr>
    <td style="width:70px;">&nbsp;</td>
    <td style="width:250px; text-align:right;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:40px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:175px;">&nbsp;</td>
    </tr>
    </table>
    </asp:Content>
    The 4 columns for Page Contents appeared on the web page when I created new page using that page layout. But the problem is that all 4 columns displayed the same result from 4th column.

Maybe you are looking for

  • The home button on my ipod touch doesnt really work

    when you push it nothing happens you have to push it quite hard a couple of times before anything happens.

  • Prob in loading transactional data

    Hi all...... i need ur help insloving this. i have to load the transactional data from a flat file and i have four keyfig data to be loaded and all the four are defined as 0curreny in their infoobject definition. my data stru  like this column1 " 700

  • BPM in SAP NetWeaver: do you really like and use it?

    Dear friends, BPM (Business Process Management) is the metodology for reorganization and optimization of business processes. And BPMS (Business Process Management System) is software for BPM. BPMS must support full life cycle of business process: des

  • FileDialog on Mac

    Hi, I am using FileDialog on Mac. Is there any way to add File Formats , for the user to choose what format he wants to save his file ? Thanks, Merav

  • Can you print from an Ipod Touch (newest one) to wirless HP Photosmart Premium C309n?

    I've tried the bluetooth connections and finding the printer - from both printer and ipod but they do not find each other, so I was wondering if it was possible to be able to print to my printer C309n Photosmart Premium.