postfix-vl.spec 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053
  1. #%define build_mysql %{?_with_mysql:1}%{!?_with_mysql:0}
  2. #%define build_pgsql %{?_with_pgsql:1}%{!?_with_pgsql:0}
  3. %define build_mysql 1
  4. %define build_pgsql 1
  5. %define _sysconfdir /etc
  6. %define _data_dir %{_var}/lib/postfix
  7. # postfix user/group
  8. # changed since 2.9.4-3
  9. %define postfix_uid 89
  10. %define postfix_user postfix
  11. %define postfix_gid 89
  12. %define postfix_group postfix
  13. %define maildrop_group postdrop
  14. %define maildrop_gid 90
  15. # install dirs
  16. %define postfix_config_dir %{_sysconfdir}/postfix
  17. %define postfix_shlib_dir %{_libdir}/postfix
  18. %define postfix_daemon_dir %{_libdir}/postfix
  19. %define postfix_command_dir %{_sbindir}
  20. %define postfix_queue_dir %{_var}/spool/postfix
  21. %define postfix_data_dir %{_var}/lib/postfix
  22. %define postfix_doc_dir %{_docdir}/%{name}-%{version}
  23. %define postfix_sample_dir %{postfix_doc_dir}/samples
  24. %define postfix_readme_dir %{postfix_doc_dir}/README_FILES
  25. %define origversion 3.1.0
  26. Summary: Postfix Mail Transport Agent
  27. Summary(ja): Postfix メールトランスポートエージェント
  28. Name: postfix
  29. Version: %{origversion}
  30. Release: 1%{?_dist_release}
  31. URL: http://www.postfix.org/
  32. License: Distributable - IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
  33. Group: System Environment/Daemons
  34. Source0: ftp://postfix.cloud9.net/official/%{name}-%{version}.tar.gz
  35. Source1: postfix.aliases
  36. Source2: postfix.cron
  37. Source3: postfix.init
  38. Patch0: postfix-2.9.1-vine.patch
  39. # patches 200-299 are imported from rh/fedora
  40. Patch200: postfix-3.0.0-large-fs.patch
  41. Provides: smtpdaemon
  42. Conflicts: sendmail
  43. BuildRequires: pam-devel
  44. BuildRequires: cyrus-sasl-devel >= 2
  45. BuildRequires: openldap-devel, openssl-devel
  46. BuildRequires: libicu-devel, pcre-devel
  47. %if "%{_dist_release}" >= "vl7"
  48. BuildRequires: libdb-devel >= 5.3
  49. Requires(post): libdb
  50. %else
  51. BuildRequires: db4-devel >= 4.6.21
  52. Requires(post): db4
  53. %endif
  54. %if %build_mysql
  55. %if "%{_dist_release}" >= "vl7"
  56. BuildRequires: libmysqlclient-devel
  57. %else
  58. BuildRequires: MySQL-devel
  59. %endif
  60. %endif
  61. %if %build_pgsql
  62. %if "%{_dist_release}" >= "vl7"
  63. BuildRequires: libpq-devel
  64. %else
  65. BuildRequires: postgresql-devel
  66. %endif
  67. %endif
  68. BuildRequires: sqlite3-devel
  69. Requires(pre): chkconfig
  70. Requires: cyrus-sasl >= 2, cyrus-sasl-md5, cyrus-sasl-plain
  71. Requires: pam
  72. Obsoletes: postfix-beta
  73. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  74. Vendor: Project Vine
  75. Distribution: Vine Linux
  76. Packager: daisuke
  77. %description
  78. Postfix aims to be an alternative to the widely-used sendmail
  79. program. Sendmail is responsible for 70 percent of all e-mail delivered
  80. on the Internet. With an estimated 100 million users, that's an
  81. estimated 10 billion (10^10) messages daily. A stunning number.
  82. Although IBM supported the Postfix development, it abstains from
  83. control over its evolution. The goal is to have Postfix installed
  84. on as many systems as possible. To this end, the software is given
  85. away with no strings attached to it, so that it can evolve with
  86. input from and under control by its users.
  87. #'
  88. %description -l ja
  89. Postfix は現在広く使われている sendmail を置き換える目的で
  90. 開発されています。sendmail は約 70% の E-mail サーバで使用
  91. されています。また、その使用者は 100万人にもおよび、およそ
  92. 一日 1 千万通ものメールを処理しています。
  93. Postfix の開発は IBM によってサポートされており、全世界の
  94. 全てのシステムを postfix にすることを目標としています。
  95. %package sqlite
  96. Summary: SQLite3 map support for Postfix
  97. Group: System Environment/Daemons
  98. Requires(pre): postfix = %{version}-%{release}
  99. %description sqlite
  100. This package contains shared lib module which support
  101. SQLite map on Postfix.
  102. %description -l ja sqlite
  103. このパッケージには、Postfix で SQLite map を使うのに
  104. 必要なライブラリが納められています。
  105. %if %build_pgsql
  106. %package pgsql
  107. Summary: PGSQL map support for Postfix
  108. Group: System Environment/Daemons
  109. Requires(pre): postfix = %{version}-%{release}
  110. %description pgsql
  111. This package contains shared lib module which support
  112. PostgreSQL map on Postfix.
  113. %description -l ja pgsql
  114. このパッケージには、Postfix で PostgreSQL を使うのに必要な
  115. ライブラリが納められています。
  116. %endif
  117. %if %build_mysql
  118. %package mysql
  119. Summary: MySQL map support for Postfix
  120. Group: System Environment/Daemons
  121. Requires(pre): postfix = %{version}-%{release}
  122. %description mysql
  123. This package contains shared lib module which support
  124. MySQL map on Postfix.
  125. %description -l ja mysql
  126. このパッケージには、Postfix で MySQL を使うのに必要な
  127. ライブラリが納められています。
  128. %endif
  129. %package ldap
  130. Summary: LDAP map support for Postfix
  131. Group: System Environment/Daemons
  132. Requires(pre): postfix = %{version}-%{release}
  133. %description ldap
  134. This package contains shared lib module which support
  135. OpenLDAP map on Postfix.
  136. %description -l ja ldap
  137. このパッケージには、Postfix で OpenLDAP を使うのに必要な
  138. ライブラリが納められています。
  139. %package pcre
  140. Summary: PCRE map support for Postfix
  141. Group: System Environment/Daemons
  142. Requires(pre): postfix = %{version}-%{release}
  143. %description pcre
  144. This package contains shared lib module which support
  145. PCRE map on Postfix.
  146. %description -l ja pcre
  147. このパッケージには、Postfix で PCRE マップを使うのに必要な
  148. ライブラリが納められています。
  149. %prep
  150. # japanese documant for 2.4.x is not ready.
  151. # %setup -q -a 10 -a 20 -a 30 -a 40
  152. %setup -q
  153. %patch0 -p1 -b .vine
  154. %ifarch x86_64
  155. sed -i -e 's|/usr/lib/postfix|/usr/lib64/postfix|g' conf/main.cf
  156. %endif
  157. %patch200 -p1 -b .large-fs
  158. # Change DEF_SHLIB_DIR according to build host
  159. sed -i \
  160. 's|^\(\s*#define\s\+DEF_SHLIB_DIR\s\+\)"/usr/lib/postfix"|\1"%{_libdir}/postfix" |' \
  161. src/global/mail_params.h
  162. %build
  163. unset AUXLIBS_MYSQL AUXLIBS_PGSQL
  164. CCARGS="-DMAX_DYNAMIC_MAPS \
  165. -DUSE_SASL_AUTH -I/usr/include/sasl \
  166. -DUSE_CYRUS_SASL \
  167. -DHAS_LDAP \
  168. -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL \
  169. -DHAS_SSL -I/usr/include/openssl \
  170. -DHAS_PCRE -I/usr/include/pcre \
  171. -DHAS_SQLITE \
  172. `pkg-config --cflags sqlite3` \
  173. -DUSE_TLS"
  174. AUXLIBS="-lsasl2 -lssl -lcrypto"
  175. AUXLIBS_LDAP="-lldap -llber"
  176. AUXLIBS_PCRE="-lpcre"
  177. AUXLIBS_SQLITE="`pkg-config --libs sqlite3`"
  178. %if %build_mysql
  179. CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql"
  180. AUXLIBS_MYSQL="-L%{_libdir}/mysql -lmysqlclient -lm"
  181. %endif
  182. %if %build_pgsql
  183. CCARGS="${CCARGS} -DHAS_PGSQL -I/usr/include/pgsql"
  184. AUXLIBS_PGSQL="-lpq"
  185. %endif
  186. make -f Makefile.init makefiles \
  187. shared=yes dynamicmaps=yes \
  188. CCARGS="${CCARGS}" \
  189. AUXLIBS="${AUXLIBS}" \
  190. AUXLIBS_LDAP="${AUXLIBS_LDAP}" AUXLIBS_PCRE="${AUXLIBS_PCRE}" \
  191. AUXLIBS_MYSQL="${AUXLIBS_MYSQL}" AUXLIBS_PGSQL="${AUXLIBS_PGSQL}" \
  192. AUXLIBS_SQLITE="${AUXLIBS_SQLITE}" \
  193. SHLIB_RPATH="-Wl,-rpath,%{postfix_shlib_dir}" \
  194. OPT="$RPM_OPT_FLAGS" DEBUG=""
  195. # make %{?_smp_mflags} DEBUG="" OPT="$RPM_OPT_FLAGS" \
  196. # LD_LIBRARY_PATH=$(pwd)/lib:${LD_LIBRARY_PATH}
  197. # using _smp_mflags makes build error. why? (2008.10.11)
  198. #make DEBUG="" OPT="$RPM_OPT_FLAGS" \
  199. # LD_LIBRARY_PATH=$(pwd)/lib:${LD_LIBRARY_PATH} CDBSO=""
  200. make %{?_smp_mflags}
  201. %install
  202. rm -rf $RPM_BUILD_ROOT
  203. rm -f html/Makefile.in
  204. rm -f README_FILES/*.*
  205. install -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
  206. install -d $RPM_BUILD_ROOT%{_sysconfdir}/postfix
  207. install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
  208. install -d $RPM_BUILD_ROOT%{_bindir}
  209. install -d $RPM_BUILD_ROOT%{_libdir}/postfix
  210. install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5,8}
  211. install -d $RPM_BUILD_ROOT%{_mandir}/ja/man{1,5,8}
  212. install -d $RPM_BUILD_ROOT%{_sbindir}
  213. install -d $RPM_BUILD_ROOT%{_var}/spool/postfix
  214. install -d $RPM_BUILD_ROOT%{_var}/spool/postfix/{active,corrupt,deferred,incoming,pid,public}
  215. install -d $RPM_BUILD_ROOT%{_var}/spool/postfix/{bounce,defer,flush,maildrop,private,saved}
  216. LD_LIBRARY_PATH=./lib \
  217. sh postfix-install -non-interactive \
  218. install_root=$RPM_BUILD_ROOT \
  219. config_directory=%{postfix_config_dir} \
  220. meta_directory=%{postfix_config_dir} \
  221. shlib_directory=%{postfix_shlib_dir} \
  222. daemon_directory=%{postfix_daemon_dir} \
  223. command_directory=%{postfix_command_dir} \
  224. queue_directory=%{postfix_queue_dir} \
  225. data_directory=%{postfix_data_dir} \
  226. sendmail_path=%{postfix_command_dir}/sendmail \
  227. newaliases_path=%{_bindir}/newaliases \
  228. mailq_path=%{_bindir}/mailq \
  229. mail_owner=%{postfix_user} \
  230. setgid_group=%{maildrop_group} \
  231. manpage_directory=%{_mandir} \
  232. sample_directory=%{postfix_sample_dir} \
  233. readme_directory=%{postfix_readme_dir} || exit 1
  234. install -m644 conf/postfix-files $RPM_BUILD_ROOT%{_sysconfdir}/postfix
  235. for i in post-install postfix-script
  236. do
  237. install -m755 conf/$i $RPM_BUILD_ROOT%{_sysconfdir}/postfix
  238. done
  239. # install performance benchmark tools by hand
  240. for i in smtp-sink smtp-source qmqp-sink qmqp-source; do
  241. install -c -m 755 bin/$i $RPM_BUILD_ROOT%{postfix_command_dir}/
  242. install -c -m 755 man/man1/$i.1 $RPM_BUILD_ROOT%{_mandir}/man1/
  243. done
  244. install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/aliases
  245. install -m755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/postfix
  246. install -m755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/postfix
  247. ln -sf postfix/aliases $RPM_BUILD_ROOT%{_sysconfdir}/aliases
  248. ln -sf postfix/aliases.db $RPM_BUILD_ROOT%{_sysconfdir}/aliases.db
  249. # helper for splitting content of dynamicmaps.cf and postfix-files
  250. function split_file
  251. {
  252. # "|| :" to silently skip non existent records
  253. grep "$1" "$3" >> "$3.d/$2" || :
  254. sed -i "\|$1| d" "$3" || :
  255. }
  256. # split global dynamic maps configuration to individual sub-packages
  257. pushd $RPM_BUILD_ROOT%{postfix_config_dir}
  258. for map in sqlite ldap pcre \
  259. %{?build_mysql:mysql} %{?build_pgsql:pgsql}; do
  260. rm -f dynamicmaps.cf.d/"$map" "postfix-files.d/$map"
  261. split_file "^\s*$map\b" "$map" dynamicmaps.cf
  262. sed -i "s|postfix-$map\\.so|%{postfix_shlib_dir}/\\0|" "dynamicmaps.cf.d/$map"
  263. split_file "^\$shlib_directory/postfix-$map\\.so:" "$map" postfix-files
  264. split_file "^\$manpage_directory/man5/${map}_table\\.5" "$map" postfix-files
  265. map_upper=`echo $map | tr '[:lower:]' '[:upper:]'`
  266. split_file "^\$readme_directory/${map_upper}_README:" "$map" postfix-files
  267. done
  268. popd
  269. #( cd $RPM_BUILD_ROOT%{_bindir}
  270. # ln -sf ../sbin/sendmail mailq
  271. # ln -sf ../sbin/sendmail newaliases
  272. #)
  273. ( cd $RPM_BUILD_ROOT%{_libdir}
  274. ln -sf ../sbin/sendmail sendmail
  275. )
  276. # data dir
  277. install -d $RPM_BUILD_ROOT%{_data_dir}
  278. # remove unneeded files
  279. rm -f $RPM_BUILD_ROOT%{postfix_config_dir}/{TLS_,}LICENSE
  280. rm -f $RPM_BUILD_ROOT%{postfix_config_dir}/{main,master}.cf.proto
  281. rm -f $RPM_BUILD_ROOT%{postfix_config_dir}/makedefs.out
  282. %pre
  283. # Add user and groups if necessary
  284. %{_sbindir}/groupadd -g %{maildrop_gid} -r %{maildrop_group} 2>/dev/null
  285. %{_sbindir}/groupadd -g %{postfix_gid} -r %{postfix_group} 2>/dev/null
  286. %{_sbindir}/groupadd -g 12 -r mail 2>/dev/null
  287. %{_sbindir}/useradd -d %{postfix_queue_dir} -s /sbin/nologin -g %{postfix_group} -G mail -M -r -u %{postfix_uid} %{postfix_user} 2>/dev/null
  288. exit 0
  289. %post
  290. /sbin/ldconfig
  291. # upgrade configuration files if necessary
  292. %{_sbindir}/postfix set-permissions upgrade-configuration \
  293. daemon_directory=%{postfix_daemon_dir} \
  294. command_directory=%{postfix_command_dir} \
  295. mail_owner=%{postfix_user} \
  296. setgid_group=%{maildrop_group} \
  297. manpage_directory=%{_mandir} \
  298. sample_directory=%{postfix_sample_dir} \
  299. readme_directory=%{postfix_readme_dir} &> /dev/null
  300. /sbin/chkconfig --add postfix
  301. if [ ! -f %{_sysconfdir}/postfix/aliases.db ]; then
  302. %{_sbindir}/postalias %{_sysconfdir}/postfix/aliases
  303. fi
  304. %{_sbindir}/postalias %{_sysconfdir}/postfix/aliases ||:
  305. if [ ! -e %{_libdir}/sendmail ]; then
  306. ln -sf %{_sbindir}/sendmail %{_libdir}/sendmail
  307. fi
  308. /sbin/chkconfig --del sendmail &> /dev/null ||:
  309. %{_sbindir}/postfix check >/dev/null 2>&1 ||:
  310. %preun
  311. if [ $1 -eq 0 ]; then
  312. if [ -f %{_var}/lock/subsys/postfix -a -f %{_sysconfdir}/rc.d/init.d/postfix ]; then
  313. %{_sysconfdir}/rc.d/init.d/postfix stop
  314. fi
  315. /sbin/chkconfig --del postfix
  316. fi
  317. %postun
  318. /sbin/ldconfig
  319. if [ -f %{_var}/lock/subsys/postfix ]; then
  320. if [ $1 -eq 0 ]; then
  321. rm -rf %{_var}/lock/subsys/postfix
  322. else
  323. %{_sysconfdir}/rc.d/init.d/postfix restart
  324. fi
  325. fi
  326. %triggerpostun -- postfix < 3.1.0
  327. if [ -f %{_var}/lock/subsys/postfix ]; then
  328. if [ $2 -gt 0 ]; then
  329. %{_sysconfdir}/rc.d/init.d/postfix restart
  330. fi
  331. fi
  332. %clean
  333. rm -rf $RPM_BUILD_ROOT
  334. %files
  335. %defattr(-,root,root)
  336. %doc COMPATIBILITY COPYRIGHT HISTORY TLS_LICENSE LICENSE INSTALL PORTING RELEASE_NOTES
  337. # japanese documant for 2.4.x is not ready.
  338. # %doc conf.ja
  339. # %doc html html.ja
  340. # %doc README_FILES README_FILES.ja
  341. %doc README_FILES
  342. # %doc man-%{jmanversion}/readme_ja.txt
  343. %{_sysconfdir}/aliases
  344. %{_sysconfdir}/aliases.db
  345. %config %{_sysconfdir}/cron.daily/postfix
  346. %dir %{_sysconfdir}/postfix
  347. %config %{_sysconfdir}/postfix/main.cf.default
  348. %config %{_sysconfdir}/postfix/master.cf
  349. %config %{_sysconfdir}/postfix/bounce.cf.default
  350. %dir %{_sysconfdir}/postfix/dynamicmaps.cf.d
  351. %dir %{_sysconfdir}/postfix/postfix-files.d
  352. %config(noreplace) %{_sysconfdir}/postfix/aliases
  353. %config(noreplace) %{_sysconfdir}/postfix/access
  354. %config(noreplace) %{_sysconfdir}/postfix/canonical
  355. %config(noreplace) %{_sysconfdir}/postfix/generic
  356. %config(noreplace) %{_sysconfdir}/postfix/header_checks
  357. %config(noreplace) %{_sysconfdir}/postfix/main.cf
  358. %config(noreplace) %{_sysconfdir}/postfix/relocated
  359. %config(noreplace) %{_sysconfdir}/postfix/transport
  360. %config(noreplace) %{_sysconfdir}/postfix/virtual
  361. %config(noreplace) %{_sysconfdir}/postfix/dynamicmaps.cf
  362. %config %{_sysconfdir}/postfix/postfix-files
  363. %config %{_sysconfdir}/postfix/post-install
  364. %config %{_sysconfdir}/postfix/postfix-script
  365. %config %{_sysconfdir}/rc.d/init.d/postfix
  366. %{_bindir}/*
  367. %dir %{_libdir}/postfix
  368. %{_libdir}/postfix/*
  369. %if %{build_pgsql}
  370. %exclude %{_libdir}/postfix/postfix-pgsql.so
  371. %endif
  372. %if %{build_mysql}
  373. %exclude %{_libdir}/postfix/postfix-mysql.so
  374. %endif
  375. %exclude %{_libdir}/postfix/postfix-sqlite.so
  376. %exclude %{_libdir}/postfix/postfix-ldap.so
  377. %exclude %{_libdir}/postfix/postfix-pcre.so
  378. %exclude %{_sysconfdir}/postfix/dynamicmaps.cf.d/*
  379. %exclude %{_sysconfdir}/postfix/postfix-files.d/*
  380. %{_sbindir}/postalias
  381. %{_sbindir}/postcat
  382. %{_sbindir}/postconf
  383. %attr(2755,root,postdrop) %{_sbindir}/postdrop
  384. %{_sbindir}/postfix
  385. %{_sbindir}/postkick
  386. %{_sbindir}/postlock
  387. %{_sbindir}/postlog
  388. %{_sbindir}/postmap
  389. %{_sbindir}/postmulti
  390. %attr(2755,root,postdrop) %{_sbindir}/postqueue
  391. %{_sbindir}/postsuper
  392. %{_sbindir}/qmqp-sink
  393. %{_sbindir}/qmqp-source
  394. %{_sbindir}/sendmail
  395. %{_sbindir}/smtp-sink
  396. %{_sbindir}/smtp-source
  397. %attr(-,root,man) %{_mandir}/man*/*
  398. # %attr(-,root,man) %{_mandir}/ja/man*/*
  399. %dir %{_var}/spool/postfix
  400. %attr(0750,postfix,root) %dir %{_data_dir}
  401. %attr(1733,postfix,postdrop) %dir %{_var}/spool/postfix/maildrop
  402. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/active
  403. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/corrupt
  404. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/deferred
  405. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/incoming
  406. %attr(0755,root,root) %dir %{_var}/spool/postfix/pid
  407. %attr(0710,postfix,postdrop) %dir %{_var}/spool/postfix/public
  408. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/bounce
  409. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/defer
  410. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/flush
  411. %attr(0710,postfix,postfix) %dir %{_var}/spool/postfix/private
  412. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/saved
  413. %{_libdir}/sendmail
  414. %files sqlite
  415. %defattr(-,root,root)
  416. %{_libdir}/postfix/postfix-sqlite.so
  417. %{_sysconfdir}/postfix/dynamicmaps.cf.d/sqlite
  418. %{_sysconfdir}/postfix/postfix-files.d/sqlite
  419. %if %build_pgsql
  420. %files pgsql
  421. %defattr(-,root,root)
  422. %{_libdir}/postfix/postfix-pgsql.so
  423. %{_sysconfdir}/postfix/dynamicmaps.cf.d/pgsql
  424. %{_sysconfdir}/postfix/postfix-files.d/pgsql
  425. %endif
  426. %if %build_mysql
  427. %files mysql
  428. %defattr(-,root,root)
  429. %{_libdir}/postfix/postfix-mysql.so
  430. %{_sysconfdir}/postfix/dynamicmaps.cf.d/mysql
  431. %{_sysconfdir}/postfix/postfix-files.d/mysql
  432. %endif
  433. %files ldap
  434. %defattr(-,root,root)
  435. %{_libdir}/postfix/postfix-ldap.so
  436. %{_sysconfdir}/postfix/dynamicmaps.cf.d/ldap
  437. %{_sysconfdir}/postfix/postfix-files.d/ldap
  438. %files pcre
  439. %defattr(-,root,root)
  440. %{_libdir}/postfix/postfix-pcre.so
  441. %{_sysconfdir}/postfix/dynamicmaps.cf.d/pcre
  442. %{_sysconfdir}/postfix/postfix-files.d/pcre
  443. %changelog
  444. * Sun May 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.0-1
  445. - new upstream release.
  446. * Mon Mar 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.4-1
  447. - new upstream release.
  448. * Thu Mar 10 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.0.3-4
  449. - rebuilt with openssl 1.0.2g
  450. * Thu Nov 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-3
  451. - rebuild with icu-56.1
  452. * Mon Nov 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-2
  453. - fixed dependency.
  454. * Sun Nov 1 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-1
  455. - new upstream release.
  456. - updated patch200.
  457. - dropped patch100 and 101.
  458. * Sat Sep 5 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11.6-1
  459. - new upstream release.
  460. * Sun Jul 20 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-2
  461. - fix BR/R for current environment
  462. * Sun Jun 15 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-1
  463. - update to 2.11.1
  464. - build with libpq-devel and libmysqlclient-devel (vl7)
  465. * Sat Jan 18 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.10.3-1
  466. - new upstream release.
  467. * Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.2-1
  468. - update to 2.10.2
  469. * Sun Dec 09 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.4-3
  470. - add -DHAS_DLOPEN to CCARGS instead of patch102.
  471. - use postfix-install in %%install (to prepare main.cf)
  472. - change postfix uid/gid to fixed id. (89 for postfix, 90 for postdrop)
  473. - run postalias on %%post
  474. * Fri Nov 30 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.9.4-2
  475. - added patch102.
  476. * Sun Nov 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.4-1
  477. - update to 2.9.4
  478. - update dynamicmaps patches
  479. - add sqite3 map support, add postfix-sqlite subpackage.
  480. - drop unneeded patches
  481. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.12-1
  482. - update to 2.8.12
  483. - rebuild with pcre-8.31
  484. * Tue May 01 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.10-1
  485. - update to 2.8.10
  486. * Sun Mar 04 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.9-1
  487. - update to 2.8.9
  488. * Thu May 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.3-1
  489. - update to 2.8.3
  490. * Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-1
  491. - update to 2.8.2
  492. - update dynamicmaps patch
  493. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.6.8-5
  494. - rebuilt with postgresql-9.0.3
  495. * Sun Jan 9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.8-4
  496. - rebuilt with openssl 1.0.0c
  497. - fix changelog typo..
  498. * Wed Dec 01 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.8-3
  499. - new upstream release.
  500. - updated %%patch100 and %%patch210.
  501. * Sat Feb 20 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.5-2
  502. - removed MySQL-shared from "Requires:" and "BuildRequires:".
  503. - replaced "Prereq:" with "Requires(pre):".
  504. - replaced "BuildPrereq:" with "BuildRequires:".
  505. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.5-1
  506. - new upstream release
  507. - rebuild with db4-4.8.0
  508. * Sun Aug 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-2
  509. - change /var/spool/postfix/pid owner and permission
  510. (0700,postfix,postfix -> 0755,root,root)
  511. * Mon Aug 3 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.3-1
  512. - new upstream release
  513. * Sat Jun 6 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.2-1
  514. - new upstream release.
  515. * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-2
  516. - added a missing file.
  517. * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-1
  518. - new upstream release.
  519. - updated dynamicmaps patch.
  520. * Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.7-2
  521. - made to build -mysql and -pgsql as default.
  522. - rebuilt with MySQL-5.1.34.
  523. * Wed May 13 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.7-1
  524. - new upstream release
  525. - update Patch200 from fc10
  526. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.6-2
  527. - rebuilt with openldap-2.4.11
  528. * Mon Jan 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.6-1
  529. - new upstream release
  530. * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-4
  531. - add patch200/patch210 from fedora
  532. * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-3
  533. - add Requires cyrus-sasl-md5, cyrus-sasl-plain for smtp auth
  534. - add Japanese description into sub packages
  535. * Sat Oct 11 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-2
  536. - update patch100/101 to fix libxsasl build issue
  537. - remove smp flag in build section to solve build error
  538. - add _data_dir
  539. * Fri Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-1
  540. - new upstream release
  541. - update patch100/101 to fit 2.5.5 (from suse)
  542. - add %exclude dict_{my,pg}sql.so to %%files to avoid unneeded dependancy
  543. when option "--with XXsql" is specified. (from Vine 4.x update package)
  544. - remove HAS_DLOPEN macro.
  545. * Sat Sep 06 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.9-1
  546. - new upstream release with security fix
  547. * Sat Aug 30 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-2
  548. - add %%if %%build_mysql and %%if %%mysql from BuildRequires section again
  549. - remove unnessary dependency
  550. * Thu Aug 28 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-1
  551. - new upstream release with security fix
  552. * Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.7-4
  553. - spec in UTF-8
  554. * Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.7-3
  555. - rebuilt against db4-4.6.21
  556. * Tue Apr 15 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.4.7-2
  557. - add HAS_DLOPEN macro.
  558. - add USE_CYRUS_SASL macro.
  559. - modify dynamicmaps.cf (/usr/lib -> %%{_libdir}).
  560. * Tue Mar 25 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.7-1
  561. - new upstream release
  562. - update patch100 (it is based from mdk 2008.0)
  563. - add smp_mflags in make section
  564. - build under new versioning policy
  565. * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-0vl10
  566. - rebuilt with postgresql-devel 8.2.5
  567. - updated Source20, 30 and 40
  568. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl9
  569. - rebuild with new openssl
  570. * Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.10-0vl8
  571. - rebuilt with new toolchain and db4-4.3.x
  572. * Fri Apr 13 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.2.10-0vl7
  573. - <BTS:493> fix typo in %%if statement for %%files mysql section.
  574. - remove %%if %%build_mysql and %%if %%mysql from BuildRequires section,
  575. (Patch100 always builds dict_mysql.o and dict_pgsql.o)
  576. * Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl6
  577. - disable MySQL, PostgreSQL support by default.
  578. use "--with {mysql|pgsql}" to build them.
  579. * Mon Sep 18 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl5
  580. - add lib64 patch to correct daemon_directory on x86_64 architecture
  581. * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl4
  582. - remove duplicated entry from aliases. (<BTS:170>)
  583. * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl3
  584. - add some pseudo accounts to aliases. (<BTS:170>)
  585. - add BuildPreReq: MySQL-shared
  586. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl2
  587. - rebuilt with openldap-2.3.27-0vl1
  588. * Sun Apr 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl1
  589. - new upstream release
  590. * Thu Jan 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8-0vl1
  591. - new upstream release
  592. * Fri Sep 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.5-0vl1
  593. - new upstream release
  594. - update to 2.2.5
  595. - update dynamicmaps from debian package
  596. - update Japaese manpages and jconf
  597. - add jhtml and jreadme
  598. - enable TLS/SSL
  599. * Mon Jan 31 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  600. - new upstream release
  601. - update all patches
  602. - link sasl2 instead of sasl1
  603. * Mon Jan 24 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.0.20-0vl6
  604. - enable cyrus-sasl.
  605. - add TLS/IPv6 patch.
  606. - modify main.cf to disable IPv6 as default.
  607. * Thu Oct 28 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl5
  608. - add PreReq: db4 >= 4.2.52
  609. (to avoid errors when upgrading from db40-linked version)
  610. * Mon Oct 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl4
  611. - rebuilt with db4-4.2.52
  612. * Tue Jun 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl3
  613. - fix first installation time bugs...
  614. - remove aliases.db from %%files again
  615. - add 'touch aliases.db' in %%post script
  616. - update default main.cf to use /etc/postfix/aliases as default alias_database
  617. * Mon Jun 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl2
  618. - add /etc/postfix/aliases.db to %%files
  619. * Sat May 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl1
  620. - new upstream release
  621. * Tue Apr 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.19-0vl1
  622. - new upstream release
  623. - build with new postgresql
  624. * Fri Sep 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.16-0vl1
  625. - new upstream release
  626. - update jconf/jman/jhtml
  627. * Fri Jul 4 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.13-0vl1
  628. - new upstream release
  629. - update jman/jhtml/jreadme
  630. * Mon Jun 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.12-0vl1
  631. - new upstream release
  632. - update jconf/jman/jhtml/jreadme
  633. * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.10-0vl1
  634. - new upstream release
  635. * Fri May 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.9-0vl5
  636. - rebuild by new cyrus-sasl(2.1.13-3vl1)
  637. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl4
  638. - add more BuildPreReq, Requires
  639. - fix some typo
  640. - add missing files to %%files.
  641. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl3
  642. - rebuild
  643. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl2
  644. - add debian's dynamic map patch.
  645. some additional feature is divided to sub package.
  646. - postfix-ldap, postfix-mysql, postfix-pgsql, postfix-pcre
  647. - split common postfix libraries as shared libs.
  648. - libpostfix-{master,global,util,dns}.so.1
  649. - use cyrus-sasl for SMTP-AUTH
  650. * Wed Apr 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl1
  651. - new upstream release 2.0.9
  652. - update jman/jhtml/jconf to 2.0.8
  653. * Wed Apr 9 2003 IWAI Masaharu <iwai@alib.jp> 2.0.7-0vl1
  654. - new upstream version
  655. - update documents
  656. - jman (source4)
  657. - jconf (Source5)
  658. - faq.html (Source6)
  659. - INSTALL.jp (Source7)
  660. - jhtml (Source12)
  661. * Sun Jan 19 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.12-0vl3
  662. - rebuilt against db4
  663. * Wed Dec 18 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl2
  664. - rebuild to remove unnecessary dependancy.
  665. * Sat Nov 23 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl1
  666. - new upstream version
  667. - modified /etc/init.d/postfix
  668. * Sun Oct 06 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl3
  669. - fixed brainless mistakes...
  670. update main.cf again.
  671. * Thu Oct 03 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl2
  672. - update main.cf patch
  673. - do not use procmail for local mailer.
  674. - do not show version and OS name for smtpd greeting banner.
  675. * Tue Jun 04 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl1
  676. - new upstream release
  677. - update jman, jconf, jhtml
  678. * Tue May 28 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl2
  679. - updated main.cf patch ( Patch0 )
  680. undefine myhostname
  681. * Fri May 24 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl1
  682. - changed %%{_var}/spool/postfix/private directory permission (0700 -> 0710)
  683. Thanks Mr. Daisuke SUZUKI ([VineSeed:06454])
  684. * Thu May 23 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl0
  685. - upstream release
  686. - updated japanese documents Source4-9
  687. ( and the unofficial Japanese Web Site moved. )
  688. - added japanese documents Source10-12
  689. - updated main.cf patch ( Patch0 )
  690. - added postdrop group
  691. - added some directories in %%{_var}/spool/postfix/
  692. active, corrupt, deferred, incoming, pid, public, bounce,
  693. defer,flush,private and saved directories
  694. * Mon Feb 18 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl3
  695. - not stop in %%pre
  696. - not start but restart in %%post
  697. * Mon Dec 31 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl2
  698. - added BuildPreReq: db3-devel
  699. * Sat Nov 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl08-0vl1
  700. - updated to 20010228-pl08
  701. * Fri Nov 9 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl06-0vl1
  702. - updated to 20010228-pl06
  703. * Sun Sep 23 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl05-0vl1
  704. - updated to 20010228-pl05
  705. * Wed Aug 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl04-0vl1
  706. - updated to 20010228-pl04
  707. * Wed Jun 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl2
  708. - update Japanese documents and manpages
  709. * Sun May 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl1
  710. - updated to 20010228-pl03
  711. * Mon May 21 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  712. - 0.0.20010228pl02-0vl3
  713. - modified %%preun script again
  714. (to check whether %%{_sysconfidir}/rc.d/init.d/postfix already exists)
  715. * Wed May 02 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  716. - 0.0.20010228pl02-0vl2
  717. - fixed incorrect %%preun script :-P
  718. * Tue May 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl02-0vl1
  719. - updated to 20010228-pl02
  720. * Wed Apr 11 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl4
  721. - add {pcre,regexp}_table to %files
  722. - don't replace config files
  723. - start postfix after install/upgrade
  724. * Mon Apr 09 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl2
  725. - updated jman pages and translations.
  726. - added japanese sample config files.
  727. * Sat Mar 31 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl1
  728. - updated to 20010228-pl01
  729. * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl2
  730. - fixed file location
  731. * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl1
  732. - updated to 20010228
  733. * Tue Dec 26 2000 Tomoya TAKA <tomoya@olive.plala.or.jp> 0.0.199912310pl13-0vl2
  734. - fixed about mandir
  735. * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl13-0vl1
  736. - updated to 19991231-pl13
  737. - use rpm macros in spec
  738. * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl11-0vl1
  739. - updated to 19991231-pl11
  740. * Thu Nov 9 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl10-0vl1
  741. - updated to 19991231-pl10
  742. * Thu Oct 12 2000 Yoshihiro Kajiki <kajiki@ylug.org>
  743. - fix newaliases problem by adding slink
  744. * Mon Oct 2 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  745. - add japanese man pages
  746. * Sun Oct 1 2000 Jun Nishii <jun@vinelinux.org>
  747. - updates to 19991231-pl09-0vl2
  748. - fixed Group
  749. * Fri Sep 22 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  750. - updates to 19991231-pl09
  751. * Wed Aug 09 2000 MACHINO, Satoshi <mac@netfort.gr.jp>
  752. - %build, removed bzip2 -9 and strip
  753. - fixed %files section to handle compressed man page
  754. * Wed Jun 21 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  755. - Version name changes to 0.0.version
  756. - updates to 19991231-pl08
  757. + Major changes with postfix-19991231-pl08:
  758. Specify "body_checks = regexp:%{_sysconfdir}/postfix/body_checks" for a quick
  759. and dirty emergency content filter that looks at non-header lines
  760. one line at a time (including MIME headers inside the message body).
  761. Details in conf/sample-filter.cf.
  762. + Incompatible changes with postfix-19991231-pl07:
  763. As required by RFC 822, Postfix now inserts a generic destination
  764. message header when no destination header is present. The text is
  765. specified via the undisclosed_recipients_header configuration
  766. parameter (default: "To: undisclosed-recipients:;").
  767. * Thu Apr 6 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  768. - updates to 19991231-pl06
  769. - added percent hack to main.cf
  770. * Sun Feb 20 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  771. - adopted to Vine Linux
  772. * Mon Jan 3 2000 Jean-Michel Dault <jmdault@netrevolution.com>
  773. - updated to 19991231
  774. - added postfix group
  775. - corrected aliases.db bug
  776. * Mon Dec 27 1999 Jerome Dumonteil <jd@mandrakesoft.com>
  777. - Add postfix check in post to create sub dirs in spool
  778. * Mon Dec 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  779. - Add -a $DOMAIN -d $LOGNAME to procmail (philippe).
  780. - New banner.
  781. * Wed Nov 10 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  782. - fix if conflicts with sendmail.
  783. * Sat Jun 5 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
  784. - install bins from libexec/
  785. * Sat Jun 5 1999 Bernhard Rosenkr舅zer <bero@mandrakesoft.com>
  786. - 19990601
  787. - .spec cleanup for easier updates
  788. * Wed May 26 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
  789. - created link from %{_sbindir}/sendmail to %{_libdir}/sendmail
  790. so it doesn't bug out when i rpm -e sendmail
  791. - Now removes %{_var}/lock/subsys/postfix like a good little prog
  792. upon rpm -e
  793. * Fri Apr 23 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  794. - Mandrake adptations.
  795. * Tue Apr 13 1999 Arne Coucheron <arneco@online.no>
  796. [19990317-pl04-1]
  797. * Tue Mar 30 1999 Arne Coucheron <arneco@online.no>
  798. [19990317-pl03-2]
  799. - Castro, Castro, pay attention my friend. You're making it very hard
  800. maintaining the package if you don't follow the flow of the releases
  801. * Thu Mar 25 1999 Arne Coucheron <arneco@online.no>
  802. [19990317-pl02-1]
  803. * Tue Mar 23 1999 Arne Coucheron <arneco@online.no>
  804. [19990317-3]
  805. - added bugfix patch01
  806. * Sat Mar 20 1999 Arne Coucheron <arneco@online.no>
  807. [19990317-2]
  808. - removed the mynetworks line in main.cf, let postfix figure it out
  809. - striping of the files in %{_sbindir}
  810. - alias database moved to %{_sysconfdir}/postfix and made a symlink to it in %{_sysconfdir}
  811. - enabled procmail support in main.cf and added it to Requires:
  812. - check status on master instead of postfix in the init script
  813. - obsoletes postfix-beta
  814. - had to move some of my latest changelog entries up here since Edgard Castro
  815. didn't follow my releases
  816. * Thu Mar 18 1999 Edgard Castro <castro@usmatrix.net>
  817. [19990317]
  818. * Tue Mar 16 1999 Edgard Castro <castro@usmatrix.net>
  819. [alpha-19990315]
  820. * Tue Mar 9 1999 Edgard Castro <castro@usmatrix.net>
  821. [19990122-pl01-2]
  822. - shell and gecho information changed to complie with Red Hat stardand
  823. - changed the name of the rpm package to postfix, instead of postfix-beta
  824. * Tue Feb 16 1999 Edgard Castro <castro@usmatrix.net>
  825. [19990122-pl01-1]
  826. * Sun Jan 24 1999 Arne Coucheron <arneco@online.no>
  827. [19990122-1]
  828. - shell for postfix user changed to /bin/true to avoid logins to the account
  829. - files in %{_libdir}exec/postfix moved to %{_libdir}/postfix since this complies
  830. more with the Red Hat standard
  831. * Wed Jan 06 1999 Arne Coucheron <arneco@online.no>
  832. [19981230-2]
  833. - added URL for the source
  834. - added a cron job for daily check of errors
  835. - sample config files moved from /etc/postfix/sample to the docdir
  836. - dropped making of symlinks in %{_sbindir} and instead installing the real
  837. files there
  838. - because of the previous they're not needed anymore in %{_libdir}exec/postfix,
  839. so they are removed from that place
  840. * Fri Jan 01 1999 Arne Coucheron <arneco@online.no>
  841. [19981230-1]
  842. * Tue Dec 29 1998 Arne Coucheron <arneco@online.no>
  843. [19981222-1]
  844. - first build of rpm version