2016-08-06 3 views
-3

iRedMail을 사용하여 메일 서버를 설정했습니다. 그것은 웹 애플 리케이션을위한 SMTP 서버로 작동해야합니다. Postfix는 localhost 사용에 대해서만 제한됩니다.postfix/iredmail이 헤더에서 임의로 설정할 수있게하는 방법은 무엇입니까?

[email protected] 계정을 만들었다 고 가정합니다.

내가 원하는 것은 임의의 설정을 허용하는 것입니다. from 헤더. [email protected], 또는 [email protected]

현재이 거부된다

postfix/smtpd[7386]: NOQUEUE: reject: RCPT from ***[127.0.0.1]: 550 5.1.0 <[email protected]>: Sender address rejected: User unknown in virtual mailbox table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<[127.0.0.1]> 

방법이 허용 될 수 있는가?

답변

0

그래, 알아 냈 :

smtpd_reject_unlisted_sender = yes # set to no 
# Sender restrictions 
smtpd_sender_restrictions = 
    reject_unknown_sender_domain 
    reject_non_fqdn_sender 
    reject_unlisted_sender # comment this