postfix-vl.spec 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040
  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.0.3
  26. Summary: Postfix Mail Transport Agent
  27. Summary(ja): Postfix メールトランスポートエージェント
  28. Name: postfix
  29. Version: %{origversion}
  30. Release: 4%{?_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. if [ -f %{_var}/lock/subsys/postfix ]; then
  311. %{_sysconfdir}/rc.d/init.d/postfix restart
  312. fi
  313. %preun
  314. if [ $1 = 0 ]; then
  315. if [ -f %{_var}/lock/subsys/postfix -a -f %{_sysconfdir}/rc.d/init.d/postfix ]; then
  316. %{_sysconfdir}/rc.d/init.d/postfix stop
  317. fi
  318. /sbin/chkconfig --del postfix
  319. fi
  320. %postun
  321. /sbin/ldconfig
  322. if [ $1 = 0 ]; then
  323. if ! [ -f %{_var}/lock/subsys/postfix ]; then
  324. rm -rf %{_var}/lock/subsys/postfix
  325. fi
  326. fi
  327. %clean
  328. rm -rf $RPM_BUILD_ROOT
  329. %files
  330. %defattr(-,root,root)
  331. %doc COMPATIBILITY COPYRIGHT HISTORY TLS_LICENSE LICENSE INSTALL PORTING RELEASE_NOTES
  332. # japanese documant for 2.4.x is not ready.
  333. # %doc conf.ja
  334. # %doc html html.ja
  335. # %doc README_FILES README_FILES.ja
  336. %doc README_FILES
  337. # %doc man-%{jmanversion}/readme_ja.txt
  338. %{_sysconfdir}/aliases
  339. %{_sysconfdir}/aliases.db
  340. %config %{_sysconfdir}/cron.daily/postfix
  341. %dir %{_sysconfdir}/postfix
  342. %config %{_sysconfdir}/postfix/main.cf.default
  343. %config %{_sysconfdir}/postfix/master.cf
  344. %config %{_sysconfdir}/postfix/bounce.cf.default
  345. %dir %{_sysconfdir}/postfix/dynamicmaps.cf.d
  346. %dir %{_sysconfdir}/postfix/postfix-files.d
  347. %config(noreplace) %{_sysconfdir}/postfix/aliases
  348. %config(noreplace) %{_sysconfdir}/postfix/access
  349. %config(noreplace) %{_sysconfdir}/postfix/canonical
  350. %config(noreplace) %{_sysconfdir}/postfix/generic
  351. %config(noreplace) %{_sysconfdir}/postfix/header_checks
  352. %config(noreplace) %{_sysconfdir}/postfix/main.cf
  353. %config(noreplace) %{_sysconfdir}/postfix/relocated
  354. %config(noreplace) %{_sysconfdir}/postfix/transport
  355. %config(noreplace) %{_sysconfdir}/postfix/virtual
  356. %config(noreplace) %{_sysconfdir}/postfix/dynamicmaps.cf
  357. %config %{_sysconfdir}/postfix/postfix-files
  358. %config %{_sysconfdir}/postfix/post-install
  359. %config %{_sysconfdir}/postfix/postfix-script
  360. %config %{_sysconfdir}/rc.d/init.d/postfix
  361. %{_bindir}/*
  362. %dir %{_libdir}/postfix
  363. %{_libdir}/postfix/*
  364. %if %{build_pgsql}
  365. %exclude %{_libdir}/postfix/postfix-pgsql.so
  366. %endif
  367. %if %{build_mysql}
  368. %exclude %{_libdir}/postfix/postfix-mysql.so
  369. %endif
  370. %exclude %{_libdir}/postfix/postfix-sqlite.so
  371. %exclude %{_libdir}/postfix/postfix-ldap.so
  372. %exclude %{_libdir}/postfix/postfix-pcre.so
  373. %exclude %{_sysconfdir}/postfix/dynamicmaps.cf.d/*
  374. %exclude %{_sysconfdir}/postfix/postfix-files.d/*
  375. %{_sbindir}/postalias
  376. %{_sbindir}/postcat
  377. %{_sbindir}/postconf
  378. %attr(2755,root,postdrop) %{_sbindir}/postdrop
  379. %{_sbindir}/postfix
  380. %{_sbindir}/postkick
  381. %{_sbindir}/postlock
  382. %{_sbindir}/postlog
  383. %{_sbindir}/postmap
  384. %{_sbindir}/postmulti
  385. %attr(2755,root,postdrop) %{_sbindir}/postqueue
  386. %{_sbindir}/postsuper
  387. %{_sbindir}/qmqp-sink
  388. %{_sbindir}/qmqp-source
  389. %{_sbindir}/sendmail
  390. %{_sbindir}/smtp-sink
  391. %{_sbindir}/smtp-source
  392. %attr(-,root,man) %{_mandir}/man*/*
  393. # %attr(-,root,man) %{_mandir}/ja/man*/*
  394. %dir %{_var}/spool/postfix
  395. %attr(0750,postfix,root) %dir %{_data_dir}
  396. %attr(1733,postfix,postdrop) %dir %{_var}/spool/postfix/maildrop
  397. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/active
  398. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/corrupt
  399. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/deferred
  400. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/incoming
  401. %attr(0755,root,root) %dir %{_var}/spool/postfix/pid
  402. %attr(0710,postfix,postdrop) %dir %{_var}/spool/postfix/public
  403. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/bounce
  404. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/defer
  405. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/flush
  406. %attr(0710,postfix,postfix) %dir %{_var}/spool/postfix/private
  407. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/saved
  408. %{_libdir}/sendmail
  409. %files sqlite
  410. %defattr(-,root,root)
  411. %{_libdir}/postfix/postfix-sqlite.so
  412. %{_sysconfdir}/postfix/dynamicmaps.cf.d/sqlite
  413. %{_sysconfdir}/postfix/postfix-files.d/sqlite
  414. %if %build_pgsql
  415. %files pgsql
  416. %defattr(-,root,root)
  417. %{_libdir}/postfix/postfix-pgsql.so
  418. %{_sysconfdir}/postfix/dynamicmaps.cf.d/pgsql
  419. %{_sysconfdir}/postfix/postfix-files.d/pgsql
  420. %endif
  421. %if %build_mysql
  422. %files mysql
  423. %defattr(-,root,root)
  424. %{_libdir}/postfix/postfix-mysql.so
  425. %{_sysconfdir}/postfix/dynamicmaps.cf.d/mysql
  426. %{_sysconfdir}/postfix/postfix-files.d/mysql
  427. %endif
  428. %files ldap
  429. %defattr(-,root,root)
  430. %{_libdir}/postfix/postfix-ldap.so
  431. %{_sysconfdir}/postfix/dynamicmaps.cf.d/ldap
  432. %{_sysconfdir}/postfix/postfix-files.d/ldap
  433. %files pcre
  434. %defattr(-,root,root)
  435. %{_libdir}/postfix/postfix-pcre.so
  436. %{_sysconfdir}/postfix/dynamicmaps.cf.d/pcre
  437. %{_sysconfdir}/postfix/postfix-files.d/pcre
  438. %changelog
  439. * Thu Mar 10 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.0.3-4
  440. - rebuilt with openssl 1.0.2g
  441. * Thu Nov 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-3
  442. - rebuild with icu-56.1
  443. * Mon Nov 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-2
  444. - fixed dependency.
  445. * Sun Nov 1 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-1
  446. - new upstream release.
  447. - updated patch200.
  448. - dropped patch100 and 101.
  449. * Sat Sep 5 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11.6-1
  450. - new upstream release.
  451. * Sun Jul 20 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-2
  452. - fix BR/R for current environment
  453. * Sun Jun 15 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-1
  454. - update to 2.11.1
  455. - build with libpq-devel and libmysqlclient-devel (vl7)
  456. * Sat Jan 18 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.10.3-1
  457. - new upstream release.
  458. * Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.2-1
  459. - update to 2.10.2
  460. * Sun Dec 09 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.4-3
  461. - add -DHAS_DLOPEN to CCARGS instead of patch102.
  462. - use postfix-install in %%install (to prepare main.cf)
  463. - change postfix uid/gid to fixed id. (89 for postfix, 90 for postdrop)
  464. - run postalias on %%post
  465. * Fri Nov 30 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.9.4-2
  466. - added patch102.
  467. * Sun Nov 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.4-1
  468. - update to 2.9.4
  469. - update dynamicmaps patches
  470. - add sqite3 map support, add postfix-sqlite subpackage.
  471. - drop unneeded patches
  472. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.12-1
  473. - update to 2.8.12
  474. - rebuild with pcre-8.31
  475. * Tue May 01 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.10-1
  476. - update to 2.8.10
  477. * Sun Mar 04 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.9-1
  478. - update to 2.8.9
  479. * Thu May 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.3-1
  480. - update to 2.8.3
  481. * Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-1
  482. - update to 2.8.2
  483. - update dynamicmaps patch
  484. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.6.8-5
  485. - rebuilt with postgresql-9.0.3
  486. * Sun Jan 9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.8-4
  487. - rebuilt with openssl 1.0.0c
  488. - fix changelog typo..
  489. * Wed Dec 01 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.8-3
  490. - new upstream release.
  491. - updated %%patch100 and %%patch210.
  492. * Sat Feb 20 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.5-2
  493. - removed MySQL-shared from "Requires:" and "BuildRequires:".
  494. - replaced "Prereq:" with "Requires(pre):".
  495. - replaced "BuildPrereq:" with "BuildRequires:".
  496. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.5-1
  497. - new upstream release
  498. - rebuild with db4-4.8.0
  499. * Sun Aug 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-2
  500. - change /var/spool/postfix/pid owner and permission
  501. (0700,postfix,postfix -> 0755,root,root)
  502. * Mon Aug 3 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.3-1
  503. - new upstream release
  504. * Sat Jun 6 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.2-1
  505. - new upstream release.
  506. * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-2
  507. - added a missing file.
  508. * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-1
  509. - new upstream release.
  510. - updated dynamicmaps patch.
  511. * Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.7-2
  512. - made to build -mysql and -pgsql as default.
  513. - rebuilt with MySQL-5.1.34.
  514. * Wed May 13 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.7-1
  515. - new upstream release
  516. - update Patch200 from fc10
  517. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.6-2
  518. - rebuilt with openldap-2.4.11
  519. * Mon Jan 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.6-1
  520. - new upstream release
  521. * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-4
  522. - add patch200/patch210 from fedora
  523. * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-3
  524. - add Requires cyrus-sasl-md5, cyrus-sasl-plain for smtp auth
  525. - add Japanese description into sub packages
  526. * Sat Oct 11 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-2
  527. - update patch100/101 to fix libxsasl build issue
  528. - remove smp flag in build section to solve build error
  529. - add _data_dir
  530. * Fri Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-1
  531. - new upstream release
  532. - update patch100/101 to fit 2.5.5 (from suse)
  533. - add %exclude dict_{my,pg}sql.so to %%files to avoid unneeded dependancy
  534. when option "--with XXsql" is specified. (from Vine 4.x update package)
  535. - remove HAS_DLOPEN macro.
  536. * Sat Sep 06 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.9-1
  537. - new upstream release with security fix
  538. * Sat Aug 30 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-2
  539. - add %%if %%build_mysql and %%if %%mysql from BuildRequires section again
  540. - remove unnessary dependency
  541. * Thu Aug 28 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-1
  542. - new upstream release with security fix
  543. * Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.7-4
  544. - spec in UTF-8
  545. * Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.7-3
  546. - rebuilt against db4-4.6.21
  547. * Tue Apr 15 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.4.7-2
  548. - add HAS_DLOPEN macro.
  549. - add USE_CYRUS_SASL macro.
  550. - modify dynamicmaps.cf (/usr/lib -> %%{_libdir}).
  551. * Tue Mar 25 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.7-1
  552. - new upstream release
  553. - update patch100 (it is based from mdk 2008.0)
  554. - add smp_mflags in make section
  555. - build under new versioning policy
  556. * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-0vl10
  557. - rebuilt with postgresql-devel 8.2.5
  558. - updated Source20, 30 and 40
  559. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl9
  560. - rebuild with new openssl
  561. * Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.10-0vl8
  562. - rebuilt with new toolchain and db4-4.3.x
  563. * Fri Apr 13 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.2.10-0vl7
  564. - <BTS:493> fix typo in %%if statement for %%files mysql section.
  565. - remove %%if %%build_mysql and %%if %%mysql from BuildRequires section,
  566. (Patch100 always builds dict_mysql.o and dict_pgsql.o)
  567. * Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl6
  568. - disable MySQL, PostgreSQL support by default.
  569. use "--with {mysql|pgsql}" to build them.
  570. * Mon Sep 18 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl5
  571. - add lib64 patch to correct daemon_directory on x86_64 architecture
  572. * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl4
  573. - remove duplicated entry from aliases. (<BTS:170>)
  574. * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl3
  575. - add some pseudo accounts to aliases. (<BTS:170>)
  576. - add BuildPreReq: MySQL-shared
  577. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl2
  578. - rebuilt with openldap-2.3.27-0vl1
  579. * Sun Apr 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl1
  580. - new upstream release
  581. * Thu Jan 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8-0vl1
  582. - new upstream release
  583. * Fri Sep 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.5-0vl1
  584. - new upstream release
  585. - update to 2.2.5
  586. - update dynamicmaps from debian package
  587. - update Japaese manpages and jconf
  588. - add jhtml and jreadme
  589. - enable TLS/SSL
  590. * Mon Jan 31 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  591. - new upstream release
  592. - update all patches
  593. - link sasl2 instead of sasl1
  594. * Mon Jan 24 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.0.20-0vl6
  595. - enable cyrus-sasl.
  596. - add TLS/IPv6 patch.
  597. - modify main.cf to disable IPv6 as default.
  598. * Thu Oct 28 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl5
  599. - add PreReq: db4 >= 4.2.52
  600. (to avoid errors when upgrading from db40-linked version)
  601. * Mon Oct 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl4
  602. - rebuilt with db4-4.2.52
  603. * Tue Jun 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl3
  604. - fix first installation time bugs...
  605. - remove aliases.db from %%files again
  606. - add 'touch aliases.db' in %%post script
  607. - update default main.cf to use /etc/postfix/aliases as default alias_database
  608. * Mon Jun 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl2
  609. - add /etc/postfix/aliases.db to %%files
  610. * Sat May 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl1
  611. - new upstream release
  612. * Tue Apr 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.19-0vl1
  613. - new upstream release
  614. - build with new postgresql
  615. * Fri Sep 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.16-0vl1
  616. - new upstream release
  617. - update jconf/jman/jhtml
  618. * Fri Jul 4 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.13-0vl1
  619. - new upstream release
  620. - update jman/jhtml/jreadme
  621. * Mon Jun 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.12-0vl1
  622. - new upstream release
  623. - update jconf/jman/jhtml/jreadme
  624. * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.10-0vl1
  625. - new upstream release
  626. * Fri May 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.9-0vl5
  627. - rebuild by new cyrus-sasl(2.1.13-3vl1)
  628. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl4
  629. - add more BuildPreReq, Requires
  630. - fix some typo
  631. - add missing files to %%files.
  632. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl3
  633. - rebuild
  634. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl2
  635. - add debian's dynamic map patch.
  636. some additional feature is divided to sub package.
  637. - postfix-ldap, postfix-mysql, postfix-pgsql, postfix-pcre
  638. - split common postfix libraries as shared libs.
  639. - libpostfix-{master,global,util,dns}.so.1
  640. - use cyrus-sasl for SMTP-AUTH
  641. * Wed Apr 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl1
  642. - new upstream release 2.0.9
  643. - update jman/jhtml/jconf to 2.0.8
  644. * Wed Apr 9 2003 IWAI Masaharu <iwai@alib.jp> 2.0.7-0vl1
  645. - new upstream version
  646. - update documents
  647. - jman (source4)
  648. - jconf (Source5)
  649. - faq.html (Source6)
  650. - INSTALL.jp (Source7)
  651. - jhtml (Source12)
  652. * Sun Jan 19 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.12-0vl3
  653. - rebuilt against db4
  654. * Wed Dec 18 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl2
  655. - rebuild to remove unnecessary dependancy.
  656. * Sat Nov 23 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl1
  657. - new upstream version
  658. - modified /etc/init.d/postfix
  659. * Sun Oct 06 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl3
  660. - fixed brainless mistakes...
  661. update main.cf again.
  662. * Thu Oct 03 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl2
  663. - update main.cf patch
  664. - do not use procmail for local mailer.
  665. - do not show version and OS name for smtpd greeting banner.
  666. * Tue Jun 04 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl1
  667. - new upstream release
  668. - update jman, jconf, jhtml
  669. * Tue May 28 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl2
  670. - updated main.cf patch ( Patch0 )
  671. undefine myhostname
  672. * Fri May 24 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl1
  673. - changed %%{_var}/spool/postfix/private directory permission (0700 -> 0710)
  674. Thanks Mr. Daisuke SUZUKI ([VineSeed:06454])
  675. * Thu May 23 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl0
  676. - upstream release
  677. - updated japanese documents Source4-9
  678. ( and the unofficial Japanese Web Site moved. )
  679. - added japanese documents Source10-12
  680. - updated main.cf patch ( Patch0 )
  681. - added postdrop group
  682. - added some directories in %%{_var}/spool/postfix/
  683. active, corrupt, deferred, incoming, pid, public, bounce,
  684. defer,flush,private and saved directories
  685. * Mon Feb 18 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl3
  686. - not stop in %%pre
  687. - not start but restart in %%post
  688. * Mon Dec 31 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl2
  689. - added BuildPreReq: db3-devel
  690. * Sat Nov 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl08-0vl1
  691. - updated to 20010228-pl08
  692. * Fri Nov 9 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl06-0vl1
  693. - updated to 20010228-pl06
  694. * Sun Sep 23 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl05-0vl1
  695. - updated to 20010228-pl05
  696. * Wed Aug 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl04-0vl1
  697. - updated to 20010228-pl04
  698. * Wed Jun 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl2
  699. - update Japanese documents and manpages
  700. * Sun May 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl1
  701. - updated to 20010228-pl03
  702. * Mon May 21 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  703. - 0.0.20010228pl02-0vl3
  704. - modified %%preun script again
  705. (to check whether %%{_sysconfidir}/rc.d/init.d/postfix already exists)
  706. * Wed May 02 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  707. - 0.0.20010228pl02-0vl2
  708. - fixed incorrect %%preun script :-P
  709. * Tue May 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl02-0vl1
  710. - updated to 20010228-pl02
  711. * Wed Apr 11 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl4
  712. - add {pcre,regexp}_table to %files
  713. - don't replace config files
  714. - start postfix after install/upgrade
  715. * Mon Apr 09 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl2
  716. - updated jman pages and translations.
  717. - added japanese sample config files.
  718. * Sat Mar 31 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl1
  719. - updated to 20010228-pl01
  720. * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl2
  721. - fixed file location
  722. * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl1
  723. - updated to 20010228
  724. * Tue Dec 26 2000 Tomoya TAKA <tomoya@olive.plala.or.jp> 0.0.199912310pl13-0vl2
  725. - fixed about mandir
  726. * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl13-0vl1
  727. - updated to 19991231-pl13
  728. - use rpm macros in spec
  729. * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl11-0vl1
  730. - updated to 19991231-pl11
  731. * Thu Nov 9 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl10-0vl1
  732. - updated to 19991231-pl10
  733. * Thu Oct 12 2000 Yoshihiro Kajiki <kajiki@ylug.org>
  734. - fix newaliases problem by adding slink
  735. * Mon Oct 2 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  736. - add japanese man pages
  737. * Sun Oct 1 2000 Jun Nishii <jun@vinelinux.org>
  738. - updates to 19991231-pl09-0vl2
  739. - fixed Group
  740. * Fri Sep 22 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  741. - updates to 19991231-pl09
  742. * Wed Aug 09 2000 MACHINO, Satoshi <mac@netfort.gr.jp>
  743. - %build, removed bzip2 -9 and strip
  744. - fixed %files section to handle compressed man page
  745. * Wed Jun 21 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  746. - Version name changes to 0.0.version
  747. - updates to 19991231-pl08
  748. + Major changes with postfix-19991231-pl08:
  749. Specify "body_checks = regexp:%{_sysconfdir}/postfix/body_checks" for a quick
  750. and dirty emergency content filter that looks at non-header lines
  751. one line at a time (including MIME headers inside the message body).
  752. Details in conf/sample-filter.cf.
  753. + Incompatible changes with postfix-19991231-pl07:
  754. As required by RFC 822, Postfix now inserts a generic destination
  755. message header when no destination header is present. The text is
  756. specified via the undisclosed_recipients_header configuration
  757. parameter (default: "To: undisclosed-recipients:;").
  758. * Thu Apr 6 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  759. - updates to 19991231-pl06
  760. - added percent hack to main.cf
  761. * Sun Feb 20 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  762. - adopted to Vine Linux
  763. * Mon Jan 3 2000 Jean-Michel Dault <jmdault@netrevolution.com>
  764. - updated to 19991231
  765. - added postfix group
  766. - corrected aliases.db bug
  767. * Mon Dec 27 1999 Jerome Dumonteil <jd@mandrakesoft.com>
  768. - Add postfix check in post to create sub dirs in spool
  769. * Mon Dec 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  770. - Add -a $DOMAIN -d $LOGNAME to procmail (philippe).
  771. - New banner.
  772. * Wed Nov 10 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  773. - fix if conflicts with sendmail.
  774. * Sat Jun 5 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
  775. - install bins from libexec/
  776. * Sat Jun 5 1999 Bernhard Rosenkr舅zer <bero@mandrakesoft.com>
  777. - 19990601
  778. - .spec cleanup for easier updates
  779. * Wed May 26 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
  780. - created link from %{_sbindir}/sendmail to %{_libdir}/sendmail
  781. so it doesn't bug out when i rpm -e sendmail
  782. - Now removes %{_var}/lock/subsys/postfix like a good little prog
  783. upon rpm -e
  784. * Fri Apr 23 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  785. - Mandrake adptations.
  786. * Tue Apr 13 1999 Arne Coucheron <arneco@online.no>
  787. [19990317-pl04-1]
  788. * Tue Mar 30 1999 Arne Coucheron <arneco@online.no>
  789. [19990317-pl03-2]
  790. - Castro, Castro, pay attention my friend. You're making it very hard
  791. maintaining the package if you don't follow the flow of the releases
  792. * Thu Mar 25 1999 Arne Coucheron <arneco@online.no>
  793. [19990317-pl02-1]
  794. * Tue Mar 23 1999 Arne Coucheron <arneco@online.no>
  795. [19990317-3]
  796. - added bugfix patch01
  797. * Sat Mar 20 1999 Arne Coucheron <arneco@online.no>
  798. [19990317-2]
  799. - removed the mynetworks line in main.cf, let postfix figure it out
  800. - striping of the files in %{_sbindir}
  801. - alias database moved to %{_sysconfdir}/postfix and made a symlink to it in %{_sysconfdir}
  802. - enabled procmail support in main.cf and added it to Requires:
  803. - check status on master instead of postfix in the init script
  804. - obsoletes postfix-beta
  805. - had to move some of my latest changelog entries up here since Edgard Castro
  806. didn't follow my releases
  807. * Thu Mar 18 1999 Edgard Castro <castro@usmatrix.net>
  808. [19990317]
  809. * Tue Mar 16 1999 Edgard Castro <castro@usmatrix.net>
  810. [alpha-19990315]
  811. * Tue Mar 9 1999 Edgard Castro <castro@usmatrix.net>
  812. [19990122-pl01-2]
  813. - shell and gecho information changed to complie with Red Hat stardand
  814. - changed the name of the rpm package to postfix, instead of postfix-beta
  815. * Tue Feb 16 1999 Edgard Castro <castro@usmatrix.net>
  816. [19990122-pl01-1]
  817. * Sun Jan 24 1999 Arne Coucheron <arneco@online.no>
  818. [19990122-1]
  819. - shell for postfix user changed to /bin/true to avoid logins to the account
  820. - files in %{_libdir}exec/postfix moved to %{_libdir}/postfix since this complies
  821. more with the Red Hat standard
  822. * Wed Jan 06 1999 Arne Coucheron <arneco@online.no>
  823. [19981230-2]
  824. - added URL for the source
  825. - added a cron job for daily check of errors
  826. - sample config files moved from /etc/postfix/sample to the docdir
  827. - dropped making of symlinks in %{_sbindir} and instead installing the real
  828. files there
  829. - because of the previous they're not needed anymore in %{_libdir}exec/postfix,
  830. so they are removed from that place
  831. * Fri Jan 01 1999 Arne Coucheron <arneco@online.no>
  832. [19981230-1]
  833. * Tue Dec 29 1998 Arne Coucheron <arneco@online.no>
  834. [19981222-1]
  835. - first build of rpm version