Postfix 3.6
3.5와 3.6의 매개 변수의 차이여기..
이중 라이센스
지금까지 IBM Public License 1.0의 면허였지만, 여기에 Eclipse Public License 2.0도 추가됐다.
(사실 3.3부터 시작)
whitellist / Blacklist가 allowlist /denylist로 변경됨
요즘 유행하는 단어 사냥성 그거.
postscreen의 매개 변수 이름과 기록 메시지가 변경되었습니다.
매개변수 이름을 변경하려면 다음과 같이 하십시오.
postscreen_whitelist_interfaces
→ postscreen_allowlist_interfaces
postscreen_blacklist_action
→ postscreen_denylist_action
postscreen_dnsbl_whitelist_threshold
→ postscreen_dnsbl_allowlist_threshold
이런 느낌:
postscreen_allowlist_interfaces=${postscreen_whitelist_interfaces?{$postscreen_whitelist_interfaces}:{static:all}}
설정respectful_logging=no
하면 로그는 지금까지WHITELIST
/BLACKLIST
로 출력됩니다.내부 프로토콜 변경
내부 협의가 바뀐 것 같습니다.따라서 업그레이드 전에 잘
postfix stop
할 필요가 있다.아, postfix_daemon 못 움직이겠어...됐어, 며칠 있다가 고치자.
TLS 주변
OpenSSL의 최소 버전은 1.1.1입니다.
오픈SSL 1.1.1은 2023-09-11에서 EOL이지만 포스트픽스 3.6은 2025까지 지원하고 필요하면 업데이트한다.
lmtp_tls_fingerprint_digest
, smtp_tls_fingerprint_digest
, smtpd_tls_fingerprint_digest
의 기본값은 md5
에서 sha256
로 변경되었습니다.tlsproxy_tls_dh512_param_file
유효하지 않습니다.지목해도 무시된다.tlstype.pl
스크립트를 추가합니다.collate.pl
스크립트를 입력하여 각 메시지에 대한 TLS 정보를 출력합니다.compatibility_level이 Postfix 버전이 됐어요.
지금까지
compatibility_level
는0
,1
,2
,3.6
으로Postfix버전3.6.0
또는0
로 바뀌었다.기본값
compatibility_level
이 유지되기 때문에 주로 평가main.cf
측의 표기 문제입니다.지금까지
${{$compatibility_level} < {1} ? {yes} : {no}}
에는<
처럼써있지만<=
과3.9
는단순한문자열비교3.10
보다 작게평가돼<level
,<=level
등의기술을도입했다.${{$compatibility_level} <level {3.6} ? {yes} : {no}}
처럼 쓰세요.known_tcp_ports 매개 변수
만약 TCP 포트의 지정에서 숫자
smtp
나 smtps
처럼 서비스 이름으로 기술/etc/services
이 아니라면 파일을 보았지만 새로 설정된Postfix 파라미터known_tcp_ports
를 참조하십시오.참고비 많이 들죠?매개 변수의 기본값은
lmtp=24, smtp=25, smtps=submissions=465, submission=587
입니다.이 매개 변수에 없는 서비스 이름은 이전과 같습니다.
/etc/services
파일을 보십시오.local_login_sender_maps 매개 변수
sendmail 명령과postdrop 명령으로 메일을 보낼 때, 지금까지 어느 사용자든지 임의의 봉투 발송자 주소를 지정할 수 있지만, 그것을 제한할 수 있습니다.
이 맵은 UNIX 로그인 이름을 키로 하여 값을 반환할 수 있는 모드입니다.
*
뭐든지 가능<>
empty_address_local_login_sender_maps_lookup_key
의 값) 빈 주소@ドメイン名
도메인이면 OKmain.cf:
local_login_sender_maps = hash:login_senders
login_senders:
hoge [email protected] @example.net
fuga *
piyo <>
처럼 hoge 사용자는 [email protected]
역의 주소,fuga 사용자는 무엇이든지 가능하고piyo 사용자는 빈 주소만 허용합니다.기본값
examlpe.net
은 이전과 마찬가지로 누구나 지정할 수 있습니다.static:* 및 smtpdrelay_restricions의 평가 순서
smtpd_recipient_restrictions
→smtpd_recipient_restrictions
순으로 평가하고 3.6부터 smtpd_relay_restrictions
→smtpd_relay_restrictions
순으로 진행한다.smtpd_recipient_restrictions
로 설정하면 3.5 순서가 같습니다.반등 우편물을 원래의 우편물로 회답할 수 있다
설정
smtpd_relay_before_recipient_restrictions=no
하면 반등 메일의 머리에 enable_threaded_bounces=yes
과References
가 첨부되어 원래 메일의 답장이 될 수 있다.기본값In-Reply-To
이므로 헤더가 없습니다.no 매개 변수
발매 노트에
smtpd_sasl_mechanism_filter
라고 쓰여 있었는데 틀렸어요.SASL 라이브러리에서 반환된 mechanism의 필터입니다.지도는 키만 유효하고 값은 의미가 없습니다.
기본값은
smtpd_sasl_mechanism_list
에서 제외!external, static:rest
하고 다른 값을 사용합니다.지도의 값
external
을 사용하지 않는 것static:rest
은 무의미하기 때문이다.배송 에이전트의 로그 추가
로컬
rest
과 smtpmailbox_transport
등이 다른 배송 에이전트에 전송될 경우 아래 로그를 보냅니다.postfix/smtp[pid]: queueid: passing <recipient> to transport=local
errno가 0일 때의 로그 메시지
오류
best_mx_transport
가 0인 경우errno
에서 발생Unknown error: 0
.DNS API 함수 수정
DNS API
Application error
함수 대신 res_XXXX()
함수를 사용합니다.이전과 같이 구축
res_nXXXX()
을 지정합니다.
Reference
이 문제에 관하여(Postfix 3.6), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://zenn.dev/tmtms/articles/202105-postfix36텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)