Postfix 3.6

5038 단어 postfixtech
4월 29일Postfix3.6 출시, 변경점 등을 설명해 주세요.
3.5와 3.6의 매개 변수의 차이여기..

이중 라이센스


지금까지 IBM Public License 1.0의 면허였지만, 여기에 Eclipse Public License 2.0도 추가됐다.
(사실 3.3부터 시작)

whitellist / Blacklist가 allowlist /denylist로 변경됨


요즘 유행하는 단어 사냥성 그거.
postscreen의 매개 변수 이름과 기록 메시지가 변경되었습니다.
매개변수 이름을 변경하려면 다음과 같이 하십시오.
  • postscreen_whitelist_interfacespostscreen_allowlist_interfaces
  • postscreen_blacklist_actionpostscreen_denylist_action
  • postscreen_dnsbl_whitelist_thresholdpostscreen_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_level0,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 포트의 지정에서 숫자smtpsmtps처럼 서비스 이름으로 기술/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의 값) 빈 주소
  • @ドメイン名 도메인이면 OK
  • 이외의 메일 주소
  • 예컨대
    main.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_restrictionssmtpd_recipient_restrictions 순으로 평가하고 3.6부터 smtpd_relay_restrictionssmtpd_relay_restrictions 순으로 진행한다.smtpd_recipient_restrictions로 설정하면 3.5 순서가 같습니다.

    반등 우편물을 원래의 우편물로 회답할 수 있다


    설정smtpd_relay_before_recipient_restrictions=no하면 반등 메일의 머리에 enable_threaded_bounces=yesReferences가 첨부되어 원래 메일의 답장이 될 수 있다.기본값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 APIApplication error 함수 대신 res_XXXX() 함수를 사용합니다.
    이전과 같이 구축res_nXXXX()을 지정합니다.

    좋은 웹페이지 즐겨찾기