Multiple Mail Domains with multiple IP addresses

Hello,
I am attempting to configure a mail server with 3 domains and 3 distinct IP addresses. I am currently only working with 2 of the domains.
Mail sent to either domain is received by the accounts in both domains: if I send a message to [email protected], it goes to both that mailbox and the [email protected] mailbox. I have user accounts set up in WGM for both domains.
I'm sure I have something misconfigured, but the only instructions I can find for multiple domains assume virtual domains using only one IP address.
postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
html_directory = no
inet_interfaces = all
localrecipientmaps = proxy:unix:passwd.byname $alias_maps
luser_relay =
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mapsrbldomains =
mydestination = $myhostname,localhost.$mydomain,localhost,mail.tomsheehan.com,tomsheehan.com,ma il.19north.com,19north.com
mydomain = tomsheehan.com
mydomain_fallback = localhost
myhostname = mail.tomsheehan.com
mynetworks = 127.0.0.1/32,66.216.189.129/32,66.216.189.133/32,66.216.189.134/32,tomsheehan.c om
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdclientrestrictions = permit_mynetworks rejectrblclient zen.spamhaus.org permit
smtpdpw_server_securityoptions = login
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_keyfile =
smtpduse_pwserver = yes
unknownlocal_recipient_rejectcode = 550
virtualmailboxdomains =
virtual_transport = virtual
Thanks in advance for any help I may receive!
Scott
iMac Core2Duo 2 GHz, iMac G4 700, iMac G4 800, iBook G3 900   Mac OS X (10.4.9)  

Scott,
can you elaborate a bit on the final goal?
There is no need to use multiple IPs to run seperate domains. Virtual domains can handle this just fine.
You could run three different instances of postfix bound to different IPs and different configurations. (postfix -c configdir_touse start) Each config directory would have its own main.cf with the main parameters to be changed being "inet_interfaces", "myhostname" and "mydomains". However, unless you have a very specific need this is just an extra headache.
Alex

Similar Messages

  • How to delete multiple data domains with single step ?

    how to delete multiple data domains with single step ?

    You can go to your Endeca-Server domain home e.g.($WEBLOGIC-HOME$/user_projects/domains/endeca_server_domain/EndecaServer/bin)
    run
    [HOST]$ ./endeca-cmd.sh list-dd
    default is enabled.
    GettingStarted is enabled.
    endeca is enabled.
    BikeStoreTest is enabled.
    create a new file from the output just with the domains that you want to delete and then create a loop
    [HOST]$ vi delete-dd.list
    default
    GettingStarted
    endeca
    BikeStoreTest
    [HOST]$ for i in $(cat delete-dd.list); do; ./endeca-cmd.sh delete-dd $i; done
    Remember that this can not be undone, unless you have a backup.

  • Receiver Mail adapter with multiple mail ids

    Hi Experts,
    I am doing File to Mail scenario.
    I am generating mail package structure using Java mapping.
    Email is not going to multiple mail ids mentioned in To field.
    I tried with , and ; but for both it is behaving strange:
    When using ,(coma)
    in case of multiple receivers:
    only last mail id will receive mail in Inbox
    when using ;(semicolon)
    Every email id person will receive mail but with same name listed under To: that is last mail id.
    For example:
    To: abc.at.test.com,xyzat.est.com,def.at.est.com
    Then only def.at.test.com will receive mail
    In case of semicolon(;):
    Every mail id will receive mail in Inbox, that is abc.at.test.com,xyz.at.test.com,def.at.test.com
    will get mail in their respective mail box, but all mails will have same TO field: def.at.test.com
    I hope it is cleared.
    If you want I can send outlook mail headers from outlook.
    Best Regards,
    Divyesh

    Hi Divyesh
    Refer the below thread. The same problem was being solved.
    Mail Adapter - Multiple mail ID and multiple mail servers config.
    Here is the Summery:
    WRONG: receiver1@server1;receiver2@server2;
    CORRECT: receiver1@server1;receiver2@server2
    Regards,
    Madan Agrawal

  • We have multiple users, each with multiple devices, on 1 apple id - as we want to share music and ibooks etc.  We want the children to have access to the store, but with a financial limit. How do we do this?

    We have multiple users, each with multiple devices, on 1 apple id - as we want to share music and ibooks etc.  We want the children to have access to the store, but with a financial limit. How do we do this?

    Welcome to the Apple Community.
    That's simply not possible I'm afraid. You'd need to give them their own account and allowance or make it so you are required to be there to input the password when they wish to make a purchase.

  • JNDI Lookup for multiple server instances with multiple cluster nodes

    Hi Experts,
    I need help with retreiving log files for multiple server instances with multiple cluster nodes. The system is Netweaver 7.01.
    There are 3 server instances all instances with 3 cluster nodes.
    There are EJB session beans deployed on them to retreive the log information for each server node.
    In the session bean there is a method:
    public List getServers() {
      List servers = new ArrayList();
      ClassLoader saveLoader = Thread.currentThread().getContextClassLoader();
      try {
       Properties prop = new Properties();
       prop.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
       prop.put(Context.SECURITY_AUTHENTICATION, "none");
       Thread.currentThread().setContextClassLoader((com.sap.engine.services.adminadapter.interfaces.RemoteAdminInterface.class).getClassLoader());
       InitialContext mInitialContext = new InitialContext(prop);
       RemoteAdminInterface rai = (RemoteAdminInterface) mInitialContext.lookup("adminadapter");
       ClusterAdministrator cadm = rai.getClusterAdministrator();
       ConvenienceEngineAdministrator cea = rai.getConvenienceEngineAdministrator();
       int nodeId[] = cea.getClusterNodeIds();
       int dispatcherId = 0;
       String dispatcherIP = null;
       String p4Port = null;
       for (int i = 0; i < nodeId.length; i++) {
        if (cea.getClusterNodeType(nodeId[i]) != 1)
         continue;
        Properties dispatcherProp = cadm.getNodeInfo(nodeId[i]);
        dispatcherIP = dispatcherProp.getProperty("Host", "localhost");
        p4Port = cea.getServiceProperty(nodeId[i], "p4", "port");
        String[] loc = new String[3];
        loc[0] = dispatcherIP;
        loc[1] = p4Port;
        loc[2] = null;
        servers.add(loc);
       mInitialContext.close();
      } catch (NamingException e) {
      } catch (RemoteException e) {
      } finally {
       Thread.currentThread().setContextClassLoader(saveLoader);
      return servers;
    and the retreived server information used here in another class:
    public void run() {
      ReadLogsSession readLogsSession;
      int total = servers.size();
      for (Iterator iter = servers.iterator(); iter.hasNext();) {
       if (keepAlive) {
        try {
         Thread.sleep(500);
        } catch (InterruptedException e) {
         status = status + e.getMessage();
         System.err.println("LogReader Thread Exception" + e.toString());
         e.printStackTrace();
        String[] serverLocs = (String[]) iter.next();
        searchFilter.setDetails("[" + serverLocs[1] + "]");
        Properties prop = new Properties();
        prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
        prop.put(Context.PROVIDER_URL, serverLocs[0] + ":" + serverLocs[1]);
        System.err.println("LogReader run [" + serverLocs[0] + ":" + serverLocs[1] + "]");
        status = " Reading :[" + serverLocs[0] + ":" + serverLocs[1] + "] servers :[" + currentIndex + "/" + total + " ] ";
        prop.put("force_remote", "true");
        prop.put(Context.SECURITY_AUTHENTICATION, "none");
        try {
         Context ctx = new InitialContext(prop);
         Object ob = ctx.lookup("com.xom.sia.ReadLogsSession");
         ReadLogsSessionHome readLogsSessionHome = (ReadLogsSessionHome) PortableRemoteObject.narrow(ob, ReadLogsSessionHome.class);
         status = status + "Found ReadLogsSessionHome ["+readLogsSessionHome+"]";
         readLogsSession = readLogsSessionHome.create();
         if(readLogsSession!=null){
          status = status + " Created  ["+readLogsSession+"]";
          List l = readLogsSession.getAuditLogs(searchFilter);
          serverLocs[2] = String.valueOf(l.size());
          status = status + serverLocs[2];
          allRecords.addAll(l);
         }else{
          status = status + " unable to create  readLogsSession ";
         ctx.close();
        } catch (NamingException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (CreateException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (IOException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (Exception e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
       currentIndex++;
      jobComplete = true;
    The application is working for multiple server instances with a single cluster node but not working for multiple cusltered environment.
    Anybody knows what should be changed to handle more cluster nodes?
    Thanks,
    Gergely

    Thanks for the response.
    I was afraid that it would be something like that although
    was hoping for
    something closer to the application pools we use with IIS to
    isolate sites
    and limit the impact one badly behaving one can have on
    another.
    mmr
    "Ian Skinner" <[email protected]> wrote in message
    news:fe5u5v$pue$[email protected]..
    > Run CF with one instance. Look at your processes and see
    how much memory
    > the "JRun" process is using, multiply this by number of
    other CF
    > instances.
    >
    > You are most likely going to end up on implementing a
    "handful" of
    > instances versus "dozens" of instance on all but the
    beefiest of servers.
    >
    > This can be affected by how much memory each instance
    uses. An
    > application that puts major amounts of data into
    persistent scopes such as
    > application and|or session will have a larger foot print
    then a leaner
    > application that does not put much data into memory
    and|or leave it there
    > for a very long time.
    >
    > I know the first time we made use of CF in it's
    multi-home flavor, we went
    > a bit overboard and created way too many. After nearly
    bringing a
    > moderate server to its knees, we consolidated until we
    had three or four
    > or so IIRC. A couple dedicated to to each of our largest
    and most
    > critical applications and a couple general instances
    that ran many smaller
    > applications each.
    >
    >
    >
    >
    >

  • Mail Groups with Multiple Contact Email Addresses

    I cannot find a way to create a Group in Address Book where the contacts have more than one email address. In fact I have not been able to get emailing to groups with Mail to work at all. I always get prompted to select one of my other outgoing SMTP servers... none of them work, iCloud, Gmail, private domain. I don't understand why this is so difficult.
    I have read online that Groups do not support contacts with multiple email addresses... Really? Say it isn't so!

    User A can have one mailbox associated with his ID.  You can create other "User A" mailboxes with different names and e-mail addresses as shared mailboxes and grant User A full mailbox rights and send as right.  User A can
    then connect to each one of them separately.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Hosting Multiple Mail Domains

    Hi There:
    I have some questions, will you please help me.
    My Server is set
    example.com
    I need to set additional / Multiple E-Mail Domains, these need to be separated, like:
    example1.com
    example2.com
    example3.com
    For the E-Mail Client, what will be de In-Comming Mail Server and Out-Going / SMTP
    mail.example1.com
    mail.example2.com
    mail.example3.com
    or it will be "mail.example.com" for all 4 Domains.
    I would like to say THANK YOU in advance

    This is entirely possible, and supported by the Server Admin user interface for the mail server.
    Start with the [Mac OS X Server Mail Services Administration Manual|http://images.apple.com/server/macosx/docs/MailService_Adminv10.6.pdf], page 73
    Quoth the Book Of Mail:
    A Mail Service Virtual Host
    Virtual hosting is a method you can use to host more than one domain name on the same
    computer and IP address, with overlapping mail user names.
    For example, a mail server can receive mail transfer requests for two domains,
    mail.example1.com and mail.example2.com, both of which resolve to the same IP
    address. For mail.example1.com, the server delivers mail to “[email protected]
    to a user mailbox for “bob,” while it also delivers mail to “[email protected]” to
    a different user mailbox. Virtual hosts are essentially the converse of local host aliases.
    One subtlety here is that the domains sharing the same mail server and all co-resident on the IP address will all tend to have the same public host name listed as their MX (mail exchange) server of record in the public DNS. This so that forward and reverse DNS and MX server all line up for the mail server for all the domains involved.

  • Mail Adapter - Multiple mail ID and multiple mail servers config.

    Hi All
    I am doing BPM synch scenario in which i get the response from SAP box and send the response via email adapter. I am using mail.xsd and doing mail config. in message mapping. However in the TO field i am able to give only one email ID. If i give multiple email ID's mail is not received. I tried comma and semi-colon as separator. Still not working? I have two questions in configuring TO option:
    1) How to send to multiple id's? I am using Lotus Notes.
    2)How to send to multiple mail servers? I have to send to Lotus Notes id's and outlook express id's also simultaneously.
    Thanks for your help in advance
    Warm Regards
    Samuel

    Hi,
    Please find here with some observations about it,
    1) How to send to multiple id's? I am using Lotus Notes.
    If you have specified an IMAP server under URL, the message is saved in the specified folder but is not sent to the receiver specified under To.
    Then even if Under To, you had specified the e-mail address that will receive the message would be separated with a semicolon. It will not work.
    Please verify about it .
    The below link will also help you to verify if there is anything missing
    Mail Adapter (XI) - how to implement dynamic mail address
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    BPM:Single Sender and Multiple Receivers based on synchronous
    exchange(switch) part-1
    /people/prasadbabu.nemalikanti3/blog/2006/03/10/bpmsingle-sender-and-multiple-receivers-based-on-synchronous-exchangeswitch-part-1
    Generic Message Interface in SAP Exchange Infrastructure Email Integration Scenarios
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00d5a235-4803-2a10-f682-889d67c69975
    (If your using Alert Framework then)
    If you want to send it to multiple email addresses and all email addresses are user of XI then you can define "Role" and attach that role to everyuser and make this role as receipent of alert .
    Thanks
    Swarup
    Thanks
    Swarup

  • Multiple Apple IDs with multiple PCs and multiple AppleTVs - content not authorised

    So, this is a slightly complicated setup; but it should work... and it does, until randomly AppleTV decides that it isn't authorised to play some content.
    Setup is this:
    PC1 - authorised for AppleID1, AppleID2, AppleID3 and AppleID4 - HomeSharing turned off - pirmary AppleID (used for new purchases) is AppleID1
    PC2 - authorised for AppleID1, AppleID2, AppleID3 and AppleID4 - HomeSharing turned off - primary AppleID (used for new purchases) is AppleID2
    AppleID3 and AppleID4 are other AppleIDs and only occasionally used for new purchases depending on content availablity. Yes these are genuine AppleIDs associated with other email addresses in other regions as we split our time between countries.
    PC3 - authorised for AppleID1, AppleID2, AppleID3 and AppleID4 - HomeSharing turned ON (using AppleID1) - this PC isn't used interactively for purchasing content it's only purpose is for HomeSharing.
    Please note that each PC has it's own iTunes library, all content is synchornised between PCs using sync programs (e.g. SuperSync) or a shared drive NAS.
    There are 4 AppleTVs that are sharing the content from PC3.
    Sometimes, when trying to play some content on one of the AppleTVs then the message that this content is not authorised will appear. So far the only way I have found around this is to go to PC3 and re-authorise that PC with the AppleID that was used to purchase the content. The PC _always_ reports that "This computer is already authorised for that AppleID"; however after doing this the content plays on the AppleTV.
    How can I avoid this problem? PC3 is basically used as a HomeSharing server so that I don't have to have the individual PCs turned on. As far as I understand content is licensed to a specific AppleID and NOT (except with rentals) to a specific AppleID _and_ specific device.
    I will happily change to using iCloud to allow all of my devices to access all of my content that I have purchased, but at the moment it seems that this problem will exist no matter how the content gets onto the device. Using a single new AppleID isn't possible either as we need to have different AppleIDs for different places.
    Is there any solution? Why does AppleTV report that the content isn't authorised when the PC which is sharing the content is actually authorised? Why does re-authorising the PC make it work, when it reports that it was already authorised??
    This is becoming seriously annoying.

    Hi
    i ran into the same problem. surprisingly though, i am not using multiple apple id and just one mac.
    i did change both the account (apple id) and the computer (from pc to a mac server), but home sharing is on and the apple tv (1) is synced with the new computer.
    i can connect to the itunes store and browse through it (signed in at all times). i cannot purchase any content and cannot play transferred rentals from the computer (apple tv is not authorised...)
    somehow, it seems the apple tv was stuck with a previous id.
    i have just now re-authorised my computer on the account and will give the apple tv another try. i did notice a message during the re-authorisation process. the apple tv is being authorised. this gives me hope.
    in any case, your setup seems to be a dream come through. i decided to phase out my high end multiroom linn kivor system (over 20k back 6y ago) to an itunes based system. apparently you managed to build something.
    i tried an itunes based nas but gave up due to complex operation (and overheating on top) and went for a mac server. i will be using windows clients though.
    most of my content is cd based. can you sync purchased content between pc's? or with a server?

  • Programming multiple smart cards with multiple smart card readers in a PC causes a PCSCException in a smart card that is in progress

    Hi,
    I develop a Java code using smartcardio API to program a smart card. My GUI allows to add at most 5 smart card readers that will wait for card present, then do authentication and program the smart card with an application, then wait for card removal. This is a separate thread running in a loop for each smart card reader added as programmer.
    The problem occurs when a certain smart card is in progress and I inserted another smart card to another smart card reader.  Both smart card reader halts and throw sun.security.smartcardio.PCSCException: Unknown error 0x8010002f.
    I also observed that every time there is an attempt to insert/remove a smart card in the smart card reader that is connected to the USB port would cause the programming in progress to be interrupted and throw the PCSCException.
    These are some exceptions I got during my testing:
    sun.security.smartcardio.PCSCException: Unknown error 0x8010002f
      at sun.security.smartcardio.PCSC.SCardTransmit(Native Method)
      at sun.security.smartcardio.ChannelImpl.doTransmit(ChannelImpl.java:171)
    java.lang.Exception: Loader Record Failed: 6E | 0 //Sometimes I got this return code SW1 0x6E SW2 0x00 which means an APDU with an invalid 'CLA' bytes was received. I had check the command before it was sent and it was correct.
    Help me understand this issue. I think the CardTerminal.isCardPresent(), CardTerminal.waitForCardPresent(0), and CardTerminal.waitForCardAbsent(0) cause this issue that CardChannel.transmit(apduCommand) is interrupted or the smart card insertion/removal causes the CardChannel.transmit(apduCommand) is interrupted.
    Regards,
    Knivez

    Hi,
    when you work with one smartcard reader only usually you address the slot -1 that means "the first found".
    But to deal with multiple readers you have to use slots of course since one reader will be slot 0, next reader will be slot 1 and so on...
    So a credential object will be identified on a system by a couple
    <slot,alias>
    After that, the way to address slots (I mean the syntax) depends on the classes you are using...
    Bye

  • Organizing multiple email accounts with multiple folders

    I'm a new mac user trying to figure out this whole new mac thing. I've used outlook and later on Mozilla Firefox for my emails.
    I'm trying to figure out this mac mail app since I keep hearing use the mail and the phone book apps already in the system, they work great. They seem to, yes, but I'm having problems wrapping my head around how am I supposed to organize my emails in a coherent way in this apple mail app. Like every thing else mac it seems overly simplified, not necessarily a bad thing, but very frustrating.
    Here's the folder structure I'm trying to recreate:
    Email Acc 1
    subfolder-Facebook
    subf.-Ebay
    subf.-GoogleAcc
    subf.-yahoo group1
    Email Acc 2
    subf.-Facebook
    subf.-yahoo group2
    etc, etc, etc...
    I have about 10 different email accounts I communicate through and each of them has their assigned Facebook account, incoming yahoo group messeges, etc..
    I started setting up my accounts and then realized that all the inboxes were grouped together, then all the outboxes, I saw one shared junkmail, cringed and stopped. I tried playing around with the smart boxes, rules, etc, and I can't seem to be able to split up all the inboxes etc.
    HELP!
    subf.-yahoo group3

    SizzlingChicken,
    This whole mac thing is taking some getting used to There are certain aspects I'm really liking and others that seem so strange.
    What, you wanted to stay in Kansas?? When it seems strange, lean towards a default "Am I over-thinking this?" I can't guarantee that this will be the case in all situations, but many of the "Switcher" issues I see fall into this category. I'll try to throw in a few "general purpose" bonuses at the end of this reply to help you on your way.
    I noticed the Sent folder is also split up based on the accounts which will be nice for since I some times need to back track through sent messages from the different accounts.
    Yep. This is one very good reason not to move messages out of their default locations. You'll always have "To" and "From" info to determine origins, thread, purpose, etc., but there's nothing like having them organized the way they come in. Especially with the number of accounts you're dealing with.
    Maybe you could explain to me the advantage of using a smart mail box?
    Have done, I think. If you have additional questions, let me know.
    I might not even need to use the Entourage
    EEEEEK!!!!
    Of course Mail works seamlessly with iCal and Address Book. And with the Finder!!!! I'll give you an example of the power you're dealing with, here. Open Text Edit (yeah, I know it doesn't make sense. Just do it). Begin typing email addresses, any email addresses (make them up, if necessary), separated by commas. No spaces, just commas. When you have typed enough to entertain yourself, triple-click the text to select it all. Click and hold the selected text, then drag it out to your Desktop.
    Normally, dragging selected text out to the Finder creates what we call a "text clipping," which is like a portable and semi-permanent clipboard. This clipping can be non-destructively dragged into any other application window to paste in its contents. I use them all the time for these discussions. In this case, however, the Finder uses the "Data Detectors" built into OS X to make the determination that these are email addresses, and that this is a list of them. The resultant file, dragged out to the Desktop, gets a ".mailoc" extension, meaning it is a "Mail Location." Quit Text Edit. Now, double-click the ".mailoc" file. Lift your jaw, and close your mouth.
    On to the bonus goodies. Perhaps the best advice I can give to you is to learn and use your keyboard shortcuts. The same in Windows pale in comparison. First off, those in OS X actually make sense. Generally speaking, your keyboard modifiers operate in a logical way: "Command" for issuing commands, "Option" for various options, and "Control" to control something. For the most part, this latter translates to choosing items from a contextual menu. It is the same as a "right-click" in Windows.
    For now, let's just consider one function of the "Command" key. We all know what "Delete" is for. It is intended to be used in applications to remove text or items, or to backspace (which amounts to the same thing). If we select a file and press Command-Delete, though, we issue the command to "move this file to the trash." Give it a try. But wait, that's not all! You can also elevate the command, just like we "elevate" text to upper-case, by also pressing the Shift key. Move an unwanted file to the trash, as described. Then, press Shift-Command-Delete. Cool!
    Now, try the same paradigm with the keyboard shortcut for "quit" (Command-Q, of course).
    Scott

  • Configuring Receiver mail adapter with dynamic email addresses

    Hi,
    I'm a newbie to XI and I have problems in configuring the Receiver mail adapter with the "Use Mail package" option selected. I am trying pickup a file (using file adapter on Sender side, picks up a simple XML file) and after mapping in XI, send the message as an email message to dynamic email addresses.
    Everything works fine if I did not select the "Use Mail Package". But when I choose that option it errors out. I followed this blog posted on SDN -
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    The following XML message is my source
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/Somenamespace">
       <ns0:Message1>
          <ns1:studentlisttest xmlns:ns1="urn:karthiksender_to_karthikreceiver">
             <Student>
                <studentid>1</studentid>
                <lastname>Studentlastname</lastname>
                <firstname>Studentfirstname</firstname>
             </Student>
             <Mail>
                <From>[email protected]</From>
                <To>[email protected]</To>
                <Subject>Test mail adapter</Subject>
             </Mail>
          </ns1:studentlisttest>
       </ns0:Message1>
    </ns0:Messages>
    What I want to accomplish is, I have a simple message mapping where the Studentdetails are mapped to, lets say Customer details. For convenience lets keep it simple, StudentId --> Customerid, (student)Firstname --> (customer)Firstname, (Student)Lastname --> (customer)Lastname
    I would like to get the Customer details as an XML attachment or in the body of an email with from, to and subject corresponding to that specified in the <Mail> node.
    I followed the instructions posted on the blog and it works fine if I don't map the studentdetails to customerdetails. I did multimapping, with one source message (the xml file I posted above) and two target messages (customerdetails and Mail, which is the external definition posted on the blog). I beleive I'm missing something here. Could somebody please guide me through this?
    Thanks
    Karthik

    hi,
    I still have not found the solution for this problem. Michal, your blog works fine when my source message has got only the mail details. As per your advice, I tried modified the structure of the xsd file as follows
    <xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"
      xmlns:xi="http://sap.com/xi/XI/Mail/30"
      xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!--
    Mail
      -->
      <xs:element name="Mail">
        <xs:annotation>
          <xs:documentation>Mail package for XI - Mail Adapter</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:string" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Reply_To" type="xs:string" minOccurs="0"/>
            <xs:element name="Content_Type" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="Message_ID" type="xs:string" minOccurs="0"/>
            <xs:element name="X_Mailer" type="xs:string" minOccurs="0"/>
            <xs:element name="Content" minOccurs="0">
              <xs:annotation>
                <xs:documentation>any type</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="encoding" type="xs:string"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="MailReceipt">
        <xs:annotation>
          <xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Server" type="xs:string"/>
            <xs:element name="Format" type="xs:string"/>
            <xs:element name="UseMailPackage" type="xs:boolean"/>
            <xs:element name="Encoding" type="xs:string"/>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="CustomerlistExternal">
        <xs:annotation>
          <xs:documentation>Customer List</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Customername" type="xs:string"/>
            <xs:element name="Customerid" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    My source message will be something like
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:studentlisttest xmlns:ns1="urn:karthiksender_to_karthikreceiver">
             <Student>
                <studentid>1</studentid>
                <lastname>abclname</lastname>
                <firstname>abcfname</firstname>
             </Student>
             <Mail>
                <From>[email protected]</From>
                <To>[email protected]</To>
                <Subject>Testing Mail adapter</Subject>
             </Mail>
          </ns1:studentlisttest>
       </ns0:Message1>
    </ns0:Messages>
    I have mapped the <student></student> information to customerlist, with customerid --> studentid and customername --> firstname or lastname (for symplicity). This was a multimapping with one source and two target messages. My test mapping output is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
         <ns0:Message1>
              <ns2:Mail xmlns:ns2="http://sap.com/xi/XI/Mail/30">
                   <Subject>Testing Mail adapter</Subject>
                   <From>[email protected]</From>
                   <To>[email protected]</To>
              </ns2:Mail>
         </ns0:Message1>
         <ns0:Message2>
              <ns2:CustomerlistExternal xmlns:ns2="http://sap.com/xi/XI/Mail/30">
                   <Customername>abclname</Customername>
                   <Customerid>1</Customerid>
              </ns2:CustomerlistExternal>
         </ns0:Message2>
    </ns0:Messages>
    So how would I get this part of the <CustomerlistExternal></CustomerlistExternal> part of the message as an attachment to the mail address specified in the <ns2:Mail></ns2:Mail> tags.
    I'm definitely not understanding it right and am missing something. Could you give me step by step instructions to acheive this. I apologize for the trouble..this would be of great help to me.
    Thanks
    Karthik

  • Multiple Thumb Slider with Multiple Track Colors

    Hi All,
    Does any one implemented a Multiple Thumb Slider component with Multiple Track Colors. Please find the screen shot of the component below which I am talking about.
    Any ideas or any link or sample source of code given would be highly appreciated.
    If I drag any thumb the colored section between any two thumbs should increase or decrease.
    Thanks,
    Bhasker

    Hi,
    There is a sort of workaround I made myself. Basically you set up your slider into a canvas container and add new boxes exactly at the position between your thumb buttons, in order to imitate your 'tracks'. Look the image below and notice that the black tracks are in fact VBoxes. For different colors, make each VBox different backgroundColor style.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
       <mx:Script>
              <![CDATA[
          import mx.containers.VBox;
          var tracks : Array = [];
          public function changeSliderHandler(event : Event) : void {
             for (var i : int = 0,j : int = 0; i < tracks.length; i++) {
                var track : VBox = tracks[i] as VBox;
                track.setStyle('left', slider.getThumbAt(j++).xPosition + 3);
                track.setStyle('right', slider.width - slider.getThumbAt(j++).xPosition + 3);
          public function addTrackHandler(event : Event) : void {
             var track : VBox = new VBox();
             track.setStyle('backgroundColor', '#000000');
             track.width = 0;
             track.height = 2;
             track.setStyle('bottom', '7');
             tracks.push(track);
             canvas.addChild(track);
             slider.values = slider.values.concat(0, 0);
             slider.thumbCount += 2;
              ]]>
        </mx:Script>
       <mx:Panel title="My Slider" height="95%" width="95%"
                 paddingTop="5" paddingLeft="5" paddingRight="5" paddingBottom="5">
          <mx:Canvas id="canvas" borderStyle="solid" height="40" width="100%">
             <mx:HSlider id="slider" minimum="0" maximum="100" thumbCount="2"
                         change="changeSliderHandler(event)" values="{[0,0]}" showTrackHighlight="false"
                         percentWidth="100" snapInterval="1" tickInterval="1"
                         allowThumbOverlap="true" showDataTip="true" labels="{[0, 50, 100]}"/>
             <mx:VBox id="track1" backgroundColor="#000000" width="0" height="2" bottom="7" initialize="{tracks.push(track1)}"/>
          </mx:Canvas>
          <mx:Button label="Add track" click="addTrackHandler(event)"/>
       </mx:Panel>
    </mx:Application>

  • Has Yosemite fixed Maverick's Mail problem with Group email addresses?

    Does anyone know if Yosemite has fixed the problem that Maverick's Mail program had with Contacts? Maverick's Mail program cannot show Group Address names in the email "To:" window. By default, it shows all of the email addresses in a Group rather than the Group name. The work-around requires putting Group Addresses in the "Bcc:" window. Has that problem been fixed in Yosemite?
    Many thanks,
    Bob Winckler

    Hi Barney,
    Just found out that Maverick's problem with Mail's Group address procedure has resulted in my email accounts being put on hold by my Internet Provider. I'm the president of a local club, and I routinely send out emails to 200+ email addresses several times a month. Since Maverick's Mail now doesn't keep Group addresses hidden when shown in the email "To:" window, we have to put those Group addresses into the "Bcc:" window.  The first couple of times that I did that, the emails went through, but the third time that I tried to send out such an email, my Internet Provider shut down my email account with the statement "Your ability to send new mail has been suspended as a high volume of suspicious mail has been sent from your account recently. Please contact your IT administrator."  The IT administrator required me to run a virus check and then set a new password for my account before they would reactivate it. In my discussions with several of my Internet Provideer's tech reps, it appears that the way the way that the Internet Provider has their server's security system set, a high volume of email addresses in the "Bcc:" section of emails is enough to shut down an account as suspicious. Until Apple gets this problem fixed, my only options are to switch internet providers (after finding one that will let high volumes of "Bcc:" go through) or switch to an older Mac operating system, which I've done (now using an ancient iMac 400DV running Tiger (OS 10.4.11).  Given the high number of businesses, etc., likely to be using Macs, I'm really surprised that Apple has let this problem with Maverick's Mail program go uncorrected.
    Best regards,
    Bob W

  • Hosting Multiple Mail Domains in SL server on a Mac Mini

    So I have been trying to find out the answer to this question, and I keep getting conflicting information, and I am hoping someone here can help me solve this.
    We are running two very small business with two different Domains (@company1 & @Company2) Each company has a website, and corporate email. All I want to do is bring all of this in-house onto one Mac Mini server. The calendars and contacts will be shared between the two principle owners of each company (my bosses) as they support each other in there individual business.
    The Apple "Genius" says this is not possible, I believe and have been told by a few people and after reading posts on here that it is possible to have multiple domains on one Mac Mini Server. I would like to figure this out quickly as the companies have a need to move off the current email provider as fast as possible due to complications with iOS4 and the iPads.
    Any Help from people who are doing this, or know it to be possible or impossible would be greatly appreciated!

    This is entirely possible, and supported by the Server Admin user interface for the mail server.
    Start with the [Mac OS X Server Mail Services Administration Manual|http://images.apple.com/server/macosx/docs/MailService_Adminv10.6.pdf], page 73
    Quoth the Book Of Mail:
    A Mail Service Virtual Host
    Virtual hosting is a method you can use to host more than one domain name on the same
    computer and IP address, with overlapping mail user names.
    For example, a mail server can receive mail transfer requests for two domains,
    mail.example1.com and mail.example2.com, both of which resolve to the same IP
    address. For mail.example1.com, the server delivers mail to “[email protected]
    to a user mailbox for “bob,” while it also delivers mail to “[email protected]” to
    a different user mailbox. Virtual hosts are essentially the converse of local host aliases.
    One subtlety here is that the domains sharing the same mail server and all co-resident on the IP address will all tend to have the same public host name listed as their MX (mail exchange) server of record in the public DNS. This so that forward and reverse DNS and MX server all line up for the mail server for all the domains involved.

Maybe you are looking for