
위는 누군가가 하위 도메인으로 성공적으로 연결하는 데 사용한 명령의 예입니다. 그러나 이를 시도하면 postconf: fatal: missing '=' after attribute name
분명히 등호가 있기 때문에 의미가 없는 결과를 얻습니다.
답변1
사용
postconf -e "postfix_mydestination = localhost, blah.deblah.com.au"
따옴표와 쉼표(쉼표로 구분)를 참고하세요. 또한 여기서 편집하고 있는 것은 메인 프로그램이 아니라 mydestination
인스턴스 postfix_
프로그램이라는 점에 유의하십시오. 이것이 당신이 정말로 원하는 것인지 확실하지 않습니다.
등호 주위에 공백이 있으므로 따옴표로 묶어야 합니다. 맨 페이지에서 읽으십시오 postconf(1)
.
-e Edit the main.cf configuration file, and update parameter settings with
the "name=value" pairs on the postconf(1) command line. The file is
copied to a temporary file then renamed into place. Specify quotes to
protect special characters and whitespace on the postconf(1) command
line.