aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix
Commit message (Collapse)AuthorAge
* postfix: Fix enabling PCRE supportFelix Matouschek2023-12-01
| | | | | | | | | | After the change from PCRE to PCRE2 when enabling POSTFIX_PCRE the resulting postfix build no longer reports pcre as an available module. (postfconf -m). This is caused by using the wrong syntax for the HAS_PCRE build flag (HAS_PCRE2 vs HAS_PCRE=2). This fixes the build flag to use the correct syntax. Signed-off-by: Felix Matouschek <felix@matouschek.org>
* postfix: move to PCRE2 libraryChristian Marangi2023-10-29
| | | | | | | Move to PCRE2 library as PCRE is EOL and won't receive any security updates anymore. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* postfix: bump to 3.8.2 releaseChristian Marangi2023-10-29
| | | | | | | | | Bump postfix to 3.8.2 release. Refresh patches and drop patch 502-detect-glibc.patch as it got merged upstream. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* postfix: Fix compile against glibc 2.36Hauke Mehrtens2022-12-19
| | | | | | | | This backports a change from postfix 3.8, I do not know exactly why it detects Linux 6 here, but this is needed to fix compilation with glibc 2.36. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* postfix: fix download failureMichal Vasilek2022-07-17
| | | | | | | cdn.postfix.johnriley.me serves a certificate for a different domain name. Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* Revert "postfix: fix build on macos"Sergey V. Lobanov2022-02-11
| | | | This reverts commit 9d8171aa0647a0e4c5f27004d3f4c982ac0d1ebe.
* postfix: fix build on macosSergey V. Lobanov2022-01-25
| | | | | | | | | | | | | macos build fails due to two reasons: 1. using build host ar and ranlib tools 2. using uname -r to get kernel version First issue is fixed by specifying ar and ranlib from toolchain Second issue is fixed by specifying kernel release major version=5 Using 'uname -r' from build host for cross-compiling is not a good idea even for Linux build host Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
* postfix: Fix compile with glibc 2.34Hauke Mehrtens2022-01-09
| | | | | | | | | | | | | | | | | | This adds a patch from Open embedded to fix compilation with glibc 2.34. This patch was taken from here: https://github.com/openembedded/meta-openembedded/blob/master/meta-networking/recipes-daemons/postfix/files/0007-correct-signature-of-closefrom-API.patch It fixes the following build problem: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-11.2.0_glibc/include/unistd.h:366:13: error: conflicting types for 'closefrom'; have 'void(int)' 366 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ In file included from attr_clnt.c:87: ./sys_defs.h:1511:12: note: previous declaration of 'closefrom' with type 'int(int)' 1511 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:192: attr_clnt.o] Error 1 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* postfix: prevent displaying config options when not enabledMatthew Hagan2021-11-08
| | | | | | | | | | Postfix's options should not be visible in the config when Postfix is not enabled. Secondly, place the config option menu behind the Postfix option rather than underneath. Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
* postfix: update to 3.5.8Rosen Penev2020-12-31
| | | | | | | | | | | | Pass TARGET_[C/LD]FLAGS to reduce filesize. Fix glibc compilation by adding lresolv. Remove uClibc-ng patch as that's now gone. Refreshed other patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* postfix: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* postfix: update to 3.5.7Rosen Penev2020-10-11
| | | | | | Fix compilation with GCC10. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* postfix: update to 3.5.0Lucian Cristian2020-04-10
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* postfix: update tinycdb dependencySebastian Kemper2019-12-15
| | | | | | | tinycdb now installs a shared lib alongside the static archive. postfix will use the shared lib, hence this commit updates the dependency. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* postfix: remove 100-fsstat.patchW. Michael Petullo2019-11-28
| | | | | | Resolves #9970. Signed-off-by: W. Michael Petullo <mike@flyn.org>
* treewide: add PKG_CPE_ID for better cvescanner coverageJan Pavlinec2019-09-17
| | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* postfix: bump versionDenis Shulyaka2019-07-14
| | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* postfix: Fix compilation with uClibc-ngRosen Penev2019-05-05
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* postfix: Update to 3.4.4Rosen Penev2019-03-28
| | | | | | | | | | Switched to HTTP from FTP for one of the mirrors. Rebased Patches. Removed ENGINES patch as it is only relevant for OpenSSL 1.0.2. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* postfix: Fix compilation without OpenSSL ENGINERosen Penev2019-01-01
| | | | | | | | While ENGINE is not actually used, the header being included unconditionally as well as the cleanup function being called breaks compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* postfix: Update to 3.3.2Rosen Penev2018-12-17
| | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* postfix: increase start priorityLucian Cristian2018-08-29
| | | | | | on some slow system, postfix starts before network, delaying the init helps Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* postfix: add mysql supportLucian Cristian2018-08-29
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* postfix: version update to 3.3.1Denis Shulyaka2018-05-28
| | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* postfix: version update to 3.3.0Denis Shulyaka2018-04-08
| | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* treewide: remove superfluous + signs from PKG_BUILD_DEPENDSMatthias Schiffer2018-01-07
| | | | | | A + sign does not have meaning in build depends. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* postfix: version update, fix file descriptor passingVal Kulkov2017-11-19
| | | | | | | | | | | | | | Update to the latest stable release. Fix check for file descriptor passing that causes libmilter's runtime error when libmilter/OpenDKIM are used with Postfix: "unix_send_fd: your system has no support for file descriptor passing" The issue with the file descriptor passing has been fixed upstream in 20170618 update to Postfix v3.3 experimental release. The patch must therefore be removed before compiling Postfix v3.3.* Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
* postfix: fix uid/gid conflicts, general cleanupVal Kulkov2017-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix uid/gid conflict with package icecast (uid=87, gid=87) and package pianod (uid=88, gid=88) by claiming uid/gid 25 for postfix instead of 87 and uid/gid 26 for postconf instead of 88. Remove main.cf.default that is not used by any Postfix module. The default configuration parameters are hardcoded into postconf and they are available via "postconf -d <parameter>". main.cf.default is therefore unnecessary. "mydomain" parameter should be deduced from the domain configuration setting in /e/c/dhcp rather than from "hostname" in /e/c/system which is often just a hostname without the domain name component. "mynetworks" parameter is unnecessary where "mynetworks_style" is defined. The change of the location of data_directory, queue_directory and mail_spool_directory from /var/lib/postfix, /var/spool/postfix and /var/mail to /data/postfix/lib, /data/postfix/spool and /data/postfix/mail has been postponed until the author of this commit and the maintainer of this package has had a meaningful opportunity to consult with LEDE/OpenWrt developers on the preferred mount point for the persistent data storage device. Change the criteria for executing the post-installation script. Invoke postinst() where the value of "myhostname" parameter in main.cf is not defined rather than where "$config_directory"/opkg_postinst is present with the value of "$config_directory" hardcoded to "$IPKG_INSTROOT"/etc/postfix in /etc/init.d/postfix. Enable PCRE support by default. Remove the code making entries in /etc/sysupgrade.conf and instead define configuration files to be saved during a sysupgrade in Makefile's Package/postfix/conffiles section. Move the creation of mail_spool_directory from host to target in order to enable change of directory ownership to 'postfix' when postinit() is executed on the target. Avoid postfix restart in postinst script that results in an error message during opkg install process. Enable Postfix autostart by creating a link in /etc/rc.d/ on installation. Make the code less verbose. Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
* postfix: version bump to 3.2.3Lucian Cristian2017-10-03
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* postfix: less overlayfs rewritesDenis Shulyaka2017-08-02
| | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* postfix: fix sendmail symlinkDenis Shulyaka2017-08-02
| | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* Postfix: security update to 3.2.2, add PostgreSQL and PCRE supportLucian Cristian2017-07-18
| | | | | | | refresh patches add PKG_CONFIG_DEPENDS Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* postfix: Add SQLite supportLucian Cristian2017-03-08
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* postfix: fix musl compile without POSTFIX_TLSLucian Cristian2017-03-08
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* postfix: update to 3.1.4Denis Shulyaka2017-02-03
| | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* postfix: version update to 3.1.3Denis Shulyaka2016-11-03
| | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* postfix: version update to 3.1.0Denis Shulyaka2016-02-27
| | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* postfix: version update to 3.0.4Denis Shulyaka2016-02-26
| | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* postfix: version update to 3.0.3.Denis Shulyaka2016-02-09
| | | | | Some minor issues fixed. SMTPUTF8 support option added (by Val Kulkov). Disabled by default because of icu library size.
* postfix: fix musl compatibilityJo-Philipp Wich2015-06-26
| | | | | | | | | | | | | | | | | | | The current package patches `makedefs` to probe for the existance of the `nsl` and `resolv` libraries but uses the wrong variables for the prefix, leading to `makedefs` probing the host directories, not the staging dir ones. Replace `$PKG_BUILD_DIR` with `$STAGING_DIR` to perform the library tests in the correct directory. Fixes the following error spotted by doing test builds against musl which does not provide a `libnsl`: .../mips-openwrt-linux-musl/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status make: *** [master] Error 1 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* postfix: update to 3.0.1Denis Shulyaka2015-05-10
| | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* Merge pull request #912 from Shulyaka/masterSteven Barth2015-02-16
|\ | | | | postfix: upgrade to version 3.0.0
| * postfix: upgrade to version 3.0.0Denis Shulyaka2015-02-16
| | | | | | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* | Merge pull request #604 from Shulyaka/masterSteven Barth2014-12-07
|\| | | | | postfix: broken mynetworks parameter default value
| * postfix: broken mynetworks parameter default valueDenis Shulyaka2014-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed an issue with the default parameter value. 1. By default, the init script set ip address instead of network address in the parameter value (i.e. 192.168.1.1/24 instead of 192.168.1.0/24) 2. Dynamic address were not caught by the init script As a result, if the mynetworks parameter was left default, Postfix would have rejected the mails with the following message in the logs: Sat Dec 6 23:26:45 2014 mail.info postfix/smtpd[22806]: NOQUEUE: reject: RCPT from unknown[104.167.106.30]: 451 4.3.0 <ds_gitcommit@shulyaka.org.ru>: Temporary lookup failure; from=<delivery@mx.sailthru.com> to=<ds_gitcommit@shulyaka.org.ru> proto=ESMTP helo=<mx-indiegogo-b.sailthru.com> Sat Dec 6 23:26:45 2014 mail.warn postfix/smtpd[22806]: warning: non-null host address bits in "127.0.0.1/8", perhaps you should use "127.0.0.0/8" instead This commit fixes that behavior for the new installations. Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* | Merge pull request #582 from Shulyaka/masterSteven Barth2014-12-01
|\| | | | | postfix: fixed installing to the filesystem image
| * postfix: fixed installing to the filesystem imageDenis Shulyaka2014-12-01
| | | | | | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* | misc: correct typo in Makefiles for PKG_LICENSE_FILESIan Leonard2014-11-24
|/ | | | Signed-off-by: Ian Leonard <antonlacon@gmail.com>
* postfix: Added experimental support for Berkeley DB (btree files).Denis Shulyaka2014-11-01
| | | | | | | Note that hash files are currently not supported by OpenWRT package of Berkeley DB. CDB is still default. Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
* postfix 2.11.3Denis Shulyaka2014-10-25
| | | | Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>