I am having several problems configuring incoming e-mail.  I have consulted Steve Smith's paper from Combined Knowledge on the topic (www.combined-knowledge.com/Downloads%202007.htm), but am still having problems.  I think they may be related so I am including them in a single post.

I am running MOSS 2007 SP1 (slipstreamed installation) with two WFE, one APP, and one DB server.  Service accounts are setup for least privilege.  The WFE servers have the SMTP service installed.  The services (Windows SharePoint Services Incoming E-Mail) are running on each WFE, as indicated from the Services on Server page in CA.

Problem #1:

When I " Enable sites on this server to receive e-mail " in automatic mode I immediately get two errors in the APP server Application event log once every minute:
-------
Event ID: 6872
A critical error occurred while processing the incoming e-mail drop folder . The error was: Value cannot be null.
Parameter name: path.

and

Event ID: 6398
The Execute method of job definition Microsoft.SharePoint.Administration.SPIncomingEmailJobDefinition (ID b8197cdb-92a2-4554-b3a4-46a89887878a) threw an exception. More information is included below.

Value cannot be null.
Parameter name: path
-------
I switched to advanced mode and entered the drop folder path "c:\inetpub\mailroot\drop" and the error continues.

I checked the permissions of the drop folders (there are two, one on each server since there are two WFEs that are load balanced) WSS_ADMIN_WPG and WSS_WPG had their permissions set.  I granted the CA service account full control over the drop folder, the errors continue.


Problem #2:
With incoming e-mail enabled (and generating the error above) I attempt to e-mail enable a document library.  After submitting the setting I get a non-descript error:
-------
Error
Error in the application.
Troubleshoot issues with Windows SharePoint Services.
-------

I suspect this error is because an entry cannot be made into the AD OU designated to hold


Problem #3:
As a test I sent an e-mail to the MOSS address, @sp.company.com (name changed to obscure my employer).  The e-mail bounced back and a warning was logged on the WFE server.

The System warning:
-------
Event ID: 4000
Message delivery to the remote domain 'sp.company.com' failed for the following reason: Unable to deliver the message because the destination address was misconfigured as a mail loop.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
-------

The bounced back message:
-------
Delivery has failed to these recipients or distribution lists:

thisisatest@sp.company.com
The recipient's e-mail system can't process this message at this time. Microsoft Exchange will not try to redeliver this message for you. Please try resending this message later, or provide the following diagnostic text to your system administrator.
-------

I'm still troubleshooting and will post any updates to the thread

 

  • 구성 요소
    1. WSS 3.0 / MOSS Server
    2. SPTimer Service
    3. SMTP Service
    4. Active Directory management service
    5. AD의 특정 OU에 대해서 충분한 권한이 있는 사용자 계정(최소:읽기 권한 이상)

 

  • 받는 전자 메일에 대한 소개
    1. List와 Library에 E-mail 메시지와 첨부 파일을 저장할 수 있다.
    2. 사용자의 SharePoint Document Library에 문서를 업로드 할 수 있다.
    3. List와 Library에 특정 E-mail 주소를 가질 수 있다.

 

  • SMTP 구성

    서버구성

    1. 비록 우리는 Exchange Server가 있지만, SharePoint Farm의 Web Front End Server에 SMTP 서비스를 설치해야 한다. SMTP 구성 요소를 SharePoint Server에 설치하였다면, SharePoint Timer Service에서 E-mail과 첨부파일을 가져올 것이다.
    2. SharePoint Server에 SMTP 서비스를 설치했을 때, SMTP 서비스 가상 서버에서 새로운 도메인이 생성될 것이다. 수동으로 구성할 필요는 없지만, 진행에 앞서, 몇 가지 검사 할 게 있다.
    3. 실행 > inetmgr(인터넷 정보 관리자) 명령어를 입력 > 기본 SMTP 가상 서버 > 도메인 > 도메인명(이후 가정하에 진행:MOSS.com) > 속성창을 연다. SharePoint Timer Service에서 가져갈 E-mail이 저장되어 있는 C:\Inetpub\mailroot\Drop(기본 위치) 폴더 위치로 지정 되어 있는지, 드롭 디렉토리를 확인한다. SharePoint Timer Service에서 해당 폴더를 매일 5분(기본) 체크할 것이다. 그리고 C:\Inetpub\mailroot\Drop 폴더에 보안 수준을 체크하며, WSS_ADMIN_WPG 로컬 그룹에 모든 권한이 부여한다.

    1. SMTP 가상 서버 등록 정보 설정
  • 속성 페이지에 액세스 탭을 선택한 후, 액세스와 릴레이에 대해 IP를 추가한다.
     
  • SMTP 서버 IP 와 Exchange 서버 IP 주소에 대해 허가됨을 추가한다.

클라이언트 구성

  1. E-mail 클라이언트와 클라이언트 컴퓨터는 모든 Windows 운영 체제 중인 MS Outlook 또는 Outlook Express으로 SharePoint 목록에 E-mail 보낼 있다.
  2. Outlook Express 실행 > 계정 추가

    표시 이름 입력

    전자 메일 주소 입력

    받는 메일 서버 유형 POP3 선택

    받는 메일 서버와 보내는 메일 서버 입력 (예: MOSS.com)

    계정 이름 및 암호 입력

    NOTE

    POP3 서버 접속 실패할 수 있는데, Sharepoint Server에 POP3 서비스가 아닌 유일한 SMTP 서버를 구성하였기에, 이를 무시해도 좋다. 받는 전자 메일 SMTP 서버 구성에는 충분하다.

     

테스트

Outlook Express를 열어 메일을 작성한 후 보내면 드롭 디렉토리에 .eml파일이 저장되는 것을 볼 수 있다.

  • 받는 전자 메일 사용 : 예
  • 설정 모드 : 자동
  • 디렉토리 관리 서비스 : 아니오
  • 받는 전자 메일 서버 표시 주소 : Moss.com
  • 안전한 전자 메일 서버 : 모든 전자 메일 서버에서 오는 메일 수락

 

리스트 설정

  1. Sharepoint 사이트에 리스트(공지사항으로 진행)를 생성한다.
  • 라이브러리 형태에 따라 설정 부분이 조금씩 달라진다.
  1. 리스트 설정에 받는 전자 메일 설정을 한다.
  • 받는 전자 메일 사용 : 예
  • E-mail 주소 입력
  • 전자 메일 첨부 파일 저장 여부 : 예
  • 원본 전자 메일 저장 여부 : 예
  • 전자 메일로 모임 초대 여부 : 예
  • 전자 메일 보안 정책 : 모든 보낸 사람의 전자 메일 메시지 수락

테스트

  1. 첨부 파일과 함께 이메일 발송(예:test@moss.com)한다.
  2. 드롭 디렉토리에 .eml 파일이 생성된 것을 확인한다.
  3. Sharepoint 타이머 서비스에서 .eml를 가져가며, 리스트에 저장한다.
  • Exchange Server 구성
    1. Exchange 관리 콘솔 > 조직 구성 > 허브 전송
    2. SMTP에 대한 송신 커넥터를 추가한다.
  • 송신 커넥터명 입력, 송신 커넥터에 저장할 용도 선택

  • 주소 공간 입력(SMTP 주소입력 => 예:moss.com)
  • 모든 하위 도메인 포함 체크

  • 네크워크 설정

    다음 스마트 호스트를 통해 메일 라우팅 선택

    스마트 호스트 추가한다.(MOSS 서버 IP주소:SMTP)

  • 스마트 호스트 인증 설정 구성 (없음 선택)

  • 원본 선택 후, 새 커넥터를 생성한다.

  1. 고급 SharePoint 구성
    1. 소개
  • Active Directory 및 Sharepoint 서비스 계정에 대한 권한을 위임 제어 옵션을 이용하여 새로운 조직 구성 단위를 만들어 관리한다.
  1. AD에 새로운 OU를 만든다.
  2. 중앙 관리 사이트 > 작업 > 받는 전자 메일 설정

    (http://ServerName:Port/Admin/IncomingEmail.aspx)

  3. 테스트는 기존 위 방식과 같으나, 체크할 항목이 하나 있다.
  • AD에서 OU를 체크하는데, 받는 전자 메일에 설정한 메일 주소가 연락처에 추가된 것을 볼 수 있다.

 

 

원본 http://blogs.msdn.com/selvagan/archive/2008/01/26/incoming-email-configuration-moss.aspx

+ Recent posts