{ "name": "postfix", "version": "3.11.7", "summary": "Postfix mail server (SMTP, submission, SMTPS; TLS, Dovecot SASL, lmdb/sqlite/pcre tables)", "category": "server", "license": "IPL-1.0 OR EPL-2.0", "homepage": "https://www.postfix.org/", "source": { "url": "https://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/postfix-3.11.7.tar.gz", "sha256": "a2f3242345753448072177fae83c322a403c9263696996406201145dab8e8625" }, "watch": {"kind": "index", "url": "https://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/", "regex": "postfix-([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)\\.tar\\.gz"}, "deps": [ "openssl", "pcre2", "sqlite", "lmdb" ], "env_packages": [], "static": false, "nss": true, "check": "t=$(mktemp -d) && printf 'mail_owner = daemon\\nsetgid_group = mail\\ncompatibility_level = 3.11\\n' > \"$t/main.cf\" && : > \"$t/master.cf\" && sbin/postconf -c \"$t\" -d mail_version | first && sbin/postconf -c \"$t\" -m > \"$t/m\" && has -x lmdb < \"$t/m\" && has -x sqlite < \"$t/m\" && has -x pcre < \"$t/m\" && sbin/postconf -c \"$t\" -a | has -x dovecot && printf 'bvs@example.org ok\\n' > \"$t/map\" && sbin/postmap -c \"$t\" \"lmdb:$t/map\" && sbin/postmap -c \"$t\" -q bvs@example.org \"lmdb:$t/map\" | has -x ok && printf '/^bvs@/ pcre-ok\\n' > \"$t/re\" && sbin/postmap -c \"$t\" -q bvs@example.org \"pcre:$t/re\" | has -x pcre-ok && bin/sqlite3 \"$t/db\" \"CREATE TABLE a(k, v); INSERT INTO a VALUES ('bvs@example.org', 'sql-ok');\" && printf 'dbpath = %s/db\\nquery = SELECT v FROM a WHERE k = \\x27%%s\\x27\\n' \"$t\" > \"$t/sq.cf\" && sbin/postmap -c \"$t\" -q bvs@example.org \"sqlite:$t/sq.cf\" | has -x sql-ok" }