This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I have this code:
#msg = "Subject: Hi There!\nThis works."
smtp = Net::SMTP.new 'smtp.gmail.com', 587
smtp.enable_starttls
smtp.start(YourDomain, YourAccountName, YourPassword, :login)
smtp.send_message(#msg, FromAddress, ToAddress)
end
But i wonder what the mean with YourDomain?! I want to send from gmail is that then "gmail.com" for my yourdomain?
I am confused, i have send emails with C#, php and actionscript but i never had to enter a domain or i cannot remember it!
OK it was a stupid question of me, it has to be "gmail.com"! It works, just a typo (shame on my!)
It means the domain that identifies you and is sent with the HELO command to the smtp server (gmail in your case).
If you don't have a domain, you can use an address literal (see specification). In your case I guess you could use [your_ip]
Anyway, it is often ignored by the smtp server.
Maybe it means "What's domain your want to?"
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
So in my network I have the main domain controller and a backup domain controller. The backup domain controller has exchange on it.
The exchange services have been shut down as I have moved email hosting off site. So I now have no need of that backup domain controller that was running exchange. I want to shut it down for good.
What would be the proper way to remove it from its role in active directory and a backup domain controller?
Both domain controllers are Server 2008.
Thanks much!
Firstly, just don't do it, this is a SysAdmin SIN! Your shooting yourself in the foot. Even for my smallest customers with only 10 members of staff, I often have them purchase a second server to act as a secondary domain controller, DNS server, DHCP Server etc.
It is the first and few things Microsoft recommends as best practice when setting up a domain and one of the first things that is taught to you when you do the MCSA course: When creating a domain a secondary domain controller should be set up. If you have more than 20 Users its a must IMHO. Many things can go wrong and too many times clients have incurred big bills(man hours) because they didnt spend that extra £2000 on another server. I strongly recommend you keep it. It's not just availability, it prevents a large number of corruption issues which can linger for weeks before presenting themselves which makes 7x daily backups no help. It's your sefety net.
If you must get rid of it, first check is doesn't hold the FSMO roles and run dcpromo following the steps here: http://technet.microsoft.com/en-us/library/cc771844(v=ws.10).aspx
Lastly, your getting down-voted because StackOverflow only like coding qustions and they want you to use ServerFault which is part of the same family.
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 months ago.
Improve this question
I have configured the EC2 and Postfix with domain somedomain.com, and hostname mail.somedomain.com.
The system now can send, and receive email correctly, with just a problem.
When I reply email using the 'mail' command to my Gmail, the sent email has sender address "root#ip-xxx-xxx-xxx-xxx.us-west-2.compute.internal" instead of "root#somedomain.com". This long domain name can not be replied by my Gmail account.
Thanks.
Harry
The problem is solved by using the domain name generic mapping.
http://www.postfix.org/ADDRESS_REWRITING_README.html#generic
The above link describes how to do it.
But it is a temporary solution that replaces the lengthy internal domain (ip-xxx-xxx-xx-xxxx.us-west-2.compute.internal) by mydomain.com for every OUTGOING email.
For local email, the system still uses the lengthy internal domain name (ip-xxx-xxx-xx-xxxx.us-west-2.compute.internal)
The problem is: postfix seems to have bypassed the $mydomain, $myorigin, $myhost variable I set in the /etc/main.cf file.
If anyone can solve it, I will greatly appreciate it.
Harry
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I've got an XSD file within a web applcation thats running on my server - I've hotfixed this, however my changes are not being reflected when I use my web application.
I believe its being cached somewhere, however, I've cleared the caches I can find, restarted IIS on the server, restarted my server through the command prompt (stopServer.bat & startServer.bat)
These caches I've found & cleared:
ibm\websphere\appserver\profiles\app server profile\temp\node\app
server
ibm\websphere\appserver\profiles\app server profile\wstemp
ibm\websphere\appserver\profiles\app server
profile\tranlog\cell\node\app server
ibm\websphere\appserver\profiles\app server profile\logs\app server
ibm\websphere\appserver\profiles\app server profile\logs\ffdc
My changes are not being reflected - its not picking it up, as I've updated the version number within my XSD to 4, yet it always shows 3. I've found every instance of the xsd within the harddrive and they're all up-to-date. (Bad I know to update old kept instances but its frying my skull)
Am I missing anything else? Pulling my hair out here!
other files had been edited on the server
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I'm using Kaazing Websocket Gateway and I can run the demos - everything is working.
But I want to change the server code (the code that handles the websockets sent to the server and responds). How can I do that?
Zippo,
Would you mind telling me how you have contacted Kaazing Support. I can find no voicemail, forum entry or record of a call. I'd like to make sure we didn't miss anything.
It sounds like you would like to change the Gateway code? If that is so, the answer is that we offer a developer's version of the Gateway with unlimited connections. We don't currently offer a an open source version.
If I have misunderstood your question please contact Kaazing Global Support with your question so we can help you out. Call our switch board at 1-877-KAAZING (1-877-522-9464) and ask for "Technical Support".
Regards
Jan Carlin
Director Kaazing Global Support
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is there a service that will identify where a site is hosted (presumably by IP)?
Who-hosts is an online free service that can tell you which is the company that hosts the provided URL, and doesn't require registration.
tracert www.sitename.com
is probably your best bet. The last entry or two should give you your best hint. Otherwise, the whois entry may be a good indicator as well, especially if they are using a hosting provider for DNS.
EDIT:
Its traceroute not tracert on linux machines.
Just do a whois search on the IP.
http://samspade.org/whois/ is a free utility for telling you who owns an IP address or domain name. If this is a server farm hosting multiple servers, then it will likely be registered to the hosting company.
This isn't exactly what the question asked for, but you might find it useful to know that Netcraft provides some pretty neat information about the uptime, web-server software, and ISP used to host websites as well.
Domaintools can usually give you some pretty good information, under the "Server Data" and using the "Reverse IP" tool (though you have to pay to get full results from that one).
http://whois.domaintools.com/websitename.com
just put the website name in instead of websitename.com.