ip address range for Microsoft Push Notification Service (MPNS) - windows-phone-8

IOS has an IP Address ranges for APNS servers, so i can send push notification from within a protected server.
what is the ip address range for Microsoft Push Notification Service (MPNS)?

Related

Cannot send email using SMTP server through Office 365 with ADFS

I am trying to send an email using the smtp.office365.com server. It always return the same error:
5.7.57 Client not authenticated to send mail.
As far as I know, the problem is related with the fact that I'm working with ADFS. So I have previously federated my domain to work with Office 365. When I try to log in to Office, I'm redirected to the login page of my platform, which is fine.
Is there a way to send email using the Office smtp server when working with ADFS?
Not to my knowledge, you need to change the primary username to use your tenant domain rather than your federated domain. Then you'll be able to log in without ADFS.
We configured a single account for SMTP with just an Exchange Plan 1 license, and then set up internal SMTP relays using that account to transmit to O365. We then limit connections on that account to only known locations. Then we add SendAs permissions for that account to all the DLs/mailboxes that we need to send email from.

IBM Worklight 6.1: Authenticated Push for windows phone 8

The only official resource available for authenticated push notification on windows phone 8 is http://msdn.microsoft.com/en-us/library/windows/apps/ff941099(v=vs.105).aspx but it doesn't meets the requirement. Can someone list the steps for authenticated push notifications on windows phone 8 using IBM Worklight 6.1.
Per the IBM Worklight user documentation:
To use an authenticated push notification service, you must first set
up a Secure Sockets Layer (SSL) certificate keystore. For more
information, see SSL certificate keystore setup. The keystore can
contain several certificates, one of which is the certificate for
authenticated push notifications to Microsoft Push Notification
Service (MPNS).
You must also authenticate your web service with Microsoft, as documented in the Windows Phone > Development Center at http://dev.windowsphone.com/en-us/develop/.
The serviceName attribute from the application descriptor is passed to
the application's client side, and is used when a new notification
channel is created. The URI token of the notification channel starts
with "https", rather than "http".
The keyAlias and keyAliasPassword
attributes are used by Worklight® Server to extract the certificate
from the Java™ keystore file, so that it can be used in the handshake
process with Microsoft Push Notification Service (MPNS). Any push
notifications submitted to the application will be authenticated and
secure.
The end result should look something like this:
<windowsPhone8>
<pushSender>
<authenticatedPush serviceName="myservice"
keyAlias="janedoe"
keyAliasPassword="a1b2c3d4"</authenticatedPush>
</pushSender>
...
</windowsPhone8>
There is nothing else to it.
If you are encountering issues, you should probably actually note those in the question body.

Exchange 2010 force email send over external smtp server for one specific mail adress

I have a acepted domain in my exchange server, lets call it #domain.com. I receive my mails by getting them from an external mailserver with my pop3 connector.
I have one user (lets call him user1#domain.com) which is not using his exchange account. He`s working with a local profil and receives his mails with by calling them directly with pop3 mail.
The problem is: If I want to send him a mail from a user that is using the Exchange Server the exchange server tries to deliever the mail internally but user1#domain.com has no account in the exchange server.
How can I force the exchange server to send mails to user1#domain.com over my external smtp server?
Thanks in advance
You need to change the domain from authoritative to internal relay.
In the Exchange Management Console -> "Organization Configuration" -> "Hub Transport" -> "Accepted Domains" Tab -> Right click the domain in question -> "Properties" -> Internal Relay Domain.

The IP you're using to send mail is not authorized to send email directly to our servers

hi i wanted to send mail via smtp protocol to one of my
gmail's accounts...
i tried but finally it occurred and error :
telnet> open alt4.gmail-smtp-in.l.google.com 25
Trying 74.125.131.27...
Connected to alt4.gmail-smtp-in.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP b4si2095585vdw.57 - gsmtp
HELO stackoverflow.com
250 mx.google.com at your service
MAIL FROM: <test#stackoverflow.com>
250 2.1.0 OK b4si2095585vdw.57 - gsmtp
RCPT TO: <■■■■#gmail.com> // filtered ;)
250 2.1.5 OK b4si2095585vdw.57 - gsmtp
DATA
354 Go ahead b4si2095585vdw.57 - gsmtp
test
ok
it done
.
550-5.7.1 [5.22.81.102] The IP you're using to send mail is not authorized to
550-5.7.1 send email directly to our servers. Please use the SMTP relay at your
550-5.7.1 service provider instead. Learn more at
550 5.7.1 http://support.google.com/mail/bin/answer.py?answer=10336 b4si2095585vdw.57 - gsmtp
Connection closed by foreign host.
so now how can i send mail without having this problem ?
This is because Google will reject any emails sent from IP in the spamhaus database.
What you need to do is go to http://www.spamhaus.org/lookup/ and follow the instruction there to remove your server ip from spamhaus database.
Please also follow this guide: Prevent mail to Gmail users from being blocked or sent to spam
You can find the answer at the link in the last line of the Google mail served response:
'The IP you're using to send email is not authorized...'
In order to prevent spam, Gmail refuses mail from IP addresses that are not authorized to send mail. The determination of whether or not an IP address is authorized to send mail is made by the ISP that provides you with the IP address. This list typically contains consumer IP ranges offered for dialup, DSL, or other broadband access.
What can I do to fix this?
Your ISP may provide SMTP relays which will accept mail from your IP, and these servers should be authorized to send mail. Some ISPs may provide a way to get an IP that is authorized, either by upgrading to business class service or static IP service. You should reach out to your ISP to see what options are available.
Another alternative is to send mail through your own domain’s servers, either by configuring them to allow relay from your IP address, or by using MSA (mail submission agent). Learn how to use Gmail to send mail from a different address.
Please note that we are unable to whitelist IP addresses or otherwise make exceptions.
In other words, if your IP address is not authorized by your ISP to send mail, you should send your mail through:
Your provider mail server (SMTP relay)
Your own domain mail server.
Mail servers must meet a number of requirements to prevent their messages from being blocked, e.g. have a PTR record. The use of authentication methods such as SPF, DKIM or DMARC minimize the chance that messages are marked as spam.
I had this problem with one of my hotmail addresses, using Thunderbird on Kubuntu. Tried changing sever settings, passwords etc to no avail. In desperation, I deleted the offending email address through "account settings" "account actions" (bottom left of window). If you are on POP3 you will loose all your emails, so make sure you're on IMAP.
You then just select "add email" in Thunderbird and the email is put back as it should be and works perfectly.

Need help setup windows server 2008 SMTP server

I am trying to setup windows server 2008 smtp server to relay emails to gmail smtp. Everything appears to be setup but it is not sending emails. Could you please help me figure out whats wrong.
Below is the setup:
Windows server 2008 with SMTP server
feature installed. Need SMTP server
to forward all messages to gmail smtp
server to send.
I have google apps setup for my
domain, also I can send emails
throught my test app using
gmail smtp.
SMTP Server Configuration: By default has default smtp server virtual directory.
In Properties of that virtual smtp server changed following.
Fully qualified domain name = mydomain.com
smart host = smtp.gmail.com
TCP Port = 587
Out Bound Security = Basic Authentication(my username password for google apps email account)
In domains list under virtual smtp server. I have one default domain that's server dns. I added another one for my domain name.
With above setup i am trying to redirect all email to gmail smtp.
I tested connection to smtp.gmail.com from server on port 587 through telnet and it works.
I am trying to use above server from my web application also by just dropping emails in pickup directory. It get's picked up and also accepts request form web application but never sends an email.
I can see that it adds those emails in queue folder but it stays there forever.
When i try to send emails from web app to above server it rejects if To address is other than my domain.(Am i missing something in list of domains)
Thanks for all answers, finally found solution there is a property for maximum sessions which value was 0 by default. Changed it to 100 and it send all pending emails immediately.
Possible reasons are that some SMTP servers block the outgoing messages if there domain name mismatch, possible to prevent spam mails from being sent. So for example, I will not be able to send my email with an address abc#mydomain.com from my domain yourdomain.com.
Hope that helps.
Ensure your sending domain is the same as the google apps domain
Ensure your sending address is a real address and not just an alias
IIRC you need to use STARTTLS (SSL) not basic authentication
This souds like a DNS issue. Check your /badmail directory. It will have .bad and .bdp files in there. You can open these in notepad (there will be some binary in there).
However, it may point to the possible problem.
You may also want to try and enable logging on the SMTP service. There may be something in there.