이메일 처리root

이메일 처리root

TLS를 통해서만 내부 서버에서 이메일을 보내도록 새 메일 릴레이 서버를 설정하려고 합니다. 나는 이 가이드를 따랐다http://www.krizna.com/centos/setup-mail-server-centos-7/10단계로 이동하세요. 이메일만 보내면 되고 수신은 안 됩니다.

어쨌든 다음 오류가 계속 발생하며 루트 메일 폴더의 권한 문제를 해결하는 방법을 알 수 없습니다.

어떤 아이디어가 있나요? 미리 감사드립니다!

오류:

Sep 25 11:38:39 mx postfix/local[2894]: warning: perhaps you need to create the maildirs in advance
Sep 25 11:38:39 mx postfix/local[2894]: C16AA4BE1A: to=<[email protected]>, orig_to=<postmaster>, relay=local, delay=0.06, delays=0.03/0.01/0/0.02, dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /root/mail/tmp/1443199119.P2894.mx.mydomain.com: Permission denied)
Sep 25 11:38:39 mx postfix/bounce[2895]: warning: C16AA4BE1A: undeliverable postmaster notification discarded
Sep 25 11:38:39 mx postfix/qmgr[2806]: C16AA4BE1A: removed
Sep 25 11:38:45 mx postfix/submission/smtpd[2888]: connect from mydesktop.mydomain.local[192.168.1.180]
Sep 25 11:38:45 mx postfix/submission/smtpd[2888]: NOQUEUE: reject: RCPT from mydesktop.mydomain.local[192.168.1.180]: 554 5.7.1 <[email protected]>: Recipient address rejected: Access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<ops-001>
Sep 25 11:38:45 mx postfix/submission/smtpd[2888]: disconnect from mydesktop.mydomain.local[192.168.1.180]

답변1

이메일 처리root

해야 한다사용별칭root이메일을 일반(권한이 없는) OS 사용자 사서함 으로 리디렉션합니다 .
[ 그것은매우 강한해야 하지만 다른 방법을 사용하여 리디렉션할 수도 있습니다.]

일반적인 규칙:
루트 권한으로는 가능한 한 적은 작업을 수행합니다.
필요하지 않은 경우에는 루트 권한을 요구하지 않습니다(보안상의 이유로).

관련 정보