Office 365 Smtp Relay for all users

Posted on 2013-10-17
Medium Priority
Last Modified: 2013-10-26

We have migrated to Office 365 and all is going well.  But I cannot get our smtp server to send from everyone in the organisation.

In our organization we have a system that sends email using .asp pages and AspEmail which is Persits.MailSender.  We want to send out emails with the from address of the user and not the admin.

I used this document http://support.microsoft.com/kb/2600912 and all seemed ok. I used the "Method 1:Use a mail-enabled security group"
But it still does not work.
In my words this is what I did.
I set up a group called SendAs.  I added myself to it. I am admin. I added a user who needs to send as.  I used my account to authenticate the smtp server.
if I send email from me all ok, otherwise we get a failure with
"smtp;550 5.7.1 Client does not have permissions to send as this sender "

Please can someone help.

Thanks Terry
Question by:terrybuck9
  • 4
  • 2
LVL 46

Expert Comment

by:Vasil Michev (MVP)
ID: 39579887
You need to set those permissions first (step 3 in Method 1). You can verify the permissions by opening the properties dialog for the account you will be using to send.

After this, the best way to test it is from OWA, or by selecting the name of the sender from the address book (DO NOT use the stored entry in Outlook's name cache).

Author Comment

ID: 39580279
Sorry but can you explain your answers in more detail?  I am a novice in this area.
LVL 46

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 2000 total points
ID: 39580332
Click on the mailbox you created in step 2 of the article, go to the mailbox delegation tab and under Send As, make sure to add the group you created earlier. If you have done so already, just verify that the group is indeed listed there.

Next, start composing new mail in Outlook. In the From field, do not type the address and do not select it from the autocomplete entry. Instead, press the From button, Other E-Mail Address -> pres the From... button -> find the mailbox and press OK.

Because the way permissions are stored in Exchange, if you use a previously saved entry, you will run into the above mentioned error of not being able to send, even when you have the correct permissions. This should not affect the client you are using for the mail relay though.
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.


Author Comment

ID: 39580340
Yes I have just successfully sent an email from the OWA logged in as the user, and changed the from address to my admin account.  Received ok.

Accepted Solution

terrybuck9 earned 0 total points
ID: 39584625
I seam to have fixed it but not sure which bit did it.  I had other issues with Autodiscover that I had to amend my old exchange and internal DNS.  I also noticed I have given user full access to user and not send as.  After all of this and a few more tidy ups it suddenly worked.

Thanks for your help.


Author Closing Comment

ID: 39602374
I fixed it myself.

Featured Post

Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

What is the biggest problem in managing an exchange environment today? It is the lack of backups, disaster recovery (DR) plan, testing of the DR plan or believing that it won’t happen to us.
Configure external lookups on for external mail flow on Exchange 2013 and Exchange 2016.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question