Configuring Server DNS for Mail on Google Apps

I'm trying to configure the DNS on my Snow Leopard Server for mail.mydomain.com to point to Google for Google Apps mail hosting.
I thought I could go into mydomain.com and put an alias record to point to ghs.google.com, but that's no longer working. Any ideas of how to get around this? Is there something else I'm doing wrong?

I figured out the problem. It had to do with an alias record hanging up the DNS.

Similar Messages

  • How to migrate mails from Google Apps to MS Exchange Online IMAP (Getting error)

    Any tips on How to migrate mails from Google Apps to MSOL? What is required? When I am trying to migrate using IMAP but getting fpollowing error
    =======================
    Summary: 1 item(s). 0 succeeded, 1 failed.
    Elapsed time: 00:00:11
    [email protected]
    Failed
    Error:
    Failed to log on successfully for the following reason:
    Server rejected Basic login with following message : * CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE.
    Exchange Management Shell command attempted:
    'Microsoft.Exchange.Transporter.Provider.PopImap.InternetMailboxMeta' | Move-XsIMAPMailboxToExchangeOnline -AllowUnsecureConnection $false -TargetCredential 'System.Management.Automation.PSCredential' -MaxThreadCount '10' -Quiet
    Elapsed Time: 00:00:11
    ======================
    Any help will be much appreciated.
    Regards
    Sunil DK

    I just finished migrating a client from Google Apps to Microsoft Exchange Online using the IMAP option in the Microsoft Online Services Migration Tool.  
    I added the mailboxes by creating a CSV file [i.e. GoogleApps(Gmail)_Mailboxes.csv] in the following format:
    SourceIdentity,SourceServer,SourceLoginID,SourcePassword,TargetIdentity
    [email protected],imap.gmail.com,[email protected],P@ssword1,[email protected]
    [email protected],imap.gmail.com,[email protected],P@ssword2,[email protected]
    [email protected],imap.gmail.com,[email protected],P@ssword3,[email protected]
    Then I created a custom folder map XML file [i.e. GoogleApps(Gmail)_FolderMap.xml] to map the Google Apps (Gmail) labels to the appropriate Exchange (Outlook) mailbox folders and create those that didn't exist (i.e. Important, Starred, Follow up,
    Misc, Priority) as sub-folders under the Inbox:
    <?xml version="1.0" encoding="utf-8"?>
    <FolderMappings xmlns="http://tempuri.org/FolderMap.xsd">
    <!-- This xml contains the mapping of foldername in source server to folders in target server -->
    <!--
    "path" is the name of the folder in source server
    "Name" is the name of the folder to be mapped into target server
    "SpecialFolder" is the name of the special folder to be mapped into
    target server (Name will be ignored) valid values are :
    Inbox
    Calendar
    Tasks
    Sent Items
    Deleted Items
    Drafts
    Junk E-mail
    Contacts
    Outbox
    Journal
    Notes
    "Description" Description of the folder
    "ExcludeFolder" indicates folders to exclude. Valid values are:
    true (case sensitive)
    false (case sensitive)
    0
    1
    -->
    <!-- Default Mapping Section -->
    <Folder path = "INBOX">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "New Mail">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "[Root]">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "Calendar">
    <Property SpecialFolder = "Calendar"/>
    </Folder>
    <Folder path = "Tasks">
    <Property Name = "Migration items/Tasks"/>
    </Folder>
    <Folder path = "Sent Items">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Sent Mail">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Sent">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Deleted Items">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <Folder path = "Trash">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <Folder path = "Drafts">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "Draft">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "Junk E-mail">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "Spam">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "Contacts">
    <Property Name = "Migration Items/Contacts"/>
    </Folder>
    <Folder path = "Outbox">
    <Property SpecialFolder = "Outbox"/>
    </Folder>
    <Folder path = "Journal">
    <Property SpecialFolder = "Journal"/>
    </Folder>
    <Folder path = "Notes">
    <Property SpecialFolder = "Notes"/>
    </Folder>
    <Folder path = "Public Folders">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <!-- Google Apps (Gmail) Specific Mapping Section -->
    <Folder path = "[Gmail]/All Mail">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <Folder path = "All Mail">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <Folder path = "[Gmail]/Drafts">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "[Gmail]/Important">
    <Property Name = "Inbox/Important"/>
    </Folder>
    <Folder path = "[Gmail]/Sent Mail">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "[Gmail]/Spam">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "[Gmail]/Starred">
    <Property Name = "Inbox/Starred"/>
    </Folder>
    <Folder path = "[Gmail]/Trash">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <!-- Custom Mapping Section -->
    <Folder path = "Follow up">
    <Property Name = "Inbox/Follow up"/>
    </Folder>
    <Folder path = "Misc">
    <Property Name = "Inbox/Misc"/>
    </Folder>
    <Folder path = "Priority">
    <Property Name = "Inbox/Priority"/>
    </Folder>
    </FolderMappings>
    Additionally, I had to tell the Internet E-mail Mailbox Migration Wizard to use the "Individual Account Credentials" option since I was able to specify each account password in the CSV file when adding the mailboxes to Microsoft Online Services Migration
    Tools console.
    Just to note, the users had to manually export their contacts to a CSV file and calendars to iCal (ICS) files in order to import those items into Outlook.
    I hope this will benefit others since Microsoft doesn't seem to have a custom, specifically defined migration strategy for this scenario.  With Google Apps being in direct competition with BPOS/Office365, I assumed that Microsoft would have a simple
    strategy using something like ActiveSync to facilitate the migration of email, contacts, calendar entries, etc.  Hopefully we'll see something along those lines become available in a future release of the migration tools.
    --Jon Payne

  • Apple Mail and Google Apps (personal domain) - 554 554 Denied Mail Delivery Subsystem (Intermittent Failure)

    Hello,
    I am having problems with my Apple Mail and Google Apps and I don't know what to do.  I have been using apple mail with google apps for a few months now with no complications.  In the last week I have recieved a handful of messages from the Mail Delivery Subsystem citing error "554 554 Denied". I know that the emails I have tried to send to are real emails and are entered correctly. I tried to send directly from google apps to one of these people today and it worked so I assume the problem is with Apple Mail, or is intermittent. Adding to my frustration is that it works with some people and not with others so it's hard for me to see exactly what is causing the problem.
    Any ideas?
    I'll include a copy of one of the Mail Delivery Subsystem emails I recieved - excluding the email address and message body.
    Thanks for your help!
    From: Mail Delivery Subsystem <[email protected]>
    Subject: Delivery Status Notification (Failure)
    Date: October 10, 2011 10:40:53 AM CDT
    To: [email protected]
    Delivery to the following recipient failed permanently: 
        [email protected] 
    Technical details of permanent failure:
    Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 Denied (Mode: normal) (state 18). 
    ----- Original message ----- 
    Received: by 10.236.155.74 with SMTP id i50mr20817257yhk.23.1318261251237;
           Mon, 10 Oct 2011 08:40:51 -0700 (PDT)
    Return-Path: <[email protected]>
    Received: from [192.168.0.190] (c-66-41-33-96.hsd1.mn.comcast.net. [66.41.33.96])
           by mx.google.com with ESMTPS id n18sm26532559yhi.14.2011.10.10.08.40.49
           (version=SSLv3 cipher=OTHER);
           Mon, 10 Oct 2011 08:40:50 -0700 (PDT)
    From: Mary Jo Bailey <[email protected]>
    Mime-Version: 1.0 (Apple Message framework v1244.3)
    Content-Type: multipart/alternative; boundary="Apple-Mail=_08B0FA71-0443-40B4-AEAB-4056C662063D"
    Subject: Re: Cleaning Quote
    Date: Mon, 10 Oct 2011 10:40:47 -0500
    In-Reply-To: <[email protected]>
    To: "XXXXXX" <[email protected]>
    References: <[email protected]>
    Message-Id: <[email protected]>
    X-Mailer: Apple Mail (2.1244.3)

    For mail issue, I had the same problem. My mail password was different than my itunes password and when I changed mail to itunes password, it started working again. Not sure about the google apps issue.
    hope this helps a bit.
    Matthew

  • Mail thru Google Apps

    alright....gmail/google apps and mail have tried, time and time again to get connected, and cannot seem to get it. I didn't search the forum (which i should have), but does anyone have any knowledge of a problem between Mail and g-mail/g-apps? Even though I check my mail thru google apps dashboard at gmail.com, my email address is [email protected] The john doe is of course false, but our site isnt...SOMEONE PLEASE HELP

    I have a similiar problem, maybe somebody can help.
    I use Google Apps (Professional) as well and I now bought a MacBookPro, want to use Imail and my emails up on the Google server.
    I inserted all the data, they do speak but all the folders that the Mac downloaded are empty, I can not see the emails, etc.
    Only in "all mail" are all the emails but not in the individual folders.
    Is there a fix? Maybe some kind of google sync? Different software? I am willing to get something different if that is what it needs!
    Thanks, your help is appreciated!

  • Set up secondary DNS for mail?

    When I first configured my server using the advance setup, I successfully setup my DNS services using a domain name for the primary zone that is not a registered domain. I have no intention of ever using the domain name I use internally on the net.
    I usually host my mail services with third-party hosting company and just use my server for file and print services. However, I recently purchased a new domain name and have considered using the mail services to host the domain. My question is:
    Do I need to setup a secondary zone for this domain, or should I start over and reconfigure my server? I had read that once you configure your primary DNS, it is hard to go back and reconfigure it.
    Also, once I have the DNS properly configured, it is my understanding that I'll just need to point the MX records at my hosting company towards my server to make it work, correct?

    If you're just looking for mail then there's no need to start from scratch - you can just tell the mail server to accept mail for your new domain in addition to the existing domain.
    Before you do this, though, make sure you have a) a static IP address and b) working reverse DNS for your IP address. If you don't have this then remote mail servers may not accept your mail since you look like a spammer.
    Apart from that, once you setup postfix to accept mail for your new domain then, yes, all you need to do is change your MX records.

  • Simple question; Mac Server Setup for Mail, iCal and Address Book Services.

    Hi Guys;
    I'm new to the Mac Server world and need a few questions answered.
    I have purchased a new Mac mini Server for hosting File, Web, Mail, iCal and Address Book Services.
    I’m comfortable setting up File and Web Services however I’m a bit uneasy setting up Mail, iCal and Address Book services to be access locally and remotely(via the internet).
    My current setup is;
    Internet connection (Dynamic IP) -> Router -> Mac mini Server.
    I have purchased a domain name (Thornton-net.com) from DynDns.com + a custom DNS service as I can setup my router to update my domain’s IP address automatically.
    I can access File and Web Services remotely (thortnon-net.com) perfectly without any issues via the Port Forwarding feature of the Router.
    If I setup Mail, iCal and Address Book Services -> will Mail, iCal and Address Book clients be able to access these services hosted by the server via Thornton-net.com?
    Message was edited by: Allan.Thornton

    Welcome to the forums.
    For mail services (and specifically for your outbound mail to be accepted by other mail servers) your mail server needs to have a static IP address and matching forward and reverse and MX records, or a tunnel to a static IP (with matching DNS), or you need another mail server where you have an authorized relay. Without that, your mail will be considered a spam engine, and dropped.
    Additionally, your particular tier of service with your ISP (with a static IP) will generally allow server-oriented access and server-oriented network traffic, where a residential or other tier of service (with a dynamic IP addresses) can be firewalled.
    The ISP controls the "high ground" of the network connections here, so you pretty much get to play by their rules and requirements. If they don't offer static IP, then (presuming their T&Cs permit it) you get to tunnel (via IPv6, for instance) to a tunnel broker, and receive your network traffic via that (and with matching DNS) point of presence. That could well be a tunnel for your mail at whichever your DNS provider is here, because you'll have issues with your dynamic address. (You get to sort out if they offer that.)
    Far and away the easiest approach (if you want to host this stuff yourself) is to work with the ISP. They're inherently involved in your network, and they and they alone have full control over your reverse DNS configuration.

  • Unable to move email or view some email in Mail w/ Google Apps

    Using Apple's Mail application to access my Google Apps accounts via IMAP.
    I'm having two problems:
    1. I cannot view any email messages in any subfolder of my account when working within Mail. Everything shows fine when I log in directly through Google Apps/Gmail. Note that the "Rebuild" option under my Mailbox menu is disabled for whatever reason, so I can't try rebuilding Mail's index/database.
    2. I am no longer able to move messages from my inbox to any of my subfolders. It's been this way for a couple days now.
    Specifically, I get the following error...
    The IMAP command “UID COPY” (to INBOX/1 - Scheduling) failed for the mailbox “INBOX” with server error: No folder INBOX/1 - Scheduling (Failure).
    ...which comes up when I try to move a message from the Inbox to the subfolder "1 - Scheduling".
    Any thoughts or suggestions? Both of these things worked for a couple days after I first set this up last week.
    So far, I'm too happy with my migration to Google Apps
    Frustrated,
    Dan

    For anyone who's curious, I was able to fix the problem by converting my old folder structure into single-layer labels. I guess Google still chokes on mail that is stored in multiple nested/hierarchical labels because it works fine now.
    So NOT a good "solution", but at least it works in all email clients now.

  • Script that shows new mails from Google Apps account in conky

    Hello guys,
    I'm looking for a script that outputs the number of new mails I received from my Mail Account with Google Apps.
    I've already found a script that works pretty well with the normal Gmail but not obviously not with Google Apps.
    import os
    import string
    #Enter your username and password below within double quotes
    # eg. username="username" and password="password"
    username="username"
    password="********"
    com="wget -O - https://"+username+":"+password+"@mail.google.com/mail/feed/atom --no-check-certificate"
    temp=os.popen(com)
    msg=temp.read()
    index=string.find(msg,"<fullcount>")
    index2=string.find(msg,"</fullcount>")
    fc=int(msg[index+11:index2])
    if fc==0:
    print "0 new"
    else:
    print str(fc)+" new"
    My idea was to replace mail.google.com/mail/feed/atom with mail.google.com/a/domain.tld/feed/atom but I always get connection errors like this.
    Connection to mail.google.com|209.85.135.16|:443... connected.
    HTTP request sent, wait for answer... 401 Unauthorized
    Connection to mail.google.com|209.85.135.16|:443... connected.
    HTTP request sent, wait for answer... 401 Unauthorized
    Authorisation failed.
    Traceback (most recent call last):
    File "/home/orschiro/.scripts/mail.py", line 15, in <module>
    fc=int(msg[index+11:index2])
    ValueError: invalid literal for int() with base 10: ''
    Any suggestion what I could try?
    Thank you in advance.
    Last edited by orschiro (2009-06-19 17:55:07)

    Here is part of a script that I am using with my Google Apps domain. Should be easy to follow. Just edit the three variables at the top of the script. I prompt for the password at boot so it is not hard coded in the script. I use x11-ssh-askpass for this.
    MAIL_URL = ['https://', 'mail.google.com', '/a/domain.com/feed/atom']
    USERNAME = "[email protected]"
    PASSWD = "password"
    def initMail():
    passman = urllib2.HTTPPasswordMgrWithDefaultRealm()
    passman.add_password(None, MAIL_URL[1], USERNAME, PASSWD)
    authhandler = urllib2.HTTPBasicAuthHandler(passman)
    opener = urllib2.build_opener(authhandler)
    urllib2.install_opener(opener)
    def checkMail():
    logging.debug("checkMail()")
    try:
    f = urllib2.urlopen("".join(MAIL_URL))
    doc = xml.dom.minidom.parseString(f.read())
    c = doc.getElementsByTagName("fullcount")[0].firstChild.data
    return dzenH1("Mail: ") + c
    except urllib2.URLError as e:
    return dzenH1("Mail: ") + "URLError"

  • How do I configure Server DHCP for a shared-over-WiFi network connection?

    Hey all,
    Here's how my network is set up-
    Comcast > Modem > DD-Wrt router >(Ethernet)> Mac Mini >(WiFi)> Macbook Pro, other devices.
    I set the router to use the Mac Mini (with OS X Server) as the DHCP server, and I have the Mac Mini sharing the ethernet connection over WiFi.
    The issue is that while my Macbook Pro can get an IP from the Mac Mini (as per DHCP settings), there's no internet connection.  I'm not sure I even have the router IP set correctly, should it be the Mac Mini's IP or the router's IP?

    I would normally use the router as the DHCP server but it should be possible to use your Mac mini as the DHCP server instead.
    With regards to the WiFi, you would want to configure it in bridging mode, this will let WiFi clients and Ethernet clients be on the same subnet and the WiFi clients will then be able to request DHCP addresses from your server on Ethernet. This is the way I have my home network setup.
    In the DHCP settings on your Mac mini server, you need to define the default gateway/router as being the IP address of your router. You also need to define valid DNS server addresses. If you running your own internal DNS server perhaps for Open Directory then this would be your internal DNS server address. The range of IP addresses you are issuing need to match the range being used internally by your router as does the subnet mask.

  • Need help with Apple Mail POP Google App Settings

    I am using Google Apps Account for the domain name xyz.travel
    I have set-up POP Account on Apple Mail for my Email address [email protected] with the Google Mail settings of POP and SMTP correctly. No Problem.
    However, in my Email Address [email protected] there are 3000+ Emails which is more than 3 years old. I do not want all these Emails to be uploaded on my Apple Mailbox. It will take ages for all these 3000+ Emails to be uploaded in my Apple Mailbox. I only want to be able to send Emails from the Apple Mailbox and receive the Emails that I received on [email protected] henceforth.
    Can someone please help me ?

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Quit and relaunch Mail, and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • I am getting recurring Server alerts for Mail Virus scanner not running

    The logs for the am question are:
    Sat Oct 25 01:38:11 2014 -> MaxQueue set to: 100
    MaxQueue set to: 100
    Sat Oct 25 01:38:11 2014 -> Set stacksize to 1048576
    Set stacksize to 1048576
    I do not know where to increase the stacksize

    Hi..
    For Mail, from your Mail menu bar (top of your screen) click Mail > Preferences then select the General tab.
    Click the pop up menu to the right of New messages sound to make a selection.

  • Configuring Proxy servers for Mail.app

    Hello, and sorry if this question has been answered b4, but I couldn't find an answer... basically, I have to go thru proxy server at work to connect to the internet on my MBP, which I configured with Network Preferences (I enabled ftp, http, https, socks, and ITMS proxies.. Safari works fine, but can't get Mail to retrieve any mail from either of my mailboxes (.Mac and Gmail POP). the same prob. doesn't happen when i'm home trying to access my Mail from home (where i don't have to go thru proxy servers) using my macbook pro. the question is, how can i "tell" Mail that i'm using a proxy server?? thanks

    No, actually i tried it first with socks proxy disabled, and then with it enabled, but nothing appears to be working.. it sounds a little strange to me that Mail.app doesn't contain specific settings that allow users behind company proxies to still access their mail servers, b/c for whatever reason Mail.app doesn't appear to be using the default system-wide proxy settings specfied in network preferences, which by the way Safari picked up right away and started using. well, any further help on this would be much appreciated, thanks .....

  • DNS for Mail service Virtual Domains

    On a server primarily running as a Mail server with 10.6.3 (DNS and OD also running)
    If host name is mail.domain.com and
    if mail service has a virtual domain virtualdomain.com,
    in the DNS setup, virtualdomain.com should have an MX record like mail.virtualdomain.com and either an A record pointing to the IP of mail.domain.com OR a CNAME pointing to mail.domain.com?
    When setting to the CNAME, DNS logs says:
    "25-May-2010 11:47:52.610 zone virtualdomain.com/IN/com.apple.ServerAdmin.DNS.public: virtualdomain.com/MX 'mail.virtualdomain.com' is a CNAME (illegal)"
    but if I set to an A record pointing to the IP, isn't there a PTR conflict with the mail.domain.com pointing to the same IP?

    SMTP requires an A or AAA as the required response for the box named in an MX.
    Your MX for the domain or subdomain would/should/must aim at an A or AAA.
    Not a CNAME. That's considered illegal.
    Yes, random domains can all have their respective MX records pointing to the same mail server. So long as the mail server has an A or AAA record. And that mail server itself is expected to be configured to accept mail for those domains for local delivery, or as part of a relay.

  • DNS for Mail service.

    I want to use java to send mail by smtp service.
    but for some hosts, the InetAddress class can't find out
    the ip address for the hosts, which need the MX flag in
    DNS Query data package(UDP).
    I can send the query and get the result from the ISP
    DSN server, but the replay UDP data is quit complex,
    I have not find a simple way to get the IP address from
    the UDP data.
    Can any one help me? Or Are you doing the same thing
    like that ? We can talk about it together.
    Thanks
    Scott

    HI Duker,
    I tred to use ur way.
    in the following code,
    an excpetion thrown .like
    "javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.dns.DnsContextFactory. Root exception is java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory"
    And I try to find the related classes in the libs,
    but can not find it,so I can not get any related document about the usage of the related classes.
    Can you give me more help?
    Regards.
    Scott
    <code>
    package dnstest;
    import java.util.*;
    import javax.naming.*;
    import javax.naming.directory.*;
    public class dns_t {
    public static void main(String[] args) throws NamingException{
    Properties props = new Properties();
    props.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    props.put(Context.PROVIDER_URL, "dns://ns1.dns.com/thedomain.com");
    DirContext ictx = new InitialDirContext(props);
    Attributes attrs1 = ictx.getAttributes("www", new String[] {"A"});
    Set st = attrs1.keySet();
    Iterator it = st.iterator();
    NamingEnumeration it=attrs1.getAll();
    while (it.hasMoreElements()) {
    System.out.println((String)it.nextElement());
    Hi,
    You could try the JNDI-DNS early access service
    provider, it is basically a provider for the JDNI api
    that allows you to query a given DNS server.
    Checkout
    http://developer.java.sun.com/developer/earlyAccess/jnd
    /#DNS
    The below code is a simple test that looks up the IN A
    record for www.thedomain.com
    import java.util.*;
    import javax.naming.*;import javax.naming.directory.*;
    >
    public class DnsTest {
    public static void main(String[] args) {
    Properties props = new Properties();
    props.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.dns.DnsContextFactory");
    props.put(Context.PROVIDER_URLURL, "dns://ns1.dns.com/thedomain.com");
    DirContext ictx = new
    x = new InitialDirContext(props);
    Attributes attrs1 = ictx.getAttributes("www",
    ("www", new string[] {"A"});
    Set st = attrs1.keySet();
    Iterator it = st.iterator()
    while (it.hasNext()) {
    System.out.println((String)it.next());
    Hope this helps
    Duke Ronlund
    CoreJ.com
    I want to use java to send mail by smtp service.
    but for some hosts, the InetAddress class can'tfind
    out
    the ip address for the hosts, which need the MXflag
    in
    DNS Query data package(UDP).
    I can send the query and get the result from theISP
    DSN server, but the replay UDP data is quitcomplex,
    I have not find a simple way to get the IP address
    from
    the UDP data.
    Can any one help me? Or Are you doing the samething
    like that ? We can talk about it together.
    Thanks
    Scott

  • ICal Server invitations not working through Google Apps

    Running Lion Server 10.7.4 – I enable the option to use email addresses for invitations, key in the Gmail user and server settings (same info that works in Mail), and save. Afterward, invite tests that users send do not go to the designated email address. The logs have this repeated error:
    2012-07-09 14:24:03-0500 [-] [caldav-0]  [PooledMemCacheProtocol,client] [twistedcaldav.scheduling.scheduler.ScheduleResponseQueue#error] Error during POST for mailto:[email protected]: iMIP request failed
    Italicized letters is a paraphrase of the actual email, any standard "[email protected]" type address gets the same failure.
    I tried all the various authentication types: Plain, Login, CRAM-MD5, etc... tho it reverts itself to 'Login' after every save, I think the wizard tries the different authentication options and 'Login' is the one that works.

    https://discussions.apple.com/message/17319571#17319571
    instead of verifying email addresses associated with your appleID, try removing them.
    I've read some of similar thread just now, and remove the associated email withing my apple ID
    now, my friend can send invites to me ([email protected]) and i can reply within the ical and the event is created in the ical.
    however, when she tried to send invites to my 2nd appleID (yahoo.com) i don't get anything.
    I know this sounds very stupid. but at least i've got a temporary solutions.
    hope this also works for you.
    perhaps apple just us to use every service they've offer. there's too many ridiculous way to work in iCloud.
    sometime i regret migrate to icloud. MobileMe was MUCH MUCH better in sync-ing

Maybe you are looking for