[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/nullmailer/nullmailer.desc [COPY] Copyright (C) 2004 - 2025 The T2 SDE Project [COPY] Copyright (C) 1998 - 2003 ROCK Linux Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] Simple relay-only mail transport agent [T] Nullmailer is a mail transport agent designed to only relay all its [T] messages through a fixed set of "upstream" hosts. It is also designed to [T] be secure and to be used as a simple sendmail/qmail/etc. replacement. [T] The localqueue patch allows this MTA to send all local mail to a local [T] mbox instead of being sent through network to an administration email. [U] https://untroubled.org/nullmailer/ [U] http://www.basher584.org/basher584/nullmail-lq/ [A] Bruce Guenter {nullmailer} [A] Benjamin Noggle {localqueue} [M] Rene Rebe [C] extra/server [F] CROSS MTA [L] GPL [S] Stable [V] 2.2 [P] X -----5---9 115.600 [D] 2a68756662905e0efa9525b69e77c1bbbcd3c8b3bd4540027125f3a9 nullmailer-2.2.tar.gz http://untroubled.org/nullmailer/ [D] 81f83af9af56d1f23338c6491668c17f842a307e3a4744aabed2c7d9 nullmailer-lq-1.00.diff http://basher584.org/basher584/nullmail-lq/ nullmailer_prepatch() { if [ "$SDECFG_PKG_NULLMAILER_LOCALQUEUE" == "1" ]; then patch $patchopt < `match_source_file -p nullmail-lq` mkdir -p $root/home/nullmail/mail chown -R 38:38 $root/home/nullmail add_flist $root/home/nullmail/mail fi # usar uid y no loginname sed -i -e 's,chown nullmail[^ ]*,chown 38,g' Makefile.in # see INSTALL_WRAPPER_FILTER sed -i -e 's,(bindir)/mailq,(bindir)/mailq_nullmailer,' Makefile.in } nullmailer_postmake() { add_flist $root$localstatedir/nullmailer/trigger if [ ! -f $root/etc/nullmailer/pausetime ]; then echo "60" > $root/etc/nullmailer/pausetime fi if [ ! -f $root/etc/nullmailer/remotes ]; then echo -e "127.0.0.1\tsmtp" > $root/etc/nullmailer/remotes fi install_setmailer nullmailer } hook_add prepatch 5 'nullmailer_prepatch' var_append makeinstopt ' ' install-root hook_add postmake 5 'nullmailer_postmake' var_append INSTALL_WRAPPER_FILTER '|' "sed -e 's,\(mailq\|sendmail\),\1_nullmailer,'"