Postfix + Dovecot + Sieve - CC 및 BCC 리디렉션이 작동하지 않습니다.

Postfix + Dovecot + Sieve - CC 및 BCC 리디렉션이 작동하지 않습니다.

얘들아!

저는 ISPConfig가 포함된 CentOS 웹 서버를 가지고 있습니다. 이 서버는 이메일 서비스(postfix + dovecot + sieve)에 포함되어 1년 넘게 아무런 문제 없이 실행되었습니다.

그러나 이메일 사본을 다른 계정(서버 자체 내부에 있음)으로 보내는 클라이언트에 대한 새로운 요구가 생겼습니다.

나는 며칠 동안 Sieve와 논쟁을 벌였습니다. ispconfig에서 CC나 BCC 중 일부 리디렉션을 구성하면 기본 계정에 대한 이메일이 도착하지만 복사본을 받아야 하는 계정은 메시지를 받지 못합니다.

이메일 전달을 참조하는 서버(Maillog) 로그 아래(저는 이메일을 보호하기 위해 이메일 주소를 변경했습니다):

Mar 20 22:57:05 srv-exwb01 sendmail[22014]: w2L1v4Si022014: w2L1v4Sj022014: DSN: Service unavailable
Mar 20 22:57:05 srv-exwb01 postfix/smtpd[21955]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <srv-exwb01.eximiaweb.com.br>: Helo command rejected: Host not found; from=<> to=<[email protected]> proto=ESMTP helo=<srv-exwb01.eximiaweb.com.br>
Mar 20 22:57:05 srv-exwb01 sendmail[22014]: w2L1v4Sj022014: [email protected], delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=33744, relay=[127.0.0.1] [127.0.0.1], dsn=5.7.1, stat=Service unavailable
Mar 20 22:57:05 srv-exwb01 sendmail[22014]: w2L1v4Sj022014: w2L1v4Sk022014: return to sender: Service unavailable
Mar 20 22:57:05 srv-exwb01 postfix/smtpd[21955]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <srv-exwb01.eximiaweb.com.br>: Helo command rejected: Host not found; from=<> to=<[email protected]> proto=ESMTP helo=<srv-exwb01.eximiaweb.com.br>
Mar 20 22:57:05 srv-exwb01 sendmail[22014]: w2L1v4Sk022014: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=34768, relay=[127.0.0.1] [127.0.0.1], dsn=5.7.1, stat=Service unavailable
Mar 20 22:57:05 srv-exwb01 sendmail[22014]: w2L1v4Sj022014: Losing ./qfw2L1v4Sj022014: savemail panic
Mar 20 22:57:05 srv-exwb01 sendmail[22014]: w2L1v4Sj022014: SYSERR(vmail): savemail: cannot save rejected email anywhere
Mar 20 22:57:05 srv-exwb01 dovecot: lda([email protected]): Error: Sendmail process terminated abnormally, exit status 69
Mar 20 22:57:05 srv-exwb01 dovecot: lda([email protected]): Error: sieve: msgid=<[email protected]>: failed to redirect message to <[email protected]> (refer to server log for more information)

다음은 계정에 대한 시브 로그입니다.

sieve: info: started log at Mar 20 22:11:48.
error: msgid=<[email protected]>: failed to redirect message to <[email protected]> (refer to server log for more information).
sieve: info: started log at Mar 20 22:25:24.
error: msgid=<[email protected]>: failed to redirect message to <[email protected]> (refer to server log for more information).
sieve: info: started log at Mar 20 22:39:31.
error: msgid=<[email protected]>: failed to redirect message to <[email protected]> (refer to server log for more information).
sieve: info: started log at Mar 20 22:57:05.
error: msgid=<[email protected]>: failed to redirect message to <[email protected]> (refer to server log for more information).

추가 정보:서버는 이 튜토리얼을 사용하여 구성되었습니다. https://www.howtoforge.com/tutorial/perfect-server-centos-7-apache-mysql-php-pureftpd-postfix-dovecot-and-ispconfig/

무슨 일이 일어날지 아는 사람이 있나요? 관심을 가져주셔서 미리 감사드립니다.

답변1

잘...

제 친구인 @Gerard H. Pille의 도움으로 문제를 해결할 수 있었던 것 같습니다. 댓글에서 언급한 것처럼 바인드에 PTR 기록이 있는데 @Gerard H. Pille이 언급했듯이 이 기록이 있어도, 역방향 DNS가 작동하지 않았습니다.

그런 다음 나에게 클라우드 인스턴스를 제공하는 회사의 패널을 조사한 결과 역방향 DNS가 내 서버(ns1.eximiaweb.com.br)와 다른 이름을 가리키는 것을 발견했습니다. 여기서 Sieve는 내부적으로도 길을 잃었습니다. 그는 온라인에서 찾으려고 노력했지만 찾을 수 없었습니다. 내가 한 일은 이 구성을 ns1.eximia ...에서 서버 이름(hosts 파일에 있음)으로 변경하는 것이었습니다.

이로써 문제가 해결되었습니다. 다른 사람도 같은 문제를 겪고 있을 수 있으므로 등록하는 것이 흥미로웠습니다.

@Gerard H. Pille님, 도움을 주셔서 감사합니다!

관련 정보