├── postfix ├── bin │ └── .keep ├── lib │ └── .keep ├── meta │ └── .keep ├── include │ └── .keep ├── libexec │ └── .keep ├── man │ ├── cat1 │ │ └── .keep │ ├── cat5 │ │ └── .keep │ ├── cat8 │ │ └── .keep │ ├── man8 │ │ ├── lmtp.8 │ │ ├── defer.8 │ │ └── trace.8 │ ├── man1 │ │ ├── mailq.1 │ │ └── newaliases.1 │ └── man5 │ │ └── body_checks.5 ├── plugins │ └── .keep ├── conf │ ├── LICENSE │ ├── TLS_LICENSE │ └── dynamicmaps.cf ├── src │ ├── dns │ │ ├── error.reg │ │ ├── no-a.reg │ │ ├── .indent.pro │ │ ├── no-mx.reg │ │ ├── no-txt.reg │ │ ├── no-aaaa.reg │ │ ├── dns_sa_to_rr.in │ │ ├── dns_rr_to_pa.in │ │ ├── dns_rr_to_sa.in │ │ ├── dns_rr_to_pa.ref │ │ ├── dns_sa_to_rr.ref │ │ ├── dns_rr_to_sa.ref │ │ ├── dns_rr_eq_sa.in │ │ ├── nxdomain_test.ref │ │ ├── .printfck │ │ ├── nullmx_test.ref │ │ └── dnsbl_ttl_127.0.0.1_bind_plain.ref │ ├── postmap │ │ ├── aliases │ │ ├── map-abc1.ref │ │ ├── map-ghi1.ref │ │ ├── map-uABC1.ref │ │ ├── .indent.pro │ │ ├── map-abc2.ref │ │ ├── map-ghi2.ref │ │ ├── map-uABC2.ref │ │ ├── lmdb_abb │ │ ├── map.in │ │ ├── lmdb_abb.ref │ │ ├── quote_test.ref │ │ ├── fail_test.in │ │ ├── .printfck │ │ ├── fail_test.ref │ │ ├── quote_test.in │ │ └── file_test.ref │ ├── postalias │ │ ├── aliases │ │ ├── map-abc1.ref │ │ ├── map-ghi1.ref │ │ ├── map-uABC1.ref │ │ ├── map-abc2.ref │ │ ├── map-ghi2.ref │ │ ├── map-uABC2.ref │ │ ├── .indent.pro │ │ ├── map.in │ │ ├── fail_test.in │ │ ├── fail_test.ref │ │ └── .printfck │ ├── postconf │ │ ├── test61.ref │ │ ├── test24.ref │ │ ├── .indent.pro │ │ ├── test33.ref │ │ ├── test5.ref │ │ ├── test63.ref │ │ ├── install_vars.h │ │ ├── test32.ref │ │ ├── test64.ref │ │ ├── test65.ref │ │ ├── test8.ref │ │ ├── test23.ref │ │ ├── test4.ref │ │ ├── test7.ref │ │ ├── test17.ref │ │ ├── test26.ref │ │ ├── test52.ref │ │ ├── test9.ref │ │ ├── test3.ref │ │ ├── test60.ref │ │ ├── test19.ref │ │ ├── test38.ref │ │ ├── test45.ref │ │ ├── test46.ref │ │ ├── test48.ref │ │ ├── test49.ref │ │ ├── test51.ref │ │ ├── test47.ref │ │ ├── test50.ref │ │ ├── test87.ref │ │ ├── test53.ref │ │ ├── test54.ref │ │ ├── test55.ref │ │ ├── test16.ref │ │ ├── test80.ref │ │ ├── test13.ref │ │ ├── test15.ref │ │ ├── test69.ref │ │ ├── test81.ref │ │ ├── test83.ref │ │ ├── test31.ref │ │ ├── test10.ref │ │ ├── test75.ref │ │ ├── install_table.h │ │ ├── test56.ref │ │ ├── test14.ref │ │ ├── test21.ref │ │ ├── test86.ref │ │ ├── test11.ref │ │ ├── test39.ref │ │ ├── test1.ref │ │ ├── test36.ref │ │ ├── test37.ref │ │ ├── test4b.ref │ │ ├── test2.ref │ │ ├── test62.ref │ │ ├── test12.ref │ │ ├── test35.ref │ │ ├── test72.ref │ │ ├── test73.ref │ │ ├── test74.ref │ │ ├── test82.ref │ │ ├── test40.ref │ │ ├── test30.ref │ │ ├── test20.ref │ │ ├── test34.ref │ │ ├── test70.ref │ │ ├── test43.ref │ │ ├── test44.ref │ │ ├── test85.ref │ │ ├── test28.ref │ │ ├── test57.ref │ │ ├── test66.ref │ │ ├── test68.ref │ │ ├── test58.ref │ │ ├── test18.ref │ │ ├── .printfck │ │ ├── test71.ref │ │ ├── test59.ref │ │ └── test67.ref │ ├── anvil │ │ ├── .indent.pro │ │ └── .printfck │ ├── bounce │ │ ├── .indent.pro │ │ ├── logfile-no-message-id │ │ ├── logfile-with-message-id │ │ ├── logfile-no-msgid-with-eoh-event │ │ ├── logfile-with-msgid-no-eoh-event │ │ ├── logfile-with-msgid-with-eoh-event │ │ ├── logfile-with-msgid-with-filter │ │ ├── logfile-with-msgid-with-long-line │ │ ├── .printfck │ │ ├── msgfile-no-message-id │ │ └── msgfile-with-message-id │ ├── cleanup │ │ ├── .indent.pro │ │ ├── cleanup_milter.reg14a │ │ ├── cleanup_milter.reg14d │ │ ├── cleanup_milter.reg14e │ │ ├── cleanup_milter.reg14f │ │ ├── cleanup_milter.reg14g │ │ ├── cleanup_milter.reg15a │ │ ├── cleanup_milter.reg15d │ │ ├── cleanup_milter.reg15e │ │ ├── cleanup_milter.reg15g │ │ ├── cleanup_milter.reg15f │ │ ├── cleanup_milter.reg14c │ │ ├── cleanup_milter.reg15c │ │ ├── cleanup_milter.reg14b │ │ ├── cleanup_milter.reg15b │ │ ├── cleanup_milter.reg15h │ │ ├── cleanup_milter.reg15i │ │ ├── cleanup_milter.reg16a │ │ ├── cleanup_milter.ref16b1 │ │ ├── cleanup_milter.ref17a1 │ │ ├── cleanup_milter.ref17b1 │ │ ├── cleanup_milter.ref17c1 │ │ ├── cleanup_milter.ref17d1 │ │ ├── cleanup_milter.ref18a1 │ │ ├── cleanup_milter.ref18b1 │ │ ├── cleanup_milter.ref18c1 │ │ ├── cleanup_milter.ref18d1 │ │ ├── cleanup_milter.in6a │ │ ├── cleanup_milter.in6b │ │ ├── cleanup_milter.ref17e1 │ │ ├── cleanup_milter.ref17f1 │ │ ├── cleanup_milter.ref17g1 │ │ ├── cleanup_milter.in13b │ │ ├── cleanup_milter.in18b │ │ ├── cleanup_milter.in14a │ │ ├── cleanup_milter.in14b │ │ ├── cleanup_milter.in14c │ │ ├── cleanup_milter.in14d │ │ ├── cleanup_milter.in14e │ │ ├── cleanup_milter.in14f │ │ ├── cleanup_milter.in14g │ │ ├── cleanup_milter.in15a │ │ ├── cleanup_milter.in15b │ │ ├── cleanup_milter.in15c │ │ ├── cleanup_milter.in15d │ │ ├── cleanup_milter.in15e │ │ ├── cleanup_milter.in15f │ │ ├── cleanup_milter.in15g │ │ ├── cleanup_milter.ref15f1 │ │ ├── cleanup_milter.in8 │ │ ├── cleanup_milter.in9 │ │ ├── cleanup_milter.in13h │ │ ├── cleanup_milter.in18a │ │ ├── cleanup_milter.ref14c1 │ │ ├── cleanup_milter.ref15c1 │ │ ├── cleanup_milter.in18d │ │ ├── cleanup_milter.in4a │ │ ├── cleanup_milter.in4b │ │ ├── cleanup_milter.in6c │ │ ├── cleanup_milter.in7 │ │ ├── cleanup_milter.in13c │ │ ├── cleanup_milter.ref14d1 │ │ ├── cleanup_milter.ref15d1 │ │ ├── cleanup_milter.in11 │ │ ├── cleanup_milter.in17a │ │ ├── cleanup_milter.in4c │ │ ├── cleanup_milter.ref15g1 │ │ ├── cleanup_milter.ref14e1 │ │ ├── cleanup_milter.ref15e1 │ │ ├── cleanup_milter.in13i │ │ ├── cleanup_milter.ref14a1 │ │ ├── cleanup_milter.ref14f1 │ │ ├── cleanup_milter.ref14g1 │ │ ├── cleanup_milter.ref15a1 │ │ ├── cleanup_milter.in13e │ │ ├── cleanup_milter.in13f │ │ ├── cleanup_milter.ref14b1 │ │ ├── cleanup_milter.ref15b1 │ │ ├── cleanup_milter.in13d │ │ ├── cleanup_milter.in16a │ │ ├── cleanup_milter.in18c │ │ ├── cleanup_milter.ref15h1 │ │ ├── cleanup_milter.in13g │ │ ├── cleanup_milter.in17e │ │ ├── cleanup_milter.in17b │ │ ├── cleanup_milter.in10e │ │ ├── cleanup_milter.in10b │ │ ├── cleanup_milter.in10a │ │ ├── cleanup_milter.in15h │ │ ├── cleanup_milter.in15i │ │ ├── cleanup_milter.ref15i1 │ │ ├── cleanup_milter.in16b │ │ ├── cleanup_milter.in17f │ │ ├── cleanup_milter.ref16a1 │ │ ├── cleanup_milter.in17c │ │ ├── cleanup_milter.in10d │ │ ├── cleanup_milter.in10c │ │ ├── .printfck │ │ ├── bug3.file │ │ ├── bug2.file │ │ ├── test-queue-file10 │ │ ├── test-queue-file12 │ │ ├── test-queue-file13a │ │ ├── test-queue-file13b │ │ ├── test-queue-file13c │ │ ├── test-queue-file13e │ │ ├── test-queue-file13f │ │ ├── test-queue-file13g │ │ ├── test-queue-file13h │ │ ├── test-queue-file13i │ │ ├── test-queue-file2 │ │ ├── test-queue-file3 │ │ ├── test-queue-file6 │ │ ├── test-queue-file7 │ │ ├── test-queue-file8 │ │ ├── test-queue-file9 │ │ ├── cleanup_milter.in12 │ │ ├── cleanup_milter.in13a │ │ ├── test-queue-file5 │ │ ├── test-queue-file15 │ │ └── test-queue-file14 │ ├── discard │ │ ├── .indent.pro │ │ └── .printfck │ ├── dnsblog │ │ └── .indent.pro │ ├── error │ │ ├── .indent.pro │ │ └── .printfck │ ├── flush │ │ ├── .indent.pro │ │ └── .printfck │ ├── fsstone │ │ ├── .indent.pro │ │ └── .printfck │ ├── global │ │ ├── .indent.pro │ │ ├── maps.in │ │ ├── tok822_limit.in │ │ ├── mime_dom.in │ │ ├── safe_ultostr.in │ │ ├── mime_8bit.in │ │ ├── mime_8bit.ref │ │ ├── mail_version.in │ │ ├── mail_conf_time.ref │ │ ├── safe_ultostr.ref │ │ ├── quote_822_local.in │ │ ├── off_cvt.ref │ │ ├── off_cvt.in │ │ ├── quote_822_local.ref │ │ ├── delivered_hdr.ref │ │ ├── resolve_local.in │ │ ├── compat_level_convert.in │ │ ├── mail_parm_split.in │ │ ├── server_acl.in │ │ ├── mime_dom.ref │ │ ├── maps.ref │ │ ├── config_known_tcp_ports.ref │ │ ├── rewrite_clnt.in │ │ ├── resolve_local.ref │ │ ├── hfrom_format.ref │ │ ├── fold_addr_test.in │ │ ├── mail_version.ref │ │ ├── header_body_checks_ignore.ref │ │ ├── .printfck │ │ ├── mail_dict.h │ │ ├── strip_addr.ref │ │ ├── dict_sqlite.h │ │ ├── mail_task.h │ │ └── conv_time.h │ ├── local │ │ ├── .indent.pro │ │ ├── .printfck │ │ └── biff_notify.h │ ├── master │ │ ├── .indent.pro │ │ └── .printfck │ ├── milter │ │ └── .indent.pro │ ├── oqmgr │ │ ├── .indent.pro │ │ └── .printfck │ ├── pickup │ │ ├── .indent.pro │ │ └── .printfck │ ├── pipe │ │ ├── .indent.pro │ │ └── .printfck │ ├── postcat │ │ ├── .indent.pro │ │ ├── b_test.ref │ │ ├── h_test.ref │ │ ├── bh_test.ref │ │ ├── .printfck │ │ ├── e_test.ref │ │ ├── test-queue-file │ │ └── eb_test.ref │ ├── postfix │ │ ├── .indent.pro │ │ └── .printfck │ ├── postlog │ │ ├── .indent.pro │ │ └── .printfck │ ├── qmgr │ │ ├── .indent.pro │ │ └── .printfck │ ├── qmqpd │ │ ├── .indent.pro │ │ └── .printfck │ ├── scache │ │ └── .indent.pro │ ├── showq │ │ ├── .indent.pro │ │ └── .printfck │ ├── smtp │ │ ├── .indent.pro │ │ ├── smtp-only │ │ └── .printfck │ ├── smtpd │ │ ├── .indent.pro │ │ ├── smtpd_deprecated.in │ │ ├── smtpd_check.in4 │ │ ├── smtpd_token.in │ │ ├── .printfck │ │ ├── smtpd_milter.h │ │ └── smtpd_check_backup.in │ ├── spawn │ │ ├── .indent.pro │ │ └── .printfck │ ├── testing │ │ └── .indent.pro │ ├── tls │ │ ├── .indent.pro │ │ ├── bad-rsa-key-last.pem.ref │ │ ├── bad-ec-cert-before-key.pem.ref │ │ ├── bad-key-cert-mismatch.pem.ref │ │ ├── ecca-pkey.pem │ │ ├── ecee-pkey.pem │ │ ├── ecroot-pkey.pem │ │ ├── good-mixed-keyfirst.pem.ref │ │ ├── good-mixed-keylast.pem.ref │ │ ├── bad-back-to-back-keys.pem.ref │ │ ├── good-mixed-keymiddle.pem.ref │ │ ├── warn-mixed-multi-key.pem.ref │ │ ├── goodchains.pem.ref │ │ ├── ecca-cert.pem │ │ └── ecroot-cert.pem │ ├── tlsmgr │ │ └── .indent.pro │ ├── util │ │ ├── .indent.pro │ │ ├── miss_endif_re.map │ │ ├── miss_endif_cidr.map │ │ ├── testdb │ │ ├── vstream_test.in │ │ ├── dict_regexp_file.in │ │ ├── byte_mask.in │ │ ├── dict_cidr_file.in │ │ ├── dict_pcre_file.in │ │ ├── dict_thash.in │ │ ├── dict_inline_pcre.ref │ │ ├── dict_inline_regexp.ref │ │ ├── casefold_test.in │ │ ├── casefold_test.ref │ │ ├── dict_cidr_file.map │ │ ├── dict_inline_cidr.ref │ │ ├── dict_utf8_test.ref │ │ ├── dict_regexp_file.map │ │ ├── strcasecmp_utf8_test.in │ │ ├── strcasecmp_utf8_test.ref │ │ ├── dict_seq.in │ │ ├── name_mask.in │ │ ├── dict_test.in │ │ ├── unescape.in │ │ ├── inet_addr_list.in │ │ ├── find_inet.ref │ │ ├── miss_endif_cidr.ref │ │ ├── miss_endif_pcre.ref │ │ ├── miss_endif_regexp.ref │ │ ├── cache.in │ │ ├── known_tcp_ports.ref │ │ ├── dict_pcre_file.map │ │ ├── sane_basename.in │ │ ├── host_port.in │ │ ├── dict_pcre.in │ │ ├── dict_seq.ref │ │ ├── byte_mask.ref0 │ │ ├── vstring_test.ref │ │ ├── dict_regexp.in │ │ ├── name_mask.ref0 │ │ ├── ctable.in │ │ ├── dict_regexp_file.ref │ │ ├── dict_cidr_file.ref │ │ ├── byte_mask.ref2 │ │ ├── dict_random_file.ref │ │ ├── dict_static_file.ref │ │ ├── dict_test.ref │ │ ├── dict_thash.map │ │ ├── myaddrinfo4.ref2 │ │ ├── myaddrinfo.ref2 │ │ ├── dict_thash.ref │ │ ├── inet_addr_list.ref │ │ ├── dict_static.ref │ │ ├── dict_cidr.in │ │ ├── dict_utf8_test.in │ │ ├── myaddrinfo4.ref │ │ ├── name_mask.ref2 │ │ ├── dict_regexp.map │ │ ├── name_mask.ref7 │ │ ├── dict_inline_file.ref │ │ ├── .printfck │ │ ├── myaddrinfo.ref │ │ ├── dict_pcre.map │ │ ├── name_mask.ref1 │ │ ├── name_mask.ref8 │ │ ├── name_mask.ref9 │ │ ├── dict_stream.ref │ │ ├── ip_match.in │ │ ├── inet_prefix_top.h │ │ ├── name_mask.ref4 │ │ ├── valid_uri_scheme.h │ │ ├── ldseed.h │ │ ├── username.h │ │ ├── name_mask.ref3 │ │ ├── dict_pcre_file.ref │ │ ├── fullname.h │ │ ├── sane_strtol.h │ │ ├── get_hostname.h │ │ ├── safe.h │ │ ├── make_dirs.h │ │ ├── exec_command.h │ │ ├── killme_after.h │ │ ├── mac_midna.h │ │ ├── mask_addr.h │ │ ├── open_as.h │ │ ├── sane_accept.h │ │ ├── sane_connect.h │ │ └── set_ugid.h │ ├── verify │ │ └── .indent.pro │ ├── virtual │ │ ├── .indent.pro │ │ └── .printfck │ ├── xsasl │ │ └── .indent.pro │ ├── postdrop │ │ ├── .indent.pro │ │ └── .printfck │ ├── postkick │ │ ├── .indent.pro │ │ └── .printfck │ ├── postlock │ │ ├── .indent.pro │ │ └── .printfck │ ├── postmulti │ │ └── .indent.pro │ ├── postqueue │ │ └── .indent.pro │ ├── postscreen │ │ └── .indent.pro │ ├── postsuper │ │ ├── .indent.pro │ │ └── .printfck │ ├── proxymap │ │ └── .indent.pro │ ├── sendmail │ │ ├── .indent.pro │ │ └── .printfck │ ├── smtpstone │ │ ├── .indent.pro │ │ ├── throughput │ │ └── .printfck │ ├── tlsproxy │ │ └── .indent.pro │ ├── posttls-finger │ │ └── .indent.pro │ └── trivial-rewrite │ │ ├── .indent.pro │ │ └── .printfck ├── README_FILES │ ├── RELEASE_NOTES │ └── QMQP_README ├── proto │ ├── postconf.html.epilog │ ├── stop │ ├── stop.spell-history │ ├── stop.spell-proto-html │ ├── manual-format │ ├── html2text.rc │ └── postconf.man.epilog ├── TLS_ACKNOWLEDGEMENTS ├── html │ ├── postfix-logo.jpg │ ├── postfix-power.png │ └── postfix-doc.css ├── mantools │ ├── deroff │ ├── find-fluff │ ├── mandouble │ ├── docuseparam │ ├── manspell │ ├── double │ ├── spell │ ├── dehtml │ ├── check-see-postconf-d-output │ ├── check-double-history │ ├── check-double-proto-html │ ├── check-spell-proto-html │ ├── makereadme │ ├── check-double-cc │ ├── find-double │ ├── var2user │ ├── check-spell-cc │ ├── check-spell-history │ ├── user2var │ ├── check-spell-install-proto-text │ ├── check-double-install-proto-text │ ├── spelldiff │ ├── html2readme │ └── specmiss ├── examples │ ├── chroot-setup │ │ ├── NETBSD1 │ │ ├── BSDI2 │ │ ├── BSDI3 │ │ ├── FREEBSD3 │ │ ├── FreeBSD2 │ │ ├── AIX42 │ │ ├── HPUX9 │ │ └── HPUX10 │ ├── smtpd-policy │ │ └── README.SPF │ └── qmail-local │ │ └── qmail-local.txt ├── postfix-env.sh ├── auxiliary │ ├── rmail │ │ └── rmail │ ├── fix-grep │ │ └── fix-grep.sh │ └── collate │ │ └── README ├── .printfck ├── Makefile.init └── Makefile ├── LICENSE └── README /postfix/bin/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /postfix/lib/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /postfix/meta/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | postfix/LICENSE -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | postfix/AAAREADME -------------------------------------------------------------------------------- /postfix/include/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /postfix/libexec/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /postfix/man/cat1/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /postfix/man/cat5/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /postfix/man/cat8/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /postfix/plugins/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /postfix/conf/LICENSE: -------------------------------------------------------------------------------- 1 | ../LICENSE -------------------------------------------------------------------------------- /postfix/conf/TLS_LICENSE: -------------------------------------------------------------------------------- 1 | ../TLS_LICENSE -------------------------------------------------------------------------------- /postfix/src/dns/error.reg: -------------------------------------------------------------------------------- 1 | /./ oops 2 | -------------------------------------------------------------------------------- /postfix/src/postmap/aliases: -------------------------------------------------------------------------------- 1 | xx yy 2 | -------------------------------------------------------------------------------- /postfix/man/man8/lmtp.8: -------------------------------------------------------------------------------- 1 | .so man8/smtp.8 2 | -------------------------------------------------------------------------------- /postfix/src/dns/no-a.reg: -------------------------------------------------------------------------------- 1 | / +a +/ ignore 2 | -------------------------------------------------------------------------------- /postfix/src/postalias/aliases: -------------------------------------------------------------------------------- 1 | xx: yy 2 | -------------------------------------------------------------------------------- /postfix/src/postalias/map-abc1.ref: -------------------------------------------------------------------------------- 1 | DEF 2 | -------------------------------------------------------------------------------- /postfix/src/postalias/map-ghi1.ref: -------------------------------------------------------------------------------- 1 | jkl 2 | -------------------------------------------------------------------------------- /postfix/src/postalias/map-uABC1.ref: -------------------------------------------------------------------------------- 1 | DEF 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test61.ref: -------------------------------------------------------------------------------- 1 | bar 2 | -------------------------------------------------------------------------------- /postfix/src/postmap/map-abc1.ref: -------------------------------------------------------------------------------- 1 | DEF 2 | -------------------------------------------------------------------------------- /postfix/src/postmap/map-ghi1.ref: -------------------------------------------------------------------------------- 1 | jkl 2 | -------------------------------------------------------------------------------- /postfix/src/postmap/map-uABC1.ref: -------------------------------------------------------------------------------- 1 | DEF 2 | -------------------------------------------------------------------------------- /postfix/man/man1/mailq.1: -------------------------------------------------------------------------------- 1 | .so man1/sendmail.1 2 | -------------------------------------------------------------------------------- /postfix/man/man8/defer.8: -------------------------------------------------------------------------------- 1 | .so man8/bounce.8 2 | -------------------------------------------------------------------------------- /postfix/man/man8/trace.8: -------------------------------------------------------------------------------- 1 | .so man8/bounce.8 2 | -------------------------------------------------------------------------------- /postfix/src/anvil/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/bounce/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/cleanup/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/discard/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/dns/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/dns/no-mx.reg: -------------------------------------------------------------------------------- 1 | / +mx +/ ignore 2 | -------------------------------------------------------------------------------- /postfix/src/dns/no-txt.reg: -------------------------------------------------------------------------------- 1 | / +txt +/ ignore 2 | -------------------------------------------------------------------------------- /postfix/src/dnsblog/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/error/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/flush/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/fsstone/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/global/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/local/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/master/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/milter/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/oqmgr/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/pickup/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/pipe/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postalias/map-abc2.ref: -------------------------------------------------------------------------------- 1 | abc: DEF 2 | -------------------------------------------------------------------------------- /postfix/src/postalias/map-ghi2.ref: -------------------------------------------------------------------------------- 1 | ghi: jkl 2 | -------------------------------------------------------------------------------- /postfix/src/postalias/map-uABC2.ref: -------------------------------------------------------------------------------- 1 | ABC: DEF 2 | -------------------------------------------------------------------------------- /postfix/src/postcat/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postcat/b_test.ref: -------------------------------------------------------------------------------- 1 | 2 | text 3 | -------------------------------------------------------------------------------- /postfix/src/postconf/test24.ref: -------------------------------------------------------------------------------- 1 | name = value 2 | -------------------------------------------------------------------------------- /postfix/src/postfix/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postlog/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postmap/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postmap/map-abc2.ref: -------------------------------------------------------------------------------- 1 | abc DEF 2 | -------------------------------------------------------------------------------- /postfix/src/postmap/map-ghi2.ref: -------------------------------------------------------------------------------- 1 | ghi jkl 2 | -------------------------------------------------------------------------------- /postfix/src/postmap/map-uABC2.ref: -------------------------------------------------------------------------------- 1 | ABC DEF 2 | -------------------------------------------------------------------------------- /postfix/src/qmgr/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/qmqpd/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/scache/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/showq/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/smtp/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/smtpd/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/spawn/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/testing/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/tls/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/tlsmgr/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/util/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/util/miss_endif_re.map: -------------------------------------------------------------------------------- 1 | if /foo/ 2 | -------------------------------------------------------------------------------- /postfix/src/verify/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/virtual/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/xsasl/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/README_FILES/RELEASE_NOTES: -------------------------------------------------------------------------------- 1 | ../RELEASE_NOTES -------------------------------------------------------------------------------- /postfix/man/man1/newaliases.1: -------------------------------------------------------------------------------- 1 | .so man1/sendmail.1 2 | -------------------------------------------------------------------------------- /postfix/src/dns/no-aaaa.reg: -------------------------------------------------------------------------------- 1 | / +aaaa +/ ignore 2 | -------------------------------------------------------------------------------- /postfix/src/postalias/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postconf/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postdrop/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postkick/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postlock/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postmap/lmdb_abb: -------------------------------------------------------------------------------- 1 | a 1 2 | b 2 3 | b 3 4 | -------------------------------------------------------------------------------- /postfix/src/postmap/map.in: -------------------------------------------------------------------------------- 1 | ABC DEF 2 | ghi jkl 3 | -------------------------------------------------------------------------------- /postfix/src/postmulti/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postqueue/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postscreen/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/postsuper/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/proxymap/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/sendmail/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/smtpstone/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/tlsproxy/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/util/miss_endif_cidr.map: -------------------------------------------------------------------------------- 1 | if 1.2.3.4 2 | -------------------------------------------------------------------------------- /postfix/src/util/testdb: -------------------------------------------------------------------------------- 1 | foo fooval 2 | bar barval 3 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg14a: -------------------------------------------------------------------------------- 1 | /./ reject 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg14d: -------------------------------------------------------------------------------- 1 | /./ DISCARD 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg14e: -------------------------------------------------------------------------------- 1 | /./ HOLD 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg14f: -------------------------------------------------------------------------------- 1 | /./ reject 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg14g: -------------------------------------------------------------------------------- 1 | /./ reject 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg15a: -------------------------------------------------------------------------------- 1 | /./ reject 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg15d: -------------------------------------------------------------------------------- 1 | /./ DISCARD 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg15e: -------------------------------------------------------------------------------- 1 | /./ HOLD 2 | -------------------------------------------------------------------------------- /postfix/src/dns/dns_sa_to_rr.in: -------------------------------------------------------------------------------- 1 | spike.porcupine.org 2 | -------------------------------------------------------------------------------- /postfix/src/postalias/map.in: -------------------------------------------------------------------------------- 1 | ABC: DEF 2 | ghi: jkl 3 | -------------------------------------------------------------------------------- /postfix/src/postconf/test33.ref: -------------------------------------------------------------------------------- 1 | always_bcc = whatever 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test5.ref: -------------------------------------------------------------------------------- 1 | config_directory = . 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test63.ref: -------------------------------------------------------------------------------- 1 | foo/unix/always_bcc 2 | -------------------------------------------------------------------------------- /postfix/src/posttls-finger/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/src/trivial-rewrite/.indent.pro: -------------------------------------------------------------------------------- 1 | ../../.indent.pro -------------------------------------------------------------------------------- /postfix/man/man5/body_checks.5: -------------------------------------------------------------------------------- 1 | .so man5/header_checks.5 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg15g: -------------------------------------------------------------------------------- 1 | /./ filter x:y:z 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg15f: -------------------------------------------------------------------------------- 1 | /./ redirect x@y.z 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/install_vars.h: -------------------------------------------------------------------------------- 1 | char *var_debug_command; 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test32.ref: -------------------------------------------------------------------------------- 1 | fast_flush_domains = whatever 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test64.ref: -------------------------------------------------------------------------------- 1 | relayhost = relay-from-main.cf 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test65.ref: -------------------------------------------------------------------------------- 1 | relayhost = relay-from-cmd-line 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test8.ref: -------------------------------------------------------------------------------- 1 | whatevershebrings_time_limit = 1 2 | -------------------------------------------------------------------------------- /postfix/src/util/vstream_test.in: -------------------------------------------------------------------------------- 1 | abcdef 2 | ghijkl 3 | mnopqr 4 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg14c: -------------------------------------------------------------------------------- 1 | /./ REDIRECT foo@examle.com 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.reg15c: -------------------------------------------------------------------------------- 1 | /./ REDIRECT foo@examle.com 2 | -------------------------------------------------------------------------------- /postfix/proto/postconf.html.epilog: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /postfix/src/global/maps.in: -------------------------------------------------------------------------------- 1 | ./maps fail:1maps < get foo 2 | foo=got foo 3 | > get bar 4 | bar: not found 5 | -------------------------------------------------------------------------------- /postfix/src/util/dict_inline_regexp.ref: -------------------------------------------------------------------------------- 1 | > get foo 2 | foo=got foo 3 | > get bar 4 | bar: not found 5 | -------------------------------------------------------------------------------- /postfix/src/global/safe_ultostr.in: -------------------------------------------------------------------------------- 1 | 4294967295 2 2 | 4294967295 10 3 | 4294967295 16 4 | 4294967295 52 5 | -------------------------------------------------------------------------------- /postfix/src/postconf/test3.ref: -------------------------------------------------------------------------------- 1 | always_bcc = $bar 2 | bar = $foo 3 | config_directory = . 4 | foo = yes 5 | -------------------------------------------------------------------------------- /postfix/src/postconf/test60.ref: -------------------------------------------------------------------------------- 1 | foo 2 | unix 3 | - 4 | n 5 | n 6 | - 7 | 0 8 | other -o always_bcc=bar 9 | -------------------------------------------------------------------------------- /postfix/src/postmap/lmdb_abb.ref: -------------------------------------------------------------------------------- 1 | postmap: warning: lmdb:lmdb_abb: duplicate entry: "b" 2 | a 1 3 | b 2 4 | -------------------------------------------------------------------------------- /postfix/src/smtp/smtp-only: -------------------------------------------------------------------------------- 1 | _ALWAYS_EHLO 2 | _NEVER_EHLO 3 | _IGN_MX_LOOKUP_ERR 4 | _INSECURE_MX_POLICY 5 | -------------------------------------------------------------------------------- /postfix/TLS_ACKNOWLEDGEMENTS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/TLS_ACKNOWLEDGEMENTS -------------------------------------------------------------------------------- /postfix/html/postfix-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/html/postfix-logo.jpg -------------------------------------------------------------------------------- /postfix/html/postfix-power.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/html/postfix-power.png -------------------------------------------------------------------------------- /postfix/mantools/deroff: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sed ' 4 | s/^\.[^ ]*// 5 | s/\\f.//g 6 | s/\\(..//g 7 | ' "$@" 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref16b1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref17a1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref17b1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref17c1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref17d1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref18a1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref18b1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref18c1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref18d1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test19.ref: -------------------------------------------------------------------------------- 1 | config_directory = . 2 | default_rbl_reply = $bbbb 3 | forward_path = $aaaa 4 | -------------------------------------------------------------------------------- /postfix/src/postconf/test38.ref: -------------------------------------------------------------------------------- 1 | bar unix - n n - 0 other -o aaa=ccc 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test45.ref: -------------------------------------------------------------------------------- 1 | ./postconf: fatal: invalid type field "xxxx" in "bar xxxx - n n - 0 other" 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test46.ref: -------------------------------------------------------------------------------- 1 | ./postconf: fatal: invalid private field "X" in "bar inet X n n - 0 other" 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test48.ref: -------------------------------------------------------------------------------- 1 | ./postconf: fatal: invalid chroot field "X" in "bar inet - n X - 0 other" 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test49.ref: -------------------------------------------------------------------------------- 1 | ./postconf: fatal: invalid wakeup field "X" in "bar inet - n n X 0 other" 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test51.ref: -------------------------------------------------------------------------------- 1 | ./postconf: fatal: invalid wakeup field "X?" in "bar inet - n n X? 0 other" 2 | -------------------------------------------------------------------------------- /postfix/proto/stop.spell-history: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/proto/stop.spell-history -------------------------------------------------------------------------------- /postfix/src/dns/dns_rr_to_pa.ref: -------------------------------------------------------------------------------- 1 | spike.porcupine.org -> 168.100.3.2 2 | spike.porcupine.org -> 2604:8d00:189::2 3 | -------------------------------------------------------------------------------- /postfix/src/dns/dns_sa_to_rr.ref: -------------------------------------------------------------------------------- 1 | spike.porcupine.org -> 168.100.3.2 2 | spike.porcupine.org -> 2604:8d00:189::2 3 | -------------------------------------------------------------------------------- /postfix/src/global/mime_8bit.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/src/global/mime_8bit.in -------------------------------------------------------------------------------- /postfix/src/global/mime_8bit.ref: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/src/global/mime_8bit.ref -------------------------------------------------------------------------------- /postfix/src/postconf/test47.ref: -------------------------------------------------------------------------------- 1 | ./postconf: fatal: invalid unprivileged field "X" in "bar inet - X n - 0 other" 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test50.ref: -------------------------------------------------------------------------------- 1 | ./postconf: fatal: invalid process_limit field "X" in "bar inet - n n - X other" 2 | -------------------------------------------------------------------------------- /postfix/src/postconf/test87.ref: -------------------------------------------------------------------------------- 1 | {"foo/unix/mydestination": "example.net"} 2 | {"foo/unix/whatever": "example.net"} 3 | -------------------------------------------------------------------------------- /postfix/mantools/find-fluff: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i in $* 4 | do 5 | echo === $i === 6 | grep '

*$' $i 7 | done 8 | -------------------------------------------------------------------------------- /postfix/proto/stop.spell-proto-html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/proto/stop.spell-proto-html -------------------------------------------------------------------------------- /postfix/src/postconf/test53.ref: -------------------------------------------------------------------------------- 1 | foo unix - n n - 0 other 2 | #bar inet - n n 0 0 other 3 | baz unix - n n 0 0 other 4 | -------------------------------------------------------------------------------- /postfix/src/postconf/test54.ref: -------------------------------------------------------------------------------- 1 | #foo unix - n n - 0 other 2 | #bar inet - n n 0 0 other 3 | baz unix - n n 0 0 other 4 | -------------------------------------------------------------------------------- /postfix/src/postconf/test55.ref: -------------------------------------------------------------------------------- 1 | foo unix - n n - 0 other 2 | #bar inet - n n 0 0 other 3 | #baz unix - n n 0 0 other 4 | -------------------------------------------------------------------------------- /postfix/src/util/casefold_test.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/src/util/casefold_test.in -------------------------------------------------------------------------------- /postfix/src/util/casefold_test.ref: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/src/util/casefold_test.ref -------------------------------------------------------------------------------- /postfix/src/util/dict_cidr_file.map: -------------------------------------------------------------------------------- 1 | 1.1.1.1 dict_cidr_file1 2 | 2.2.2.2 dict_cidr_file2 3 | 3.3.3.3 dict_cidr_file3 4 | -------------------------------------------------------------------------------- /postfix/src/util/dict_inline_cidr.ref: -------------------------------------------------------------------------------- 1 | > get 1.2.3.4 2 | 1.2.3.4=got 1.2.3.4 3 | > get 4.3.2.1 4 | 4.3.2.1: not found 5 | -------------------------------------------------------------------------------- /postfix/src/util/dict_utf8_test.ref: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/src/util/dict_utf8_test.ref -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in6a: -------------------------------------------------------------------------------- 1 | open test-queue-file6.tmp 2 | 3 | ins_header 1 X-Virus-Scanned hya 4 | 5 | close 6 | -------------------------------------------------------------------------------- /postfix/src/dns/dns_rr_to_sa.ref: -------------------------------------------------------------------------------- 1 | spike.porcupine.org 25 -> 168.100.3.2 25 2 | spike.porcupine.org 25 -> 2604:8d00:189::2 25 3 | -------------------------------------------------------------------------------- /postfix/src/global/mail_version.in: -------------------------------------------------------------------------------- 1 | 1 2 | 1-2 3 | 1-2.3 4 | 1-2.3.4.5 5 | 1-2.3.4-5 6 | 1-2.3-5 7 | 1-2.3-5-6 8 | 1-2.3-5.6 9 | -------------------------------------------------------------------------------- /postfix/src/postconf/test16.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: open ./master.cf: No such file or directory 2 | config_directory = . 3 | -------------------------------------------------------------------------------- /postfix/src/postconf/test80.ref: -------------------------------------------------------------------------------- 1 | {"config_directory": "."} 2 | {"mydestination": "$whatever"} 3 | {"whatever": "example.com"} 4 | -------------------------------------------------------------------------------- /postfix/src/util/dict_regexp_file.map: -------------------------------------------------------------------------------- 1 | /file1/ dict_regexp_file1 2 | /file2/ dict_regexp_file2 3 | /file3/ dict_regexp_file3 4 | -------------------------------------------------------------------------------- /postfix/mantools/mandouble: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for file 4 | do 5 | echo ==== $file ==== 6 | deroff $file | double 7 | done 8 | -------------------------------------------------------------------------------- /postfix/src/postconf/test13.ref: -------------------------------------------------------------------------------- 1 | bar = yes 2 | config_directory = . 3 | ./postconf: warning: ./main.cf: unused parameter: baz=xx 4 | -------------------------------------------------------------------------------- /postfix/src/postconf/test15.ref: -------------------------------------------------------------------------------- 1 | baz = yy 2 | config_directory = . 3 | ./postconf: warning: ./main.cf: unused parameter: bar=xx 4 | -------------------------------------------------------------------------------- /postfix/src/postconf/test69.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ldap:PWD/test69.cf: unused parameter: junk=junk 2 | config_directory = . 3 | -------------------------------------------------------------------------------- /postfix/src/postconf/test81.ref: -------------------------------------------------------------------------------- 1 | {"config_directory": "."} 2 | {"mydestination": "example.com"} 3 | {"whatever": "example.com"} 4 | -------------------------------------------------------------------------------- /postfix/src/postconf/test83.ref: -------------------------------------------------------------------------------- 1 | {"foo/unix": "foo unix - n n - 0 other -o mydestination=example.net -o whatever=example.net"} 2 | -------------------------------------------------------------------------------- /postfix/src/util/strcasecmp_utf8_test.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/src/util/strcasecmp_utf8_test.in -------------------------------------------------------------------------------- /postfix/src/postconf/test31.ref: -------------------------------------------------------------------------------- 1 | config_directory = . 2 | smtpd_helo_restrictions = whatever 3 | smtpd_sender_restrictions = whatever 4 | -------------------------------------------------------------------------------- /postfix/src/util/strcasecmp_utf8_test.ref: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vdukhovni/postfix/HEAD/postfix/src/util/strcasecmp_utf8_test.ref -------------------------------------------------------------------------------- /postfix/src/global/mail_conf_time.ref: -------------------------------------------------------------------------------- 1 | 10 seconds = 10 2 | 10 minutes = 600 3 | 10 hours = 36000 4 | 10 days = 864000 5 | 10 weeks = 6048000 6 | -------------------------------------------------------------------------------- /postfix/src/postconf/test10.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: unmatched request: "bar/inet" 2 | ./postconf: warning: unmatched request: "foo/unix" 3 | -------------------------------------------------------------------------------- /postfix/mantools/docuseparam: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | mantools/docparam "$@" >/tmp/doc 4 | mantools/useparam "$@" >/tmp/use 5 | diff /tmp/doc /tmp/use 6 | -------------------------------------------------------------------------------- /postfix/src/postconf/test75.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ignoring earlier request: 'mail_version = x' 2 | config_directory = . 3 | mail_version = y 4 | -------------------------------------------------------------------------------- /postfix/src/postconf/install_table.h: -------------------------------------------------------------------------------- 1 | VAR_CONFIG_DIR, DEF_CONFIG_DIR, &var_config_dir, 1, 0, 2 | VAR_DEBUG_COMMAND, "", &var_debug_command, 1, 0, 3 | -------------------------------------------------------------------------------- /postfix/src/postconf/test56.ref: -------------------------------------------------------------------------------- 1 | foo unix - n n - 0 other 2 | #bar inet - n n 0 0 other 3 | # -o first 4 | # -o second 5 | baz unix - n n 0 0 other 6 | -------------------------------------------------------------------------------- /postfix/mantools/manspell: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for file 4 | do 5 | echo ==== $file ==== 6 | deroff $file | spell | grep -F -vf proto/stop 7 | done 8 | -------------------------------------------------------------------------------- /postfix/src/postconf/test14.ref: -------------------------------------------------------------------------------- 1 | config_directory = . 2 | smtpd_restriction_classes = bar 3 | ./postconf: warning: ./master.cf: unused parameter: baz=xx 4 | -------------------------------------------------------------------------------- /postfix/src/postconf/test21.ref: -------------------------------------------------------------------------------- 1 | config_directory = . 2 | forward_path = xxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxxx 3 | xxxxxxxxxxxxxx 4 | -------------------------------------------------------------------------------- /postfix/src/util/dict_seq.in: -------------------------------------------------------------------------------- 1 | put 5 5 2 | put 3 3 3 | put 4 4 4 | put 1 1 5 | put 2 2 6 | first 7 | next 8 | next 9 | next 10 | next 11 | next 12 | -------------------------------------------------------------------------------- /postfix/src/util/name_mask.in: -------------------------------------------------------------------------------- 1 | zero 2 | one 3 | two 4 | three 5 | four 6 | zero one two three four 7 | 0xff 8 | 0xffffffff 9 | 0xffffffffffffffff 10 | -------------------------------------------------------------------------------- /postfix/src/global/safe_ultostr.ref: -------------------------------------------------------------------------------- 1 | 4294967295 = 11111111111111111111111111111111 2 | 4294967295 = 4294967295 3 | 4294967295 = HHHHHHHH 4 | 4294967295 = CHPgSv 5 | -------------------------------------------------------------------------------- /postfix/src/postconf/test86.ref: -------------------------------------------------------------------------------- 1 | {"foo/unix/mydestination": "$whatever"} 2 | {"foo/unix/whatever": "example.net"} 3 | {"12345/inet/command_time_limit": "2 3"} 4 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in6b: -------------------------------------------------------------------------------- 1 | open test-queue-file6.tmp 2 | 3 | ins_header 1 X-Virus-Scanned hya 4 | ins_header 2 Domainkey-Signature hya 5 | 6 | close 7 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref17e1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: enable_original_recipient: 0 2 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 3 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref17f1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: enable_original_recipient: 0 2 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 3 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref17g1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: enable_original_recipient: 0 2 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 3 | -------------------------------------------------------------------------------- /postfix/src/postconf/test11.ref: -------------------------------------------------------------------------------- 1 | foo inet - n n - 0 spawn 2 | bar unix - n n - 0 spawn 3 | -------------------------------------------------------------------------------- /postfix/src/postconf/test39.ref: -------------------------------------------------------------------------------- 1 | foo unix - n n - 0 other 2 | baz unix - n n - 0 other 3 | -------------------------------------------------------------------------------- /postfix/src/postconf/test1.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ./main.cf: undefined parameter: bar 2 | config_directory = . 3 | foo = yes 4 | smtpd_restriction_classes = foo bar 5 | -------------------------------------------------------------------------------- /postfix/src/postconf/test36.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ./main.cf: undefined parameter: virtual_mapx 2 | config_directory = . 3 | mydestination = 4 | virtual_alias_maps = 5 | -------------------------------------------------------------------------------- /postfix/src/postconf/test37.ref: -------------------------------------------------------------------------------- 1 | whatever unix - n n - 0 other 2 | -o mydestination=yyy 3 | -o always_bcc=ccc 4 | -o aaa=ccc 5 | -------------------------------------------------------------------------------- /postfix/src/postconf/test4b.ref: -------------------------------------------------------------------------------- 1 | always_bcc = $foo 2 | bar = aaa 3 | biff = $bar 4 | config_directory = . 5 | ./postconf: warning: ./master.cf: unused parameter: baz=zzz 6 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in13b: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file13b.tmp 3 | 4 | # Change the sender. 5 | 6 | chg_from m@porcupine.org esmtpstuff 7 | 8 | close 9 | -------------------------------------------------------------------------------- /postfix/src/util/dict_test.in: -------------------------------------------------------------------------------- 1 | del bar 2 | get bar 3 | get nonexist 4 | del nonexist 5 | get foo 6 | del foo 7 | put baz bazval 8 | get baz 9 | del baz 10 | get baz 11 | -------------------------------------------------------------------------------- /postfix/src/util/unescape.in: -------------------------------------------------------------------------------- 1 | \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z 2 | \1\2\3\4\5\6\7\8\9 3 | \1234\2345\3456\4567 4 | rcpt to: 5 | -------------------------------------------------------------------------------- /postfix/mantools/double: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | LC_ALL=C 4 | export LC_ALL 5 | 6 | for i in $* 7 | do 8 | echo === $i === 9 | dehtml $i | tr A-Z a-z | double 10 | done 11 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in18b: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file18b.tmp 3 | # 4 | # Delete a prepended header. 5 | # 6 | del_header 1 Header-Label 7 | 8 | close 9 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in14a: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file14a.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg14a 5 | add_header X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in14b: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file14b.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg14b 5 | add_header X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in14c: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file14c.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg14c 5 | add_header X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in14d: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file14d.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg14d 5 | add_header X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in14e: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file14e.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg14e 5 | add_header X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in14f: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file14f.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg14f 5 | ins_header 2 X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in14g: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file14g.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg14g 5 | upd_header 1 X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in15a: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file15a.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg15a 5 | add_header X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in15b: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file15b.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg15b 5 | add_header X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in15c: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file15c.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg15c 5 | add_header X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in15d: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file15d.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg15d 5 | add_header X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in15e: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file15e.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg15e 5 | add_header X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in15f: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file15f.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg15f 5 | ins_header 2 X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in15g: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file15g.tmp 3 | 4 | header_checks regexp:cleanup_milter.reg15g 5 | ins_header 2 X-SPAM-FLAG YES 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref15f1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-redirect: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: x@y.z 2 | -------------------------------------------------------------------------------- /postfix/src/dns/dns_rr_eq_sa.in: -------------------------------------------------------------------------------- 1 | spike.porcupine.org 168.100.3.2 2 | spike.porcupine.org 168.100.3.3 3 | spike.porcupine.org 2604:8d00:189::2 4 | spike.porcupine.org 2604:8d00:189::3 5 | -------------------------------------------------------------------------------- /postfix/src/global/quote_822_local.in: -------------------------------------------------------------------------------- 1 | quote a@b@c@d 2 | quote_with_flags 8bitclean|bare_localpart a@b@c@d 3 | unquote "a@b@c"@d 4 | unquote "a@b@c" 5 | unquote "a@b@c"@d@e 6 | quote <> 7 | -------------------------------------------------------------------------------- /postfix/src/util/inet_addr_list.in: -------------------------------------------------------------------------------- 1 | 168.100.3.2 2 | 168.100.3.2 3 | 168.100.3.1 4 | 168.100.3.3 5 | 168.100.3.3 6 | 168.100.3.3 7 | 168.100.3.4 8 | 168.100.3.1 9 | 168.100.3.4 10 | -------------------------------------------------------------------------------- /postfix/examples/chroot-setup/NETBSD1: -------------------------------------------------------------------------------- 1 | umask 022 2 | mkdir /var/spool/postfix/etc 3 | chmod 755 /var/spool/postfix/etc 4 | cd /etc ; cp localtime services resolv.conf /var/spool/postfix/etc 5 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in8: -------------------------------------------------------------------------------- 1 | open test-queue-file8.tmp 2 | 3 | ins_header 1 inserted-at-1 hya 4 | ins_header 2 inserted-at-2 hya 5 | ins_header 3 inserted-at-3 hya 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in9: -------------------------------------------------------------------------------- 1 | open test-queue-file9.tmp 2 | 3 | ins_header 1 inserted-at-1 hya 4 | ins_header 3 inserted-at-3 hya 5 | ins_header 5 inserted-at-5 hya 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/examples/chroot-setup/BSDI2: -------------------------------------------------------------------------------- 1 | umask 022 2 | mkdir /var/spool/postfix/etc 3 | chmod 755 /var/spool/postfix/etc 4 | cp /etc/localtime /etc/services /etc/resolv.conf /var/spool/postfix/etc 5 | -------------------------------------------------------------------------------- /postfix/examples/chroot-setup/BSDI3: -------------------------------------------------------------------------------- 1 | umask 022 2 | mkdir /var/spool/postfix/etc 3 | chmod 755 /var/spool/postfix/etc 4 | cp /etc/localtime /etc/services /etc/resolv.conf /var/spool/postfix/etc 5 | -------------------------------------------------------------------------------- /postfix/postfix-env.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Run a program with the new shared libraries instead of the installed ones. 4 | 5 | LD_LIBRARY_PATH=`pwd`/lib DYLD_LIBRARY_PATH=`pwd`/lib exec "$@" 6 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in13h: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file13h.tmp 3 | 4 | # Change the sender. 5 | 6 | chg_from m@porcupine.org { ret=hdrs envid=env-for-m } 7 | 8 | close 9 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in18a: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file18a.tmp 3 | # 4 | # Update a prepended header. 5 | # 6 | upd_header 1 Header-Label new-header-value 7 | 8 | close 9 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref14c1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-redirect: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: foo@examle.com 2 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref15c1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-redirect: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: foo@examle.com 2 | -------------------------------------------------------------------------------- /postfix/src/util/find_inet.ref: -------------------------------------------------------------------------------- 1 | find_inet: good-symbolic: PASS 2 | find_inet: good-numeric: PASS 3 | find_inet: bad-symbolic: PASS 4 | find_inet: bad-numeric: PASS 5 | find_inet: PASS=4 FAIL=0 6 | -------------------------------------------------------------------------------- /postfix/src/util/miss_endif_cidr.ref: -------------------------------------------------------------------------------- 1 | ./dict_open: warning: cidr map miss_endif_cidr.map, line 1: IF has no matching ENDIF 2 | owner=untrusted (uid=USER) 3 | > get 1.2.3.5 4 | 1.2.3.5: not found 5 | -------------------------------------------------------------------------------- /postfix/src/util/miss_endif_pcre.ref: -------------------------------------------------------------------------------- 1 | ./dict_open: warning: pcre map miss_endif_re.map, line 1: IF has no matching ENDIF 2 | owner=untrusted (uid=USER) 3 | > get 1.2.3.5 4 | 1.2.3.5: not found 5 | -------------------------------------------------------------------------------- /postfix/examples/chroot-setup/FREEBSD3: -------------------------------------------------------------------------------- 1 | umask 022 2 | mkdir /var/spool/postfix/etc 3 | chmod 755 /var/spool/postfix/etc 4 | cd /etc ; cp host.conf localtime services resolv.conf /var/spool/postfix/etc 5 | -------------------------------------------------------------------------------- /postfix/examples/chroot-setup/FreeBSD2: -------------------------------------------------------------------------------- 1 | umask 022 2 | mkdir /var/spool/postfix/etc 3 | chmod 755 /var/spool/postfix/etc 4 | cd /etc ; cp host.conf localtime services resolv.conf /var/spool/postfix/etc 5 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in18d: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file18d.tmp 3 | # 4 | # Delete our Received: header. This should do nothing. 5 | # 6 | del_header 1 Received 7 | 8 | close 9 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in4a: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file4.tmp 3 | add_rcpt 01 4 | add_rcpt 02 5 | add_rcpt 03 6 | del_rcpt 03 7 | del_rcpt 02 8 | del_rcpt 01 9 | close 10 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in4b: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file4.tmp 3 | add_rcpt 01 4 | add_rcpt 02 5 | add_rcpt 03 6 | del_rcpt 01 7 | del_rcpt 02 8 | del_rcpt 03 9 | close 10 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in6c: -------------------------------------------------------------------------------- 1 | open test-queue-file6.tmp 2 | 3 | ins_header 1 X-Virus-Scanned hya 4 | ins_header 2 Domainkey-Signature hya 5 | ins_header 2 DKIM-Signature hya 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in7: -------------------------------------------------------------------------------- 1 | open test-queue-file7.tmp 2 | 3 | ins_header 2 X-Virus-Scanned hya 4 | ins_header 2 Domainkey-Signature hya 5 | ins_header 2 DKIM-Signature hya 6 | 7 | close 8 | -------------------------------------------------------------------------------- /postfix/src/postconf/test2.ref: -------------------------------------------------------------------------------- 1 | config_directory = . 2 | ./postconf: warning: ./main.cf: unused parameter: foo=yes 3 | ./postconf: warning: ./main.cf: unused parameter: restriction_classes=foo bar 4 | -------------------------------------------------------------------------------- /postfix/src/util/miss_endif_regexp.ref: -------------------------------------------------------------------------------- 1 | ./dict_open: warning: regexp map miss_endif_re.map, line 1: IF has no matching ENDIF 2 | owner=untrusted (uid=USER) 3 | > get 1.2.3.5 4 | 1.2.3.5: not found 5 | -------------------------------------------------------------------------------- /postfix/src/postconf/test62.ref: -------------------------------------------------------------------------------- 1 | foo/unix/service 2 | foo/unix/type 3 | foo/unix/private 4 | foo/unix/unprivileged 5 | foo/unix/chroot 6 | foo/unix/wakeup 7 | foo/unix/process_limit 8 | foo/unix/command 9 | -------------------------------------------------------------------------------- /postfix/src/util/cache.in: -------------------------------------------------------------------------------- 1 | a 2 | 1 3 | b 4 | 2 5 | c 6 | 3 7 | d 8 | 4 9 | e 10 | 5 11 | f 12 | 6 13 | f 14 | e 15 | d 16 | c 17 | b 18 | a 19 | 1 20 | b 21 | c 22 | d 23 | e 24 | f 25 | 6 26 | f 27 | -------------------------------------------------------------------------------- /postfix/mantools/spell: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | LC_ALL=C 4 | export LC_ALL 5 | 6 | for i in $* 7 | do 8 | echo === $i === 9 | mantools/html2readme $i | col -b | spell | grep -F -vxf proto/stop 10 | done 11 | -------------------------------------------------------------------------------- /postfix/src/postconf/test12.ref: -------------------------------------------------------------------------------- 1 | foo inet - n n - 0 spawn -o always_bcc=$bar -o 2 | foo inet - n n - 0 spawn -o always_bcc=$bar -o 3 | -------------------------------------------------------------------------------- /postfix/src/postmap/quote_test.ref: -------------------------------------------------------------------------------- 1 | postmap: warning: stdin, line 1: unbalanced '"' in '"dd ee ff' -- ignoring this line 2 | "aa bb" cc 3 | "gg\"hh" ii 4 | "jj@kk" ll 5 | @oo pp 6 | gg\ hh ii 7 | mm@nn@oo pp 8 | -------------------------------------------------------------------------------- /postfix/src/util/known_tcp_ports.ref: -------------------------------------------------------------------------------- 1 | unknown: good: PASS 2 | unknown: duplicate lhs: PASS 3 | unknown: numerical lhs: PASS 4 | unknown: symbolic rhs: PASS 5 | unknown: uninitialized: PASS 6 | unknown: PASS=5 FAIL=0 7 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in13c: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file13c.tmp 3 | 4 | # Change the sender. 5 | 6 | chg_from m@porcupine.org esmtpstuff 7 | chg_from n@porcupine.org esmtpstuff 8 | 9 | close 10 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref14d1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-discard: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: 2 | ./cleanup_milter: flags = discard_message 3 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref15d1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-discard: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: 2 | ./cleanup_milter: flags = discard_message 3 | -------------------------------------------------------------------------------- /postfix/mantools/dehtml: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i 4 | do 5 | case $i in 6 | /*) lynx -width=256 -dump file://$i;; 7 | *) lynx -width=256 -dump file://`pwd`/$i;; 8 | esac 9 | done | grep -v 'file:///' 10 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in11: -------------------------------------------------------------------------------- 1 | # 2 | # Replace a non-existent body by a non-empty one. 3 | # 4 | #verbose on 5 | open test-queue-file11.tmp 6 | 7 | replbody loremipsum 8 | replbody loremipsum 9 | 10 | close 11 | -------------------------------------------------------------------------------- /postfix/src/global/off_cvt.ref: -------------------------------------------------------------------------------- 1 | 9223372036854775807 2 | unknown: warning: bad input 9223372036854775808 3 | unknown: warning: bad input 92233720368547758070 4 | unknown: warning: bad input +1 5 | unknown: warning: bad input -1 6 | -------------------------------------------------------------------------------- /postfix/src/postconf/test35.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ./master.cf: read-only parameter assignment: process_name=aaa 2 | ./postconf: warning: ./master.cf: read-only parameter assignment: process_id=bbb 3 | process_name = postconf 4 | -------------------------------------------------------------------------------- /postfix/src/postconf/test72.ref: -------------------------------------------------------------------------------- 1 | smtp unix - n n - 0 other 2 | smtp fifo - n n - 0 other 3 | smtp inet - n n - 0 other 4 | -------------------------------------------------------------------------------- /postfix/src/postconf/test73.ref: -------------------------------------------------------------------------------- 1 | smtp unix - n n - 0 otherx 2 | smtp fifo - n n - 0 other 3 | smtp inet - n n - 0 other 4 | -------------------------------------------------------------------------------- /postfix/src/postconf/test74.ref: -------------------------------------------------------------------------------- 1 | smtp unix - n n - 0 other 2 | lmtp unix - n n - 0 otherx 3 | smtp inet - n n - 0 other 4 | -------------------------------------------------------------------------------- /postfix/src/tls/bad-rsa-key-last.pem.ref: -------------------------------------------------------------------------------- 1 | unknown: warning: No certs for key at index 5 in bad-rsa-key-last.pem 2 | unknown: warning: error loading private keys and certificates from: bad-rsa-key-last.pem: disabling TLS support 3 | -------------------------------------------------------------------------------- /postfix/src/util/dict_pcre_file.map: -------------------------------------------------------------------------------- 1 | /file1/ dict_pcre_file1 2 | /file2/ dict_pcre_file2 3 | /file3/ dict_pcre_file3 4 | /files12/ dict_pcre_file1, dict_pcre_file2 5 | /files13/ dict_pcre_file1, dict_pcre_file3 6 | /file-comma/ , 7 | -------------------------------------------------------------------------------- /postfix/src/util/sane_basename.in: -------------------------------------------------------------------------------- 1 | /// 2 | / 3 | fo2/// 4 | fo2/ 5 | fo2 6 | ///fo2 7 | /fo2 8 | ///fo2///bar/// 9 | fo2///bar/// 10 | fo2///bar/ 11 | fo2/bar 12 | 13 | /usr/lib 14 | /usr/ 15 | usr 16 | / 17 | . 18 | .. 19 | -------------------------------------------------------------------------------- /postfix/mantools/check-see-postconf-d-output: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # check-see-postconf-d-output - find missing is misplaced quotes 4 | 5 | grep -r "see *'*postconf -d'* *output'*" proto html man | 6 | grep -v "see 'postconf -d' output" 7 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in17a: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file17a.tmp 3 | # 4 | # Delete a recipient. Then add the recipient back. 5 | 6 | del_rcpt user@example.com 7 | add_rcpt user@example.com 8 | 9 | close 10 | -------------------------------------------------------------------------------- /postfix/src/postconf/test82.ref: -------------------------------------------------------------------------------- 1 | {"foo/unix": "foo unix - n n - 0 other -o mydestination=$whatever -o whatever=example.net"} 2 | {"12345/inet": "12345 inet n n n - - spawn -o {command_time_limit=2 3} user=nobody argv=/bin/sh -c {sleep 1}"} 3 | -------------------------------------------------------------------------------- /postfix/mantools/check-double-history: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Finds double words the HISTORY file, starting with 2022. 4 | 5 | LANG=C; export LANG 6 | 7 | sed '1,/^2022/d' HISTORY | mantools/find-double | grep -F -vxf proto/stop.double-history 8 | -------------------------------------------------------------------------------- /postfix/src/postconf/test40.ref: -------------------------------------------------------------------------------- 1 | foo unix - n n - 0 other -v 2 | -o aaa=bbb 3 | -v 4 | -o ccc=bbb 5 | -v 6 | -o ddd=bbb 7 | ./postconf: warning: ./master.cf: unused parameter: ddd=$ccc 8 | -------------------------------------------------------------------------------- /postfix/src/util/host_port.in: -------------------------------------------------------------------------------- 1 | hhh:ppp 2 | hhh: 3 | hhh 4 | [hhh]:ppp 5 | [hhh]: 6 | [hhh] 7 | #[hhh:ppp] 8 | #[hhh:] 9 | hhh:1pp 10 | [hh.] 11 | hh. 12 | 999 13 | [::1] 14 | [ipv6:::1] 15 | [ipv6:127.0.0.1] 16 | [ipv6:example.com] 17 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in4c: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file4.tmp 3 | add_rcpt 01 4 | del_rcpt 01 5 | del_rcpt 03 6 | add_rcpt 02 7 | del_rcpt 02 8 | del_rcpt 01 9 | add_rcpt 03 10 | del_rcpt 03 11 | del_rcpt 02 12 | close 13 | -------------------------------------------------------------------------------- /postfix/src/postconf/test30.ref: -------------------------------------------------------------------------------- 1 | config_directory = . 2 | p1 = xx 3 | p2 = xx 4 | p3 = xx 5 | p4 = xx 6 | ./postconf: warning: ./master.cf: unused parameter: bodyx_checks=$p2 7 | ./postconf: warning: ./master.cf: unused parameter: headerx_checks=$p4 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref15g1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-filter: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: x:y:z 2 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 3 | -------------------------------------------------------------------------------- /postfix/src/postconf/test20.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ./master.cf: undefined parameter: bar 2 | ./postconf: warning: ./master.cf: undefined parameter: baz 3 | foo inet - n n - 0 spawn 4 | -o always_bcc=$bar$baz 5 | -------------------------------------------------------------------------------- /postfix/src/postconf/test34.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ./main.cf: read-only parameter assignment: process_name=xxx 2 | ./postconf: warning: ./main.cf: read-only parameter assignment: process_id=yyy 3 | mydestination = whatever 4 | process_name = postconf 5 | -------------------------------------------------------------------------------- /postfix/src/tls/bad-ec-cert-before-key.pem.ref: -------------------------------------------------------------------------------- 1 | unknown: warning: error loading chain from bad-ec-cert-before-key.pem: key not first 2 | unknown: warning: error loading private keys and certificates from: bad-ec-cert-before-key.pem: disabling TLS support 3 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref14e1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-hold: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: 2 | ./cleanup_milter: flags = enable_header_body_filter hold_message enable_milters 3 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref15e1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-hold: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: 2 | ./cleanup_milter: flags = enable_header_body_filter hold_message enable_milters 3 | -------------------------------------------------------------------------------- /postfix/src/global/off_cvt.in: -------------------------------------------------------------------------------- 1 | # Assume 64-bit off_t (assuming 1- or 2-complement). 2 | # Maximum. 3 | 9223372036854775807 4 | # Overflow. 5 | 9223372036854775808 6 | 92233720368547758070 7 | # off_cvt() does not accept leading signs. 8 | +1 9 | -1 10 | -------------------------------------------------------------------------------- /postfix/src/global/quote_822_local.ref: -------------------------------------------------------------------------------- 1 | 'a@b@c@d' quoted '"a@b@c"@d' 2 | 'a@b@c@d' quoted flags=8bitclean|bare_localpart '"a@b@c@d"' 3 | '"a@b@c"@d' unquoted 'a@b@c@d' 4 | '"a@b@c"' unquoted 'a@b@c' 5 | '"a@b@c"@d@e' unquoted 'a@b@c@d@e' 6 | '' quoted '""' 7 | -------------------------------------------------------------------------------- /postfix/mantools/check-double-proto-html: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Finds double words in proto html files. 4 | 5 | LANG=C; export LANG 6 | 7 | ls proto/*.html proto/*.proto | xargs mantools/dehtml | mantools/find-double | grep -F -vxf proto/stop.double-proto-html 8 | -------------------------------------------------------------------------------- /postfix/mantools/check-spell-proto-html: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Spellchecks the proto HTML files. 4 | 5 | LANG=C; export LANG 6 | 7 | mantools/dehtml proto/*html proto/*.proto | tr '+' ' ' | spell | grep -F -vxf proto/stop | grep -F -vxf proto/stop.spell-proto-html 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in13i: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file13i.tmp 3 | 4 | # Change the sender. 5 | 6 | chg_from m@porcupine.org { ret=hdrs envid=env-for-m } 7 | chg_from n@porcupine.org { ret=full envid=env-for-n } 8 | 9 | close 10 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref14a1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-reject: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: 5.7.1 message content rejected 2 | ./cleanup_milter: errs = message content rejected 3 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref14f1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-reject: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: 5.7.1 message content rejected 2 | ./cleanup_milter: errs = message content rejected 3 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref14g1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-reject: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: 5.7.1 message content rejected 2 | ./cleanup_milter: errs = message content rejected 3 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref15a1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-reject: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: 5.7.1 message content rejected 2 | ./cleanup_milter: errs = message content rejected 3 | -------------------------------------------------------------------------------- /postfix/src/tls/bad-key-cert-mismatch.pem.ref: -------------------------------------------------------------------------------- 1 | unknown: warning: key at index 1 in bad-key-cert-mismatch.pem does not match next certificate 2 | unknown: warning: error loading private keys and certificates from: bad-key-cert-mismatch.pem: disabling TLS support 3 | -------------------------------------------------------------------------------- /postfix/src/util/dict_pcre.in: -------------------------------------------------------------------------------- 1 | get true 2 | get true1 3 | get true2 4 | get truefalse2 5 | get 3 6 | get true3 7 | get c 8 | get d 9 | get 1235 10 | get 1234 11 | get 123 12 | get bar/find 13 | get bar/whynot 14 | get bar/elbereth 15 | get say/elbereth 16 | -------------------------------------------------------------------------------- /postfix/src/util/dict_seq.ref: -------------------------------------------------------------------------------- 1 | owner=trusted (uid=USER) 2 | > put 5 5 3 | > put 3 3 4 | > put 4 4 5 | > put 1 1 6 | > put 2 2 7 | > first 8 | 2=2 9 | > next 10 | 3=3 11 | > next 12 | 1=1 13 | > next 14 | 4=4 15 | > next 16 | 5=5 17 | > next 18 | not found 19 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in13e: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file13e.tmp 3 | 4 | # Change the sender. 5 | 6 | sender_bcc_maps static:a@porcupine.org 7 | chg_from m@porcupine.org esmtpstuff 8 | #chg_from n@porcupine.org esmtpstuff 9 | 10 | close 11 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in13f: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file13f.tmp 3 | 4 | # Change the sender. 5 | 6 | sender_bcc_maps static:a@porcupine.org 7 | chg_from m@porcupine.org esmtpstuff 8 | chg_from n@porcupine.org esmtpstuff 9 | 10 | close 11 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref14b1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-filter: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: transport:nexthop:port 2 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 3 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref15b1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-filter: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: transport:nexthop:port 2 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 3 | -------------------------------------------------------------------------------- /postfix/src/global/delivered_hdr.ref: -------------------------------------------------------------------------------- 1 | ./delivered_hdr: test case: L >Delivered-To: one<: PASS (expected: MATCH) 2 | ./delivered_hdr: test case: N >Delivered-To: two<: PASS (expected: NO MATCH) 3 | ./delivered_hdr: test case: N >Delivered-To: three<: PASS (expected: MATCH) 4 | -------------------------------------------------------------------------------- /postfix/src/global/resolve_local.in: -------------------------------------------------------------------------------- 1 | ./resolve_local example.com example.com 2 | ./resolve_local example.net example.com 3 | ./resolve_local fail:1_resolve_local example.com 4 | ./resolve_local fail:1_resolve_local example.com.. 5 | ./resolve_local fail:1_resolve_local '' 6 | -------------------------------------------------------------------------------- /postfix/src/postconf/test70.ref: -------------------------------------------------------------------------------- 1 | config_directory = . 2 | smtpd_client_restrictions = check_sender_access { pipemap:{ldap:used} { search_order = foo, bar } } 3 | used_server_host = 127.0.0.1 4 | ./postconf: warning: ./main.cf: unused parameter: unused_server_host=127.0.0.1 5 | -------------------------------------------------------------------------------- /postfix/mantools/makereadme: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sed ' 4 | s/<\/*table[^>]*>//g 5 | s/<\/th[^>]*>//g 6 | s/<\/td[^>]*>//g 7 | s/"\([A-Z0-9_]*\)\.html">/&\1:/ 8 | s/All main.cf parameters/postconf(5): &/ 9 | /All Postfix manual pages/d 10 | ' "$@" 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in13d: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file13d.tmp 3 | 4 | # Change the null sender, to test correct padding of short sender records. 5 | 6 | chg_from m@porcupine.org esmtpstuff 7 | chg_from n@porcupine.org esmtpstuff 8 | 9 | close 10 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in16a: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file16a.tmp 3 | 4 | # Test the BCC action in milter_header_checks. 5 | 6 | header_checks regexp:cleanup_milter.reg16a 7 | add_header X-SPAM-FLAG NO 8 | add_header X-SPAM-FLAG YES 9 | 10 | close 11 | -------------------------------------------------------------------------------- /postfix/src/global/compat_level_convert.in: -------------------------------------------------------------------------------- 1 | 3.2.1 2 | 3.2.1.0 3 | 3a.2.1 4 | a3.2.1 5 | 3.a2.1 6 | 3.2a.1 7 | 3.2a.a1 8 | 3.2a.1a 9 | 3 10 | 3. 11 | 3.2. 12 | 3.1.1. 13 | 2 14 | 1 15 | 0 16 | 3.1023 17 | 3.1024 18 | 3.2.1023 19 | 3.2.1024 20 | -3 21 | 3.-2.1 22 | 3.2.-1 23 | -------------------------------------------------------------------------------- /postfix/src/util/byte_mask.ref0: -------------------------------------------------------------------------------- 1 | 0123 -> 0xf -> 0123 2 | 0x1e -> 123 3 | 0 -> 0x1 -> 0 4 | 0x2 -> 1 5 | 1 -> 0x2 -> 1 6 | 0x4 -> 2 7 | 2 -> 0x4 -> 2 8 | 0x8 -> 3 9 | 3 -> 0x8 -> 3 10 | 0x10 -> 11 | 1234 -> 0xe -> 123 12 | 0x1c -> 23 13 | abcd -> 0x0 -> 14 | 0x0 -> 15 | -------------------------------------------------------------------------------- /postfix/src/util/vstring_test.ref: -------------------------------------------------------------------------------- 1 | payload/buffer size 1/1, strlen() 1 2 | payload/buffer size 2/2, strlen() 2 3 | payload/buffer size 3/4, strlen() 4 4 | payload/buffer size 4/4, strlen() 4 5 | payload/buffer size 5/8, strlen() 8 6 | argv concatenated: ./vstring.one.two.three. 7 | -------------------------------------------------------------------------------- /postfix/README_FILES/QMQP_README: -------------------------------------------------------------------------------- 1 | PPoossttffiixx qqmmaaiill aanndd eezzmmllmm ssuuppppoorrtt 2 | 3 | ------------------------------------------------------------------------------- 4 | This document will be made available via http://www.postfix.org/. 5 | 6 | -------------------------------------------------------------------------------- /postfix/src/global/mail_parm_split.in: -------------------------------------------------------------------------------- 1 | TZ PATH=/bin:/usr/bin XAUTHORITY 2 | TZ { LESS=-m -C -s -f -e } XAUTHORITY 3 | { LESS=-m -C -s -f -e } TZ XAUTHORITY 4 | TZ XAUTHORITY { LESS=-m -C -s -f -e } 5 | TZ { LESS=-m -C -s -f -e XAUTHORITY 6 | TZ { LESS=-m -C -s -f -e }x XAUTHORITY 7 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in18c: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file18c.tmp 3 | # 4 | # Update the first Received: header. This adds a new header, because 5 | # there is no header that was exposed to the Milter. 6 | # 7 | upd_header 1 Received whatever 8 | 9 | close 10 | -------------------------------------------------------------------------------- /postfix/src/tls/ecca-pkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgvhC73shHi6WonWdC 3 | rbMwDzIrjYIejrvmkNQo+7hFnp2hRANCAARYcKaWmm2MulstiE3b15jhdyZA+Fwy 4 | b0dE2W8pWKDSP/qsXTs7NvH5H8JjNZmDY4q1Nq7FRXfsG614fKHGUYzV 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /postfix/src/tls/ecee-pkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgkiPSKH+bHsvO1+AH 3 | S555wf6m/Ii2VxJpyqbGqu8j5myhRANCAAQTjsIn/RVHSlwIg/U9W6a+ER9NSDjo 4 | XcR2eJMH94JnRAdMCuo3mlFU13AaR+Kh0iOmpVTkXo1O3cSy74sKvAz3 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /postfix/src/tls/ecroot-pkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg85iR6mrXjfV9O38h 3 | 9/KivPeTKxdjXHQ6j2VCWD8K8KahRANCAAR8MXvjqDNXBKh79SxW0WpJfUBIptgx 4 | 1xwT2k4HkP98rlo+pmzL39gpIT1P78VwKBlrq4RE7JHnzdlQzJNAWgdG 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /postfix/src/tls/good-mixed-keyfirst.pem.ref: -------------------------------------------------------------------------------- 1 | depth = 0 2 | issuer = /CN=EC issuer CA 3 | subject = /CN=mx1.example.com 4 | 5 | depth = 1 6 | issuer = /CN=EC root CA 7 | subject = /CN=EC issuer CA 8 | 9 | depth = 2 10 | issuer = /CN=EC root CA 11 | subject = /CN=EC root CA 12 | 13 | -------------------------------------------------------------------------------- /postfix/src/tls/good-mixed-keylast.pem.ref: -------------------------------------------------------------------------------- 1 | depth = 0 2 | issuer = /CN=EC issuer CA 3 | subject = /CN=mx1.example.com 4 | 5 | depth = 1 6 | issuer = /CN=EC root CA 7 | subject = /CN=EC issuer CA 8 | 9 | depth = 2 10 | issuer = /CN=EC root CA 11 | subject = /CN=EC root CA 12 | 13 | -------------------------------------------------------------------------------- /postfix/src/util/dict_regexp.in: -------------------------------------------------------------------------------- 1 | get true 2 | get true1 3 | get true2 4 | get truefalse2 5 | get 3 6 | get true3 7 | get c 8 | get d 9 | get ab 10 | get aa 11 | get 1235 12 | get 1234 13 | get 123 14 | get bar/find 15 | get bar/whynot 16 | get bar/elbereth 17 | get say/elbereth 18 | -------------------------------------------------------------------------------- /postfix/src/util/name_mask.ref0: -------------------------------------------------------------------------------- 1 | zero -> 0x1 -> zero 2 | one -> 0x2 -> one 3 | two -> 0x4 -> two 4 | three -> 0x8 -> three 5 | four -> 0x0 -> 6 | zero one two three four -> 0xf -> zero one two three 7 | 0xff -> 0x0 -> 8 | 0xffffffff -> 0x0 -> 9 | 0xffffffffffffffff -> 0x0 -> 10 | -------------------------------------------------------------------------------- /postfix/src/tls/bad-back-to-back-keys.pem.ref: -------------------------------------------------------------------------------- 1 | unknown: warning: error loading certificate chain: key at index 1 in bad-back-to-back-keys.pem not followed by a certificate 2 | unknown: warning: error loading private keys and certificates from: bad-back-to-back-keys.pem: disabling TLS support 3 | -------------------------------------------------------------------------------- /postfix/src/tls/good-mixed-keymiddle.pem.ref: -------------------------------------------------------------------------------- 1 | depth = 0 2 | issuer = /CN=EC issuer CA 3 | subject = /CN=mx1.example.com 4 | 5 | depth = 1 6 | issuer = /CN=EC root CA 7 | subject = /CN=EC issuer CA 8 | 9 | depth = 2 10 | issuer = /CN=EC root CA 11 | subject = /CN=EC root CA 12 | 13 | -------------------------------------------------------------------------------- /postfix/src/util/ctable.in: -------------------------------------------------------------------------------- 1 | a 2 | 1 3 | b 4 | 2 5 | c 6 | 3 7 | d 8 | 4 9 | e 10 | 5 11 | f 12 | 6 13 | f 14 | a 15 | 1 16 | b 17 | 2 18 | c 19 | 3 20 | d 21 | 4 22 | e 23 | 5 24 | f 25 | 6 26 | f 27 | e 28 | d 29 | c 30 | b 31 | a 32 | 1 33 | b 34 | c 35 | d 36 | e 37 | f 38 | 6 39 | f 40 | -------------------------------------------------------------------------------- /postfix/mantools/check-double-cc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Finds double words in C comments. See mantools/comment.c for 'comment' 4 | # source code. 5 | 6 | LANG=C; export LANG 7 | 8 | find src -name '*.[hc]' | xargs cat | comment | mantools/deroff | mantools/find-double | grep -F -vxf proto/stop.double-cc 9 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref15h1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-reject: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: 5.7.1 whatever 2 | ./cleanup_milter: ignoring: add_header X-SPAM-FLAG NO 3 | ./cleanup_milter: errs = message content rejected 4 | -------------------------------------------------------------------------------- /postfix/html/postfix-doc.css: -------------------------------------------------------------------------------- 1 | BODY { 2 | font-family: Verdana, Arial, Helvetica, Geneva, sans-serif; 3 | font-size: medium; 4 | line-height: normal; 5 | margin-left: 10px; 6 | margin-right: 10px; 7 | } 8 | PRE, TT, CODE { 9 | font-family: Courier, monospace; 10 | } 11 | -------------------------------------------------------------------------------- /postfix/mantools/find-double: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sed 's/[^A-Z0-9a-z_][^A-Z0-9a-z_]*/ /g' "$@" | awk ' 4 | { for (i = 1; i <= NF; i++) { 5 | if (length($i) > 1 && $(i) == last) { 6 | if (i == 1) 7 | printf("%s ", last) 8 | print 9 | } 10 | last = $(i) 11 | } 12 | } 13 | ' 14 | -------------------------------------------------------------------------------- /postfix/mantools/var2user: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # var2user - create (variable name -> parameter name) mapping 4 | 5 | # Usage: var2user mail_params.h 6 | 7 | awk ' 8 | 9 | /^#define[ ]+VAR_/ { name=$3 } 10 | 11 | /^extern.*var_/ { print "table[\"" $3 "\"] = " name } 12 | 13 | ' "$@" | tr -d ';*' 14 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in13g: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file13g.tmp 3 | 4 | # Change the sender. 5 | 6 | sender_bcc_maps static:a@porcupine.org 7 | chg_from m@porcupine.org esmtpstuff 8 | chg_from n@porcupine.org esmtpstuff 9 | chg_from o@porcupine.org esmtpstuff 10 | 11 | close 12 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in17e: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file17e.tmp 3 | # 4 | # Delete a recipient. Then add the recipient back. 5 | 6 | enable_original_recipient 0 7 | enable_original_recipient 8 | 9 | del_rcpt user@example.com 10 | add_rcpt user@example.com 11 | 12 | close 13 | -------------------------------------------------------------------------------- /postfix/mantools/check-spell-cc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Spellchecks comments in C source code. See mantools/comment.c for 4 | # 'comment' source code. 5 | 6 | LANG=C; export LANG 7 | 8 | find . -name *.[hc] | xargs cat | comment | mantools/deroff | spell | grep -F -vxf proto/stop | grep -F -vxf proto/stop.spell-cc 9 | -------------------------------------------------------------------------------- /postfix/mantools/check-spell-history: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Spellchecks text in the HISTORY file, starting with 2022. 4 | 5 | LANG=C; export LANG 6 | 7 | sed '1,/^2022/d' HISTORY | spell | grep -F -vxf proto/stop | \ 8 | grep -F -vxf proto/stop.spell-cc | \ 9 | grep -F -vxf proto/stop.spell-history 10 | -------------------------------------------------------------------------------- /postfix/mantools/user2var: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # user2var - create (parameter name -> variable name) mapping 4 | 5 | # Usage: user2var mail_params.h 6 | 7 | awk ' 8 | 9 | /^#define[ ]+VAR_/ { name=$3 } 10 | 11 | /^extern.*var_/ { print "table[" name "] = \"" $3 "\"" } 12 | 13 | ' "$@" | tr -d ';*' 14 | -------------------------------------------------------------------------------- /postfix/examples/smtpd-policy/README.SPF: -------------------------------------------------------------------------------- 1 | See https://www.openspf.org/Software for the current version of the 2 | SPF policy daemon for Postfix. 3 | 4 | SPF support is also available via MILTER plugins, such as sid-milter 5 | at https://sourceforge.net/projects/sid-milter/ which implements both 6 | SenderID and SPF. 7 | -------------------------------------------------------------------------------- /postfix/mantools/check-spell-install-proto-text: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Spellchecks the release notes, install scripts, and proto non-html files. 4 | 5 | LANG=C; export LANG 6 | 7 | (ls *install* proto/* | grep -E -v 'stop|Makefile|html|\.proto' | mantools/deroff; cat RELEASE_NOTES) | spell | grep -F -vxf proto/stop 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in17b: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file17b.tmp 3 | # 4 | # Delete a recipient. Then add the recipient back, with a DSN NOTIFY 5 | # record instead of a DSN original recipient. 6 | 7 | del_rcpt user@example.com 8 | add_rcpt_par user@example.com NOTIFY=never 9 | 10 | close 11 | -------------------------------------------------------------------------------- /postfix/src/global/server_acl.in: -------------------------------------------------------------------------------- 1 | mynetworks=168.100.3.0/27 2 | server_acl=permit_mynetworks,reject 3 | address=168.100.3.2 4 | mynetworks=!168.100.3.2,168.100.3.0/27 5 | address=168.100.3.2 6 | address=168.100.3.3 7 | mynetworks=fail:1 8 | address=168.100.3.4 9 | server_acl=fail:1,reject 10 | address=168.100.3.2 11 | -------------------------------------------------------------------------------- /postfix/src/postconf/test43.ref: -------------------------------------------------------------------------------- 1 | foo unix - n n - 0 other 2 | bar unix - n y - 0 aa -stuff 3 | -o bb=cc 4 | dd 5 | baz unix - n n - 0 other 6 | ./postconf: warning: ./master.cf: unused parameter: bb=cc 7 | -------------------------------------------------------------------------------- /postfix/src/postconf/test44.ref: -------------------------------------------------------------------------------- 1 | foo unix - n n - 0 other 2 | xx inet - n n - 0 aa -stuff 3 | -o bb=cc 4 | dd 5 | baz unix - n n - 0 other 6 | ./postconf: warning: ./master.cf: unused parameter: bb=cc 7 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in10e: -------------------------------------------------------------------------------- 1 | # 2 | # Replace a short body by increasingly longer ones and do header 3 | # updates in between. 4 | # 5 | #verbose on 6 | open test-queue-file10.tmp 7 | 8 | add_header foo1 foobar 9 | replbody loremipsum 10 | add_header foo2 foobar 11 | replbody loremipsum2 12 | 13 | close 14 | -------------------------------------------------------------------------------- /postfix/src/postcat/h_test.ref: -------------------------------------------------------------------------------- 1 | Received: by hades.porcupine.org (Postfix, from userid 1001) 2 | id DE040290405; Sun, 21 Jan 2007 13:33:08 -0500 (EST) 3 | From: me@porcupine.org 4 | To: you@porcupine.org 5 | Message-Id: <20060725192735.5EC2D29013F@hades.porcupine.org> 6 | Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT) 7 | Subject: hey! 8 | -------------------------------------------------------------------------------- /postfix/src/util/dict_regexp_file.ref: -------------------------------------------------------------------------------- 1 | ./dict_open: warning: regexp map dict_regexp_file.map, line 3: open dict_regexp_file3: No such file or directory: skipping this rule 2 | owner=untrusted (uid=USER) 3 | > get file1 4 | file1=dGhpcy1pcy1maWxlMQo= 5 | > get file2 6 | file2=dGhpcy1pcy1maWxlMgo= 7 | > get file3 8 | file3: not found 9 | -------------------------------------------------------------------------------- /postfix/src/postconf/test85.ref: -------------------------------------------------------------------------------- 1 | {"foo/unix/service": "foo"} 2 | {"foo/unix/type": "unix"} 3 | {"foo/unix/private": "-"} 4 | {"foo/unix/unprivileged": "n"} 5 | {"foo/unix/chroot": "n"} 6 | {"foo/unix/wakeup": "-"} 7 | {"foo/unix/process_limit": "0"} 8 | {"foo/unix/command": "other -o mydestination=example.net -o whatever=example.net"} 9 | -------------------------------------------------------------------------------- /postfix/src/util/dict_cidr_file.ref: -------------------------------------------------------------------------------- 1 | ./dict_open: warning: cidr map dict_cidr_file.map, line 3: open dict_cidr_file3: No such file or directory: skipping this rule 2 | owner=untrusted (uid=USER) 3 | > get 1.1.1.1 4 | 1.1.1.1=dGhpcy1pcy1maWxlMQo= 5 | > get 2.2.2.2 6 | 2.2.2.2=dGhpcy1pcy1maWxlMgo= 7 | > get 3.3.3.3 8 | 3.3.3.3: not found 9 | -------------------------------------------------------------------------------- /postfix/mantools/check-double-install-proto-text: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Finds double words in install and proto text files. 4 | 5 | LANG=C; export LANG 6 | 7 | (ls *install* proto/* | grep -E -v 'stop|Makefile|html|\.proto' | xargs mantools/deroff; cat RELEASE_NOTES) | mantools/find-double | grep -F -vxf proto/stop.double-install-proto-text 8 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in10b: -------------------------------------------------------------------------------- 1 | # 2 | # Replace a short body by a longer one, and then replace the longer 3 | # body by itself. The result should be identical to what we had after 4 | # one replacement. 5 | # 6 | #verbose on 7 | open test-queue-file10.tmp 8 | 9 | replbody loremipsum 10 | replbody loremipsum 11 | 12 | close 13 | -------------------------------------------------------------------------------- /postfix/auxiliary/rmail/rmail: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Dummy UUCP rmail command for postfix/qmail systems 4 | 5 | SENDMAIL="/usr/sbin/sendmail" 6 | IFS=" " read junk from junk junk junk junk junk junk junk relay 7 | 8 | case "$from" in 9 | *[@!]*) ;; 10 | *) from="$from@$relay";; 11 | esac 12 | 13 | exec $SENDMAIL -i -f "$from" -- "$@" 14 | -------------------------------------------------------------------------------- /postfix/src/bounce/logfile-no-message-id: -------------------------------------------------------------------------------- 1 | 2 | recipient = rcpt-address 3 | original_recipient = rcpt-orig_addr 4 | offset = 281 5 | notify_flags = rcpt-dsn_notify 6 | status = dsn-status 7 | action = dsn-action 8 | diag_type = dsn-dtype 9 | diag_text = dsn-dtext 10 | mta_type = dsn-mtype 11 | mta_mname = dsn-mname 12 | reason = dsn-reason 13 | 14 | -------------------------------------------------------------------------------- /postfix/src/bounce/logfile-with-message-id: -------------------------------------------------------------------------------- 1 | 2 | recipient = rcpt-address 3 | original_recipient = rcpt-orig_addr 4 | offset = 280 5 | notify_flags = rcpt-dsn_notify 6 | status = dsn-status 7 | action = dsn-action 8 | diag_type = dsn-dtype 9 | diag_text = dsn-dtext 10 | mta_type = dsn-mtype 11 | mta_mname = dsn-mname 12 | reason = dsn-reason 13 | 14 | -------------------------------------------------------------------------------- /postfix/src/postcat/bh_test.ref: -------------------------------------------------------------------------------- 1 | Received: by hades.porcupine.org (Postfix, from userid 1001) 2 | id DE040290405; Sun, 21 Jan 2007 13:33:08 -0500 (EST) 3 | From: me@porcupine.org 4 | To: you@porcupine.org 5 | Message-Id: <20060725192735.5EC2D29013F@hades.porcupine.org> 6 | Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT) 7 | Subject: hey! 8 | 9 | text 10 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in10a: -------------------------------------------------------------------------------- 1 | # 2 | # Replace a short body by a longer one. The result is two body 3 | # regions: the original region with the head of the new text, and 4 | # one region at the end of the queue file with the remainder of the 5 | # new text. 6 | # 7 | open test-queue-file10.tmp 8 | 9 | replbody loremipsum 10 | 11 | close 12 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in15h: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file15h.tmp 3 | 4 | # Test the CLEANUP_FILTER_FLAG_ALL feature. The first header with 5 | # YES clears the flag, and the second add_header is ignored. 6 | 7 | header_checks regexp:cleanup_milter.reg15h 8 | add_header X-SPAM-FLAG YES 9 | add_header X-SPAM-FLAG NO 10 | 11 | close 12 | -------------------------------------------------------------------------------- /postfix/src/util/byte_mask.ref2: -------------------------------------------------------------------------------- 1 | unknown: fatal: byte_mask: unknown mask bit in mask: 0x10 2 | 0 -> 0x1 -> 0 3 | 0x2 -> 1 4 | 1 -> 0x2 -> 1 5 | 0x4 -> 2 6 | 2 -> 0x4 -> 2 7 | 0x8 -> 3 8 | unknown: fatal: byte_mask: unknown mask bit in mask: 0x10 9 | unknown: fatal: unknown name value "4" in "1234" 10 | unknown: fatal: unknown name value "a" in "abcd" 11 | -------------------------------------------------------------------------------- /postfix/proto/manual-format: -------------------------------------------------------------------------------- 1 | Be consistent and improve the order later. 2 | 3 | NAME 4 | DESCRIPTION 5 | SECURITY 6 | STANDARDS 7 | DIAGNOSTICS 8 | BUGS 9 | ENVIRONMENT 10 | CONFIGURATION PARAMETERS 11 | FILES 12 | SEE ALSO 13 | daemons 14 | commands 15 | configuration files 16 | master 17 | syslogd 18 | README FILES 19 | LICENSE 20 | HISTORY 21 | AUTHOR(S) 22 | -------------------------------------------------------------------------------- /postfix/src/bounce/logfile-no-msgid-with-eoh-event: -------------------------------------------------------------------------------- 1 | 2 | recipient = rcpt-address 3 | original_recipient = rcpt-orig_addr 4 | offset = 271 5 | notify_flags = rcpt-dsn_notify 6 | status = dsn-status 7 | action = dsn-action 8 | diag_type = dsn-dtype 9 | diag_text = dsn-dtext 10 | mta_type = dsn-mtype 11 | mta_mname = dsn-mname 12 | reason = dsn-reason 13 | 14 | -------------------------------------------------------------------------------- /postfix/src/bounce/logfile-with-msgid-no-eoh-event: -------------------------------------------------------------------------------- 1 | 2 | recipient = rcpt-address 3 | original_recipient = rcpt-orig_addr 4 | offset = 271 5 | notify_flags = rcpt-dsn_notify 6 | status = dsn-status 7 | action = dsn-action 8 | diag_type = dsn-dtype 9 | diag_text = dsn-dtext 10 | mta_type = dsn-mtype 11 | mta_mname = dsn-mname 12 | reason = dsn-reason 13 | 14 | -------------------------------------------------------------------------------- /postfix/src/bounce/logfile-with-msgid-with-eoh-event: -------------------------------------------------------------------------------- 1 | 2 | recipient = rcpt-address 3 | original_recipient = rcpt-orig_addr 4 | offset = 271 5 | notify_flags = rcpt-dsn_notify 6 | status = dsn-status 7 | action = dsn-action 8 | diag_type = dsn-dtype 9 | diag_text = dsn-dtext 10 | mta_type = dsn-mtype 11 | mta_mname = dsn-mname 12 | reason = dsn-reason 13 | 14 | -------------------------------------------------------------------------------- /postfix/src/bounce/logfile-with-msgid-with-filter: -------------------------------------------------------------------------------- 1 | 2 | recipient = rcpt-address 3 | original_recipient = rcpt-orig_addr 4 | offset = 291 5 | notify_flags = rcpt-dsn_notify 6 | status = dsn-status 7 | action = dsn-action 8 | diag_type = dsn-dtype 9 | diag_text = dsn-dtext 10 | mta_type = dsn-mtype 11 | mta_mname = dsn-mname 12 | reason = dsn-reason 13 | 14 | -------------------------------------------------------------------------------- /postfix/src/bounce/logfile-with-msgid-with-long-line: -------------------------------------------------------------------------------- 1 | 2 | recipient = rcpt-address 3 | original_recipient = rcpt-orig_addr 4 | offset = 271 5 | notify_flags = rcpt-dsn_notify 6 | status = dsn-status 7 | action = dsn-action 8 | diag_type = dsn-dtype 9 | diag_text = dsn-dtext 10 | mta_type = dsn-mtype 11 | mta_mname = dsn-mname 12 | reason = dsn-reason 13 | 14 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in15i: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file15i.tmp 3 | 4 | # Test the CLEANUP_STAT_CONT flag. The first header triggers FILTER, 5 | # but the second header triggers REJECT, so the filter is not saved. 6 | 7 | header_checks regexp:cleanup_milter.reg15i 8 | add_header X-SPAM-FLAG NO 9 | add_header X-SPAM-FLAG YES 10 | 11 | close 12 | -------------------------------------------------------------------------------- /postfix/src/postalias/fail_test.in: -------------------------------------------------------------------------------- 1 | ${VALGRIND} ./postalias -q xx fail:aliases 2 | echo xx | ${VALGRIND} ./postalias -q - fail:aliases 3 | ${VALGRIND} ./postalias -d xx fail:aliases 4 | echo xx | ${VALGRIND} ./postalias -d - fail:aliases 5 | ${VALGRIND} ./postalias -s fail:aliases 6 | ${VALGRIND} ./postalias -i fail:aliases < aliases 7 | ${VALGRIND} ./postalias fail:aliases 8 | -------------------------------------------------------------------------------- /postfix/src/util/dict_random_file.ref: -------------------------------------------------------------------------------- 1 | ./dict_open: error: open fooxx: No such file or directory 2 | owner=trusted (uid=2147483647) 3 | > get foo 4 | ./dict_open: warning: randmap:{fooxx} is unavailable. open fooxx: No such file or directory 5 | foo: error 6 | owner=trusted (uid=0) 7 | > get foo 8 | foo=dGhpcy1pcy1maWxlMQo= 9 | > get bar 10 | bar=dGhpcy1pcy1maWxlMQo= 11 | -------------------------------------------------------------------------------- /postfix/src/tls/warn-mixed-multi-key.pem.ref: -------------------------------------------------------------------------------- 1 | unknown: warning: ignoring 2nd key at index 4 in warn-mixed-multi-key.pem after 1st at 2 2 | depth = 0 3 | issuer = /CN=EC issuer CA 4 | subject = /CN=mx1.example.com 5 | 6 | depth = 1 7 | issuer = /CN=EC root CA 8 | subject = /CN=EC issuer CA 9 | 10 | depth = 2 11 | issuer = /CN=EC root CA 12 | subject = /CN=EC root CA 13 | 14 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref15i1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-filter: header X-SPAM-FLAG: NO from client_name[client_addr]; from= to=: x:y:z 2 | ./cleanup_milter: NOQUEUE: milter-header-reject: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: 5.7.1 whatever 3 | ./cleanup_milter: errs = message content rejected 4 | -------------------------------------------------------------------------------- /postfix/src/global/mime_dom.ref: -------------------------------------------------------------------------------- 1 | mime_state: header_token: message / rfc822 2 | MAIN 0 |content-type: message/rfc822 3 | mime_state: header_token: base64 4 | MAIN 34 |content-transfer-encoding: base64 5 | HEADER END 6 | mime_state: warning: invalid message/* or multipart/* encoding domain: base64 7 | BODY END 8 | mime_state: warning: improper message/* or multipart/* encoding domain 9 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in16b: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file16b.tmp 3 | 4 | # Test the add_rcpt_par action 5 | 6 | add_rcpt_par foo@example.com notify=never 7 | add_rcpt_par foo@example.com notify=never 8 | add_rcpt bar@example.com 9 | add_rcpt_par bar@example.com orcpt=rfc822;orig-bar@example.com 10 | add_rcpt_par bar@example.com notify=delay 11 | 12 | close 13 | -------------------------------------------------------------------------------- /postfix/src/util/dict_static_file.ref: -------------------------------------------------------------------------------- 1 | ./dict_open: error: open fooxx: No such file or directory 2 | owner=trusted (uid=2147483647) 3 | > get foo 4 | ./dict_open: warning: static:fooxx is unavailable. open fooxx: No such file or directory 5 | foo: error 6 | owner=trusted (uid=2147483647) 7 | > get file1 8 | file1=dGhpcy1pcy1maWxlMQo= 9 | > get file2 10 | file2=dGhpcy1pcy1maWxlMQo= 11 | -------------------------------------------------------------------------------- /postfix/proto/html2text.rc: -------------------------------------------------------------------------------- 1 | P.vspace.after = 1 2 | PRE.indent.left = 0 3 | UL.indents = 4 4 4 4 4 4 | OL.indents = 4 4 4 4 4 5 | DL.vspace.before = 0 6 | DL.vspace.after = 0 7 | DT.vspace.before = 0 8 | DT.indent.left = 0 9 | DD.indent.left = 4 10 | BLOCKQUOTE.indent.left = 4 11 | BLOCKQUOTE.indent.right = 0 12 | A.attributes.internal_link = NONE 13 | A.attributes.external_link = NONE 14 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in17f: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file17f.tmp 3 | # 4 | # Delete a recipient. Then add the recipient back. 5 | 6 | enable_original_recipient 0 7 | enable_original_recipient 8 | 9 | del_rcpt user@example.com 10 | add_rcpt user@example.com 11 | 12 | # Adding the recipient another time should be a NOOP. 13 | add_rcpt user@example.com 14 | 15 | close 16 | -------------------------------------------------------------------------------- /postfix/src/postconf/test28.ref: -------------------------------------------------------------------------------- 1 | aap_domain = whatever 2 | config_directory = . 3 | db = memcache 4 | header_checks = ldap:hh 5 | hh_domain = whatever 6 | yy = aap 7 | zz = $yy 8 | ./postconf: warning: ./main.cf: unused parameter: aa_domain=whatever 9 | ./postconf: warning: ./main.cf: unused parameter: foo_domain=bar 10 | ./postconf: warning: ./main.cf: unused parameter: xx=proxy:ldap:foo 11 | -------------------------------------------------------------------------------- /postfix/src/postconf/test57.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ./main.cf: undefined parameter: z 2 | ./postconf: warning: ./main.cf: undefined parameter: z 3 | bar = y-value 4 | baz = 5 | config_directory = . 6 | t1 = Postfix 2.11 compatible 7 | x = x-value 8 | y = y-value 9 | ./postconf: warning: ./main.cf: unused parameter: foo=$bar$baz 10 | ./postconf: warning: ./main.cf: unused parameter: t2=$t1 11 | -------------------------------------------------------------------------------- /postfix/src/postconf/test66.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ldap:PWD/test66.cf: unused parameter: junk=junk 2 | ./postconf: warning: mysql:PWD/test66.cf: unused parameter: junk=junk 3 | ./postconf: warning: pgsql:PWD/test66.cf: unused parameter: junk=junk 4 | ./postconf: warning: sqlite:PWD/test66.cf: unused parameter: junk=junk 5 | ./postconf: warning: memcache:PWD/test66.cf: unused parameter: junk=junk 6 | -------------------------------------------------------------------------------- /postfix/src/postconf/test68.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ldap:PWD/test68.cf: unused parameter: junk=junk 2 | ./postconf: warning: mysql:PWD/test68.cf: unused parameter: junk=junk 3 | ./postconf: warning: pgsql:PWD/test68.cf: unused parameter: junk=junk 4 | ./postconf: warning: sqlite:PWD/test68.cf: unused parameter: junk=junk 5 | ./postconf: warning: memcache:PWD/test68.cf: unused parameter: junk=junk 6 | -------------------------------------------------------------------------------- /postfix/src/util/dict_test.ref: -------------------------------------------------------------------------------- 1 | owner=untrusted (uid=USER) 2 | > del bar 3 | bar: deleted 4 | > get bar 5 | bar: not found 6 | > get nonexist 7 | nonexist: not found 8 | > del nonexist 9 | nonexist: not found 10 | > get foo 11 | foo=fooval 12 | > del foo 13 | foo: deleted 14 | > put baz bazval 15 | > get baz 16 | baz=bazval 17 | > del baz 18 | baz: deleted 19 | > get baz 20 | baz: not found 21 | -------------------------------------------------------------------------------- /postfix/src/global/maps.ref: -------------------------------------------------------------------------------- 1 | unknown: dict_open_lookup: fail 2 | unknown: dict_open: fail:1maps 3 | unknown: dict_register: fail:1maps(0,lock) 1 4 | "": not found 5 | unknown: warning: fail:1maps lookup error for "foobar" 6 | unknown: maps_find: whatever: foobar: search aborted 7 | "foobar": lookup error 8 | unknown: maps_free: fail:1maps(0,lock) 9 | unknown: dict_unregister: fail:1maps(0,lock) 1 10 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.ref16a1: -------------------------------------------------------------------------------- 1 | ./cleanup_milter: NOQUEUE: milter-header-bcc: header X-SPAM-FLAG: NO from client_name[client_addr]; from= to=: bar@example.com 2 | ./cleanup_milter: NOQUEUE: milter-header-bcc: header X-SPAM-FLAG: YES from client_name[client_addr]; from= to=: foo@example.com 3 | ./cleanup_milter: flags = enable_header_body_filter enable_milters 4 | -------------------------------------------------------------------------------- /postfix/src/global/config_known_tcp_ports.ref: -------------------------------------------------------------------------------- 1 | config_known_tcp_ports: good: PASS 2 | config_known_tcp_ports: equal-equal: PASS 3 | config_known_tcp_ports: port test 1: PASS 4 | config_known_tcp_ports: port test 2: PASS 5 | config_known_tcp_ports: port test 3: PASS 6 | config_known_tcp_ports: service name test 1: PASS 7 | config_known_tcp_ports: service name test 2: PASS 8 | config_known_tcp_ports: PASS=7 FAIL=0 9 | -------------------------------------------------------------------------------- /postfix/src/global/rewrite_clnt.in: -------------------------------------------------------------------------------- 1 | local ! 2 | local a! 3 | local !b 4 | local a!b 5 | local % 6 | local a% 7 | local %b 8 | local a%b 9 | local @ 10 | local a@ 11 | local a@. 12 | local a@b 13 | local a@b. 14 | remote ! 15 | remote a! 16 | remote !b 17 | remote a!b 18 | remote % 19 | remote a% 20 | remote %b 21 | remote a%b 22 | remote @ 23 | remote a@ 24 | remote a@. 25 | remote a@b 26 | remote a@b. 27 | -------------------------------------------------------------------------------- /postfix/src/postmap/fail_test.in: -------------------------------------------------------------------------------- 1 | ${VALGRIND} ./postmap -q xx fail:aliases 2 | echo xx | ${VALGRIND} ./postmap -q - fail:aliases 3 | echo xx | ${VALGRIND} ./postmap -bq - fail:aliases 4 | ${VALGRIND} ./postmap -d xx fail:aliases 5 | echo xx | ${VALGRIND} ./postmap -d - fail:aliases 6 | ${VALGRIND} ./postmap -s fail:aliases 7 | ${VALGRIND} ./postmap -i fail:aliases < aliases 8 | ${VALGRIND} ./postmap fail:aliases 9 | -------------------------------------------------------------------------------- /postfix/src/util/dict_thash.map: -------------------------------------------------------------------------------- 1 | "the answer is" 42 2 | ABCDEF 012345 3 | allascii.c 915 4 | alldig.c 928 5 | allprint.c 943 6 | allspace.c 931 7 | argv.c 5271 8 | argv_split.c 2780 9 | attr_clnt.c 5813 10 | attr_print0.c 7243 11 | attr_print64.c 8104 12 | attr_print_plain.c 7086 13 | attr_scan0.c 15454 14 | attr_scan64.c 17256 15 | attr_scan_plain.c 16924 16 | auto_clnt.c 9819 17 | the answer is 42 18 | -------------------------------------------------------------------------------- /postfix/src/util/myaddrinfo4.ref2: -------------------------------------------------------------------------------- 1 | ./myaddrinfo4: === hostname null.porcupine.org === 2 | ./myaddrinfo4: warning: hostname_to_sockaddr(null.porcupine.org:(null)): No address associated with hostname 3 | ./myaddrinfo4: === host address 10.0.0.0 === 4 | ./myaddrinfo4: 10.0.0.0:(null) -> family=2 sock=1 proto=0 10.0.0.0:0 5 | ./myaddrinfo4: warning: sockaddr_to_hostname: hostname nor servname provided, or not known 6 | -------------------------------------------------------------------------------- /postfix/src/global/resolve_local.ref: -------------------------------------------------------------------------------- 1 | mydestination=example.com destination=example.com YES 2 | mydestination=example.net destination=example.com NO 3 | unknown: warning: mydestination: fail:1_resolve_local: table lookup problem 4 | mydestination=fail:1_resolve_local destination=example.com ERROR 5 | mydestination=fail:1_resolve_local destination=example.com.. NO 6 | mydestination=fail:1_resolve_local destination= NO 7 | -------------------------------------------------------------------------------- /postfix/src/util/myaddrinfo.ref2: -------------------------------------------------------------------------------- 1 | ./myaddrinfo: === hostname null.porcupine.org === 2 | ./myaddrinfo: warning: hostname_to_sockaddr(null.porcupine.org:(null)): hostname nor servname provided, or not known 3 | ./myaddrinfo: === host address 10.0.0.0 === 4 | ./myaddrinfo: 10.0.0.0:(null) -> family=2 sock=1 proto=6 10.0.0.0:0 5 | ./myaddrinfo: warning: sockaddr_to_hostname: hostname nor servname provided, or not known 6 | -------------------------------------------------------------------------------- /postfix/auxiliary/fix-grep/fix-grep.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Fix grep -[EF] for systems that require the historical forms egrep 4 | # and fgrep. Run this script in the top-level Postfix directory as 5 | # sh auxiliary/fix-grep/fix-grep.sh 6 | 7 | # Use only historical grep syntax. 8 | find * -type f | xargs grep -l 'grep -[EF]' | xargs perl -pi -e ' 9 | s/grep -E/egrep/g; 10 | s/grep -F/fgrep/g; 11 | ' 12 | -------------------------------------------------------------------------------- /postfix/src/util/dict_thash.ref: -------------------------------------------------------------------------------- 1 | postmap: warning: dict_thash.in, line 1: unbalanced '"' in '"the answer is 42' -- ignoring this line 2 | postmap: warning: dict_thash.in, line 2: record is in "key: value" format; is this an alias file? 3 | postmap: warning: dict_thash.in, line 3: expected format: key whitespace value -- ignoring this line 4 | postmap: warning: dict_thash.in, line 5: duplicate entry: "aaa" 5 | aaa bbb 6 | xxx: yyy 7 | -------------------------------------------------------------------------------- /postfix/mantools/spelldiff: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Usage: spelldiff baseline files... 4 | 5 | case $# in 6 | 0|1) echo Usage: $0 baseline files... 1>&2; exit 1;; 7 | esac 8 | 9 | baseline="$1"; shift 10 | 11 | for f 12 | do 13 | if [ -f "${baseline}/${f}" ] 14 | then 15 | diff -U0 "${baseline}/${f}" "${f}" | sed -n ' 16 | /^+/{ 17 | s/.// 18 | p 19 | }' 20 | else 21 | cat "${f}" 22 | fi 23 | done 24 | -------------------------------------------------------------------------------- /postfix/src/global/hfrom_format.ref: -------------------------------------------------------------------------------- 1 | hfrom_format: hfrom_format_parse good-standard: PASS 2 | hfrom_format: hfrom_format_parse good-obsolete: PASS 3 | hfrom_format: hfrom_format_parse bad: PASS 4 | hfrom_format: hfrom_format_parse empty: PASS 5 | hfrom_format: str_hfrom_format_code good-standard: PASS 6 | hfrom_format: str_hfrom_format_code good-obsolete: PASS 7 | hfrom_format: str_hfrom_format_code bad: PASS 8 | hfrom_format: PASS=7 FAIL=0 9 | -------------------------------------------------------------------------------- /postfix/src/util/inet_addr_list.ref: -------------------------------------------------------------------------------- 1 | unknown: list before sort/uniq 2 | unknown: 168.100.3.2 3 | unknown: 168.100.3.2 4 | unknown: 168.100.3.1 5 | unknown: 168.100.3.3 6 | unknown: 168.100.3.3 7 | unknown: 168.100.3.3 8 | unknown: 168.100.3.4 9 | unknown: 168.100.3.1 10 | unknown: 168.100.3.4 11 | unknown: list after sort/uniq 12 | unknown: 168.100.3.1 13 | unknown: 168.100.3.2 14 | unknown: 168.100.3.3 15 | unknown: 168.100.3.4 16 | -------------------------------------------------------------------------------- /postfix/src/postconf/test58.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ./main.cf: syntax error after '}' in "{ldap:xxx, memcache:yy}x" 2 | ./postconf: warning: ./main.cf: missing '}' in "{xx" 3 | config_directory = . 4 | mydestination = foo bar pipemap:{ldap:xxx, memcache:yy}x randmap:{xx 5 | xxx_domain = foo 6 | yy_backup = bbb 7 | ./postconf: warning: ./main.cf: unused parameter: xxx_bogus=foo 8 | ./postconf: warning: ./main.cf: unused parameter: yy_bogus=bbb 9 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in17c: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file17c.tmp 3 | # 4 | # Delete a recipient. Then add the recipient back, with a DSN NOTIFY 5 | # record instead of a DSN original recipient. Then add the same again. 6 | # The second command should be ignored as a duplicate. 7 | 8 | del_rcpt user@example.com 9 | add_rcpt_par user@example.com NOTIFY=never 10 | add_rcpt_par user@example.com NOTIFY=never 11 | 12 | close 13 | -------------------------------------------------------------------------------- /postfix/auxiliary/collate/README: -------------------------------------------------------------------------------- 1 | This script, by Viktor Dukhovni, untangles a Postfix logfile and 2 | groups the records one "session" at a time based on queue ID and 3 | process ID information. 4 | 5 | Records from different sessions are separated by an empty line. 6 | Such text is easy to process with $/="" in perl, or RS="" in awk. 7 | 8 | Usage: 9 | perl collate.pl file... 10 | 11 | It reads standard input when no file is specified. 12 | -------------------------------------------------------------------------------- /postfix/src/global/fold_addr_test.in: -------------------------------------------------------------------------------- 1 | # Regular cases, ASCII. 2 | host A@B 3 | user A@B 4 | all A@B 5 | none A@B 6 | # Corner cases, ASCII. 7 | host A 8 | host A@ 9 | host @ 10 | user @B 11 | user @ 12 | all @ 13 | user Δημοσθένους@Δημοσθένους.EXAMPLE.COM 14 | host Δημοσθένους@Δημοσθένους.EXAMPLE.COM 15 | all Δημοσθένους@Δημοσθένους.EXAMPLE.COM 16 | user Δημοσθένους@ 17 | user Δημοσθένους 18 | host Δημοσθένους@ 19 | host @Δημοσθένους.EXAMPLE.COM 20 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in10d: -------------------------------------------------------------------------------- 1 | # 2 | # As test 10c, but then replace the longer body by the shorter one. The 3 | # result is three regions: the original region, the region with the 4 | # tail of the shorter replacement, and an unused region that contained 5 | # the tail of the larger region. 6 | # 7 | #verbose on 8 | open test-queue-file10.tmp 9 | 10 | replbody loremipsum 11 | replbody loremipsum2 12 | replbody loremipsum 13 | 14 | close 15 | -------------------------------------------------------------------------------- /postfix/src/util/dict_static.ref: -------------------------------------------------------------------------------- 1 | owner=trusted (uid=2147483647) 2 | > get foo 3 | foo=fooxx 4 | > get bar 5 | bar=fooxx 6 | ./dict_open: error: bad static:name syntax: missing '}' in "{ foo xx " 7 | owner=trusted (uid=2147483647) 8 | ./dict_open: error: bad static:name syntax: syntax error after '}' in "{ foo xx }x" 9 | owner=trusted (uid=2147483647) 10 | owner=trusted (uid=2147483647) 11 | > get foo 12 | foo=foo xx 13 | > get bar 14 | bar=foo xx 15 | -------------------------------------------------------------------------------- /postfix/examples/chroot-setup/AIX42: -------------------------------------------------------------------------------- 1 | umask 022 2 | mkdir /var/spool/postfix/etc 3 | chmod 755 /var/spool/postfix/etc 4 | for i in /etc/environment /etc/netsvc.conf /etc/localtime 5 | do 6 | test -e $i && cp $i /var/spool/postfix/etc 7 | done 8 | cp /etc/services /etc/resolv.conf /var/spool/postfix/etc 9 | mkdir /var/spool/postfix/dev 10 | chmod 755 /var/spool/postfix/dev 11 | mknod /var/spool/postfix/dev/null c 2 2 12 | chmod 666 /var/spool/postfix/dev/null 13 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in10c: -------------------------------------------------------------------------------- 1 | # 2 | # Replace a short body by a longer one, and then clobber that with 3 | # an even longer body. The result is three body regions: the original 4 | # region, the region that contained the tail of the first replacement, 5 | # and a region that contains the tail of the second replacement. 6 | # 7 | 8 | #verbose on 9 | open test-queue-file10.tmp 10 | 11 | replbody loremipsum 12 | replbody loremipsum2 13 | 14 | close 15 | -------------------------------------------------------------------------------- /postfix/src/util/dict_cidr.in: -------------------------------------------------------------------------------- 1 | get 172.16.0.0 2 | get 172.16.0.1 3 | get 172.16.7.255 4 | get 172.16.8.1 5 | get 172.16.17.1 6 | get 172.17.1.1 7 | get 172.17.1.2 8 | get 2001:240:5c7:0:2d0:b7ff:fe88:2ca7 9 | get 2001:240:5c7:0:2d0:b7ff:febe:ca9f 10 | get 1.1.1.1 11 | get 1:1:1:1:1:1:1:1 12 | get 1.2.3.3 13 | get 1.2.3.4 14 | get 1.2.3.5 15 | get 1.2.3.6 16 | get 1.2.3.7 17 | get 1.2.3.8 18 | get ::f3 19 | get ::f4 20 | get ::f5 21 | get ::f6 22 | get ::f7 23 | get ::f8 24 | -------------------------------------------------------------------------------- /postfix/src/util/dict_utf8_test.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | LC_ALL=C awk 'BEGIN { 4 | print "flags" 5 | print "verbose" 6 | printf "get foo\n" 7 | printf "put Δημοσθένους.example.com aaa\n" 8 | printf "get Δημοσθένους.example.com\n" 9 | printf "put %c%c%c xxx\n", 128, 128, 128 10 | printf "get %c%c%c\n", 128, 128, 128 11 | printf "put xxx %c%c%c\n", 128, 128, 128 12 | printf "get xxx\n" 13 | exit 14 | }' | ${VALGRIND} ./dict_open internal:whatever write utf8_request 15 | -------------------------------------------------------------------------------- /postfix/src/global/mail_version.ref: -------------------------------------------------------------------------------- 1 | > 1 2 | ERROR: 1: missing major version 3 | > 1-2 4 | ERROR: 1-2: missing minor version 5 | > 1-2.3 6 | ERROR: 1-2.3: missing snapshot field 7 | > 1-2.3.4.5 8 | ERROR: 1-2.3.4.5: bad patchlevel 9 | > 1-2.3.4-5 10 | program: 1 major: 2 minor: 3 patch: 4 11 | > 1-2.3-5 12 | program: 1 major: 2 minor: 3 snapshot: 5 13 | > 1-2.3-5-6 14 | program: 1 major: 2 minor: 3 snapshot: 5-6 15 | > 1-2.3-5.6 16 | program: 1 major: 2 minor: 3 snapshot: 5.6 17 | -------------------------------------------------------------------------------- /postfix/src/dns/nxdomain_test.ref: -------------------------------------------------------------------------------- 1 | ./test_dns_lookup: lookup nxdomain.porcupine.org type MX flags RES_USE_DNSSEC 2 | ./test_dns_lookup: dns_query: nxdomain.porcupine.org (MX): Host not found 3 | ./test_dns_lookup: lookup nxdomain.porcupine.org type A flags RES_USE_DNSSEC 4 | ./test_dns_lookup: dns_query: nxdomain.porcupine.org (A): Host not found 5 | ./test_dns_lookup: warning: Host or domain name not found. Name service error for name=nxdomain.porcupine.org type=A: Host not found (rcode=3) 6 | -------------------------------------------------------------------------------- /postfix/src/util/myaddrinfo4.ref: -------------------------------------------------------------------------------- 1 | ./myaddrinfo4: === hostname belly.porcupine.org === 2 | ./myaddrinfo4: belly.porcupine.org:(null) -> family=2 sock=1 proto=0 168.100.3.6:0 3 | ./myaddrinfo4: warning: sockaddr_to_hostname: hostname nor servname provided, or not known 4 | ./myaddrinfo4: === host address 168.100.3.2 === 5 | ./myaddrinfo4: 168.100.3.2:(null) -> family=2 sock=1 proto=0 168.100.3.2:0 6 | ./myaddrinfo4: warning: sockaddr_to_hostname: hostname nor servname provided, or not known 7 | -------------------------------------------------------------------------------- /postfix/src/postconf/test18.ref: -------------------------------------------------------------------------------- 1 | config_directory = . 2 | smtpd_client_connection_limit_exceptions = yyy 3 | virtual_maps = xxx 4 | ./postconf: warning: ./main.cf: support for parameter "smtpd_client_connection_limit_exceptions" will be removed; instead, specify "smtpd_client_event_limit_exceptions" 5 | ./postconf: warning: ./main.cf: support for parameter "virtual_maps" will be removed; instead, specify "virtual_alias_maps" 6 | ./postconf: warning: See https://www.postfix.org/DEPRECATION_README.html for details 7 | -------------------------------------------------------------------------------- /postfix/src/global/header_body_checks_ignore.ref: -------------------------------------------------------------------------------- 1 | HEADER END 2 | 2 BODY N 0 | 3 | 4 BODY N 15 | 4 | 7 BODY N 0 | 5 | header_body_checks: warning: invalid message/* or multipart/* encoding domain: base64 6 | 11 BODY N 0 | 7 | 13 BODY N 13 | 8 | 16 BODY N 0 | 9 | 18 BODY N 19 | 10 | 21 BODY N 0 | 11 | 23 BODY N 19 | 12 | 26 BODY N 52 | 13 | 28 BODY N 67 | 14 | 31 BODY N 0 | 15 | 33 BODY N 21 | 16 | 35 BODY N 12 | 17 | BODY END 18 | header_body_checks: warning: improper message/* or multipart/* encoding domain 19 | -------------------------------------------------------------------------------- /postfix/src/smtpd/smtpd_deprecated.in: -------------------------------------------------------------------------------- 1 | # 2 | # permit_naked_ip_address 3 | # 4 | client foo 127.0.0.2 5 | recipient_restrictions permit_naked_ip_address 6 | helo 127.0.0.2 7 | mail sname@sdomain.example 8 | rcpt rname@rdomain.example 9 | # 10 | # check_relay_domains 11 | # 12 | client foo 127.0.0.2 13 | recipient_restrictions check_relay_domains 14 | relay_domains foo 15 | helo 127.0.0.2 16 | mail sname@sdomain.example 17 | rcpt rname@rdomain.example 18 | # 19 | # reject_maps_rbl is already covered elsewhere. 20 | # 21 | -------------------------------------------------------------------------------- /postfix/src/tls/goodchains.pem.ref: -------------------------------------------------------------------------------- 1 | depth = 0 2 | issuer = /CN=RSA issuer CA 3 | subject = /CN=mx1.example.com 4 | 5 | depth = 1 6 | issuer = /CN=RSA root CA 7 | subject = /CN=RSA issuer CA 8 | 9 | depth = 2 10 | issuer = /CN=RSA root CA 11 | subject = /CN=RSA root CA 12 | 13 | depth = 0 14 | issuer = /CN=EC issuer CA 15 | subject = /CN=mx1.example.com 16 | 17 | depth = 1 18 | issuer = /CN=EC root CA 19 | subject = /CN=EC issuer CA 20 | 21 | depth = 2 22 | issuer = /CN=EC root CA 23 | subject = /CN=EC root CA 24 | 25 | -------------------------------------------------------------------------------- /postfix/src/smtpstone/throughput: -------------------------------------------------------------------------------- 1 | Host: P233 BSD/OS 3.1 smtp-source and smtp-sink on the same host, 2 | 100 msgs in 10 sessions. 3 | 4 | send = time to send 100 msgs into postfix 5 | rest = time for Postfix to finish 6 | total = total elapsed time 7 | 8 | 19990627 9 | 10 | send rest total 11 | 14 10 25 12 | 10 8 18 13 | 9 10 19 14 | 9 17 26 15 | 8 11 19 16 | 8 9 17 17 | 18 | 19990906 19 | 20 | send rest total 21 | 10 15 25 22 | 9 10 19 23 | 8 9 17 24 | 9 8 17 25 | 8 9 17 26 | 9 8 17 27 | 8 9 17 28 | 8 8 16 29 | -------------------------------------------------------------------------------- /postfix/src/postalias/fail_test.ref: -------------------------------------------------------------------------------- 1 | postalias: fatal: table fail:aliases: query error: Application error 2 | postalias: fatal: table fail:aliases: query error: Application error 3 | postalias: fatal: table fail:aliases: delete error: Application error 4 | postalias: fatal: table fail:aliases: delete error: Application error 5 | postalias: fatal: table fail:aliases: sequence error: Application error 6 | postalias: fatal: table fail:aliases: write error: Application error 7 | postalias: fatal: table fail:aliases: write error: Application error 8 | -------------------------------------------------------------------------------- /postfix/src/smtpd/smtpd_check.in4: -------------------------------------------------------------------------------- 1 | # 2 | # Initialize. 3 | # 4 | #! ../bin/postmap smtpd_check_access 5 | #msg_verbose 1 6 | smtpd_delay_reject 0 7 | # 8 | # Test the new access map features 9 | # 10 | sender_restrictions hash:./smtpd_check_access 11 | mail rejecttext@bad.domain 12 | mail filter@filter.domain 13 | mail filtertext@filter.domain 14 | mail filtertexttext@filter.domain 15 | mail hold@hold.domain 16 | mail holdtext@hold.domain 17 | mail discard@hold.domain 18 | mail discardtext@hold.domain 19 | mail dunnotext@dunno.domain 20 | -------------------------------------------------------------------------------- /postfix/examples/chroot-setup/HPUX9: -------------------------------------------------------------------------------- 1 | # Setup chroot jail for HP-UX (9 or 10). -- tiggr (Pieter Schoenmakers) 2 | 3 | if test -z "${POSTFIX_DIR}"; then 4 | if test -d /usr/spool/postfix; then 5 | POSTFIX_DIR=/usr/spool/postfix 6 | elif test -d /var/spool/postfix; then 7 | POSTFIX_DIR=/var/spool/postfix 8 | else 9 | echo Please indicate POSTFIX_DIR in the environment >&2 10 | exit 2; 11 | fi 12 | fi 13 | 14 | set -e 15 | 16 | umask 022 17 | 18 | cd ${POSTFIX_DIR} 19 | 20 | mkdir etc 21 | cp /etc/services etc 22 | -------------------------------------------------------------------------------- /postfix/src/util/name_mask.ref2: -------------------------------------------------------------------------------- 1 | zero -> 0x1 -> zero 2 | one -> 0x2 -> one 3 | two -> 0x4 -> two 4 | three -> 0x8 -> three 5 | unknown: warning: unknown name value "four" in "four" 6 | four -> 0x0 -> 7 | unknown: warning: unknown name value "four" in "zero one two three four" 8 | zero one two three four -> 0x0 -> 9 | 0xff -> 0xff -> zero one two three 0xf0 10 | 0xffffffff -> 0xffffffff -> zero one two three 0xfffffff0 11 | unknown: warning: unknown name value "0xffffffffffffffff" in "0xffffffffffffffff" 12 | 0xffffffffffffffff -> 0x0 -> 13 | -------------------------------------------------------------------------------- /postfix/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/proto/postconf.man.epilog: -------------------------------------------------------------------------------- 1 | .SH SEE ALSO 2 | .na 3 | .nf 4 | postconf(1), Postfix configuration parameter maintenance 5 | master(5), Postfix daemon configuration maintenance 6 | .SH LICENSE 7 | .ad 8 | .fi 9 | The Secure Mailer license must be distributed with this software. 10 | .SH AUTHOR(S) 11 | .na 12 | .nf 13 | Wietse Venema 14 | IBM T.J. Watson Research 15 | P.O. Box 704 16 | Yorktown Heights, NY 10598, USA 17 | .sp 18 | Wietse Venema 19 | Google, Inc. 20 | 111 8th Avenue 21 | New York, NY 10011, USA 22 | .sp 23 | Viktor Dukhovni 24 | -------------------------------------------------------------------------------- /postfix/src/util/dict_regexp.map: -------------------------------------------------------------------------------- 1 | if /true/ fodder 2 | /1/ 1 3 | if /false/ 4 | /2/ 2 5 | endif fodder 6 | /3/ 3 7 | endif 8 | /a/!/b/ a!b 9 | /c/ 10 | /(1)(2)(3)(5)/ ($1)($2)($3)($4)($5) 11 | /(1)(2)(3)(4)/ ($1)($2)($3)($4) 12 | /(1)(2)(3)/ ($1)($2)($3) 13 | # trailing whitespace below 14 | if /bar/ 15 | if !/xyzzy/ 16 | /(elbereth)/ ($1) 17 | !/(bogus)/ ($1) 18 | !/find/ Don't have a liquor license 19 | endif 20 | endif 21 | # trailing whitespace above 22 | ! 23 | # dangling endif and if 24 | endif 25 | endif 26 | if /./ 27 | if /./ 28 | -------------------------------------------------------------------------------- /postfix/src/util/name_mask.ref7: -------------------------------------------------------------------------------- 1 | zero -> 0x1 -> zero 2 | one -> 0x2 -> one 3 | two -> 0x4 -> two 4 | three -> 0x8 -> three 5 | unknown: warning: unknown name value "four" in "four" 6 | four -> 0x0 -> 7 | unknown: warning: unknown name value "four" in "zero one two three four" 8 | zero one two three four -> 0xf -> zero one two three 9 | 0xff -> 0xff -> zero one two three 10 | 0xffffffff -> 0xffffffff -> zero one two three 11 | unknown: warning: unknown name value "0xffffffffffffffff" in "0xffffffffffffffff" 12 | 0xffffffffffffffff -> 0x0 -> 13 | -------------------------------------------------------------------------------- /postfix/src/smtpd/smtpd_token.in: -------------------------------------------------------------------------------- 1 | mail from: 2 | mail from:<"wietse venema"@porcupine.org> 3 | mail from:wietse@porcupine.org 4 | mail from: 5 | mail from:<"wietse venema"@porcupine.org ("wietse ) venema")> 6 | mail from:<"wietse venema" > 7 | mail from:<"wietse venema"@porcupine.org ( ("wietse ) venema") )> 8 | mail from:"wietse venema"@porcupine.org 9 | mail from:wietse\ venema@porcupine.org 10 | mail to:<"wietse venema> 11 | mail to: 12 | mail to: 13 | -------------------------------------------------------------------------------- /postfix/src/util/dict_inline_file.ref: -------------------------------------------------------------------------------- 1 | ./dict_open: error: open xx: No such file or directory: "inline:{ foo=xx, bar=yy }"; need "inline:{name=filename...}" 2 | owner=trusted (uid=2147483647) 3 | > get foo 4 | ./dict_open: warning: inline:{ foo=xx, bar=yy } is unavailable. open xx: No such file or directory: "inline:{ foo=xx, bar=yy }"; need "inline:{name=filename...}" 5 | foo: error 6 | owner=trusted (uid=2147483647) 7 | > get file1 8 | file1=dGhpcy1pcy1maWxlMQo= 9 | > get file2 10 | file2=dGhpcy1pcy1maWxlMgo= 11 | > get file3 12 | file3: not found 13 | -------------------------------------------------------------------------------- /postfix/Makefile.init: -------------------------------------------------------------------------------- 1 | # Usage: 2 | # make makefiles [name=value]... 3 | # 4 | # See makedefs for a description of available options. 5 | # Examples: 6 | # 7 | # make makefiles 8 | # make makefiles CC="purify cc" 9 | # make makefiles CC=cc OPT= 10 | # 11 | SHELL = /bin/sh 12 | 13 | default: update 14 | 15 | update depend clean tidy depend_update: Makefiles 16 | $(MAKE) MAKELEVEL= $@ 17 | 18 | install upgrade: 19 | @echo Please review the INSTALL instructions first. 20 | 21 | makefiles Makefiles: 22 | $(MAKE) -f Makefile.in MAKELEVEL= Makefiles 23 | -------------------------------------------------------------------------------- /postfix/src/anvil/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/bounce/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/bounce/msgfile-no-message-id: -------------------------------------------------------------------------------- 1 | C_ 217 312 1 0 217 0T1726092354 240214Acreate_time=1726092537Arewrite_context=remoteF Wietse VenemaSsender@sender.exampleA0dsn_orig_rcpt=rfc822;recipient@recipient.exampleOrecipient@recipient.exampleRrecipient@recipient.exampleMN:Received: by wzv.porcupine.org (Postfix, from userid 1000)N: id 4X3vqF3bwhz5Yqq; Wed, 11 Sep 2024 18:05:54 -0400 (EDT)NFrom: sender@sender.exampleNTo: recipient@recipient.exampleNSubject: no-message-idNNasdasddXE -------------------------------------------------------------------------------- /postfix/src/cleanup/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/discard/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/dns/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/dns/nullmx_test.ref: -------------------------------------------------------------------------------- 1 | ./test_dns_lookup: lookup nullmx.porcupine.org type MX flags RES_USE_DNSSEC 2 | ./test_dns_lookup: dns_query: nullmx.porcupine.org (MX): OK 3 | ./test_dns_lookup: dns_get_answer: type MX for nullmx.porcupine.org 4 | ./test_dns_lookup: lookup nullmx.porcupine.org type A flags RES_USE_DNSSEC 5 | ./test_dns_lookup: dns_query: nullmx.porcupine.org (A): OK 6 | ./test_dns_lookup: dns_get_answer: type A for nullmx.porcupine.org 7 | nullmx.porcupine.org: fqdn: nullmx.porcupine.org 8 | ad: 0, rr: nullmx.porcupine.org. 3600 IN A 168.100.3.13 9 | -------------------------------------------------------------------------------- /postfix/src/error/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/flush/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/fsstone/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/global/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/local/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/master/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/oqmgr/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/pickup/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/pipe/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/postcat/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/postfix/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/postlog/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/postmap/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/qmgr/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/qmqpd/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/showq/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/smtp/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/smtpd/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/spawn/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/util/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/util/myaddrinfo.ref: -------------------------------------------------------------------------------- 1 | ./myaddrinfo: === hostname belly.porcupine.org === 2 | ./myaddrinfo: belly.porcupine.org:(null) -> family=2 sock=1 proto=6 168.100.3.6:0 3 | ./myaddrinfo: 168.100.3.6:0 -> belly.porcupine.org:0 4 | ./myaddrinfo: belly.porcupine.org:(null) -> family=28 sock=1 proto=6 2604:8d00:189::6:0 5 | ./myaddrinfo: 2604:8d00:189::6:0 -> belly.porcupine.org:0 6 | ./myaddrinfo: === host address 168.100.3.2 === 7 | ./myaddrinfo: 168.100.3.2:(null) -> family=2 sock=1 proto=6 168.100.3.2:0 8 | ./myaddrinfo: 168.100.3.2:0 -> spike.porcupine.org:0 9 | -------------------------------------------------------------------------------- /postfix/src/virtual/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/Makefile: -------------------------------------------------------------------------------- 1 | # Usage: 2 | # make makefiles [name=value]... 3 | # 4 | # See makedefs for a description of available options. 5 | # Examples: 6 | # 7 | # make makefiles 8 | # make makefiles CC="purify cc" 9 | # make makefiles CC=cc OPT= 10 | # 11 | SHELL = /bin/sh 12 | 13 | default: update 14 | 15 | update depend printfck clean tidy depend_update: Makefiles 16 | $(MAKE) MAKELEVEL= $@ 17 | 18 | install upgrade: 19 | @echo Please review the INSTALL instructions first. 20 | 21 | makefiles Makefiles: 22 | $(MAKE) -f Makefile.in MAKELEVEL= Makefiles 23 | -------------------------------------------------------------------------------- /postfix/src/postalias/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/postconf/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/postdrop/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/postkick/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/postlock/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/postsuper/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/sendmail/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/smtpstone/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/util/dict_pcre.map: -------------------------------------------------------------------------------- 1 | if /true/ fodder 2 | /1/ 1 3 | if /false/ 4 | /2/ 2 5 | endif fodder 6 | /3/ 3 7 | endif 8 | /a/!/b/ a!b 9 | /c/ 10 | /(1)(2)(3)(5)/ ($1)($2)($3)($4)($5) 11 | /(1)(2)(3)(4)/ ($1)($2)($3)($4) 12 | /(1)(2)(3)/ ($1)($2)($3) 13 | # trailing whitespace below 14 | if /bar/ 15 | if !/xyzzy/ 16 | /(elbereth)/ ($1) 17 | !/(bogus)/ ($1) 18 | !/find/ Don't have a liquor license 19 | endif 20 | endif 21 | # trailing whitespace above 22 | ! 23 | # dangling endif and if 24 | endif 25 | endif 26 | if /./ 27 | if /./ 28 | /(/ unused 29 | -------------------------------------------------------------------------------- /postfix/src/util/name_mask.ref1: -------------------------------------------------------------------------------- 1 | zero -> 0x1 -> zero 2 | one -> 0x2 -> one 3 | two -> 0x4 -> two 4 | three -> 0x8 -> three 5 | unknown: warning: unknown name value "four" in "four" 6 | four -> 0x0 -> 7 | unknown: warning: unknown name value "four" in "zero one two three four" 8 | zero one two three four -> 0xf -> zero one two three 9 | 0xff -> 0xff -> zero one two three 0xf0 10 | 0xffffffff -> 0xffffffff -> zero one two three 0xfffffff0 11 | unknown: warning: unknown name value "0xffffffffffffffff" in "0xffffffffffffffff" 12 | 0xffffffffffffffff -> 0x0 -> 13 | -------------------------------------------------------------------------------- /postfix/src/util/name_mask.ref8: -------------------------------------------------------------------------------- 1 | zero -> 0x1 -> zero 2 | one -> 0x2 -> one 3 | two -> 0x4 -> two 4 | three -> 0x8 -> three 5 | unknown: warning: unknown name value "four" in "four" 6 | four -> 0x0 -> 7 | unknown: warning: unknown name value "four" in "zero one two three four" 8 | zero one two three four -> 0xf -> zero,one,two,three 9 | 0xff -> 0xff -> zero,one,two,three,0xf0 10 | 0xffffffff -> 0xffffffff -> zero,one,two,three,0xfffffff0 11 | unknown: warning: unknown name value "0xffffffffffffffff" in "0xffffffffffffffff" 12 | 0xffffffffffffffff -> 0x0 -> 13 | -------------------------------------------------------------------------------- /postfix/src/util/name_mask.ref9: -------------------------------------------------------------------------------- 1 | zero -> 0x1 -> zero 2 | one -> 0x2 -> one 3 | two -> 0x4 -> two 4 | three -> 0x8 -> three 5 | unknown: warning: unknown name value "four" in "four" 6 | four -> 0x0 -> 7 | unknown: warning: unknown name value "four" in "zero one two three four" 8 | zero one two three four -> 0xf -> zero|one|two|three 9 | 0xff -> 0xff -> zero|one|two|three|0xf0 10 | 0xffffffff -> 0xffffffff -> zero|one|two|three|0xfffffff0 11 | unknown: warning: unknown name value "0xffffffffffffffff" in "0xffffffffffffffff" 12 | 0xffffffffffffffff -> 0x0 -> 13 | -------------------------------------------------------------------------------- /postfix/src/global/mail_dict.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | /* NAME 3 | /* mail_dict 3h 4 | /* SUMMARY 5 | /* register application-specific dictionaries 6 | /* SYNOPSIS 7 | /* #include 8 | /* DESCRIPTION 9 | /* .nf 10 | 11 | /* 12 | * External interface. 13 | */ 14 | extern void mail_dict_init(void); 15 | 16 | /* LICENSE 17 | /* .ad 18 | /* .fi 19 | /* The Secure Mailer license must be distributed with this software. 20 | /* AUTHOR(S) 21 | /* Wietse Venema 22 | /* IBM T.J. Watson Research 23 | /* P.O. Box 704 24 | /* Yorktown Heights, NY 10598, USA 25 | /*--*/ 26 | -------------------------------------------------------------------------------- /postfix/src/trivial-rewrite/.printfck: -------------------------------------------------------------------------------- 1 | been_here_xt 2 0 2 | bounce_append 5 0 3 | cleanup_out_format 1 0 4 | defer_append 5 0 5 | mail_command 1 0 6 | mail_print 1 0 7 | msg_error 0 0 8 | msg_fatal 0 0 9 | msg_info 0 0 10 | msg_panic 0 0 11 | msg_warn 0 0 12 | opened 4 0 13 | post_mail_fprintf 1 0 14 | qmgr_message_bounce 2 0 15 | rec_fprintf 2 0 16 | sent 4 0 17 | smtp_cmd 1 0 18 | smtp_mesg_fail 2 0 19 | smtp_printf 1 0 20 | smtp_rcpt_fail 3 0 21 | smtp_site_fail 2 0 22 | udp_syslog 1 0 23 | vstream_fprintf 1 0 24 | vstream_printf 0 0 25 | vstring_sprintf 1 0 26 | -------------------------------------------------------------------------------- /postfix/src/cleanup/bug3.file: -------------------------------------------------------------------------------- 1 | CO 307 237 1 0 307T1328191327 569105Acreate_time=1328191327Arewrite_context=localF Wietse VenemaSme@porcupine.orgOyou@porcupine.orgRyou@porcupine.orgp 0MNN+Date: Thu, 2 Feb 2012 09:02:07 -0500 (EST)N&From: me@porcupine.org (Wietse Venema)p 0NNtestp 0Xp 0E -------------------------------------------------------------------------------- /postfix/src/postcat/e_test.ref: -------------------------------------------------------------------------------- 1 | *** ENVELOPE RECORDS test-queue-file *** 2 | message_size: 332 182 1 0 332 3 | message_arrival_time: Sun Jan 21 13:32:59 2007 4 | create_time: Sun Jan 21 13:33:08 2007 5 | named_attribute: rewrite_context=local 6 | sender_fullname: Wietse Venema 7 | sender: me@porcupine.org 8 | *** MESSAGE CONTENTS test-queue-file *** 9 | *** HEADER EXTRACTED test-queue-file *** 10 | original_recipient: you@porcupine.org 11 | recipient: you@porcupine.org 12 | *** MESSAGE FILE END test-queue-file *** 13 | -------------------------------------------------------------------------------- /postfix/src/util/dict_stream.ref: -------------------------------------------------------------------------------- 1 | unknown: RUN test case 0 normal 2 | unknown: PASS test 0 3 | unknown: RUN test case 1 trims leading/trailing wsp around rule-text 4 | unknown: PASS test 1 5 | unknown: RUN test case 2 trims leading/trailing comma-wsp around rule-spec 6 | unknown: PASS test 2 7 | unknown: RUN test case 3 empty inline-file 8 | unknown: PASS test 3 9 | unknown: RUN test case 4 propagates extpar error for inline-file 10 | unknown: PASS test 4 11 | unknown: RUN test case 5 propagates extpar error for rule-spec 12 | unknown: PASS test 5 13 | unknown: PASS=6 FAIL=0 14 | -------------------------------------------------------------------------------- /postfix/src/cleanup/bug2.file: -------------------------------------------------------------------------------- 1 | CO 332 199 1 0 332T1169344434 652901Acreate_time=1169344439Arewrite_context=localF Wietse VenemaSme@porcupine.orgp 0MNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgE -------------------------------------------------------------------------------- /postfix/src/postconf/test71.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: ./main.cf: #comment after other text is not allowed: #aaa1 ... 2 | ./postconf: warning: ./main.cf: #comment after other text is not allowed: #aaa2 ... 3 | ./postconf: warning: ./main.cf: #comment after other text is not allowed: #ccc2 ... 4 | ./postconf: warning: ./main.cf: #comment after other text is not allowed: #bbb2 ... 5 | config_directory = . 6 | smtpd_client_restrictions = inline:{ { aaa0 = #aaa1 } #aaa2 } 7 | smtpd_helo_restrictions = pcre:{ { /bbb0 #bbb1/ } #bbb2 } 8 | smtpd_sender_restrictions = regexp:{ { /ccc0 #ccc1/ } #ccc2 } 9 | -------------------------------------------------------------------------------- /postfix/src/util/ip_match.in: -------------------------------------------------------------------------------- 1 | 1.2.3.4 2 | 1.2.300.4 3 | 1.2.3000.4 4 | 1.2.3. 5 | 1.2.3 6 | a 7 | 1.2.3;4 8 | 1.2.[3].4 9 | 1.2.[].4 10 | 1.2.[.4 11 | 1.2.].4 12 | 1.2.[1..127;128..255].5 13 | 1.2.[1-255].5 14 | 1.2.[1..127.128..255].5 15 | 1.2.3.[4] 16 | 1.2.3.[4..1] 17 | 1.2.3.[4.1] 18 | 1.2.3.[4.x] 19 | 1.2.3.[x] 20 | 1.2.3.4x 21 | 1.2.[3..11].5 1.2.3.5 1.2.2.5 1.2.11.5 1.2.12.5 1.2.11.6 22 | 1.2.[3;5;7;9;11].5 1.2.3.5 1.2.2.5 1.2.4.5 1.2.11.5 1.2.12.5 1.2.11.6 23 | [1;2].3.4.5 1.3.4.5 2.3.4.5 3.3.4.5 24 | [[1;2].3.4.5] 1.3.4.5 2.3.4.5 3.3.4.5 25 | [[1;2].3.4.5 26 | 1;2].3.4.5 27 | -------------------------------------------------------------------------------- /postfix/examples/chroot-setup/HPUX10: -------------------------------------------------------------------------------- 1 | # Setup chroot jail for HP-UX (9 or 10). -- tiggr (Pieter Schoenmakers) 2 | 3 | if test -z "${POSTFIX_DIR}"; then 4 | if test -d /usr/spool/postfix; then 5 | POSTFIX_DIR=/usr/spool/postfix 6 | elif test -d /var/spool/postfix; then 7 | POSTFIX_DIR=/var/spool/postfix 8 | else 9 | echo Please indicate POSTFIX_DIR in the environment >&2 10 | exit 2; 11 | fi 12 | fi 13 | 14 | set -e 15 | 16 | umask 022 17 | 18 | cd ${POSTFIX_DIR} 19 | 20 | mkdir etc 21 | cp /etc/services etc 22 | mkdir -p usr/lib 23 | cp /usr/lib/tztab usr/lib 24 | -------------------------------------------------------------------------------- /postfix/examples/qmail-local/qmail-local.txt: -------------------------------------------------------------------------------- 1 | From: Ron Bickers 2 | 3 | For the archives (or for comment): 4 | 5 | I now have mailbox_command = /usr/local/libexec/postqmail-local and 6 | postqmail-local looks like this (minus some mailer wrapping): 7 | 8 | #!/bin/sh 9 | export PATH=$PATH:/usr/local/bin:/var/qmail/bin 10 | tail +2 | seekablepipe qmail-local -- \ 11 | "$USER" "$HOME" "$LOCAL" "${EXTENSION:+-}" "$EXTENSION" 12 | "$DOMAIN""$SENDER" ./Maildir/ 13 | e=$? 14 | (($e == 111)) && exit 75 15 | (($e == 100)) && exit 77 16 | exit $e 17 | -------------------------------------------------------------------------------- /postfix/src/postcat/test-queue-file: -------------------------------------------------------------------------------- 1 | CO 332 182 1 0 332T1169404379 306437Acreate_time=1169404388Arewrite_context=localF Wietse VenemaSme@porcupine.orgMNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgp 0E -------------------------------------------------------------------------------- /postfix/src/postmap/fail_test.ref: -------------------------------------------------------------------------------- 1 | postmap: fatal: table fail:aliases: query error: Application error 2 | postmap: fatal: table fail:aliases: query error: Application error 3 | postmap: fatal: table fail:aliases: query error: Application error 4 | postmap: fatal: table fail:aliases: delete error: Application error 5 | postmap: fatal: table fail:aliases: delete error: Application error 6 | postmap: fatal: table fail:aliases: sequence error: Application error 7 | postmap: fatal: table fail:aliases: write error: Application error 8 | postmap: fatal: table fail:aliases: write error: Application error 9 | -------------------------------------------------------------------------------- /postfix/src/postmap/quote_test.in: -------------------------------------------------------------------------------- 1 | echo '"aa bb" cc' | ${VALGRIND} ./postmap -i quote_test_map || exit 1 2 | echo '"dd ee ff' | ${VALGRIND} ./postmap -i quote_test_map || exit 1 3 | echo 'gg\ hh ii' | ${VALGRIND} ./postmap -i quote_test_map || exit 1 4 | echo '"gg\"hh" ii' | ${VALGRIND} ./postmap -i quote_test_map || exit 1 5 | echo '"jj@kk" ll' | ${VALGRIND} ./postmap -i quote_test_map || exit 1 6 | echo 'mm@nn@oo pp' | ${VALGRIND} ./postmap -i quote_test_map || exit 1 7 | echo '@oo pp' | ${VALGRIND} ./postmap -i quote_test_map || exit 1 8 | ${VALGRIND} ./postmap -s quote_test_map | LC_ALL=C sort 9 | -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file10: -------------------------------------------------------------------------------- 1 | CO 332 199 1 0 332T1169344434 652901Acreate_time=1169344439Arewrite_context=localF Wietse VenemaSme@porcupine.orgp 0MNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgE -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file12: -------------------------------------------------------------------------------- 1 | CO 332 182 1 0 332T1169404379 306437Acreate_time=1169404388Arewrite_context=localF Wietse VenemaSme@porcupine.orgMNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgp 0E -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file13a: -------------------------------------------------------------------------------- 1 | CO 332 182 1 0 332T1169404379 306437Acreate_time=1169404388Arewrite_context=localF Wietse VenemaSme@porcupine.orgMNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgp 0E -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file13b: -------------------------------------------------------------------------------- 1 | CO 332 182 1 0 332T1169404379 306437Acreate_time=1169404388Arewrite_context=localF Wietse VenemaSme@porcupine.orgMNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgp 0E -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file13c: -------------------------------------------------------------------------------- 1 | CO 332 182 1 0 332T1169404379 306437Acreate_time=1169404388Arewrite_context=localF Wietse VenemaSme@porcupine.orgMNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgp 0E -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file13e: -------------------------------------------------------------------------------- 1 | CO 332 182 1 0 332T1169404379 306437Acreate_time=1169404388Arewrite_context=localF Wietse VenemaSme@porcupine.orgMNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgp 0E -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file13f: -------------------------------------------------------------------------------- 1 | CO 332 182 1 0 332T1169404379 306437Acreate_time=1169404388Arewrite_context=localF Wietse VenemaSme@porcupine.orgMNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgp 0E -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file13g: -------------------------------------------------------------------------------- 1 | CO 332 182 1 0 332T1169404379 306437Acreate_time=1169404388Arewrite_context=localF Wietse VenemaSme@porcupine.orgMNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgp 0E -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file13h: -------------------------------------------------------------------------------- 1 | CO 332 182 1 0 332T1169404379 306437Acreate_time=1169404388Arewrite_context=localF Wietse VenemaSme@porcupine.orgMNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgp 0E -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file13i: -------------------------------------------------------------------------------- 1 | CO 332 182 1 0 332T1169404379 306437Acreate_time=1169404388Arewrite_context=localF Wietse VenemaSme@porcupine.orgMNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgp 0E -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file2: -------------------------------------------------------------------------------- 1 | CO 332 199 1 0 332T1169344434 652901Acreate_time=1169344439Arewrite_context=localF Wietse VenemaSme@porcupine.orgp 0MNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgE -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file3: -------------------------------------------------------------------------------- 1 | CO 332 199 1 0 332T1169344434 652901Acreate_time=1169344439Arewrite_context=localF Wietse VenemaSme@porcupine.orgp 0MNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgE -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file6: -------------------------------------------------------------------------------- 1 | CO 332 199 1 0 332T1169344434 652901Acreate_time=1169344439Arewrite_context=localF Wietse VenemaSme@porcupine.orgp 0MNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgE -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file7: -------------------------------------------------------------------------------- 1 | CO 332 199 1 0 332T1169344434 652901Acreate_time=1169344439Arewrite_context=localF Wietse VenemaSme@porcupine.orgp 0MNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgE -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file8: -------------------------------------------------------------------------------- 1 | CO 332 199 1 0 332T1169344434 652901Acreate_time=1169344439Arewrite_context=localF Wietse VenemaSme@porcupine.orgp 0MNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgE -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file9: -------------------------------------------------------------------------------- 1 | CO 332 199 1 0 332T1169344434 652901Acreate_time=1169344439Arewrite_context=localF Wietse VenemaSme@porcupine.orgp 0MNN+Date: Tue, 25 Jul 2006 15:27:19 -0400 (EDT)N Subject: hey!w0p 0NNtextp 0XOyou@porcupine.orgRyou@porcupine.orgE -------------------------------------------------------------------------------- /postfix/src/postcat/eb_test.ref: -------------------------------------------------------------------------------- 1 | *** ENVELOPE RECORDS test-queue-file *** 2 | message_size: 332 182 1 0 332 3 | message_arrival_time: Sun Jan 21 13:32:59 2007 4 | create_time: Sun Jan 21 13:33:08 2007 5 | named_attribute: rewrite_context=local 6 | sender_fullname: Wietse Venema 7 | sender: me@porcupine.org 8 | *** MESSAGE CONTENTS test-queue-file *** 9 | 10 | text 11 | *** HEADER EXTRACTED test-queue-file *** 12 | original_recipient: you@porcupine.org 13 | recipient: you@porcupine.org 14 | *** MESSAGE FILE END test-queue-file *** 15 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in12: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file12.tmp 3 | 4 | # Add a recipient to a message that was received with "sendmail -t" 5 | # so that all the recipients are in the extracted queue file segment. 6 | 7 | add_rcpt me@porcupine.org 8 | 9 | # Delete the recipient added above. 10 | 11 | del_rcpt me@porcupine.org 12 | 13 | # Add a new recipient, using a different address than above, so that 14 | # the duplicate filter won't suppress it. 15 | 16 | add_rcpt em@porcupine.org 17 | 18 | # Delete the recipient. 19 | 20 | del_rcpt em@porcupine.org 21 | 22 | close 23 | -------------------------------------------------------------------------------- /postfix/src/global/strip_addr.ref: -------------------------------------------------------------------------------- 1 | unknown: wanted: foo-ext -> foo 2 | unknown: strip_addr foo-ext -> foo 3 | unknown: wanted: foo-ext -> foo -ext 4 | unknown: strip_addr foo-ext -> foo -ext 5 | unknown: wanted: foo-ext@bar -> foo@bar 6 | unknown: strip_addr foo-ext@bar -> foo@bar 7 | unknown: wanted: foo-ext@bar -> foo@bar -ext 8 | unknown: strip_addr foo-ext@bar -> foo@bar -ext 9 | unknown: wanted: foo+ext@bar -> foo@bar +ext 10 | unknown: strip_addr foo+ext@bar -> foo@bar +ext 11 | unknown: wanted: foo bar+ext -> foo bar +ext 12 | unknown: strip_addr foo bar+ext -> foo bar +ext 13 | -------------------------------------------------------------------------------- /postfix/src/smtpd/smtpd_milter.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | /* NAME 3 | /* smtpd_milter 3h 4 | /* SUMMARY 5 | /* SMTP server milter glue 6 | /* SYNOPSIS 7 | /* #include 8 | /* #include 9 | /* DESCRIPTION 10 | /* .nf 11 | 12 | /* 13 | * External interface. 14 | */ 15 | extern const char *smtpd_milter_eval(const char *, void *); 16 | 17 | /* LICENSE 18 | /* .ad 19 | /* .fi 20 | /* The Secure Mailer license must be distributed with this software. 21 | /* AUTHOR(S) 22 | /* Wietse Venema 23 | /* IBM T.J. Watson Research 24 | /* P.O. Box 704 25 | /* Yorktown Heights, NY 10598, USA 26 | /*--*/ 27 | -------------------------------------------------------------------------------- /postfix/src/util/inet_prefix_top.h: -------------------------------------------------------------------------------- 1 | #ifndef _INET_MASK_TOP_H_INCLUDED_ 2 | #define _INET_MASK_TOP_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* inet_prefix_top 3h 7 | /* SUMMARY 8 | /* convert net/mask to printable string 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* 15 | * External interface. 16 | */ 17 | extern char *inet_prefix_top(int, const void *, int); 18 | 19 | /* LICENSE 20 | /* .ad 21 | /* .fi 22 | /* The Secure Mailer license must be distributed with this software. 23 | /* AUTHOR(S) 24 | /* Wietse Venema 25 | /*--*/ 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /postfix/mantools/html2readme: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | HTML2TEXT="html2text -ascii -style pretty -rcfile html2text.rc" 4 | 5 | #case $# in 6 | # 0) $HTML2TEXT;; 7 | # *) for file 8 | # do 9 | # cat < 0x1 -> zero 2 | one -> 0x2 -> one 3 | two -> 0x4 -> two 4 | three -> 0x8 -> three 5 | unknown: warning: unknown name value "four" in "four" 6 | four -> 0x0 -> 7 | unknown: warning: unknown name value "four" in "zero one two three four" 8 | zero one two three four -> 0x0 -> 9 | unknown: warning: unknown name value "0xff" in "0xff" 10 | 0xff -> 0x0 -> 11 | unknown: warning: unknown name value "0xffffffff" in "0xffffffff" 12 | 0xffffffff -> 0x0 -> 13 | unknown: warning: unknown name value "0xffffffffffffffff" in "0xffffffffffffffff" 14 | 0xffffffffffffffff -> 0x0 -> 15 | -------------------------------------------------------------------------------- /postfix/src/util/valid_uri_scheme.h: -------------------------------------------------------------------------------- 1 | #ifndef _VALID_SCHEME_H_INCLUDED_ 2 | #define _VALID_SCHEME_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* valid_uri_scheme 3h 7 | /* SUMMARY 8 | /* validate scheme:// prefix 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* 15 | * External interface. 16 | */ 17 | extern ssize_t valid_uri_scheme(const char *); 18 | 19 | /* LICENSE 20 | /* .ad 21 | /* .fi 22 | /* The Secure Mailer license must be distributed with this software. 23 | /* AUTHOR(S) 24 | /* Wietse Venema 25 | /* porcupine.org 26 | /*--*/ 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /postfix/src/tls/ecca-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBcDCCARagAwIBAgIBAjAKBggqhkjOPQQDAjAVMRMwEQYDVQQDDApFQyByb290 3 | IENBMCAXDTE5MDEwODA2NDUyNFoYDzIxMTkwMTA5MDY0NTI0WjAXMRUwEwYDVQQD 4 | DAxFQyBpc3N1ZXIgQ0EwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARYcKaWmm2M 5 | ulstiE3b15jhdyZA+Fwyb0dE2W8pWKDSP/qsXTs7NvH5H8JjNZmDY4q1Nq7FRXfs 6 | G614fKHGUYzVo1MwUTAdBgNVHQ4EFgQUlPTJzRbp34WiezQfe//HD4X0r+QwHwYD 7 | VR0jBBgwFoAU1HqQiWes42EpdB5ooHRxYr8z4V4wDwYDVR0TAQH/BAUwAwEB/zAK 8 | BggqhkjOPQQDAgNIADBFAiBALgvWsycg6I1MZq6XKAlgNukQXPT/IgPiC+7Vn80U 9 | WQIhAPqpsF4oPV7VKgFgVNmNm6MDKuuDQ47Jt/Lk79qkwqM7 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /postfix/src/tls/ecroot-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBbzCCARSgAwIBAgIBATAKBggqhkjOPQQDAjAVMRMwEQYDVQQDDApFQyByb290 3 | IENBMCAXDTE5MDEwODA2MTk1OFoYDzIxMTkwMTA5MDYxOTU4WjAVMRMwEQYDVQQD 4 | DApFQyByb290IENBMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEfDF746gzVwSo 5 | e/UsVtFqSX1ASKbYMdccE9pOB5D/fK5aPqZsy9/YKSE9T+/FcCgZa6uEROyR583Z 6 | UMyTQFoHRqNTMFEwHQYDVR0OBBYEFNR6kIlnrONhKXQeaKB0cWK/M+FeMB8GA1Ud 7 | IwQYMBaAFNR6kIlnrONhKXQeaKB0cWK/M+FeMA8GA1UdEwEB/wQFMAMBAf8wCgYI 8 | KoZIzj0EAwIDSQAwRgIhALZ4ZLphG1ebIkAX+UnxJBVtDKxkq8qz0uBI0N7AEW7X 9 | AiEAx8PLYRJjlGiWUdadeuCuavx0gNxd3wpOWTz+lC3nu/o= 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /postfix/src/util/ldseed.h: -------------------------------------------------------------------------------- 1 | #ifndef _LDSEED_H_INCLUDED_ 2 | #define _LDSEED_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* ldseed 3h 7 | /* SUMMARY 8 | /* seed for non-cryptographic applications 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* 15 | * External interface. 16 | */ 17 | extern void ldseed(void *, size_t); 18 | 19 | /* LICENSE 20 | /* .ad 21 | /* .fi 22 | /* The Secure Mailer license must be distributed with this software. 23 | /* AUTHOR(S) 24 | /* Wietse Venema 25 | /* Google, Inc. 26 | /* 111 8th Avenue 27 | /* New York, NY 10011, USA 28 | /*--*/ 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /postfix/src/util/username.h: -------------------------------------------------------------------------------- 1 | #ifndef _USERNAME_H_INCLUDED_ 2 | #define _USERNAME_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* username 3h 7 | /* SUMMARY 8 | /* lookup name of real user 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* External interface. */ 15 | 16 | extern const char *username(void); 17 | 18 | /* LICENSE 19 | /* .ad 20 | /* .fi 21 | /* The Secure Mailer license must be distributed with this software. 22 | /* AUTHOR(S) 23 | /* Wietse Venema 24 | /* IBM T.J. Watson Research 25 | /* P.O. Box 704 26 | /* Yorktown Heights, NY 10598, USA 27 | /*--*/ 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /postfix/src/postconf/test59.ref: -------------------------------------------------------------------------------- 1 | ./postconf: warning: master.cf: syntax error after '}' in "{ arg2a arg2b }x" 2 | ./postconf: warning: master.cf: missing '}' in "{ arg3a arg3b " 3 | foo unix - n n - 0 other 4 | bar inet - n n 0 0 other 5 | -o name1=value1 6 | -o {name2=value2a value2b} 7 | arg1a arg1b {arg2a arg2b} {arg3a arg3b} 8 | baz unix - n n 0 0 other 9 | ./postconf: warning: ./master.cf: unused parameter: name1=value1 10 | ./postconf: warning: ./master.cf: unused parameter: name2=value2a value2b 11 | -------------------------------------------------------------------------------- /postfix/src/util/name_mask.ref3: -------------------------------------------------------------------------------- 1 | zero -> 0x1 -> zero 2 | one -> 0x2 -> one 3 | two -> 0x4 -> two 4 | three -> 0x8 -> three 5 | unknown: warning: unknown name value "four" in "four" 6 | four -> 0x0 -> 7 | unknown: warning: unknown name value "four" in "zero one two three four" 8 | zero one two three four -> 0xf -> zero one two three 9 | unknown: warning: unknown name value "0xff" in "0xff" 10 | 0xff -> 0x0 -> 11 | unknown: warning: unknown name value "0xffffffff" in "0xffffffff" 12 | 0xffffffff -> 0x0 -> 13 | unknown: warning: unknown name value "0xffffffffffffffff" in "0xffffffffffffffff" 14 | 0xffffffffffffffff -> 0x0 -> 15 | -------------------------------------------------------------------------------- /postfix/src/cleanup/cleanup_milter.in13a: -------------------------------------------------------------------------------- 1 | #verbose on 2 | open test-queue-file13a.tmp 3 | 4 | # Add a recipient to a message that was received with "sendmail -t" 5 | # so that all the recipients are in the extracted queue file segment. 6 | 7 | add_rcpt_par me@porcupine.org esmtpstuff 8 | 9 | # Delete the recipient added above. 10 | 11 | del_rcpt me@porcupine.org 12 | 13 | # Add a new recipient, using a different address than above, so that 14 | # the duplicate filter won't suppress it. 15 | 16 | add_rcpt_par em@porcupine.org esmtpstuff 17 | 18 | # Delete the recipient. 19 | 20 | del_rcpt em@porcupine.org 21 | 22 | close 23 | -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file5: -------------------------------------------------------------------------------- 1 | CO 376 237 1 0 376T1169396806 283127Acreate_time=1169396819Arewrite_context=localF Wietse VenemaSme@porcupine.orgOyou@porcupine.orgRyou@porcupine.orgp 0MN9Received: by hades.porcupine.org (Postfix, from userid 0)N6 id 38FA9290404; Sun, 21 Jan 2007 11:26:59 -0500 (EST)N Subject: hiw 0NX: 1w 0N 2N 3NN+Date: Sun, 21 Jan 2007 11:26:46 -0500 (EST)N&From: me@porcupine.org (Wietse Venema)NTo: undisclosed-recipients:;p 0NNtextp 0XE -------------------------------------------------------------------------------- /postfix/src/global/dict_sqlite.h: -------------------------------------------------------------------------------- 1 | #ifndef _DICT_SQLITE_H_INCLUDED_ 2 | #define _DICT_SQLITE_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* dict_sqlite 3h 7 | /* SUMMARY 8 | /* dictionary manager interface to sqlite databases 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* 15 | * Utility library. 16 | */ 17 | #include 18 | 19 | /* 20 | * External interface. 21 | */ 22 | #define DICT_TYPE_SQLITE "sqlite" 23 | 24 | extern DICT *dict_sqlite_open(const char *, int, int); 25 | 26 | /* AUTHOR(S) 27 | /* Axel Steiner 28 | /* ast@treibsand.com 29 | /*--*/ 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /postfix/src/smtpd/smtpd_check_backup.in: -------------------------------------------------------------------------------- 1 | # 2 | # Initialize. 3 | # 4 | #! ../bin/postmap smtpd_check_access 5 | #msg_verbose 1 6 | smtpd_delay_reject 0 7 | mynetworks 127.0.0.0/8,168.100.3.0/28 8 | # 9 | # MX backup 10 | # 11 | mydestination wzv.porcupine.org,localhost.porcupine.org 12 | inet_interfaces 168.100.3.7,127.0.0.1 13 | recipient_restrictions permit_mx_backup,reject 14 | rcpt wietse@wzv.porcupine.org 15 | rcpt wietse@backup.porcupine.org 16 | rcpt wietse@porcupine.org 17 | permit_mx_backup_networks 168.100.3.5 18 | rcpt wietse@backup.porcupine.org 19 | permit_mx_backup_networks 168.100.3.4 20 | rcpt wietse@backup.porcupine.org 21 | -------------------------------------------------------------------------------- /postfix/src/util/dict_pcre_file.ref: -------------------------------------------------------------------------------- 1 | ./dict_open: warning: pcre map dict_pcre_file.map, line 3: open dict_pcre_file3: No such file or directory: skipping this rule 2 | ./dict_open: warning: pcre map dict_pcre_file.map, line 5: open dict_pcre_file3: No such file or directory: skipping this rule 3 | ./dict_open: warning: pcre map dict_pcre_file.map, line 6: empty pathname list: >>,<<': skipping this rule 4 | owner=untrusted (uid=USER) 5 | > get file1 6 | file1=dGhpcy1pcy1maWxlMQo= 7 | > get file2 8 | file2=dGhpcy1pcy1maWxlMgo= 9 | > get file3 10 | file3: not found 11 | > get files12 12 | files12=dGhpcy1pcy1maWxlMQoKdGhpcy1pcy1maWxlMgo= 13 | -------------------------------------------------------------------------------- /postfix/src/util/fullname.h: -------------------------------------------------------------------------------- 1 | #ifndef _FULLNAME_H_INCLUDED_ 2 | #define _FULLNAME_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* fullname 3h 7 | /* SUMMARY 8 | /* lookup personal name of invoking user 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* External interface. */ 15 | 16 | extern const char *fullname(void); 17 | 18 | /* LICENSE 19 | /* .ad 20 | /* .fi 21 | /* The Secure Mailer license must be distributed with this software. 22 | /* AUTHOR(S) 23 | /* Wietse Venema 24 | /* IBM T.J. Watson Research 25 | /* P.O. Box 704 26 | /* Yorktown Heights, NY 10598, USA 27 | /*--*/ 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /postfix/src/util/sane_strtol.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | /* NAME 3 | /* sane_strtol 3h 4 | /* SUMMARY 5 | /* strtol() with mandatory errno reset 6 | /* SYNOPSIS 7 | /* #include 8 | /* DESCRIPTION 9 | /* .nf 10 | 11 | /* 12 | * External API. 13 | */ 14 | extern long sane_strtol(const char *start, char **end, int); 15 | extern unsigned long sane_strtoul(const char *start, char **end, int); 16 | 17 | /* LICENSE 18 | /* .ad 19 | /* .fi 20 | /* The Secure Mailer license must be distributed with this software. 21 | /* AUTHOR(S) 22 | /* Wietse Venema 23 | /* Google, Inc. 24 | /* 111 8th Avenue 25 | /* New York, NY 10011, USA 26 | /*--*/ 27 | -------------------------------------------------------------------------------- /postfix/conf/dynamicmaps.cf: -------------------------------------------------------------------------------- 1 | # dict-type so-name (pathname) dict-function mkmap-function 2 | cdb ${LIB_PREFIX}cdb${LIB_SUFFIX} dict_cdb_open mkmap_cdb_open 3 | ldap ${LIB_PREFIX}ldap${LIB_SUFFIX} dict_ldap_open 4 | lmdb ${LIB_PREFIX}lmdb${LIB_SUFFIX} dict_lmdb_open mkmap_lmdb_open 5 | mongodb ${LIB_PREFIX}mongodb${LIB_SUFFIX} dict_mongodb_open 6 | mysql ${LIB_PREFIX}mysql${LIB_SUFFIX} dict_mysql_open 7 | pcre ${LIB_PREFIX}pcre${LIB_SUFFIX} dict_pcre_open 8 | pgsql ${LIB_PREFIX}pgsql${LIB_SUFFIX} dict_pgsql_open 9 | sdbm ${LIB_PREFIX}sdbm${LIB_SUFFIX} dict_sdbm_open mkmap_sdbm_open 10 | sqlite ${LIB_PREFIX}sqlite${LIB_SUFFIX} dict_sqlite_open 11 | -------------------------------------------------------------------------------- /postfix/src/global/mail_task.h: -------------------------------------------------------------------------------- 1 | #ifndef _MAIL_TASK_H_INCLUDED_ 2 | #define _MAIL_TASK_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* mail_task 3h 7 | /* SUMMARY 8 | /* canonicalize process name 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* External interface. */ 15 | 16 | extern const char *mail_task(const char *); 17 | 18 | /* LICENSE 19 | /* .ad 20 | /* .fi 21 | /* The Secure Mailer license must be distributed with this software. 22 | /* AUTHOR(S) 23 | /* Wietse Venema 24 | /* IBM T.J. Watson Research 25 | /* P.O. Box 704 26 | /* Yorktown Heights, NY 10598, USA 27 | /*--*/ 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /postfix/src/local/biff_notify.h: -------------------------------------------------------------------------------- 1 | #ifndef _BIFF_H_INCLUDED_ 2 | #define _BIFF_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* biff_notify 3h 7 | /* SUMMARY 8 | /* read logical line 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* 15 | * External interface. 16 | */ 17 | extern void biff_notify(const char *, ssize_t); 18 | 19 | /* LICENSE 20 | /* .ad 21 | /* .fi 22 | /* The Secure Mailer license must be distributed with this software. 23 | /* AUTHOR(S) 24 | /* Wietse Venema 25 | /* IBM T.J. Watson Research 26 | /* P.O. Box 704 27 | /* Yorktown Heights, NY 10598, USA 28 | /*--*/ 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /postfix/src/util/get_hostname.h: -------------------------------------------------------------------------------- 1 | #ifndef _GET_HOSTNAME_H_INCLUDED_ 2 | #define _GET_HOSTNAME_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* get_hostname 3h 7 | /* SUMMARY 8 | /* network name lookup 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* External interface */ 15 | 16 | extern const char *get_hostname(void); 17 | 18 | /* LICENSE 19 | /* .ad 20 | /* .fi 21 | /* The Secure Mailer license must be distributed with this software. 22 | /* AUTHOR(S) 23 | /* Wietse Venema 24 | /* IBM T.J. Watson Research 25 | /* P.O. Box 704 26 | /* Yorktown Heights, NY 10598, USA 27 | /*--*/ 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /postfix/src/util/safe.h: -------------------------------------------------------------------------------- 1 | #ifndef _SAFE_H_INCLUDED_ 2 | #define _SAFE_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* safe 3h 7 | /* SUMMARY 8 | /* miscellaneous taint checks 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* External interface. */ 15 | 16 | extern int unsafe(void); 17 | extern char *safe_getenv(const char *); 18 | 19 | /* LICENSE 20 | /* .ad 21 | /* .fi 22 | /* The Secure Mailer license must be distributed with this software. 23 | /* AUTHOR(S) 24 | /* Wietse Venema 25 | /* IBM T.J. Watson Research 26 | /* P.O. Box 704 27 | /* Yorktown Heights, NY 10598, USA 28 | /*--*/ 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /postfix/src/global/conv_time.h: -------------------------------------------------------------------------------- 1 | #ifndef _CONV_TIME_INCLUDED_ 2 | #define _CONV_TIME_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* conv_time 3h 7 | /* SUMMARY 8 | /* time value conversion 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* 15 | * External interface. 16 | */ 17 | extern int conv_time(const char *, int *, int); 18 | 19 | /* LICENSE 20 | /* .ad 21 | /* .fi 22 | /* The Secure Mailer license must be distributed with this software. 23 | /* AUTHOR(S) 24 | /* Wietse Venema 25 | /* IBM T.J. Watson Research 26 | /* P.O. Box 704 27 | /* Yorktown Heights, NY 10598, USA 28 | /*--*/ 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /postfix/src/util/make_dirs.h: -------------------------------------------------------------------------------- 1 | #ifndef MAKE_DIRS_H_INCLUDED_ 2 | #define MAKE_DIRS_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* make_dirs 3h 7 | /* SUMMARY 8 | /* create directory hierarchy 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* 15 | * External interface. 16 | */ 17 | extern int make_dirs(const char *, int); 18 | 19 | /* LICENSE 20 | /* .ad 21 | /* .fi 22 | /* The Secure Mailer license must be distributed with this software. 23 | /* AUTHOR(S) 24 | /* Wietse Venema 25 | /* IBM T.J. Watson Research 26 | /* P.O. Box 704 27 | /* Yorktown Heights, NY 10598, USA 28 | /*--*/ 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /postfix/src/bounce/msgfile-with-message-id: -------------------------------------------------------------------------------- 1 | C_ 292 311 1 0 292 0T1726092354 153639Acreate_time=1726092537Arewrite_context=localF Wietse VenemaSsender@sender.exampleA0dsn_orig_rcpt=rfc822;recipient@recipient.exampleOrecipient@recipient.exampleRrecipient@recipient.exampleMN:Received: by wzv.porcupine.org (Postfix, from userid 1000)N: id 4X3vqF3RdBz5Yqn; Wed, 11 Sep 2024 18:05:54 -0400 (EDT)NFrom: sender@sender.exampleNTo: recipient@recipient.exampleNSubject: existing-message-idNMessage-Id: N+Date: Wed, 11 Sep 2024 18:05:54 -0400 (EDT)NNasdasddXAmessage_id=E -------------------------------------------------------------------------------- /postfix/src/postconf/test67.ref: -------------------------------------------------------------------------------- 1 | smtp inet n - n - - smtpd 2 | -o test1_process_name=smtpd 3 | -o test1_service_name=smtp 4 | smtp unix n - n - - smtp 5 | -o test2_process_name=smtp 6 | -o test2_service_name=smtp 7 | ./postconf: warning: ./master.cf: unused parameter: test1_process_name=$process_name 8 | ./postconf: warning: ./master.cf: unused parameter: test1_service_name=$service_name 9 | ./postconf: warning: ./master.cf: unused parameter: test2_process_name=$process_name 10 | ./postconf: warning: ./master.cf: unused parameter: test2_service_name=$service_name 11 | -------------------------------------------------------------------------------- /postfix/src/postmap/file_test.ref: -------------------------------------------------------------------------------- 1 | postmap: warning: stdin, line 1: open postmap-file-3: No such file or directory: skipping this entry 2 | entry-4 postmap-entry-4 3 | file-1 dGhpcy1pcy1maWxlMQ== 4 | file-2 dGhpcy1pcy1maWxlMg== 5 | dGhpcy1pcy1maWxlMQ== 6 | dGhpcy1pcy1maWxlMg== 7 | postmap-entry-4 8 | postmap: warning: table hash:file_test_map.db: key entry-4: malformed BASE64 value: postmap-entry-4 9 | file-1 this-is-file1 10 | file-2 this-is-file2 11 | this-is-file1 12 | this-is-file2 13 | postmap: warning: table hash:file_test_map.db: key entry-4: malformed BASE64 value: postmap-entry-4 14 | postmap: fatal: table hash:file_test_map.db: query error 15 | -------------------------------------------------------------------------------- /postfix/src/util/exec_command.h: -------------------------------------------------------------------------------- 1 | #ifndef _EXEC_COMMAND_H_INCLUDED_ 2 | #define _EXEC_COMMAND_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* exec_command 3h 7 | /* SUMMARY 8 | /* execute command 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* 15 | * External interface. 16 | */ 17 | extern NORETURN exec_command(const char *); 18 | 19 | /* LICENSE 20 | /* .ad 21 | /* .fi 22 | /* The Secure Mailer license must be distributed with this software. 23 | /* AUTHOR(S) 24 | /* Wietse Venema 25 | /* IBM T.J. Watson Research 26 | /* P.O. Box 704 27 | /* Yorktown Heights, NY 10598, USA 28 | /*--*/ 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /postfix/src/util/killme_after.h: -------------------------------------------------------------------------------- 1 | #ifndef _KILLME_AFTER_H_INCLUDED_ 2 | #define _KILLME_AFTER_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* killme_after 3h 7 | /* SUMMARY 8 | /* programmed death 9 | /* SYNOPSIS 10 | /* #include "killme_after.h" 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* 15 | * External interface. 16 | */ 17 | extern void killme_after(unsigned int); 18 | 19 | /* LICENSE 20 | /* .ad 21 | /* .fi 22 | /* The Secure Mailer license must be distributed with this software. 23 | /* AUTHOR(S) 24 | /* Wietse Venema 25 | /* IBM T.J. Watson Research 26 | /* P.O. Box 704 27 | /* Yorktown Heights, NY 10598, USA 28 | /*--*/ 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /postfix/src/util/mac_midna.h: -------------------------------------------------------------------------------- 1 | #ifndef _MAC_MIDHA_H_INCLUDED_ 2 | #define _MAC_MIDHA_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* mac_midna 3h 7 | /* SUMMARY 8 | /* IDNA-based mac_expand() plugin 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* 15 | * Utility library. 16 | */ 17 | #include 18 | 19 | /* 20 | * External interface. 21 | */ 22 | extern void mac_midna_register(void); 23 | 24 | /* LICENSE 25 | /* .ad 26 | /* .fi 27 | /* The Secure Mailer license must be distributed with this software. 28 | /* AUTHOR(S) 29 | /* Wietse Venema 30 | /* porcupine.org 31 | /*--*/ 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file15: -------------------------------------------------------------------------------- 1 | CO 365 221 1 0 365T1244225194 25837Acreate_time=1244225194Arewrite_context=localF Wietse VenemaSwietse@ahost.example.comp 0p 0MN:Received: by ahost.example.com (Postfix, from userid 1001)N6 id 06F8B2510C2; Fri, 5 Jun 2009 14:06:34 -0400 (EDT)NTo: wietse@ahost.example.comN:Message-Id: <20090605180634.06F8B2510C2@ahost.example.com>N+Date: Fri, 5 Jun 2009 14:06:34 -0400 (EDT)N.From: wietse@ahost.example.com (Wietse Venema)p 0NNFri Jun 5 14:06:34 EDT 2009p 0Xp 0OwietseRwietse@ahost.example.comE -------------------------------------------------------------------------------- /postfix/src/dns/dnsbl_ttl_127.0.0.1_bind_plain.ref: -------------------------------------------------------------------------------- 1 | ./test_dns_lookup: lookup 1.0.0.127.zen.spamhaus.org type A flags RES_USE_DNSSEC 2 | ./test_dns_lookup: dns_query: 1.0.0.127.zen.spamhaus.org (A): Host not found 3 | ./test_dns_lookup: warning: Host or domain name not found. Name service error for name=1.0.0.127.zen.spamhaus.org type=A: Host not found (rcode=3) 4 | ./test_dns_lookup: lookup 1.0.0.127.bl.spamcop.net type A flags RES_USE_DNSSEC 5 | ./test_dns_lookup: dns_query: 1.0.0.127.bl.spamcop.net (A): Host not found 6 | ./test_dns_lookup: warning: Host or domain name not found. Name service error for name=1.0.0.127.bl.spamcop.net type=A: Host not found (rcode=3) 7 | -------------------------------------------------------------------------------- /postfix/src/util/mask_addr.h: -------------------------------------------------------------------------------- 1 | #ifndef _MASK_ADDR_H_INCLUDED_ 2 | #define _MASK_ADDR_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* mask_addr 3h 7 | /* SUMMARY 8 | /* address bit banging 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* 15 | * External interface. 16 | */ 17 | extern void mask_addr(unsigned char *, unsigned, unsigned); 18 | 19 | /* LICENSE 20 | /* .ad 21 | /* .fi 22 | /* The Secure Mailer license must be distributed with this software. 23 | /* AUTHOR(S) 24 | /* Wietse Venema 25 | /* IBM T.J. Watson Research 26 | /* P.O. Box 704 27 | /* Yorktown Heights, NY 10598, USA 28 | /*--*/ 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /postfix/src/util/open_as.h: -------------------------------------------------------------------------------- 1 | #ifndef _OPEN_H_INCLUDED_ 2 | #define _OPEN_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* open_as 3h 7 | /* SUMMARY 8 | /* open file as user 9 | /* SYNOPSIS 10 | /* #include 11 | /* #include 12 | /* DESCRIPTION 13 | /* .nf 14 | 15 | /* External interface. */ 16 | 17 | extern int open_as(const char *, int, int, uid_t, gid_t); 18 | 19 | /* LICENSE 20 | /* .ad 21 | /* .fi 22 | /* The Secure Mailer license must be distributed with this software. 23 | /* AUTHOR(S) 24 | /* Wietse Venema 25 | /* IBM T.J. Watson Research 26 | /* P.O. Box 704 27 | /* Yorktown Heights, NY 10598, USA 28 | /*--*/ 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /postfix/src/util/sane_accept.h: -------------------------------------------------------------------------------- 1 | #ifndef _SANE_ACCEPT_H_ 2 | #define _SANE_ACCEPT_H_ 3 | 4 | /*++ 5 | /* NAME 6 | /* sane_accept 3h 7 | /* SUMMARY 8 | /* sanitize accept() error returns 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* External interface. */ 15 | 16 | extern int sane_accept(int, struct sockaddr *, SOCKADDR_SIZE *); 17 | 18 | /* LICENSE 19 | /* .ad 20 | /* .fi 21 | /* The Secure Mailer license must be distributed with this software. 22 | /* AUTHOR(S) 23 | /* Wietse Venema 24 | /* IBM T.J. Watson Research 25 | /* P.O. Box 704 26 | /* Yorktown Heights, NY 10598, USA 27 | /*--*/ 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /postfix/src/util/sane_connect.h: -------------------------------------------------------------------------------- 1 | #ifndef _SANE_CONNECT_H_ 2 | #define _SANE_CONNECT_H_ 3 | 4 | /*++ 5 | /* NAME 6 | /* sane_connect 3h 7 | /* SUMMARY 8 | /* sanitize connect() results 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* External interface. */ 15 | 16 | extern int sane_connect(int, struct sockaddr *, SOCKADDR_SIZE); 17 | 18 | /* LICENSE 19 | /* .ad 20 | /* .fi 21 | /* The Secure Mailer license must be distributed with this software. 22 | /* AUTHOR(S) 23 | /* Wietse Venema 24 | /* IBM T.J. Watson Research 25 | /* P.O. Box 704 26 | /* Yorktown Heights, NY 10598, USA 27 | /*--*/ 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /postfix/src/util/set_ugid.h: -------------------------------------------------------------------------------- 1 | #ifndef _SET_UGID_H_INCLUDED_ 2 | #define _SET_UGID_H_INCLUDED_ 3 | 4 | /*++ 5 | /* NAME 6 | /* set_ugid 3h 7 | /* SUMMARY 8 | /* set real, effective and saved user and group attributes 9 | /* SYNOPSIS 10 | /* #include 11 | /* DESCRIPTION 12 | /* .nf 13 | 14 | /* External interface. */ 15 | 16 | extern void set_ugid(uid_t, gid_t); 17 | 18 | /* LICENSE 19 | /* .ad 20 | /* .fi 21 | /* The Secure Mailer license must be distributed with this software. 22 | /* AUTHOR(S) 23 | /* Wietse Venema 24 | /* IBM T.J. Watson Research 25 | /* P.O. Box 704 26 | /* Yorktown Heights, NY 10598, USA 27 | /*--*/ 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /postfix/mantools/specmiss: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | # Get all the postconf parameter names from the postconf.proto file. 4 | 5 | die "Usage: $0 protofile [filename...]\n" 6 | unless $protofile = shift(@ARGV); 7 | 8 | # Read the whole file even if we want to print only one parameter. 9 | 10 | open(POSTCONF, $protofile) || die " cannot open $protofile: $!\n"; 11 | 12 | while() { 13 | if (/^%(PARAM)\s+(\S+)/) { 14 | $found{$2} = 1; 15 | } 16 | } 17 | 18 | while (<>) { 19 | if (/^%(PARAM)\s+(\S+)/) { 20 | delete $found{$2}; 21 | } 22 | } 23 | 24 | for $name (sort keys %found) { 25 | print $name,"\n"; 26 | } 27 | 28 | -------------------------------------------------------------------------------- /postfix/src/cleanup/test-queue-file14: -------------------------------------------------------------------------------- 1 | CO 365 256 1 0 365T1244225119 886418Acreate_time=1244225119Arewrite_context=localF Wietse VenemaSwietse@ahost.example.comp 0OwietseRwietse@ahost.example.comp 0MN:Received: by ahost.example.com (Postfix, from userid 1001)N6 id DA4892510C1; Fri, 5 Jun 2009 14:05:19 -0400 (EDT)NTo: wietse@ahost.example.comN:Message-Id: <20090605180519.DA4892510C1@ahost.example.com>N+Date: Fri, 5 Jun 2009 14:05:19 -0400 (EDT)N.From: wietse@ahost.example.com (Wietse Venema)p 0NNFri Jun 5 14:05:19 EDT 2009p 0Xp 0E --------------------------------------------------------------------------------