2012-11-27 2 views
0

나는 users이라는 그룹과 user1user2이라는 그룹이 있습니다. 나는 postfix가 설치되어 있고 [email protected][email protected]에 대한 메일을받을 수 있습니다. [email protected]으로 메일을 보낼 수 있습니까? 그룹 회원이 읽을 수 있습니까?메일을 그룹으로 보내기

우분투 서버에 설치되어 있고 꽤 많은 기본 설정을 사용합니다. 단지 도메인과 네트워크 등을 설정하십시오. 사용자 및 그룹은 홈 디렉토리로 생성됩니다. 후위 설명서에서

+0

하시기 바랍니다. 지금까지 해 온 일을 제공하십시오. – Sid

답변

1

:

# man aliases 
... 
Aliases 
    Local Aliases 
    /etc/mail/aliases is formatted as a series of lines of the 
    form 

    aliasname:address[, address] 


    aliasname is the name of the alias or alias group, and 
    address is the address of a recipient in the group. Aliases 
    can be nested. That is, an address can be the name of 
    another alias group. Because of the way sendmail(1M) per- 
    forms mapping from upper-case to lower-case, an address that 
    is the name of another alias group must not contain any 
    upper-case letters. 

    Lines beginning with white space are treated as continuation 
    lines for the preceding alias. Lines beginning with # are 
    comments. 

수동으로 별칭이 호스트의 파일 내에서 사용자 그룹에 각 사용자를 추가해야합니다 (즉 별칭 파일 위치에 대한 배포를위한 설명서를 확인하십시오).

그래서, 당신의 주어진 예를 들면 :

# tail -1 /etc/mail/aliases 
users: user1, user2 

다음을 실행하십시오 별명 이러한 변경 사항을 파일을 만든 후 :

# newaliases 
관련 문제