Not able to send mail from Exchange Server using Drupal form

unable to send mail from Drupal using Exchange server

add that particular user as member of ExchangeLegacyInterop Groups

We shifted our mail server from a pop3 server to in-house exchange server and after that we faced few issue in different zones one of them is Mail sending from Drupal. My team members were able to send mail using pop3 settings earlier but they were not able to send mail using exchange setting.

They used Gmail smtp setting and they were able to send mail using Gmail. I tested it with other vs.net code and I found I am able to send mail using vs.net code so ultimate result was it’s a compatibility issue between exchange server and Drupal.

I tested sending mail with account that has full permission, that particular account was member of each group and I was able to send mail using that ID. I tried sending mail with other users and Identified I am not able to send mail even when that user is Administrator group member. Then I started adding exchange related groups one by one in a test user account and tested if I am able to send mail now or not.

After few attempt I found this user must need to be member of ExchangeLegacyInterop group to send mails using Drupal. I added this user in ExchangeLegacyInterop Group and after that I can send and mail using Drupal form or code to any ID.

So end result is if you want to send mail from Exchange Server using Drupal you need to add that particular user in ExchangeLegacyInterop Group.

Please understand I had a previous exchange 2007 server in my environment and this issue may occur due to that also so if it do not work for you than do let me know.

I hope it was useful for you and thanks for being here

Thanks and regards

AP Dubey

Read More......

The nominated exchange server for offline address book OAB has been deleted nominate a valid server and restart setup

I was trying to install client access and hub transport server role in my Exchange test environment. In this environment I intentionally removed my Exchange 2007 but I dint know it will create issue for me while installing other server role.

I was trying to install client access server role on one of my test server and found error “The nominated exchange server for offline address book OAB has been deleted nominate a valid server and restart setup” in prerequisites of exchange 2010 client access server role.

I tried assigning it from my exchange management console over new exchange 2010 server but it was making my console hang so I decided to remove the settings from ADSI Edit and then try to install. I removed the setting and installation went smooth. After that I got the offline address book as well.

Here is procedure for that.

1) on run type adsiedit.msc

2) On ADSI Edit MMC right click on ADSI Edit and click on connect to

3) from second drop down list bellow select a well-known naming context select configuration and click ok

4) in configuration it will give you FQDN of your domain

5) Now go to services under CN=Configuration, DC=yourdomain,DC=com

6) Under Services double click on CN=Microsoft Exchange

7) It will take you to your domain

8) under this double double click on CN=Address Lists Container

9) Under this you will get CN=Offline Address Lists groups.

10) remove these settings from here restart your installation

Run the setup again. This time it should get installed with no issue.

Please understand these settings changes may impact your running exchange organization so please implement these changes on your own risk I will not be able to take responsibility for any damage.

I hope it helped you. Thanks for being here

Thanks

AP Dubey

Read More......

Not able to install mailbox server role in Exchange 2010

Mailbox server role installation failed in exchange 2010

This issue can come due to many different issue and you need to work on each issue one by one.

It could be due to a discovery search mailbox issue, or federated email account issue or issue or time difference issue or active directory schema issue.

I can come up with 4 issues and solution at this time and in future I may write more as well.

1) Time Synchronization issue: Make sure you have synched time on new server with your Active directory server. If you do not have this time synched than its not going to work on your server and you may find a failed mailbox server installation.

2) First thing after having this error you should do is prepare the active directory and schema again run these three command for this in given order

a. setup /prepareschema, setup /preparead, and setup /pad

b. Make sure you are running these command from exchange server installation folder using command prompt

c. Restart the system and try installing it

3) If above solution do not work try to recreate federated email account.

4) Federated email account not working properly :If you are not able to install exchange server mailbox server role than try removing and creating federated email account once procedure for that is as bellow

a. Remove the FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 e-mail account by using the ADSIEDIT tool. To do this, follow these steps:

b. Click Start, click Run, type adsiedit.msc, and then click OK.

c. Locate the Default Naming Context node, and then locate to the CN=Users container.

d. Locate and then right-click the CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 container. Then, click Delete.

e. Rerun the Exchange Server 2010 Mailbox role setup application.

f. Create a new federated e-mail account by using the following command:

g. New-Mailbox -Arbitration -Name FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 -UserPrincipalName FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042@<Default_Accepted_Domain>

h. Now restart your server and try to install the server role

5) If above solution also do not work then try recreating Discovery Search mailbox. Ideally Discovery search mailbox should get created after running prepareAD and prepareschema command. You can use this link for recreating Discovery Search Mailbox. http://www.mikepfeiffer.net/2010/04/how-to-recreate-the-system-mailboxes-in-exchange-2010/ or remove the discovery search mailbox from exchange managment console and restart the server now follow step 2 given above and try to install the mailbox server role. It should get installed.

Please understand whatever changes I am suggesting I am suggesting that on my own experience and it could be anything in your environment so I would request you to check these changes first in your similar test environment. Another thing that I will say please use these tricks after taking a complete backup.

Thanks for being here

AP Dubey

Do visit my another site http://apdubey.co.in

Read More......

Not able to mount database in exchange server when DAG is failed

Remove DAG from ADSI edit to mount the database automatically

If you are running a DAG that is failed and you do not have witness server or your secondry mailbox server that this problem may come to you for its solution remove the DAG from server and database will get mounted automatically.

  1. On run type adsiedit.msc
  2. On ADSI Edit MMC right click on ADSI Edit and click on connect to
  3. From second drop down list bellow select a well-known naming context select configuration and click ok
  4. In configuration it will give you FQDN of your domain
  5. Now go to services under CN=Configuration, DC=yourdomain,DC=com
  6. Under Services double click on CN=Microsoft Exchange
  7. It will take you to your domain
  8. Under this double double click on Administrative groups
  9. Under this you will get database availability groups.
  10. On other side you will find entry for your Database availability group
  11. Remove these settings from here restart your EMC and this time your mail database should get mounted.

Please understand I am not very big exchange expert and this is a suggestion from my side based on my experience, I am not responsible for any damage in your exchange organization so kindly do these changes on your own guarantee.

Thanks for being here

AP Dubey

Please visit my other site http://apdubey.co.in

Read More......
Clicky Web Analytics