In Administrative Tools, click Server Manager.
- Click Features, Add Features in the right pane, select SMTP Server.When Windows has finished installing the SMTP service, click Finish
Configure Incoming Mail Settings
- Open Central Admin – Operations – Incoming Mail.
- Leave the default settings but chose the Advanced mode, enter the display address (e.g. WFEservername@company.com) and the drop folder path on the WFE e.g. LocalDrive:\Inetpub\mailroot\Drop.
- Click Ok.
Start the incoming email service on the WFE server/s
Ensure the Central Admin app pool account has access to the drop folder
Configure SMTP on WFE/s
- Open IIS Manager and navigate to the level you want to manage.
- In Features View, double-click SMTP E-mail.
- On the SMTP E-mail page, select: Store e-mail in pickup directory and enter the mail drop folder path
- Click Apply in the Actions pane.
Configure IIS 6
- Go to Administrative Tools>Internet Information Services (IIS) 6.0 Manager (NOT the IIS 7.0 Manager which is listed as Internet Information services (IIS) Manager).
- Once the IIS 6.0 manager dialogue has opened, expand your server, and then expand the SMTP Virtual Server node.
- You should see a node called Domains. right click on it and select New>Domain…
- In the New SMTP Domain Wizard select Alias as the domain type and click the Next button.
- Enter the domain name exactly as entered in Step 2. of Configure incoming e-mail settings). Note: If you are using a friendly AAM then delete the current domain/s and add a new one using the correct AAM name (entered in Step 2. of Configure incoming e-mail settings)
- Click Finish.
- If you have e-mails sitting in the Queue folder from previous tests, restart the SMTP Service and it will process them and park them in the Drop folder, ready for SharePoint’s timer service to pick them up on it’s next run.
Configure AD and DNS
Follow this technet article