diff options
author | 2014-12-21 12:46:06 +0000 | |
---|---|---|
committer | 2014-12-21 12:46:06 +0000 | |
commit | 8054096ff41143332f4f1aa63c4d954639fb0826 (patch) | |
tree | 141c6911049bc4dbb49af0daf13980e321d30dfe /mail-mta | |
parent | Version bump for Gnome 3.14. Clean up old revision. (diff) | |
download | historical-8054096ff41143332f4f1aa63c4d954639fb0826.tar.gz historical-8054096ff41143332f4f1aa63c4d954639fb0826.tar.bz2 historical-8054096ff41143332f4f1aa63c4d954639fb0826.zip |
Remove 1.05* due to serious QA violations, bug #533182.
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'mail-mta')
32 files changed, 33 insertions, 1636 deletions
diff --git a/mail-mta/netqmail/ChangeLog b/mail-mta/netqmail/ChangeLog index 9723be4fb444..3e78fd0b62f9 100644 --- a/mail-mta/netqmail/ChangeLog +++ b/mail-mta/netqmail/ChangeLog @@ -1,6 +1,19 @@ # ChangeLog for mail-mta/netqmail -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/ChangeLog,v 1.75 2013/06/09 16:01:23 ago Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/ChangeLog,v 1.76 2014/12/21 12:46:03 mgorny Exp $ + + 21 Dec 2014; Michał Górny <mgorny@gentoo.org> -files/99qmail, + -files/conf-common, -files/conf-pop3d, -files/conf-qmqpd, -files/conf-qmtpd, + -files/conf-send, -files/conf-smtpd, -files/dot-qmail, -files/mailer.conf, + -files/mkservercert, -files/qmail-config-system, -files/qmail-genrsacert.sh, + -files/run-qmail-pop3d, -files/run-qmail-pop3d-log, -files/run-qmail-qmqpd, + -files/run-qmail-qmqpd-log, -files/run-qmail-qmtpd, + -files/run-qmail-qmtpd-log, -files/run-qmail-send, -files/run-qmail-send-log, + -files/run-qmail-smtpd, -files/run-qmail-smtpd-log, -files/servercert.cnf, + -files/tcp.pop3.sample, -files/tcp.qmqp.sample, -files/tcp.qmtp.sample, + -files/tcp.smtp.sample, -files/tcprules.d-Makefile.qmail, + -netqmail-1.05-r4.ebuild, -netqmail-1.05-r8.ebuild: + Remove 1.05* due to serious QA violations, bug #533182. 09 Jun 2013; Agostino Sarubbo <ago@gentoo.org> netqmail-1.06-r2.ebuild: Stable for sh, wrt bug #372967 diff --git a/mail-mta/netqmail/Manifest b/mail-mta/netqmail/Manifest index e9e721f92079..77085ef0a1e1 100644 --- a/mail-mta/netqmail/Manifest +++ b/mail-mta/netqmail/Manifest @@ -1,68 +1,38 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX 1.06-exit.patch 551 SHA256 400ab4719d145e29b08d266b38766b80d894d5473e4c4f3b5e436916a36a4333 SHA512 9623d4c045d1399ca035ad49f82e50a344529edffaf7c0e2f1015fe0958dfaf8814462a70b944403203d84b86852e8a01f6a3c4688228b45443258dc908e9236 WHIRLPOOL 9e7df2a478efe792fb6b392429ce32e2920baeaa4a7082493a7ddb208927d344185ddab245e2b92ec05c5471c08c18d4b75f04f093849c2305d140f8cde13a83 AUX 1.06-fbsd-utmpx.patch 1903 SHA256 dc21eb0ce3f199e346e50a51324120310a88a2f00f7e2c6d06b1b09e3c06a373 SHA512 b6e8ff4f6f582e0d6d69072547a68a3741345d08041e29285a3bf39c016b2b15231d5b0370123a95b35473d67f1780b69d19b61ddfbddae5f463709575344481 WHIRLPOOL c78df462488090e2656aa7a5a5918fbf8bf594eaced99fb6c51c5ccaffa8fa295563abee3e9ca56e7f9cce45686e3c304f9be27be4c33b446d159994a985ab50 AUX 1.06-readwrite.patch 237 SHA256 71b60967ca83d9c8ac0ae041298ade87174930472f4eb2628a26e30665aafd35 SHA512 4cfb7991f2b30740d007a655743e77f5271ebefb4ed31ceb44d10ee53168eec713bbe64ff3616c372851c5fe1f04e57601dc83a27f1ce9cccdd0e2fbc942b550 WHIRLPOOL 34768aaa96a56b324755187b8edc64cbd84afa3562bd7f01cf136c4c8fd91999e351221d7bb5379977887c6128efeec581b20b34f7a8e597971c25e5e1cb84d9 -AUX 99qmail 137 SHA256 b721c405ab3a13803c4647b98a3c0ffbdfb450e4a0f9e5476c1633470b0d6e50 SHA512 8b97ad912f350b7c3673b3cf3837fe9bbfbcd4bd31b67bf016a29ceb7efff6472c9edc7416edd3cc80a851aba6e894731e09d542224e14198fd3f6b320242290 WHIRLPOOL c9a718b7987d586b09859f9233fc4e5b32931e8a00b9fc9090caef804598ac423ca68336a7f14faf48f73e2a24dab15a973676fc01e837894e3c6dc9dcfc45c6 -AUX conf-common 2428 SHA256 1b04a7e6de7298bd469f19a08b2a03e3efa6f61e51ac0ee3e807bd7fa26a2925 SHA512 614214d4d0cb103acb826fe3bc2bf8d781be9f91448692e5ed868c55398e10b4fda1e71cb59585856dedbe7356aee31c50e258521a4bd16da8722964be2acd12 WHIRLPOOL 6c51e9ae45c6456e46c9fb4a8dd71482b64a051758cf17e528bdde97e4de6db82144ad5ea202c16cffadac4d06a265a58cc71f31ccd21f9325444153eeef080f -AUX conf-pop3d 1205 SHA256 92100277f9858cd65711fcae9662ef72d40a769b84f2ed9814e2062102836d76 SHA512 94f894b269db00f4bde1993b9718f3c1f9bfb92692feacc203d753b1d0ab5f06a08558cdf4a5b528fdf8dd894e79a67e34bbd3b2537dbf604a646a85d01e05dd WHIRLPOOL c3496bd451a2fd945c0c05552883d15b56dbe91df57e1b395bffb57c019877aeefbd240420d9506ee4232f1846cea0f4d58853abc7be2f9833d43e60e07c32f4 -AUX conf-qmqpd 371 SHA256 f9f82206bd26b3999fcadf87324e2a9e449000ba5df47876c8c5892b7cc2914e SHA512 24381dc0bef64937735ba041d4c10313c771f69599af7e4d2ff36e6431157f36e2774f95f19eb718c97cb0448078bf7a9f63a13516b316244e114cdc086f0513 WHIRLPOOL 785277668bd6ab867327a56b84588d9d0456c04ebc824f02f36046f75a731b9df1176b68d3295545e207398e7e3b265e726f93dc5132e26e695e89c1c5f7e2ea -AUX conf-qmtpd 463 SHA256 7d9b855f5922c38616f75b17903bda9c1d03b82f0860b9db95a4044b660ec59f SHA512 056e1fbebaa93d40068543fc5fc280b36cb5ca90c0b33514fe96b6f0e9265b4eb05e7a8b354f2c29a0bc434e2b58612a7c1b9ba2a91d10caadfe94bd28a8ace1 WHIRLPOOL d43c50ad863950d1127244ddf61ef81c3f4985ea65d0ac07f665e759e950f3e9360fe2b5f2d5d7eb44fa940d2bf6d83cf5f9c473b2d00bb12bbc193b0e284cc2 -AUX conf-send 233 SHA256 c4fcf9e1d82a2bcc95e943aa5f81c91cc14813c1bd9a55aec62b9e2506c50af6 SHA512 1d322a1c4ad44cadf2bf058a3623daf9d252fec4e4b93c6a37f58c75455ed7a85142ac888a52eb2db2b6f6d8f5f2b706b4b796b155d616d0ec03ac731dd4fc11 WHIRLPOOL b1585babb1e4d8272cc5d7358e5b2e9094ff92e473cf716ee4506d9dd038b4dbaed83b40b8936ccdca09743f265bc0de9496845ff8acc54343b9f2823f8decfb -AUX conf-smtpd 1977 SHA256 035f6a7c32ecb20ef5dc89c2b1addbc0e34ba82ae884883abd29235cb31d61e1 SHA512 2fad782699f4d0e54a30f3a9f396fbe432a0de5976711732dc99c844d6cdb970cf9bed9b6854c54fe6af50e4676622a1a894f70792137dd9c69cfecdeb62ccba WHIRLPOOL dc81acbc6a91f3639dc6ccde911f7a9e5ce22d00ba4d93e4ac6817a0799d116e0d6694c49715a4bd4c1fab68ccc251113f7e96d455a34779370933985f486d32 -AUX dot-qmail 82 SHA256 ceed2e098092a550d66778241149439871f5518ff2c71dc53ce05308b1a63a06 SHA512 ae2596407f1aff6b428e44032700b2da50b4e76cd015de8453e469a2ef17212865449474595fb78440089ec85b13281c9f0fab66598ca0fab1c27f99afb53c59 WHIRLPOOL 4d2ccdf2468a97888850157bb2bc1e7358bf308590e1a4eb1df69ba5478b0909cf313e4af10710c05a5bf6711694ae9bfafa1663cfe748d4502ca7f57beba355 AUX genqmail-20080406-ldflags.patch 456 SHA256 595d1aa847ff678754245c292f64b87305f16a175ef1ec030d479c7fb5adcba8 SHA512 2e0061f135bafb6eba363c165e3282992d326a581adbeac5d790fb665b251ed2a2b5febed4987bafd39b33fe8275cc81a3523eb77418543c2bc7923647df1dd5 WHIRLPOOL 00ff535ef475f2d0ab894bce40d4cdfe20b32edb64227abac69a1827ec208c0018262c11b9fe00cb454920bda902e5dcce067e53cf8fa43ac7e2a6b75d1d67db -AUX mailer.conf 179 SHA256 7f248612dc9bb4ca3f901d6a50b4ffb452deb1eb543da33bca89ed776c95cf23 SHA512 7f7354240d97e20676277796f68f954ab511e019b2be7d42476d82d10dc829b7cf4fbbb03b675e6a4d89734989e826635214285472e344ffd0275a994d0d7fe0 WHIRLPOOL dfa0bd8199b4cfc793414fbc919433e10a497f2275e871fc06ca71db8dffdd98b283c807a18b737b1117ce239aea9642fe24244266c6727ec881727dc9fb36f8 -AUX mkservercert 1444 SHA256 17d5f1f6122b9ef2b31af1b5d2c259601168cd1b09b75645dca634486f799d04 SHA512 d7d20d753a4a45fdc2e63b59ae8a9004642f3b131b0722a8cf9d58ed4f71000e5fd4d53d5954031ee0d8cccd2e7be57d96b59004369db7ce535e69d8c28d34ad WHIRLPOOL c73f95760376735c1db61cbd0868160de56470caa028ec4aa4d5037be1080e61bcb7b9142c8a71f6ea2937af820f3eec5650b07d1c270230084122eb295e3ae5 -AUX qmail-config-system 2085 SHA256 d77a3b498ac2fd88f839edf7b725208446dafa54a396113ffdfbd77d9e34ac38 SHA512 dc892a858aa9c8f63b15ee23c6eef503520031c00bcfd13de1f5551c14509238b9cef57645617f33ecbe70ed0d70c0bc1b76e23f764ff7d11de84a01766f604e WHIRLPOOL f5d25df8e643ff37c1114b4470e40d3f5ea9eddd4608f5a4c982de714601447923ae2927f785ff252bab0817bfe207c6126294bd7ca2c0502bb05c5f9ef74a7f -AUX qmail-genrsacert.sh 1483 SHA256 8887a6ad9f288ffe3240a50bb6fc4d188799afd15d28ce5018d0f9e2a346a748 SHA512 a6e0e5212ece6dd795f58ad8839fc5ae8a0affddbf777ae996198c6733a8d458fd0acb0581e29a9272ecaa20e11f9cfa072c51af27733e7d874b9181cf77798b WHIRLPOOL 49a5e89bc265f47d4c3a96005a7e8b3ad66489a323201953e2f301bb92a4591d7ed73fe62f1ed99293bf92a274e4dce57304dc551746d32b343a5285a2b1174e -AUX run-qmail-pop3d 909 SHA256 1362b1c5e1125b70841992728eacc8fe14dc0e29c9198967c6c9a970ff0c1b27 SHA512 978d2d2d416b0fa10a50284cfdace3fb1387e081cef4f6a7a0e3162d905e836d0fa402317377f5e97c87a3d5feb172771af7e02460bfe264402eb299c378780f WHIRLPOOL b13121e7af5c605d09233d1bde9cef54b1864c08b8af00b197a3315e71cf91f354e24d305aebefa9264d6e6c3dc830930d0b539520ae903d61608cdbde48c6b0 -AUX run-qmail-pop3d-log 322 SHA256 894ccd51aedffd6ac9dfc1dfd1d1d23ea23793557aa16313cb241fc2c3394ad9 SHA512 50295e3cc049822ec9a2218348d22ebbb9b3e54482b10017f49129c0b8e3af31cc2532986a6f65707b0d91d19d8ec84f83509580ee295a873fa6c7d55a84448c WHIRLPOOL 59de802e631a880312ec09ca1b6e2f55a8969663463fe81fd278d1dd7ebe56546bbfa8dad733e93323f989d367a76b599352370d99956d93527d4a5f1f177ae7 -AUX run-qmail-qmqpd 839 SHA256 d368c3f6ff85f41b537da19fbc4d0a5889f497c3e7f31687ee710406d8f235de SHA512 4951ec29b2baec9567f7e69c72ab9134c7e96d6fd7d8b66443f78063cb2088eda84fc0437ac09ace3c5339fa77ddf3804fd8ce4c560972c209839ba990e84f1e WHIRLPOOL 874f62861ef2b92d4808e108df8002d70d5dd95e1b8d00402aa04cf1c88c89a0bb7eed28b121d636ac25a67cbf7d7925011e1434588006b99c3e4a5cfed6eb15 -AUX run-qmail-qmqpd-log 322 SHA256 f13b40db98ef633bf9f1d6796f47826744c62ead62ead3d31eeb31f7a22e4d5e SHA512 3df96a441e58d9a7cbd230254db2c6d6c026624e6c9a727182ccc15ae49c3ae2d4ffe99e176b60d0ce362c1e973cd943182b8fed4fee10c093abc505c32e80d1 WHIRLPOOL 3588ea70c0602d71291f73191c4e662c126029f35c043c07c6d7e5444183c3b900b18503c7670c8b3d9ded7769be282c5a5320e9f43cb150a26de3f467e115c8 -AUX run-qmail-qmtpd 839 SHA256 8fc04dfe3e5e1ffb1beef4790d087222f84404a29dcf4e3203707bd764e386cd SHA512 49ed03ae1329c854b569b8a12b035d802dd4a02ffd366de6b759abdfc23ff9ab5d92240fd8dfd80e4634f6acf05f23dd2b9743bf1b1a0721b5065534d0941cf4 WHIRLPOOL b700d1696f777e47d225143f2d378e83f59819bc9f23796d5d4b90871fe0f3add6ac4234dc921937fca14e4266745e729355deb10f5b6d064265b16726f1968a -AUX run-qmail-qmtpd-log 322 SHA256 b98e8e112823458eb006bfb9543ea884410e27a97be0a240ad110ab1d4d72e52 SHA512 300590d78c14fa05c270ddaffcb77a6f2d4cb8aa90c237aa9d37610b4dec98e0e359de3c178a3262d5cb2e443398824dd7158bc195e089fb7920265964445f08 WHIRLPOOL edb10526fb00cd312f20d25343a403899f0121444f3ad8d4eca5b7c005605f588eb5b1331262b390cbcc8008c9ba05c31f8d9eaa83069f995b22c8007e94b0af -AUX run-qmail-send 267 SHA256 03c1cadb582d9810064a848424caf9fd35590260ca517dc1447d3722174aca07 SHA512 7acf1f2899f7d01f39d834619d724091e23ec88a3d885e74e702cea46663b36eb8cdd5b596f61c4bafdc5037784c89391dba0903743c935296e508c22249cade WHIRLPOOL 442afce1dfa9243215209b39234ce2a42809a2ad44efde6e6dec330a6451ffef923f7253454c799fab5714c02a34b40f1676f351ddc834d7ebb2a5a48319b7e8 -AUX run-qmail-send-log 321 SHA256 3977df622fae12b1f4f0fbd9695ccfdfc0063882d6d76fb2b2678351c60713ab SHA512 293548bdefda439d49adc1a3b7aa69a249419e6933971d3b876f3643a90340660c8c4217b50828c9f825e61beae72e8c218990ca25df571cd68bb1e6530cd988 WHIRLPOOL 7fd555a6ead8af79a12d787a46a8ffd5705f07fe25bd2b50ed2d3eea6d1583270e056d44e49a6e01db68a94474e85fbb52366927c4fb54f957c0e508b8669a64 -AUX run-qmail-smtpd 839 SHA256 fda1d42ad010acb316694ce6827286b3daf7bac248ced93847e97cece8ffb12f SHA512 0194f54fb5b840b471e9492b95a4863ee276066cac45638fd562deec672e603a66ac1903fe34cea13d1733dee5a64af8385880fb984624c96468c6b5e1469baf WHIRLPOOL cb4b3c00fd20171e9f31f99b673167e924a5b524ab63d6754372b7ae311a62bf13a6b5563794902636fca1a0e3a5d45f07e892ce8040a1a9640367a7976866f1 -AUX run-qmail-smtpd-log 322 SHA256 c213418ca663ef28260e982f4250d0906ac3ca7991e8380b46b96ff48277cb8c SHA512 8debdd5a03568b6ba02e5168712b5c47f949041115a507d26a73d1064f2a24d3974fabc9d620a8750923776e98b3c06d8afb172a68fed570d92d6beb70dd2084 WHIRLPOOL c78d7d5a83e695d256015c1f21ac59a5df3488b168ddf98003dc49a0312dd265ae7b0edc4fab5705590648e6919f07524f91981c920bfd47002ff38fd96a0e24 -AUX servercert.cnf 1008 SHA256 97c6b50d0cf31074e11d24aadb8aa3cc29c3f49bfbe62bb810b27d5ac19a9a2c SHA512 aec9f3ef1e91924f32e38409106cfa7631b5ec5668019abff1bbeddf4c8da45e05330f5757e2666b77f49e5bd13d1d28f66404d7b3d5a4130f0bd6494eed7889 WHIRLPOOL fca55b36713dd2ac22328aadfb3ffc934de5a00946ddc649ef67eb7a71dd1689701a9893bac6cccabbeaa3dd3cb56a3403b5301bde3638bcd913b325846d7808 -AUX tcp.pop3.sample 517 SHA256 3f04ad47c10e7466ea9bd18b38bd809066734fb9616858bf75bb95e18e28253c SHA512 c10fb79fbd093ff16f8373a2b193bc9aaa64726baff96cf6ee7bfe7d903b1d3c9c21b038bc2ed079495d1527bc8585aa6a392a3b7f9c0dcaf7f0df3694ac8eff WHIRLPOOL 653512741cd3b81ccc941ca109e96b6ce6182b11dcdc41774c880b2ad79c7cfd9404e1eec00623677632bc05c8107a5cea3cc0db8d7cc93f07d0e6bf5052b934 -AUX tcp.qmqp.sample 571 SHA256 17dc778b0ad88b42f3f15f2bc94d3448b65bd5f436c5f21a92d0012be827cecc SHA512 d3210ed3e1859ceeba6f2ab05d08edce90029fb3f8e288d61a5cb753e335bc004b93738fd6ee63de3700412a3ad9dd6a5da3454292cf0310620d8cf6629849d9 WHIRLPOOL c78905b4e07ca9111b6d8125f1bb1d30af55acd9de8046d39f84e1a0127b48ef50b736cf9a36b8159d6d99817761a25f4566c6ab83197dc46fc5145efb686e6c -AUX tcp.qmtp.sample 994 SHA256 d5c63cdb489a4675c58d13cd3dd977b874bffcada17861eae149960cb394932c SHA512 076cec99c66296e9ba64ae4133dd90bdcf385e8b2f13b7d450f3b5ba219e6d2b399f82fb5ac6a19cd776f053e2f2f1d1c623fa1d48411c10b935dc35c09c507d WHIRLPOOL 11de73c24e0d1c72e0bededb1c01707d93cc2608233c5b32a4e9d8dac9686e3904ffb197088563935216d6448223769612d59b1195dc7d7b865d013934445392 -AUX tcp.smtp.sample 3582 SHA256 93a85748d29a997a208c557d059682cfac74bc532cd5efc561afdc02b2925d10 SHA512 f2b251106a0690a4cb2f66284ca65cbd958c8b4ad1c369f6725aa7fec5322b7876b691319e37fd2ee0977cd2100a914cc516ee686b41d8dfe566adf68aa0f259 WHIRLPOOL 1e71c66ff526b7f1bcdc822dab13fc6ce50b2b043ab16f9f0367291ba0043691e9187c6f280127d523765a42cbffb157c62d897a162633f2d3bfea1da9bc7120 -AUX tcprules.d-Makefile.qmail 132 SHA256 505e202a5a28a036669e51d3fb51d3c02a3a35d76764c5e3f4fa0c43564a89d6 SHA512 f8f11edba3d12c32f4ccb29120aa4d79d738b88e86a89c59e1f5c5fc7568c7d42e98715817d60738666db7b8c20a83b4f4dd8a4af57a7b0d9d0232c2d41554b9 WHIRLPOOL 05a429373dd58d4361d44ad188869260cda5f7a40abf7e980b266d97b67264f1aeae7899251f3949b88f3fdf3b3c394c3652d0b97fb9ed4cd70804fd71fc74ea DIST big-todo.103.patch 5546 SHA256 afa0a249e3271badd442f0bdae39997d9fe536157d8a0d62b6706f3dfcd11a72 SHA512 fe6e19a94fb7dbe51f7164e38a91d8edb636251569d44ace1e146fe5f607b240edafb2884daaac481ff3219142ab553cfd5b01786e0dfc4662ef07336b789975 WHIRLPOOL ac9c2ce18e8c3bda85287c998661f2192c986daaad197bd358e1966cb97b4dbe0146bc0e334a251fc0ec3e42a7caa3f9a479a8c2c8e7777c790cb8af078d5d13 DIST genqmail-20080406.tar.bz2 10252 SHA256 501ca2120c7619569bd9ac3e0035cb0022bfd0cdc9c720b5c43c9e3a4eb07ce8 SHA512 744d0968307bfedebf0ca7bc0d5bd0780884326acaf5fea0a66fb91f8b0caf5ba52eb443c9cb2a7d6389622ca5c87100c3204ec3408aed8ef5fb1e7f80ff0d35 WHIRLPOOL b385cd2d5e88795f163a4f49dc81a2080d7076ec2016ee7d8154df4488effa7112caf0577c8dc8ff654665213aa4120a21de8223f3dd51056fa189546ace3cf5 -DIST netqmail-1.05-tls-smtpauth-20060105.patch 147837 SHA256 326af9647e752e158f7672ca3fb592fe23c5f44502ddfcd6b5b6bc6c7ecf4c27 SHA512 b0cfd4573d1a104ba86c6546aca59c4f081e281cae89311a77a4c4d193a5f003fb4fcf4d45dbc8412a7639f8329bd78489a650146d8103b7ffbfd4976342665d WHIRLPOOL 21a06625a8860ba5ba0c4a8cd82c77ba630e9d70ba80b7891d075794fd66d6b07ca77f9a40c5534b8c468d0f07db02fc71b782ca2b7d135188aa87f4d6aadaff DIST netqmail-1.05-tls-smtpauth-20070417.patch 67942 SHA256 573de07d57ac6941a42dda645079213cf36fcbb7f3a8c254b8447709e5e5cd60 SHA512 ce5fb50ae9a7683b708eeb65c68a0db47c5817eb3fc14457c4f7c5746916ca2734c647a2369bf6f1240477ee818e3e7d7870aec3edbad2eaace179cba6267e41 WHIRLPOOL a5bf8ecfcd6f0b76d9c10a318d93aecbf7778e59a1a88432f38e051859fc926a7e2a688d55e8326d6c58c1690f453025eeb1dd64b9b603f37b132c18d22fbcd8 -DIST netqmail-1.05.tar.gz 252264 SHA256 59788abf252e2da224542c1c8b727311335c61d990f24f4edf28f6eb5483f676 SHA512 9504e3ff98e5c9278000cd9dd12eecfa504a7604641ff5b2ed735d6bfacfbd0ae69a4b9c7287217320f15fd51e4e94fe6d85c927b9c7dc07f62fe7cccb7d7070 WHIRLPOOL 3af5e033eafd18b9911312ee37b95295878aecd35d98b2b4498d7060053ca9c0ff824eaef4194320b6e117ffaea146f29983e83a9c2a4d484acae5475ffe107b DIST netqmail-1.06.tar.gz 260941 SHA256 8e7d98d15211fc9f9c28109e942e2268f42a6672d68df92a42f2afa90ff00532 SHA512 de40a6d8fac502bd785010434d99b99f2c0524e10aea3d0f2a0d35c70fce91e991eb1fb8f20a1276eb56d7e73130ea5e2c178f6075d138af47b28d9ca6e6046b WHIRLPOOL 167bd5c290f13bf7d39daae0a6245afa1bcf760b01fd7ffcc88676f02a9ed1013c545c9f87c4d6e05ee7b073c838ee1613f97cb75ae3eab65106e32040d74712 DIST qmail-103.patch 2104 SHA256 4cad53c7a6628a600c74c36bfee327db5052ca24c222d4013e4dfcd7f427653d SHA512 b81062bb0b0023f474c0b6af40601926e1c04ad395de480d114809e48a8060c06d99bdbdeb6f44d9e24ae1acedabb094b979193d305371aed958f18fc6eee354 WHIRLPOOL 5785684b98b9d9732ed14aa1b53910746bd09aa93514e0e6ef3d74831c3df8ed0a55f257057488f34a3d462e485b7a4417ed255f66abaff6dd63d881b9230063 DIST qmail-spp-0.42.tar.gz 18689 SHA256 1518e7e82d10fbbb8ecc520f51daf503edeb9c3a9fb935be65a8185e7b53808d SHA512 03449862886a0ca20fbadab4c94b34b55d185f8df3261bd68aea99e9ded9edfab4477c6b38a8e0295e9b38b0045615da8b1a906a458f28745eadd3c4d882bcbf WHIRLPOOL 2f8525bb264fbec4b057bad6d92968e29085fdf10b8538b8e572d81ea8793e74c07c6093d0cc2a34de00b629e797b048007b30e3845dce76829037fdb44f527c DIST vu555316.patch 617 SHA256 cc7b2876ecb183fe55c280404c1c825a6bd1f6ccc87db67e7cfc8bc6336f9b0f SHA512 5d7810360e5eaa8e8ee141fe92c765d9458aa12198a8d0ac702e0630e08d060ad4a1d33690d434f20f5aff79eb200cd8173bebc334c411e340c0198b5d8d1a65 WHIRLPOOL 2564d5622576b89918e247de5dd830011e8ef18a50fd03e6f48e98ebf4a53db2f4994eb0fb22a76c4cd0cbb35b457ac2a5507e05159130a72685866137c5ebc1 -EBUILD netqmail-1.05-r4.ebuild 12979 SHA256 d16ad423a4cf1225e2bfe59afa24b93505aa20d6af455de64cdd5940a24267ab SHA512 3961a71917af9cfb5ba4dbcd958fd307a77f515e9fa8ff5b35a34b4cf6420b456df09913fbcc017dd9ed18ff1138d9e3d3365c9b7b23ca97f35faa1c6d0a65c1 WHIRLPOOL 907d36aafcc5eb27a5bab883c265ee87e6a387eb92d92683b5f7530ca6030eedc81e5d4fe55d1d87f85008c25c81f813a22d1b9b91426ef9c8608ff1bdf1931f -EBUILD netqmail-1.05-r8.ebuild 13572 SHA256 dd6868ef7869cd39d31bdadf4ca23b848a9cbf48fb0bd5e6ac505ec848ccf065 SHA512 990c4024d23fa1a4afa0b06e15eb53c9244a1d86d68daa80f8d966104442eff38c3f0977e9cd2fc9b222cb29006187e19a73e313001e1117d297f46741b5560e WHIRLPOOL 605283149cf85c5c8ef121d171fd2d7abaa3fdea9ce1a9d95fd093ddc2d7ffe50f5941b996bd1abfceda555d2ef791360e19229bd24d4ee51c7a3d688bd41cbc EBUILD netqmail-1.06-r1.ebuild 3790 SHA256 7ef9de2121ed5c9f50089cdf6bba9bd5e097c2b54d83a570ced730b8ae4fcb84 SHA512 08dd32cd775c99717e1cb6065b00950618514e392ebd8680bc821b783af73ef0d00552061bdffde8a78b818c000058b45a5b1449885fd7ec27b039fcc64aa698 WHIRLPOOL 5e6e5f06329aaf37877996ea52b0c579d2fa0e53e28d54e09cf51622576908757680cd517e7707d6d164e9306ddc654527dd8ca8184bbf996a4c4b27f3d9e5b7 EBUILD netqmail-1.06-r2.ebuild 4050 SHA256 cfdbe46db3b814a158c6d9f32ba049d34c32cfa84bcec75bc42f5a685fc548dd SHA512 a85c6374304f84e2dc88bafa59a1e36b9ba831c3abda4ebfcb34e8ab59b89a4abfca1ab113d2d35d6189ed62ecc898fcc4f0619e103ca2bf9fc851e0d13964ef WHIRLPOOL 740ff5501acdb492a176797bc47a91cf9463c8e5277af01fce1c781efa0b2e7d206e29eb1948421382a9a8afd901dde3133b6889533d275d552ca4a4672c226f EBUILD netqmail-1.06.ebuild 3384 SHA256 d1f33e62d838f5cafdf23e03bfbd53545cfb9425dee6a495eaefcbe6ca57b60c SHA512 5bdfa66e704b2049d519f98a90c575b186b179378f2bdb98f950a0b250e5ed6b4797406eef64b199c72245d72338dcd3e74b70c6a1525a25b0678accb31a17ad WHIRLPOOL ae75b3b9306ac1101362bcddcd892f001fb5e16cccbad26679d43b2cb07b6f9359ca1ede79811fb9600ccd1cc46c277cbd336820cb47e603967c733c0f6f6b62 -MISC ChangeLog 10713 SHA256 3ed7f252fc6ba1005e23b8191303a015e369b66feb1568bc9d49179379a358ff SHA512 946aeff080d42d07d48107936d38857b60e02d7fdc4a82a0bda0650f19ad74f2461e7d707d200fc4d197a1d033eb0b927b63aef5d99a5a3ce3823f80898a2286 WHIRLPOOL 601641ec7c0cf9ba75ad95a48639af8653ebd5434fb17e846f2a126deb2097fcc7d4025651bc055c891be3a8afb0248709bacba721cdda080b8f32d5a2273939 +MISC ChangeLog 11553 SHA256 415a89750644902fa6454506bb0d344d2f9eb5ddda22247f9eba8416e028be0e SHA512 9441a358e760d0b4057adb2b21a2adcf2af8327bedb7b4e68f3757250af8b1e0256300181547daeba557fa4ed4d44da10127c8a0e169aa2181d6b9412f2da4b4 WHIRLPOOL aa86cc6d46da680ffb5df75c011bd00b34938b77fdf04b540d037a33e18634899d2f29f93f935e8c9885e44d8410e196129aebd91348ec975cfb7f8f5cc22151 MISC metadata.xml 471 SHA256 e6459541b665becde89ffe335f74359b4d5c9ef320fa19bff02afd7ced4305bd SHA512 4f3f1cf6b1ca3db3ee19463f0ffbf46cf933586f9b13b67de7235fbf5de8694cccf1aaca2db8c3a9d71fa6a0bf488f98261103cd61ede5cfe7bf873d2bae67ba WHIRLPOOL 20753ac53327edaf958211a020829e5709c1920f132c7796d26abeb6dd5616e309d338290d369d4d48582f0dda00660aa6c1c2321369b1299302f8d3565b6e7f -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2 -iQIcBAEBCgAGBQJRtKYmAAoJELp701BxlEWfhm0QAITsBZxmP7dipVNxduxH7fVr -Msn9xnR3b8cCpPtLVHMv2YUMEOLqCBQ4fOVld+sNRXzuiu4RLegTecvBioA4eY8n -grR8gRbVVwTzT6t9XUO1LAjInlMfP/xMODctopqo/cdKLuK32+7YR08bTTDReepk -86OA/98z7ebz9di38mzsr5KVIR91pL77CKnqJp7JMYNRMJPDLbAe/MX+bqL7Krqs -4pYtP4+kPILzaMgliabT4aF33AF/9Leug8aGe6wbVlOmb9t+CtammDJhJ54Ous7J -3aaQab+ajRNumZycSmDVr9ttSQKACHtEcZnhsNbLlG0vRv3e2rUkWosva7IJGE3G -EVZWZQRtrd9ysI3D905jZcfY5UYcW4PvcQ4gdXauvoYu0AzbKXgree2eY9lwqjYV -lE1ew6ckZo+nxPKZBUtAV2hT5klta7pX9vh/ubnYxgQdk1VqkIejtx1jKiZ7eNxN -aTVsNq1FI5aawuaU4dcuZB0YZy7K3eUPUjo3Qu+9PfKWURH1yNCWe0gobUovy2Tc -QksRGbOwNTJZVzDROiBEAKdtjThFDQI+yKQnLFoJhHS4zulKb2iHk2L/p7tvStZi -+9VWZDCve4jLNXKkL80U4MjByAauLvdc33U3Q1WXAmPcur4RxAHkfOEPq6d5XHQn -qH0PhG+RKD8eSYkvWpYX -=HtNt +iQJ8BAEBCABmBQJUlsEOXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC +MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOaeMP/ij+2oZ0j59HeEDeeK3Vx1RG +UXNpgA4yYSzu3IOta+cOEyC8h2JTxpG8noaGea5OWzpBJgrBG7ljK89SUUuUoaV4 +jlfT8WllmigKagv41lbuIM8uv3Wikrm3YQUFmP6QapS9nqjdffF7+Ztm7ahmEjIj +1VK0bFp4WDwFAa0tltEkowqC77jshvZXdiyl9eKL5Kvau7yBhf8fvsGln0ZMyGoi +IINJEFjO5WwDmUuuQlaQak2WsPD6glzeeD24rQ1jnUEdI1UQqbhYtSMjJN/rG/NM +0u1jsZxnahG37oXrSum0En85OT7aMhjgrqSOvhD8SCeqxJHynGXTsxoQ39/1pNPh +EAmM8VV0WUD8mEJPN1yHOsdjbGWTSE2wgEpJTCBgsgv4tH6+N/ihbgCWOhsKChz/ +lb9GwoxNYb5B377MWymXhgR2jeI+ugIkUBf945r9K1hkX8O7/iGNfvHjRRXl+lGr +asqNsqqwOP0kwTA4JjtJvdoZb+JhlB4KHIfv910D+k5QT8Pv+TQ9mOUp4jeeFWEq +kxexhUMYSaWyjF4bF7ckKbd526mk7JH2RN9Y4KZDO4FWhvzaq1fGKLul2lrcIhqw +5dtGtUg6ouZTZIkIdlC5ooTYzgk8ruoO7PWTCsuOiTshrpuBK3l/klJy2SdeVQLk +7OyPIMamAcXXHZABXoVD +=POWd -----END PGP SIGNATURE----- diff --git a/mail-mta/netqmail/files/99qmail b/mail-mta/netqmail/files/99qmail deleted file mode 100644 index d9d929e4892b..000000000000 --- a/mail-mta/netqmail/files/99qmail +++ /dev/null @@ -1,4 +0,0 @@ -PATH="/var/qmail/bin" -ROOTPATH="/var/qmail/bin" -CONFIG_PROTECT="/var/qmail/control /var/qmail/alias" -QMAIL_CONTROLDIR=/var/qmail/control diff --git a/mail-mta/netqmail/files/conf-common b/mail-mta/netqmail/files/conf-common deleted file mode 100644 index 008fe63c3076..000000000000 --- a/mail-mta/netqmail/files/conf-common +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/bash -# Common Configuration file for all qmail daemons -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-common,v 1.2 2013/05/27 00:45:52 robbat2 Exp $ - -# Qmail User IDS to run daemons as -QMAILDUID=$(id -u qmaild) -NOFILESGID=$(id -g qmaild) -QMAILLUID=$(id -u qmaill) - -# Qmail Control Dir (this is actually set in /etc/env.d/99qmail) -#QMAIL_CONTROLDIR=/var/qmail/control - -# Host and port to listen on -# We listen on the IPv4 local ip by default -TCPSERVER_HOST=0.0.0.0 -TCPSERVER_PORT=${SERVICE} - -# you do not need to specify -x, -c, -u or -g in this variable as those are -# added later -TCPSERVER_OPTS="-p -v -R" - -# This tells tcpserver where to file the rules cdb file -[[ -d /etc/tcprules.d/ ]] && \ - TCPSERVER_RULESCDB=/etc/tcprules.d/tcp.qmail-${SERVICE}.cdb -[[ ! -f "${TCPSERVER_RULESCDB}" ]] && \ - TCPSERVER_RULESCDB=/etc/tcp.${SERVICE}.cdb - -# we limit data and stack segments to 32mbytes, you may need to raise this if -# you are using a filter in QMAILQUEUE. -# Per bug #403893 amd64 needs a higher limit. -SOFTLIMIT_OPTS="-m 32000000" - -# We don't have anything to set QMAILQUEUE to at the moment, so we leave it -# alone. Generally it is best to add this in your appropriate (usually SMTP) -# cdb files at /etc/tcprules.d/tcp.qmail-*.cdb instead of on a global basis, as -# otherwise outgoing mail will be checked (because qmail-queue is used for most -# parts of qmail). You can also enable this per-server by just placing it into -# the other configuration files by placing the line there instead. Please note -# that the export part is important. -#export QMAILQUEUE="" - -# tcpserver maximum concurrency, defaults to 40 in tcpserver -# this controls the maximum number of incoming connections that it will accept -if [[ -e ${QMAIL_CONTROLDIR}/concurrencyincoming ]] -then - MAXCONN=$(head -n 1 ${QMAIL_CONTROLDIR}/concurrencyincoming) -else - MAXCONN=40 -fi - -# logging directives -LOG_OPTS="t" # 't' is for timestamp -LOG_MAXSIZE=2500000 # defalts to '99999' if empty -LOG_MAXCOUNT=10 # defaults to '10' if empty - -# build LOG_OPTS from this -[[ -n "${LOG_MAXSIZE}" ]] && \ - LOG_OPTS="${LOG_OPTS} s${LOG_MAXSIZE}" -[[ -n "${LOG_MAXCOUNT}" ]] && \ - LOG_OPTS="${LOG_OPTS} n${LOG_MAXCOUNT}" - -# directory to log to -LOG_DEST=/var/log/qmail/qmail-${SERVICE}d - -# BIG FAT WARNING: -# If you disable this by uncommenting it you will turn _off_ the configuration -# sanity check do so at your own risk! -#QMAIL_DISABLE_SANITY_CHECK=1 diff --git a/mail-mta/netqmail/files/conf-pop3d b/mail-mta/netqmail/files/conf-pop3d deleted file mode 100644 index 4d9cfdd1665d..000000000000 --- a/mail-mta/netqmail/files/conf-pop3d +++ /dev/null @@ -1,29 +0,0 @@ -# Configuration file for qmail-pop3d -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-pop3d,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -# Stuff to run before tcpserver -#QMAIL_TCPSERVER_PRE="" -# Stuff to run before the authenticator -#QMAIL_POP3_PREAUTH="" -# Stuff to run after the user has authenticated successfully -#QMAIL_POP3_POSTAUTH="" - -# this should contain the FQDN of your server -# by default it pulls the value from qmail -# which should be correct -QMAIL_POP3_POP3HOST="$(<${QMAIL_CONTROLDIR}/me)" - -# If you want POP3 before SMTP, and you are using this POP3 daemon -# uncomment the next two lines -#QMAIL_TCPSERVER_PRE="${QMAIL_TCPSERVER_PRE} envdir /etc/relay-ctrl relay-ctrl-chdir" -#QMAIL_POP3_POSTAUTH="${QMAIL_POP3_POSTAUTH} /usr/bin/relay-ctrl-allow" - -# This controls what password authentication tool POP3 uses -# It must support DJB's checkpassword interface (http://cr.yp.to/checkpwd.html) -QMAIL_POP3_CHECKPASSWORD="/bin/checkpassword" -# cmd5checkpw only validates passwords from /etc/poppasswd -#QMAIL_POP3_CHECKPASSWORD="/bin/cmd5checkpw" - -# The name of the maildir in each user's directory. -# This should be the same thing that defaultdelivery points to -QMAIL_MAILDIR=".maildir" diff --git a/mail-mta/netqmail/files/conf-qmqpd b/mail-mta/netqmail/files/conf-qmqpd deleted file mode 100644 index 2b337d930772..000000000000 --- a/mail-mta/netqmail/files/conf-qmqpd +++ /dev/null @@ -1,12 +0,0 @@ -# Configuration file for qmail-qmqpd -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-qmqpd,v 1.2 2013/05/27 00:45:52 robbat2 Exp $ - -# Stuff to run before tcpserver -#QMAIL_TCPSERVER_PRE="" -# Stuff to run qmail-qmqpd -#QMAIL_QMQP_PRE="" -# Stuff to after qmail-qmqpd -#QMAIL_QMQP_POST="" - -# I don't trust /etc/services to have obscure ports -TCPSERVER_PORT=628 diff --git a/mail-mta/netqmail/files/conf-qmtpd b/mail-mta/netqmail/files/conf-qmtpd deleted file mode 100644 index 6d6df72e6506..000000000000 --- a/mail-mta/netqmail/files/conf-qmtpd +++ /dev/null @@ -1,15 +0,0 @@ -# Configuration file for qmail-qmtpd -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-qmtpd,v 1.2 2013/05/27 00:45:52 robbat2 Exp $ - -# For more information on making your servers talk QMTP -# see http://cr.yp.to/im/mxps.html - -# Stuff to run before tcpserver -#QMAIL_TCPSERVER_PRE="" -# Stuff to run qmail-qmtpd -#QMAIL_QMTP_PRE="" -# Stuff to after qmail-qmtpd -#QMAIL_QMTP_POST="" - -# I don't trust /etc/services to have obscure ports -TCPSERVER_PORT=209 diff --git a/mail-mta/netqmail/files/conf-send b/mail-mta/netqmail/files/conf-send deleted file mode 100644 index 74b2e8c8d94b..000000000000 --- a/mail-mta/netqmail/files/conf-send +++ /dev/null @@ -1,6 +0,0 @@ -# Configuration file for qmail-send -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-send,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -# directory to log to -# override conf-common on this -LOG_DEST=/var/log/qmail/qmail-send diff --git a/mail-mta/netqmail/files/conf-smtpd b/mail-mta/netqmail/files/conf-smtpd deleted file mode 100644 index d7cc2c3d3d59..000000000000 --- a/mail-mta/netqmail/files/conf-smtpd +++ /dev/null @@ -1,48 +0,0 @@ -# Configuration file for qmail-smtpd -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-smtpd,v 1.2 2013/05/27 00:45:52 robbat2 Exp $ - -# Stuff to run before tcpserver -#QMAIL_TCPSERVER_PRE="" -# Stuff to run qmail-smtpd -#QMAIL_SMTP_PRE="" -# Stuff to after qmail-smtpd -#QMAIL_SMTP_POST="" - -# fixcrio inserts missing CRs at the ends of lines. See: -# http://cr.yp.to/ucspi-tcp/fixcrio.html -# http://cr.yp.to/docs/smtplf.html -# DO NOT enable this when you are using SSL/TLS (USE=ssl)! -#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} fixcrio" - -# You might want to use rblsmtpd with this, but you need to fill in a RBL -# server here first, see http://cr.yp.to/ucspi-tcp/rblsmtpd.html for more -# details -#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} rblsmtpd -r RBL-SERVER" - -# If you are interested in providing POP or IMAP before SMTP type relaying, -# emerge relay-ctrl, then uncomment the next 2 lines -#QMAIL_TCPSERVER_PRE="${QMAIL_TCPSERVER_PRE} envdir /etc/relay-ctrl relay-ctrl-chdir" -#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} relay-ctrl-check" -# In /etc/courier-imap/authdaemonrc add the next line to the end: -#authmodulelist="${authmodulelist} relay-ctrl-allow" -# Then in /etc/courier-imap/{imapd,imapd-ssl,pop3d,pop3d-ssl} -# Add this at the end -#PRERUN="${PRERUN} envdir /etc/relay-ctrl relay-ctrl-chdir" - -# This next block is for SMTP-AUTH - -# WARNING: If you've installed qmail with USE=noauthcram, and you want to use -# the following programs, you proably need to install them. - -# Example using cmd5checkpw -# See the manpage for cmd5checkpw for details on the passwords -#QMAIL_SMTP_CHECKPASSWORD="/bin/cmd5checkpw" - -# Example for checkpassword-pam (emerge checkpassword-pam) -# Don't forget to make /usr/bin/checkpassword-pam sticky (see README.auth) -#QMAIL_SMTP_CHECKPASSWORD="/usr/bin/checkpassword-pam -s system-auth" - -[[ -n "${QMAIL_SMTP_CHECKPASSWORD}" ]] && { - [[ -z "${QMAIL_SMTP_POST}" ]] && QMAIL_SMTP_POST=/bin/true - QMAIL_SMTP_POST="${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}" -} diff --git a/mail-mta/netqmail/files/dot-qmail b/mail-mta/netqmail/files/dot-qmail deleted file mode 100644 index 81a15fc5c50c..000000000000 --- a/mail-mta/netqmail/files/dot-qmail +++ /dev/null @@ -1,3 +0,0 @@ -# Uncomment the next line for .forward support -#|dot-forward .forward -./.maildir/ diff --git a/mail-mta/netqmail/files/mailer.conf b/mail-mta/netqmail/files/mailer.conf deleted file mode 100644 index cd4f4cdbece0..000000000000 --- a/mail-mta/netqmail/files/mailer.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Execute the real programs from qmail -# -sendmail /var/qmail/bin/sendmail -send-mail /var/qmail/bin/sendmail -mailq /var/qmail/bin/qmail-qread -newaliases /var/qmail/bin/newaliases diff --git a/mail-mta/netqmail/files/mkservercert b/mail-mta/netqmail/files/mkservercert deleted file mode 100644 index 4d74791a7830..000000000000 --- a/mail-mta/netqmail/files/mkservercert +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/mkservercert,v 1.2 2007/05/05 05:16:58 vapier Exp $ -# Self-signed certificate generator for Qmail under Gentoo -# Robin H. Johnson <robbat2@gentoo.org> - October 17, 2003 -# Based on mkimapdcert from courier-imap. - -test -x /usr/bin/openssl || exit 0 -source /etc/init.d/functions.sh || exit 1 - -filedir="/var/qmail/control" -pemfile="${filedir}/servercert.pem" -randfile="${filedir}/servercert.rand" -conffile="${filedir}/servercert.cnf" - -# file details for pemfile -mode="0640" -uid="qmaild" -gid="qmail" - -# expire on certifcate -days="365" - -if test -f $pemfile -then - eerror "$pemfile already exists." - exit 1 -fi - -ewarn "Please customize ${conffile} before continuing!" -einfo "Press ENTER to continue, or CTRL-C to stop now." -read - -# setup the temp file -cp /dev/null $pemfile -chmod 600 $pemfile -chown root $pemfile - -cleanup() { - rm -f $pemfile - rm -f $randfile - exit 1 -} - -dd if=/dev/urandom of=${randfile} bs=64 count=1 2>/dev/null -chmod 600 ${randfile} -einfo "Creating self-signed certificate" -/usr/bin/openssl req -new -x509 -days ${days} -nodes \ - -config ${conffile} -out $pemfile -keyout $pemfile -rand ${randfile} || cleanup -einfo "Certificate details" -/usr/bin/openssl x509 -subject -dates -fingerprint -noout -in $pemfile || cleanup -chown ${uid}:${gid} ${pemfile} -chmod ${mode} ${pemfile} -#qmail needs an extra item -ln -s ${pemfile} ${filedir}/clientcert.pem -rm -f $randfile diff --git a/mail-mta/netqmail/files/qmail-config-system b/mail-mta/netqmail/files/qmail-config-system deleted file mode 100644 index 345e1d000960..000000000000 --- a/mail-mta/netqmail/files/qmail-config-system +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/bash -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/qmail-config-system,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -# This is a configuration system to make using and controlling the interesting -# parts of the qmail behavior simple. The only variable that needs to be set -# before running this is $SERVICE. - -# this is to inherit QMAIL_CONTROLDIR -. /etc/profile - -# now run -# grab the common configuration -[[ -s ${QMAIL_CONTROLDIR}/conf-common ]] && \ - . ${QMAIL_CONTROLDIR}/conf-common - -# grab the per-service configuration -[[ -s ${QMAIL_CONTROLDIR}/conf-${SERVICE}d ]] && \ - . ${QMAIL_CONTROLDIR}/conf-${SERVICE}d - -# special case for qmail-send -[[ "${SERVICE}" = send && -s ${QMAIL_CONTROLDIR}/conf-send ]] && \ - . ${QMAIL_CONTROLDIR}/conf-send - -# you may want to disable this at some point, so I give you the choice here -if [[ -z "${QMAIL_DISABLE_SANITY_CHECK}" ]] -then - # This is intended solely to stop qmail eating up all your hard disk space with logs - - CONFIG_SANITY_GOOD= - - # check simple stuff first - if [[ -z "${QMAILDUID}" || -z "${NOFILESGID}" || -z "${SERVICE}" || -z "${QMAILLUID}" ]] - then - echo "SERVICE(${SERVICE}), QMAILDUID(${QMAILDUID}), NOFILESGID(${NOFILESGID}) or "\ - "QMAILLUID(${QMAILLUID}) is unset in $0" - CONFIG_SANITY_GOOD=0 - fi - - if [[ -z "${LOG_OPTS}" || -z "${LOG_DEST}" ]] - then - echo "LOG_OPTS: ${LOG_OPTS}" - echo "LOG_DEST: ${LOG_DEST}" - echo "Error in logging setup!" - CONFIG_SANITY_GOOD=0 - fi - - if [[ "${SERVICE}" = smtp && - ! -f ${QMAIL_CONTROLDIR}/rcpthosts && - -z "${QMAIL_DISABLE_SANITY_CHECK}" ]] - then - echo "No /var/qmail/control/rcpthosts!" - echo "Refusing to start SMTP listener because it'll create an open relay" - CONFIG_SANITY_GOOD=0 - fi - - if [[ "${SERVICE}" != send && ! -f "${TCPSERVER_RULESCDB}" ]] - then - echo "No CDB file found (${TCPSERVER_RULESCDB})" - CONFIG_SANITY_GOOD=0 - fi - - if [[ -n "${CONFIG_SANITY_GOOD}" ]] - then - echo "Some error detected in ${SERVICE}, sleeping for 90 seconds for safety" - sleep 90s - exit 1 - fi -else - echo "Failed to find sanity checker!" - sleep 30s - exit 1 -fi diff --git a/mail-mta/netqmail/files/qmail-genrsacert.sh b/mail-mta/netqmail/files/qmail-genrsacert.sh deleted file mode 100644 index ec75dcb6ef9c..000000000000 --- a/mail-mta/netqmail/files/qmail-genrsacert.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/qmail-genrsacert.sh,v 1.2 2006/05/06 20:15:11 hansmi Exp $ -# Robin H. Johnson <robbat2@gentoo.org> - October 17, 2003 -# -# This file generates the static temporary RSA keys needed for qmail to encrypt -# messages. It should be run from a crontab, once a day is ok on low load -# machines, but if you do lots of mail, once per hour is more reasonable if you -# do NOT create the rsa512.pem, qmail will generate it on the fly for each -# connection, which can be VERY slow. - -confdir=${ROOT}/var/qmail/control - -# the key should be 0600 -# which is readable by qmaild only! -umaskvalue="0077" -uid="qmaild" -gid="qmail" - -umask ${umaskvalue} - -# If you want to renice this process, uncomment the following line: -# renice +15 "$$" >/dev/null - -# This is a list with bits of the generated keys. They should -# be a power of 2 ideally and must be more than 64. -keys="512 1024" - -for bits in ${keys} -do - pemfile="${confdir}/rsa${bits}.pem" - tmpfile="${confdir}/rsa${bits}.pem.tmp" - - # we need to make sure that all of the operations succeed - /usr/bin/openssl genrsa -out ${tmpfile} ${bits} 2>/dev/null && \ - /bin/chown ${uid}:${gid} ${tmpfile} && \ - /bin/mv -f ${tmpfile} ${pemfile} || exit 1 - - dhfile="${confdir}/dh${bits}.pem" - dtmpfile="${confdir}/dh${bits}.pem.tmp" - - /usr/bin/openssl dhparam -2 -out ${dtmpfile} ${bits} 2>/dev/null && \ - /bin/chown ${uid}:${gid} ${dtmpfile} && \ - /bin/mv -f ${dtmpfile} ${dhfile} || exit 1 -done diff --git a/mail-mta/netqmail/files/run-qmail-pop3d b/mail-mta/netqmail/files/run-qmail-pop3d deleted file mode 100644 index d166e6fdbd3d..000000000000 --- a/mail-mta/netqmail/files/run-qmail-pop3d +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# Gentoo Startup script for qmail's POP3 daemon -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-pop3d,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -# If you need to edit this file, please look at editing conf-smtpd and -# conf-common first. If you still need to change this file, you should probably -# file a bug on the bugzilla saying what you wanted to change so that -# modifications can be made possible via the configuration files. - -SERVICE=pop3 -. /var/qmail/bin/qmail-config-system && \ -exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \ - ${QMAIL_TCPSERVER_PRE} \ - /usr/bin/tcpserver ${TCPSERVER_OPTS} -x ${TCPSERVER_RULESCDB} \ - -c ${MAXCONN} \ - ${TCPSERVER_HOST} ${TCPSERVER_PORT} \ - ${QMAIL_POP3_PREAUTH} /var/qmail/bin/qmail-popup ${QMAIL_POP3_POP3HOST} \ - ${QMAIL_POP3_CHECKPASSWORD} ${QMAIL_POP3_POSTAUTH} \ - /var/qmail/bin/qmail-pop3d ${QMAIL_MAILDIR} 2>&1 diff --git a/mail-mta/netqmail/files/run-qmail-pop3d-log b/mail-mta/netqmail/files/run-qmail-pop3d-log deleted file mode 100644 index 3befb5b1a71a..000000000000 --- a/mail-mta/netqmail/files/run-qmail-pop3d-log +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -# Gentoo Startup script for qmail's POP3 daemon (logging) -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-pop3d-log,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -SERVICE=pop3 -. /var/qmail/bin/qmail-config-system && \ -eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} diff --git a/mail-mta/netqmail/files/run-qmail-qmqpd b/mail-mta/netqmail/files/run-qmail-qmqpd deleted file mode 100644 index 19ff028f9283..000000000000 --- a/mail-mta/netqmail/files/run-qmail-qmqpd +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# Gentoo Startup script for qmail's QMQP daemon -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-qmqpd,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -# If you need to edit this file, please look at editing conf-smtpd and -# conf-common first. If you still need to change this file, you should probably -# file a bug on the bugzilla saying what you wanted to change so that -# modifications can be made possible via the configuration files. - -SERVICE=qmqp -. /var/qmail/bin/qmail-config-system && \ -exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \ - ${QMAIL_TCPSERVER_PRE} \ - /usr/bin/tcpserver ${TCPSERVER_OPTS} -x ${TCPSERVER_RULESCDB} \ - -c ${MAXCONN} -u ${QMAILDUID} -g ${NOFILESGID} \ - ${TCPSERVER_HOST} ${TCPSERVER_PORT} \ - ${QMAIL_QMQP_PRE} /var/qmail/bin/qmail-${SERVICE}d ${QMAIL_QMQP_POST} \ - 2>&1 diff --git a/mail-mta/netqmail/files/run-qmail-qmqpd-log b/mail-mta/netqmail/files/run-qmail-qmqpd-log deleted file mode 100644 index 6167d92f1a0b..000000000000 --- a/mail-mta/netqmail/files/run-qmail-qmqpd-log +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -# Gentoo Startup script for qmail's QMQP daemon (logging) -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-qmqpd-log,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -SERVICE=qmqp -. /var/qmail/bin/qmail-config-system && \ -eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} diff --git a/mail-mta/netqmail/files/run-qmail-qmtpd b/mail-mta/netqmail/files/run-qmail-qmtpd deleted file mode 100644 index 71c520744f53..000000000000 --- a/mail-mta/netqmail/files/run-qmail-qmtpd +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# Gentoo Startup script for qmail's QMTP daemon -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-qmtpd,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -# If you need to edit this file, please look at editing conf-smtpd and -# conf-common first. If you still need to change this file, you should probably -# file a bug on the bugzilla saying what you wanted to change so that -# modifications can be made possible via the configuration files. - -SERVICE=qmtp -. /var/qmail/bin/qmail-config-system && \ -exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \ - ${QMAIL_TCPSERVER_PRE} \ - /usr/bin/tcpserver ${TCPSERVER_OPTS} -x ${TCPSERVER_RULESCDB} \ - -c ${MAXCONN} -u ${QMAILDUID} -g ${NOFILESGID} \ - ${TCPSERVER_HOST} ${TCPSERVER_PORT} \ - ${QMAIL_QMTP_PRE} /var/qmail/bin/qmail-${SERVICE}d ${QMAIL_QMTP_POST} \ - 2>&1 diff --git a/mail-mta/netqmail/files/run-qmail-qmtpd-log b/mail-mta/netqmail/files/run-qmail-qmtpd-log deleted file mode 100644 index a8871c22e767..000000000000 --- a/mail-mta/netqmail/files/run-qmail-qmtpd-log +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -# Gentoo Startup script for qmail's QMTP daemon (logging) -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-qmtpd-log,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -SERVICE=qmtp -. /var/qmail/bin/qmail-config-system && \ -eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} diff --git a/mail-mta/netqmail/files/run-qmail-send b/mail-mta/netqmail/files/run-qmail-send deleted file mode 100644 index ccf5797a08de..000000000000 --- a/mail-mta/netqmail/files/run-qmail-send +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -# Init script for qmail-send -# Copied from LWQ -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-send,v 1.1 2006/02/12 18:42:33 hansmi Exp $ -exec env - PATH="/var/qmail/bin:$PATH" \ - qmail-start "`cat /var/qmail/control/defaultdelivery`" diff --git a/mail-mta/netqmail/files/run-qmail-send-log b/mail-mta/netqmail/files/run-qmail-send-log deleted file mode 100644 index d1fa08a7971c..000000000000 --- a/mail-mta/netqmail/files/run-qmail-send-log +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -# Gentoo Startup script for qmail's send daemon (logging) -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-send-log,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -SERVICE=send -. /var/qmail/bin/qmail-config-system && \ -eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} diff --git a/mail-mta/netqmail/files/run-qmail-smtpd b/mail-mta/netqmail/files/run-qmail-smtpd deleted file mode 100644 index 2be9c8cabf02..000000000000 --- a/mail-mta/netqmail/files/run-qmail-smtpd +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# Gentoo Startup script for qmail's SMTP daemon -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-smtpd,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -# If you need to edit this file, please look at editing conf-smtpd and -# conf-common first. If you still need to change this file, you should probably -# file a bug on the bugzilla saying what you wanted to change so that -# modifications can be made possible via the configuration files. - -SERVICE=smtp -. /var/qmail/bin/qmail-config-system && \ -exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \ - ${QMAIL_TCPSERVER_PRE} \ - /usr/bin/tcpserver ${TCPSERVER_OPTS} -x ${TCPSERVER_RULESCDB} \ - -c ${MAXCONN} -u ${QMAILDUID} -g ${NOFILESGID} \ - ${TCPSERVER_HOST} ${TCPSERVER_PORT} \ - ${QMAIL_SMTP_PRE} /var/qmail/bin/qmail-${SERVICE}d ${QMAIL_SMTP_POST} \ - 2>&1 diff --git a/mail-mta/netqmail/files/run-qmail-smtpd-log b/mail-mta/netqmail/files/run-qmail-smtpd-log deleted file mode 100644 index f45f714ba6f5..000000000000 --- a/mail-mta/netqmail/files/run-qmail-smtpd-log +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -# Gentoo Startup script for qmail's SMTP daemon (logging) -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-smtpd-log,v 1.1 2006/02/12 18:42:33 hansmi Exp $ - -SERVICE=smtp -. /var/qmail/bin/qmail-config-system && \ -eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST} diff --git a/mail-mta/netqmail/files/servercert.cnf b/mail-mta/netqmail/files/servercert.cnf deleted file mode 100644 index aa48938ea655..000000000000 --- a/mail-mta/netqmail/files/servercert.cnf +++ /dev/null @@ -1,35 +0,0 @@ -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/servercert.cnf,v 1.2 2013/05/27 00:45:52 robbat2 Exp $ -# This is the openssl config file to generate keys for qmail - -[ req ] -# you can increase this value, but be aware that it will make things much slower -# this should be a power of 2! -default_bits = 1024 -# leave the rest of these alone! -encrypt_key = no -distinguished_name = req_dn -x509_extensions = cert_type -prompt = no - -[ req_dn ] -# 2-Letter ISO country code -C=US -# FULL name of state/province/district -# NO abbreviations! -ST=Alabama -# FULL name of city -# NO abbreviations! -L=Mobile -# Full Name of your organization -# NO abbreviations! -O=Foobar Systems -# Leave this alone unless specifically need to change it! -OU=Automatically-generated Qmail SMTP SSL key -# This should be a FQDN that resolves to the IP of your server -CN=localhost -# This should be the email address for the administrator of the server -emailAddress=postmaster@localhost - -# Leave this alone! -[ cert_type ] -nsCertType = server diff --git a/mail-mta/netqmail/files/tcp.pop3.sample b/mail-mta/netqmail/files/tcp.pop3.sample deleted file mode 100644 index d6a0f69245a7..000000000000 --- a/mail-mta/netqmail/files/tcp.pop3.sample +++ /dev/null @@ -1,12 +0,0 @@ -# to update the database after changing this file, run: -# tcprules /etc/tcprules.d/tcp.qmail-pop3.cdb /etc/tcprules.d/.tcp.qmail-pop3.tmp < /etc/tcprules.d/tcp.qmail-pop3 - -# For the full documentation on the format of this file, -# see http://cr.yp.to/ucspi-tcp/tcprules.html - -#---------------------------------------------------------------- - -# Allow any client to connect to us via POP3. If people are abusing POP3 such -# as denial-of-service on POP3, you can add their IP addresses here to block -# them out. -:allow diff --git a/mail-mta/netqmail/files/tcp.qmqp.sample b/mail-mta/netqmail/files/tcp.qmqp.sample deleted file mode 100644 index 83d715df1bdb..000000000000 --- a/mail-mta/netqmail/files/tcp.qmqp.sample +++ /dev/null @@ -1,14 +0,0 @@ -# to update the database after changing this file, run: -# tcprules /etc/tcprules.d/tcp.qmail-qmqp.cdb /etc/tcprules.d/.tcp.qmail-qmqp.tmp < /etc/tcprules.d/tcp.qmail-qmqp - -# For the full documentation on the format of this file, -# see http://cr.yp.to/ucspi-tcp/tcprules.html - -#---------------------------------------------------------------- - -# QMQP is a bulk protocol and we don't want spam to ever come by it and it is -# intended to go between a few servers only so we don't trust any default -# people with it. -# see /etc/tcprules.d/tcp.qmail-smtp for more info - -:deny diff --git a/mail-mta/netqmail/files/tcp.qmtp.sample b/mail-mta/netqmail/files/tcp.qmtp.sample deleted file mode 100644 index e8fa4ded0f51..000000000000 --- a/mail-mta/netqmail/files/tcp.qmtp.sample +++ /dev/null @@ -1,23 +0,0 @@ -# to update the database after changing this file, run: -# tcprules /etc/tcprules.d/tcp.qmail-qmtp.cdb /etc/tcprules.d/.tcp.qmail-qmtp.tmp < /etc/tcprules.d/tcp.qmail-qmtp - -# For the full documentation on the format of this file, -# see http://cr.yp.to/ucspi-tcp/tcprules.html - -#---------------------------------------------------------------- - -# We trust QMTP connections just as SMTP by default. See -# /etc/tcprules.d/tcp.qmail-smtp for more info. - -# allow relaying from localhost -127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="" - -# everybody else is not allowed to relay, and is subject to RBLSMTPD checks -:allow - -# If you are using qmail-scanner, this line here is the correct one to use -# instead (comment out the above ':allow' line FIRST) and applies that script -# to any mail coming in that is not from a host allowed to relay. You can -# change the value of the variable to any other value you desire to use custom -# scripts for example. -#:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue" diff --git a/mail-mta/netqmail/files/tcp.smtp.sample b/mail-mta/netqmail/files/tcp.smtp.sample deleted file mode 100644 index f6d0b16e7703..000000000000 --- a/mail-mta/netqmail/files/tcp.smtp.sample +++ /dev/null @@ -1,79 +0,0 @@ -# to update the database after changing this file, run: -# tcprules /etc/tcprules.d/tcp.qmail-smtp.cdb /etc/tcprules.d/.tcp.qmail-smtp.tmp < /etc/tcprules.d/tcp.qmail-smtp - -# For the full documentation on the format of this file, -# see http://cr.yp.to/ucspi-tcp/tcprules.html - -#----------------------------------------------------------------- -# Short description of the rules - -# If you set 'allow', this means that our mail server will allow the specified -# IP address range to make a TCP connection to our server. - -# If you set 'deny', this means that our mail server will not allow the -# specified IP address range to make a TCP connection to our server. - -# If you set RELAYCLIENT="", this means that the listed IP address range is -# allowed to relay mail through our server. - -# If you don't set RELAYCLIENT="", this means that the listed IP address range -# will not be able to relay mail through our server. - -# If you set RBLSMTPD="", this means that the listed IP address ranges will not -# be checked against any of the RBL databases. - -# If you set RBLSMTPD="some text here", this means that an RBL lookup won't be -# performed, but the mail will be rejected with the specified text as a 4xx -# temp error message. - -# If you set RBLSMTPD="-some text here", this means that an RBL lookup won't be -# performed, but the mail will be rejected with the specified text as a 5xx -# permanent error message. - -# If you do not set RBLSMTPD="" or ="some text", then an RBL lookup will be -# performed. If the lookup is successful, then RBLSMTPD will return your custom -# error message (as specified in the -r parameter in smtpd supervise script). - -#----------------------------------------------------------------- -# Bypass open relay checking for these IP addresses: - -# These IP addresses are ones that we have setup so that they aren't RBL -# checked. We have done this because these particular servers are RBL listed, -# and for whatever reason they can't/won't fix their open relay problem, and we -# still want to be able to receive mail from them. - -# reminder text goes here for this entry so we know the story... -#111.111.111.111:allow,RBLSMTPD="" - -#----------------------------------------------------------------- -# Do not allow these IP addresses to send e-mails to us: - -#1.2.3.:allow,RBLSMTPD="-Connections refused due to spam from domain.tld" -#4.5.6.7:allow,RBLSMTPD="-Connections refused due to spam from domain2.tld" -#8.9.10.11-100:allow,RBLSMTPD="-Connections from this IP have been banned" - -#----------------------------------------------------------------- -# Allow these IP addresses to relay mail trough our server - -# IP addresses from our LAN are allowed to relay, and we won't bother doing any -# RBL checking. -#192.168.1.:allow,RELAYCLIENT="",RBLSMTPD="" - -# Connections from localhost are allowed to relay (because the Webmail server -# runs on localhost), and obviously there is no point trying to perform an RBL -# check. -127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="" - -#----------------------------------------------------------------- -# Allow everyone else to send us e-mails: - -# Everyone else can make connections to our server, but not allowed to relay. -# RBL lookups are performed. -:allow - -# If you are using qmail-scanner, this line here is the correct one to use -# instead (comment out the above ':allow' line FIRST) and applies that script -# to any mail coming in that is not from a host allowed to relay. You can -# change the value of the variable to any other value you desire to use custom -# scripts for example. -#:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue" diff --git a/mail-mta/netqmail/files/tcprules.d-Makefile.qmail b/mail-mta/netqmail/files/tcprules.d-Makefile.qmail deleted file mode 100644 index d10be0f3a87b..000000000000 --- a/mail-mta/netqmail/files/tcprules.d-Makefile.qmail +++ /dev/null @@ -1,3 +0,0 @@ -QMAIL_CDBS = tcp.qmail-pop3.cdb tcp.qmail-qmqp.cdb tcp.qmail-qmtp.cdb tcp.qmail-smtp.cdb -CDBS += $(QMAIL_CDBS) -qmail: $(QMAIL_CDBS) diff --git a/mail-mta/netqmail/netqmail-1.05-r4.ebuild b/mail-mta/netqmail/netqmail-1.05-r4.ebuild deleted file mode 100644 index 99541120b9ba..000000000000 --- a/mail-mta/netqmail/netqmail-1.05-r4.ebuild +++ /dev/null @@ -1,467 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/netqmail-1.05-r4.ebuild,v 1.30 2012/11/06 11:17:40 eras Exp $ - -inherit eutils toolchain-funcs fixheadtails flag-o-matic user - -TLS_AUTH_PATCH=20060105 -QMAIL_SPP_PATCH=0.42 - -DESCRIPTION="qmail -- a secure, reliable, efficient, simple message transfer agent" -HOMEPAGE=" - http://netqmail.org/ - http://cr.yp.to/qmail.html - http://qmail.org/ -" -SRC_URI=" - mirror://qmail/netqmail-${PV}.tar.gz - !vanilla? ( - ssl? ( http://shupp.org/patches/netqmail-${PV}-tls-smtpauth-${TLS_AUTH_PATCH}.patch ) - highvolume? ( mirror://qmail/big-todo.103.patch ) - qmail-spp? ( mirror://sourceforge/qmail-spp/qmail-spp-${QMAIL_SPP_PATCH}.tar.gz ) - ) -" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" -IUSE="gencertdaily highvolume noauthcram qmail-spp ssl vanilla" -RESTRICT="test" - -DEPEND=" - !mail-mta/qmail - sys-apps/groff - net-mail/queue-repair - ssl? ( dev-libs/openssl ) -" -RDEPEND=" - !mail-mta/courier - !mail-mta/esmtp - !mail-mta/exim - !mail-mta/mini-qmail - !mail-mta/msmtp - !mail-mta/nullmailer - !mail-mta/postfix - !mail-mta/qmail-ldap - !mail-mta/sendmail - !mail-mta/ssmtp - sys-apps/ucspi-tcp - virtual/daemontools - net-mail/dot-forward - !noauthcram? ( - || ( >=net-mail/checkpassword-0.90 >=net-mail/checkpassword-pam-0.99 ) - >=net-mail/cmd5checkpw-0.30 - ) - ${DEPEND} -" - -# Important: QMAIL_CONF_SPLIT should always be a prime number! -MY_CONF_SPLIT="${QMAIL_CONF_SPLIT:-23}" - -MY_S="${S}/netqmail-${PV}" -QMAIL_SPP_S="${WORKDIR}/qmail-spp-${QMAIL_SPP_PATCH}" -TCPRULES_DIR=/etc/tcprules.d - -if use gencertdaily; then - CRON_FOLDER=cron.daily -else - CRON_FOLDER=cron.hourly -fi - -src_unpack() { - unpack netqmail-${PV}.tar.gz - use qmail-spp && \ - unpack qmail-spp-${QMAIL_SPP_PATCH}.tar.gz - - cd "${S}" - - ./collate.sh || die "patching failed" - - cd "${MY_S}" - - if ! use vanilla; then - use ssl && \ - epatch ${DISTDIR}/netqmail-1.05-tls-smtpauth-20060105.patch - - if use highvolume; then - epatch ${DISTDIR}/big-todo.103.patch - fi - - if use qmail-spp; then - if use ssl; then - epatch ${QMAIL_SPP_S}/qmail-spp-smtpauth-tls-20060105.diff - else - epatch ${QMAIL_SPP_S}/netqmail-spp.diff - fi - fi - fi - - if [[ -n "${QMAIL_PATCH_DIR}" && -d "${QMAIL_PATCH_DIR}" ]] - then - echo - ewarn "You enabled custom patches from ${QMAIL_PATCH_DIR}." - ewarn "Be warned that you won't get any support when using " - ewarn "this feature. You're on your own from now!" - ebeep - epatch "${QMAIL_PATCH_DIR}/"* - echo - fi - - is_prime ${MY_CONF_SPLIT} || die 'QMAIL_CONF_SPLIT is not a prime number.' - einfo "Using conf-split value of ${MY_CONF_SPLIT}." - - # Fix bug #33818 but for netqmail (Bug 137015) - if use noauthcram; then - einfo "Disabling CRAM_MD5 support" - sed -e 's,^#define CRAM_MD5$,/*&*/,' -i ${MY_S}/qmail-smtpd.c - else - einfo "Enabled CRAM_MD5 support" - fi - - ht_fix_file Makefile* - - use ssl && append-flags -DTLS - - echo -n "$(tc-getCC) ${CFLAGS}" > "${MY_S}/conf-cc" - echo -n "$(tc-getCC) ${LDFLAGS}" > "${MY_S}/conf-ld" - echo -n "${MY_CONF_SPLIT}" > "${MY_S}/conf-split" -} - -src_compile() { - cd "${MY_S}" - emake it man || die "make failed" -} - -src_install() { - cd "${MY_S}" - - einfo "Setting up directory hierarchy ..." - - diropts -m 755 -o root -g qmail - dodir /var/qmail/{,bin,boot,control} - - keepdir /var/qmail/users - - diropts -m 755 -o alias -g qmail - dodir /var/qmail/alias - - einfo "Installing the qmail software ..." - - insopts -o root -g qmail -m 755 - insinto /var/qmail/boot - doins home home+df proc proc+df binm1 binm1+df binm2 \ - binm2+df binm3 binm3+df - - insinto /var/qmail/bin - - insopts -o qmailq -g qmail -m 4711 - doins qmail-queue - - insopts -o root -g qmail -m 700 - doins qmail-{lspawn,start,newu,newmrh} - - insopts -o root -g qmail -m 711 - doins qmail-{getpw,local,remote,rspawn,clean,send,pw2u} splogger - - insopts -o root -g qmail -m 755 - doins bouncesaying condredirect config-fast datemail elq \ - except forward maildir2mbox maildirmake maildirwatch \ - mailsubj pinq predate preline qail qbiff \ - qmail-{inject,pop3d,popup,qmqpc,qmqpd,qmtpd,qread} \ - qmail-{qstat,showctl,smtpd,tcpok,tcpto} \ - qreceipt qsmhook sendmail tcp-env - - einfo "Installing manpages" - into /usr - doman *.[1-8] - - dodoc BLURB* CHANGES FAQ INSTALL* PIC* README* REMOVE* SECURITY \ - SENDMAIL SYSDEPS TARGETS TEST* THANKS* THOUGHTS TODO* \ - UPGRADE VERSION* - - # use the correct maildirmake - # the courier-imap one has some extensions that are nicer - [[ -e /usr/bin/maildirmake ]] && \ - MAILDIRMAKE="/usr/bin/maildirmake" || \ - MAILDIRMAKE="${D}/var/qmail/bin/maildirmake" - - einfo "Adding env.d entry for qmail" - insopts -m 644 - doenvd ${FILESDIR}/99qmail - - einfo "Creating sendmail replacement ..." - diropts -m 755 - dodir /usr/sbin /usr/lib - - dosym /var/qmail/bin/sendmail /usr/sbin/sendmail - dosym /var/qmail/bin/sendmail /usr/lib/sendmail - - einfo "Setting up the default aliases ..." - diropts -m 700 -o alias -g qmail - ${MAILDIRMAKE} ${D}/var/qmail/alias/.maildiri - keepdir /var/qmail/alias/.maildir/{cur,new,tmp} - - for i in /var/qmail/alias/.qmail-{mailer-daemon,postmaster,root} - do - if [[ ! -f ${i} ]]; then - touch ${D}${i} - fowners alias:qmail ${i} - fi - done - - einfo "Setting up maildirs by default in the account skeleton ..." - diropts -m 755 -o root -g root - insinto /etc/skel - newins ${FILESDIR}/dot-qmail .qmail.sample - fperms 644 /etc/skel/.qmail.sample - ${MAILDIRMAKE} ${D}/etc/skel/.maildir - keepdir /etc/skel/.maildir/{cur,new,tmp} - - einfo "Setting up all services (send, smtp, qmtp, qmqp, pop3) ..." - insopts -o root -g root -m 755 - diropts -m 755 -o root -g root - dodir /var/qmail/supervise - - for i in send smtpd qmtpd qmqpd pop3d; do - insopts -o root -g root -m 755 - diropts -m 755 -o root -g root - dodir /var/qmail/supervise/qmail-${i}{,/log} - fperms +t /var/qmail/supervise/qmail-${i}{,/log} - insinto /var/qmail/supervise/qmail-${i} - newins ${FILESDIR}/run-qmail-${i} run - insinto /var/qmail/supervise/qmail-${i}/log - newins ${FILESDIR}/run-qmail-${i}-log run - diropts -m 755 -o qmaill - keepdir /var/log/qmail/qmail-${i} - done - - dodir ${TCPRULES_DIR} - insinto ${TCPRULES_DIR} - newins ${FILESDIR}/tcprules.d-Makefile.qmail Makefile.qmail - for i in smtp qmtp qmqp pop3; do - newins ${FILESDIR}/tcp.${i}.sample tcp.qmail-${i} - done - - einfo "Installing some stock configuration files" - insinto /var/qmail/control - insopts -o root -g root -m 644 - doins ${FILESDIR}/conf-{common,send,qmtpd,qmqpd,pop3d} - newins ${FILESDIR}/conf-smtpd conf-smtpd - newins ${FILESDIR}/dot-qmail defaultdelivery - use ssl && \ - doins ${FILESDIR}/servercert.cnf - - einfo "Configuration sanity checker and launcher" - into /var/qmail - insopts -o root -g root -m 644 - dobin ${FILESDIR}/qmail-config-system - - if use qmail-spp; then - einfo "Installing files for qmail-spp" - insinto /var/qmail/control/ - doins ${QMAIL_SPP_S}/samples/smtpplugins - keepdir /var/qmail/plugins/ - fi - - if use ssl; then - einfo "SSL Certificate creation script" - dobin ${FILESDIR}/mkservercert - einfo "RSA key generation cronjob" - insinto /etc/${CRON_FOLDER} - doins ${FILESDIR}/qmail-genrsacert.sh - chmod +x ${D}/etc/${CRON_FOLDER}/qmail-genrsacert.sh - - # for some files - keepdir /var/qmail/control/tlshosts/ - fi -} - -rootmailfixup() { - # so you can check mail as root easily - local TMPCMD="ln -sf /var/qmail/alias/.maildir/ ${ROOT}/root/.maildir" - if [[ -d "${ROOT}/root/.maildir" && ! -L "${ROOT}/root/.maildir" ]] ; then - einfo "Previously the qmail ebuilds created /root/.maildir/ but not" - einfo "every mail was delivered there. If the directory does not" - einfo "contain any mail, please delete it and run:" - einfo "${TMPCMD}" - else - ${TMPCMD} - fi - chown -R alias:qmail ${ROOT}/var/qmail/alias/.maildir 2>/dev/null -} - -buildtcprules() { - for i in smtp qmtp qmqp pop3; do - # please note that we don't check if it exists - # as we want it to make the cdb files anyway! - f=tcp.qmail-${i} - src=${ROOT}${TCPRULES_DIR}/${f} - cdb=${ROOT}${TCPRULES_DIR}/${f}.cdb - tmp=${ROOT}${TCPRULES_DIR}/.${f}.tmp - [[ -e ${src} ]] && tcprules ${cdb} ${tmp} < ${src} - done -} - -pkg_postinst() { - einfo "Setting up the message queue hierarchy ..." - /usr/bin/queue-repair.py \ - --create --split "${MY_CONF_SPLIT}" \ - $(use highvolume && echo '--bigtodo' || echo '--no-bigtodo') \ - ${ROOT}/var/qmail >/dev/null || \ - die 'queue-repair failed' - - rootmailfixup - buildtcprules - - elog "To setup qmail to run out-of-the-box on your system, run:" - elog "emerge --config =${CATEGORY}/${PF}" - elog - elog "To start qmail at boot you have to add svscan to your startup" - elog "and create the following links:" - elog "ln -s /var/qmail/supervise/qmail-send /service/qmail-send" - elog "ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd" - elog - elog "To start the pop3 server as well, create the following link:" - elog "ln -s /var/qmail/supervise/qmail-pop3d /service/qmail-pop3d" - elog - elog "Additionally, the QMTP and QMQP protocols are supported, " - elog "and can be started as:" - elog "ln -s /var/qmail/supervise/qmail-qmtpd /service/qmail-qmtpd" - elog "ln -s /var/qmail/supervise/qmail-qmqpd /service/qmail-qmqpd" - elog - elog "Additionally, if you wish to run qmail right now, you should " - elog "run this before anything else:" - elog "source /etc/profile" - elog - elog "If you are looking for documentation, check those links:" - elog "http://www.gentoo.org/doc/en/qmail-howto.xml" - elog " -- qmail/vpopmail Virtual Mail Hosting System Guide" - elog "http://www.lifewithqmail.com/" - elog " -- Life with qmail" -} - -pkg_preinst() { - mkdir -p ${TCPRULES_DIR} - for proto in smtp qmtp qmqp pop3; do - for ext in '' .cdb; do - old="/etc/tcp.${proto}${ext}" - new="${TCPRULES_DIR}/tcp.qmail-${proto}${ext}" - fail=0 - if [[ -f "$old" && ! -f "$new" ]]; then - einfo "Moving $old to $new" - cp $old $new || fail=1 - else - fail=1 - fi - if [[ "${fail}" = 1 && -f ${old} ]]; then - eerror "Error moving $old to $new, be sure to check the" - eerror "configuration! You may have already moved the files," - eerror "in which case you can delete $old" - fi - done - done -} - -# Candidate for eclass -pkg_setup() { - # keep in sync with mini-qmail pkg - einfo "Creating groups and users" - enewgroup qmail 201 - enewuser alias 200 -1 /var/qmail/alias 200 - enewuser qmaild 201 -1 /var/qmail 200 - enewuser qmaill 202 -1 /var/qmail 200 - enewuser qmailp 203 -1 /var/qmail 200 - enewuser qmailq 204 -1 /var/qmail 201 - enewuser qmailr 205 -1 /var/qmail 201 - enewuser qmails 206 -1 /var/qmail 201 -} - -pkg_config() { - # avoid some weird locale problems - export LC_ALL=C - - if [[ ${ROOT} = / ]] ; then - if [[ ! -f ${ROOT}var/qmail/control/me ]] ; then - export qhost=$(hostname --fqdn) - ${ROOT}var/qmail/bin/config-fast $qhost - fi - else - ewarn "Skipping some configuration as it MUST be run on the final host" - fi - - einfo "Accepting relaying by default from all ips configured on this machine." - LOCALIPS=$(/sbin/ifconfig | grep inet | cut -d' ' -f 12 -s | cut -b 6-20) - TCPSTRING=":allow,RELAYCLIENT=\"\",RBLSMTPD=\"\"" - for ip in $LOCALIPS; do - myline="${ip}${TCPSTRING}" - for proto in smtp qmtp qmqp; do - f="${ROOT}${TCPRULES_DIR}/tcp.qmail-${proto}" - egrep -q "${myline}" ${f} || echo "${myline}" >>${f} - done - done - - buildtcprules - - if use ssl; then - ebegin "Generating RSA keys for SSL/TLS, this can take some time" - ${ROOT}/etc/${CRON_FOLDER}/qmail-genrsacert.sh - eend $? - einfo "Creating a self-signed ssl-certificate:" - ${ROOT}/var/qmail/bin/mkservercert - einfo "If you want to have a properly signed certificate " - einfo "instead, do the following:" - # space at the end of the string because of the current implementation - # of einfo - einfo "openssl req -new -nodes -out req.pem \\ " - einfo " -config /var/qmail/control/servercert.cnf \\ " - einfo " -keyout /var/qmail/control/servercert.pem" - einfo "Send req.pem to your CA to obtain signed_req.pem, and do:" - einfo "cat signed_req.pem >> /var/qmail/control/servercert.pem" - fi -} - -# --- TODO: The following code can be moved to prime.eclass -- -# Original Author: Michael Hanselmann <hansmi@gentoo.org> -# Purpose: Functions for prime numbers - -# Prints a list of primes between min and max inclusive -# -# Note: this functions gets very slow when used with large numbers. -# -# Syntax: primes <min> <max> -primes() { - local min=${1} max=${2} - local result= primelist=2 i p - - [[ ${min} -le 2 ]] && result="${result} 2" - - for ((i = 3; i <= max; i += 2)) - do - for p in ${primelist} - do - [[ $[i % p] == 0 || $[p * p] -gt ${i} ]] && \ - break - done - if [[ $[i % p] != 0 ]] - then - primelist="${primelist} ${i}" - [[ ${i} -ge ${min} ]] && \ - result="${result} ${i}" - fi - done - - echo ${result} -} - -# Checks wether a number is a prime number -# -# Syntax: is_prime <number> -is_prime() { - local number=${1} i - for i in $(primes ${number} ${number}) - do - [[ ${i} == ${number} ]] && return 0 - done - return 1 -} -# --- end of prime.eclass --- diff --git a/mail-mta/netqmail/netqmail-1.05-r8.ebuild b/mail-mta/netqmail/netqmail-1.05-r8.ebuild deleted file mode 100644 index 928056f9fffb..000000000000 --- a/mail-mta/netqmail/netqmail-1.05-r8.ebuild +++ /dev/null @@ -1,477 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/netqmail-1.05-r8.ebuild,v 1.15 2012/11/06 11:17:40 eras Exp $ - -inherit eutils toolchain-funcs fixheadtails flag-o-matic user - -TLS_AUTH_PATCH=20070417 -QMAIL_SPP_PATCH=0.42 - -DESCRIPTION="qmail -- a secure, reliable, efficient, simple message transfer agent" -HOMEPAGE=" - http://netqmail.org/ - http://cr.yp.to/qmail.html - http://qmail.org/ -" -SRC_URI=" - mirror://qmail/netqmail-${PV}.tar.gz - !vanilla? ( - ssl? ( http://shupp.org/patches/netqmail-${PV}-tls-smtpauth-${TLS_AUTH_PATCH}.patch ) - highvolume? ( mirror://qmail/big-todo.103.patch ) - qmail-spp? ( mirror://sourceforge/qmail-spp/qmail-spp-${QMAIL_SPP_PATCH}.tar.gz ) - ) -" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" -IUSE="gencertdaily highvolume noauthcram qmail-spp ssl vanilla" -RESTRICT="test" - -DEPEND=" - !mail-mta/qmail - sys-apps/groff - net-mail/queue-repair - ssl? ( dev-libs/openssl ) -" -RDEPEND=" - !mail-mta/courier - !mail-mta/esmtp - !mail-mta/exim - !mail-mta/mini-qmail - !mail-mta/msmtp - !mail-mta/nullmailer - !mail-mta/postfix - !mail-mta/qmail-ldap - !mail-mta/sendmail - !mail-mta/ssmtp - sys-apps/ucspi-tcp - virtual/daemontools - net-mail/dot-forward - !noauthcram? ( - || ( >=net-mail/checkpassword-0.90 >=net-mail/checkpassword-pam-0.99 ) - >=net-mail/cmd5checkpw-0.30 - ) - ${DEPEND} -" - -# Important: QMAIL_CONF_SPLIT should always be a prime number! -MY_CONF_SPLIT="${QMAIL_CONF_SPLIT:-23}" - -MY_S="${S}/netqmail-${PV}" -QMAIL_SPP_S="${WORKDIR}/qmail-spp-${QMAIL_SPP_PATCH}" -TCPRULES_DIR=/etc/tcprules.d - -if use gencertdaily; then - CRON_FOLDER=cron.daily -else - CRON_FOLDER=cron.hourly -fi - -src_unpack() { - unpack netqmail-${PV}.tar.gz - use qmail-spp && \ - unpack qmail-spp-${QMAIL_SPP_PATCH}.tar.gz - - cd "${S}" - - ./collate.sh || die "patching failed" - - cd "${MY_S}" - - if ! use vanilla; then - use ssl && epatch ${DISTDIR}/netqmail-${PV}-tls-smtpauth-${TLS_AUTH_PATCH}.patch - - if use highvolume; then - epatch ${DISTDIR}/big-todo.103.patch - fi - - if use qmail-spp; then - if use ssl; then - epatch ${QMAIL_SPP_S}/qmail-spp-smtpauth-tls-20060105.diff - else - epatch ${QMAIL_SPP_S}/netqmail-spp.diff - fi - fi - fi - - if [[ -n "${QMAIL_PATCH_DIR}" && -d "${QMAIL_PATCH_DIR}" ]] - then - echo - ewarn "You enabled custom patches from ${QMAIL_PATCH_DIR}." - ewarn "Be warned that you won't get any support when using " - ewarn "this feature. You're on your own from now!" - ebeep - epatch "${QMAIL_PATCH_DIR}/"* - echo - fi - - is_prime ${MY_CONF_SPLIT} || die 'QMAIL_CONF_SPLIT is not a prime number.' - einfo "Using conf-split value of ${MY_CONF_SPLIT}." - - # Fix bug #33818 but for netqmail (Bug 137015) - if use noauthcram; then - einfo "Disabling CRAM_MD5 support" - sed -e 's,^#define CRAM_MD5$,/*&*/,' -i ${MY_S}/qmail-smtpd.c - else - einfo "Enabled CRAM_MD5 support" - fi - - ht_fix_file Makefile* - - # -DTLS is now set by the SSL/TLS patch - #use ssl && append-flags -DTLS - - # The following commands patch the conf-{cc,ld} files to use the user's - # specified CFLAGS and LDFLAGS. These rather complex commands are needed - # because a user supplied patch might apply changes to these files, too. - # Fixes Bug #165981. - echo "$(head -n 1 "${MY_S}/conf-cc" | sed -e "s#^g\?cc\s\+\(-O2\)\?#$(tc-getCC) #")" \ - "${CFLAGS}" > "${MY_S}/conf-cc.tmp" && - mv "${MY_S}/conf-cc.tmp" "${MY_S}/conf-cc" || die 'Patching conf-cc failed.' - - echo "$(head -n 1 "${MY_S}/conf-ld" | sed -e "s#^g\?cc\s\+\(-s\)\?#$(tc-getCC) #")" \ - "${LDLAGS}" > "${MY_S}/conf-ld.tmp" && - mv "${MY_S}/conf-ld.tmp" "${MY_S}/conf-ld" || die 'Patching conf-ld failed.' - - echo -n "${MY_CONF_SPLIT}" > "${MY_S}/conf-split" -} - -src_compile() { - cd "${MY_S}" - emake it man || die "make failed" -} - -src_install() { - cd "${MY_S}" - - einfo "Setting up directory hierarchy ..." - - diropts -m 755 -o root -g qmail - dodir /var/qmail/{,bin,boot,control} - - keepdir /var/qmail/users - - diropts -m 755 -o alias -g qmail - dodir /var/qmail/alias - - einfo "Installing the qmail software ..." - - insopts -o root -g qmail -m 755 - insinto /var/qmail/boot - doins home home+df proc proc+df binm1 binm1+df binm2 \ - binm2+df binm3 binm3+df - - insinto /var/qmail/bin - - insopts -o qmailq -g qmail -m 4711 - doins qmail-queue - - insopts -o root -g qmail -m 700 - doins qmail-{lspawn,start,newu,newmrh} - - insopts -o root -g qmail -m 711 - doins qmail-{getpw,local,remote,rspawn,clean,send,pw2u} splogger - - insopts -o root -g qmail -m 755 - doins bouncesaying condredirect config-fast datemail elq \ - except forward maildir2mbox maildirmake maildirwatch \ - mailsubj pinq predate preline qail qbiff \ - qmail-{inject,pop3d,popup,qmqpc,qmqpd,qmtpd,qread} \ - qmail-{qstat,showctl,smtpd,tcpok,tcpto} \ - qreceipt qsmhook sendmail tcp-env - - einfo "Installing manpages" - into /usr - doman *.[1-8] - - dodoc BLURB* CHANGES FAQ INSTALL* PIC* README* REMOVE* SECURITY \ - SENDMAIL SYSDEPS TARGETS TEST* THANKS* THOUGHTS TODO* \ - UPGRADE VERSION* - - # use the correct maildirmake - # the courier-imap one has some extensions that are nicer - [[ -e /usr/bin/maildirmake ]] && \ - MAILDIRMAKE="/usr/bin/maildirmake" || \ - MAILDIRMAKE="${D}/var/qmail/bin/maildirmake" - - einfo "Adding env.d entry for qmail" - insopts -m 644 - doenvd ${FILESDIR}/99qmail - - einfo "Creating sendmail replacement ..." - diropts -m 755 - dodir /usr/sbin /usr/lib - - dosym /var/qmail/bin/sendmail /usr/sbin/sendmail - dosym /var/qmail/bin/sendmail /usr/lib/sendmail - - einfo "Setting up the default aliases ..." - diropts -m 700 -o alias -g qmail - ${MAILDIRMAKE} ${D}/var/qmail/alias/.maildir - keepdir /var/qmail/alias/.maildir/{cur,new,tmp} - - for i in /var/qmail/alias/.qmail-{mailer-daemon,postmaster,root} - do - if [[ ! -f ${i} ]]; then - touch ${D}${i} - fowners alias:qmail ${i} - fi - done - - einfo "Setting up maildirs by default in the account skeleton ..." - diropts -m 755 -o root -g root - insinto /etc/skel - newins ${FILESDIR}/dot-qmail .qmail.sample - fperms 644 /etc/skel/.qmail.sample - ${MAILDIRMAKE} ${D}/etc/skel/.maildir - keepdir /etc/skel/.maildir/{cur,new,tmp} - - einfo "Setting up all services (send, smtp, qmtp, qmqp, pop3) ..." - insopts -o root -g root -m 755 - diropts -m 755 -o root -g root - dodir /var/qmail/supervise - - for i in send smtpd qmtpd qmqpd pop3d; do - insopts -o root -g root -m 755 - diropts -m 755 -o root -g root - dodir /var/qmail/supervise/qmail-${i}{,/log} - fperms +t /var/qmail/supervise/qmail-${i}{,/log} - insinto /var/qmail/supervise/qmail-${i} - newins ${FILESDIR}/run-qmail-${i} run - insinto /var/qmail/supervise/qmail-${i}/log - newins ${FILESDIR}/run-qmail-${i}-log run - diropts -m 755 -o qmaill - keepdir /var/log/qmail/qmail-${i} - done - - dodir ${TCPRULES_DIR} - insinto ${TCPRULES_DIR} - newins ${FILESDIR}/tcprules.d-Makefile.qmail Makefile.qmail - for i in smtp qmtp qmqp pop3; do - newins ${FILESDIR}/tcp.${i}.sample tcp.qmail-${i} - done - - einfo "Installing some stock configuration files" - insinto /var/qmail/control - insopts -o root -g root -m 644 - doins ${FILESDIR}/conf-{common,send,qmtpd,qmqpd,pop3d} - newins ${FILESDIR}/conf-smtpd conf-smtpd - newins ${FILESDIR}/dot-qmail defaultdelivery - use ssl && \ - doins ${FILESDIR}/servercert.cnf - - einfo "Configuration sanity checker and launcher" - into /var/qmail - insopts -o root -g root -m 644 - dobin ${FILESDIR}/qmail-config-system - - if use qmail-spp; then - einfo "Installing files for qmail-spp" - insinto /var/qmail/control/ - doins ${QMAIL_SPP_S}/samples/smtpplugins - keepdir /var/qmail/plugins/ - fi - - if use ssl; then - einfo "SSL Certificate creation script" - dobin ${FILESDIR}/mkservercert - einfo "RSA key generation cronjob" - insinto /etc/${CRON_FOLDER} - doins ${FILESDIR}/qmail-genrsacert.sh - chmod +x ${D}/etc/${CRON_FOLDER}/qmail-genrsacert.sh - - # for some files - keepdir /var/qmail/control/tlshosts/ - fi -} - -rootmailfixup() { - # so you can check mail as root easily - local TMPCMD="ln -sf /var/qmail/alias/.maildir/ ${ROOT}/root/.maildir" - if [[ -d "${ROOT}/root/.maildir" && ! -L "${ROOT}/root/.maildir" ]] ; then - elog "Previously the qmail ebuilds created /root/.maildir/ but not" - elog "every mail was delivered there. If the directory does not" - elog "contain any mail, please delete it and run:" - elog "${TMPCMD}" - else - ${TMPCMD} - fi - chown -R alias:qmail ${ROOT}/var/qmail/alias/.maildir 2>/dev/null -} - -buildtcprules() { - for i in smtp qmtp qmqp pop3; do - # please note that we don't check if it exists - # as we want it to make the cdb files anyway! - f=tcp.qmail-${i} - src=${ROOT}${TCPRULES_DIR}/${f} - cdb=${ROOT}${TCPRULES_DIR}/${f}.cdb - tmp=${ROOT}${TCPRULES_DIR}/.${f}.tmp - [[ -e ${src} ]] && tcprules ${cdb} ${tmp} < ${src} - done -} - -pkg_postinst() { - einfo "Setting up the message queue hierarchy ..." - /usr/bin/queue-repair.py \ - --create --split "${MY_CONF_SPLIT}" \ - $(use highvolume && echo '--bigtodo' || echo '--no-bigtodo') \ - ${ROOT}/var/qmail >/dev/null || \ - die 'queue-repair failed' - - rootmailfixup - buildtcprules - - elog "To setup qmail to run out-of-the-box on your system, run:" - elog "emerge --config =${CATEGORY}/${PF}" - elog - elog "To start qmail at boot you have to add svscan to your startup" - elog "and create the following links:" - elog "ln -s /var/qmail/supervise/qmail-send /service/qmail-send" - elog "ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd" - elog - elog "To start the pop3 server as well, create the following link:" - elog "ln -s /var/qmail/supervise/qmail-pop3d /service/qmail-pop3d" - elog - elog "Additionally, the QMTP and QMQP protocols are supported, " - elog "and can be started as:" - elog "ln -s /var/qmail/supervise/qmail-qmtpd /service/qmail-qmtpd" - elog "ln -s /var/qmail/supervise/qmail-qmqpd /service/qmail-qmqpd" - elog - elog "Additionally, if you wish to run qmail right now, you should " - elog "run this before anything else:" - elog "source /etc/profile" - elog - elog "If you are looking for documentation, check those links:" - elog "http://www.gentoo.org/doc/en/qmail-howto.xml" - elog " -- qmail/vpopmail Virtual Mail Hosting System Guide" - elog "http://www.lifewithqmail.com/" - elog " -- Life with qmail" -} - -pkg_preinst() { - mkdir -p ${TCPRULES_DIR} - for proto in smtp qmtp qmqp pop3; do - for ext in '' .cdb; do - old="/etc/tcp.${proto}${ext}" - new="${TCPRULES_DIR}/tcp.qmail-${proto}${ext}" - fail=0 - if [[ -f "$old" && ! -f "$new" ]]; then - einfo "Moving $old to $new" - cp $old $new || fail=1 - else - fail=1 - fi - if [[ "${fail}" = 1 && -f ${old} ]]; then - eerror "Error moving $old to $new, be sure to check the" - eerror "configuration! You may have already moved the files," - eerror "in which case you can delete $old" - fi - done - done -} - -# Candidate for eclass -pkg_setup() { - # keep in sync with mini-qmail pkg - einfo "Creating groups and users" - enewgroup qmail 201 - enewuser alias 200 -1 /var/qmail/alias 200 - enewuser qmaild 201 -1 /var/qmail 200 - enewuser qmaill 202 -1 /var/qmail 200 - enewuser qmailp 203 -1 /var/qmail 200 - enewuser qmailq 204 -1 /var/qmail 201 - enewuser qmailr 205 -1 /var/qmail 201 - enewuser qmails 206 -1 /var/qmail 201 -} - -pkg_config() { - # avoid some weird locale problems - export LC_ALL=C - - if [[ ${ROOT} = / ]] ; then - if [[ ! -f ${ROOT}var/qmail/control/me ]] ; then - export qhost=$(hostname --fqdn) - ${ROOT}var/qmail/bin/config-fast $qhost - fi - else - ewarn "Skipping some configuration as it MUST be run on the final host" - fi - - einfo "Accepting relaying by default from all ips configured on this machine." - LOCALIPS=$(/sbin/ifconfig | grep inet | cut -d' ' -f 12 -s | cut -b 6-20) - TCPSTRING=":allow,RELAYCLIENT=\"\",RBLSMTPD=\"\"" - for ip in $LOCALIPS; do - myline="${ip}${TCPSTRING}" - for proto in smtp qmtp qmqp; do - f="${ROOT}${TCPRULES_DIR}/tcp.qmail-${proto}" - egrep -q "${myline}" ${f} || echo "${myline}" >>${f} - done - done - - buildtcprules - - if use ssl; then - ebegin "Generating RSA keys for SSL/TLS, this can take some time" - ${ROOT}/etc/${CRON_FOLDER}/qmail-genrsacert.sh - eend $? - einfo "Creating a self-signed ssl-certificate:" - ${ROOT}/var/qmail/bin/mkservercert - einfo "If you want to have a properly signed certificate " - einfo "instead, do the following:" - # space at the end of the string because of the current implementation - # of einfo - einfo "openssl req -new -nodes -out req.pem \\ " - einfo " -config /var/qmail/control/servercert.cnf \\ " - einfo " -keyout /var/qmail/control/servercert.pem" - einfo "Send req.pem to your CA to obtain signed_req.pem, and do:" - einfo "cat signed_req.pem >> /var/qmail/control/servercert.pem" - fi -} - -# --- TODO: The following code can be moved to prime.eclass -- -# Original Author: Michael Hanselmann <hansmi@gentoo.org> -# Purpose: Functions for prime numbers - -# Prints a list of primes between min and max inclusive -# -# Note: this functions gets very slow when used with large numbers. -# -# Syntax: primes <min> <max> -primes() { - local min=${1} max=${2} - local result= primelist=2 i p - - [[ ${min} -le 2 ]] && result="${result} 2" - - for ((i = 3; i <= max; i += 2)) - do - for p in ${primelist} - do - [[ $[i % p] == 0 || $[p * p] -gt ${i} ]] && \ - break - done - if [[ $[i % p] != 0 ]] - then - primelist="${primelist} ${i}" - [[ ${i} -ge ${min} ]] && \ - result="${result} ${i}" - fi - done - - echo ${result} -} - -# Checks wether a number is a prime number -# -# Syntax: is_prime <number> -is_prime() { - local number=${1} i - for i in $(primes ${number} ${number}) - do - [[ ${i} == ${number} ]] && return 0 - done - return 1 -} -# --- end of prime.eclass --- |