mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
b4fc9b2ca6
The reason is strong. A quote from submitter: In current state choose of native or nullmailer's sendmail/mailq depends on order of paths in $PATH instead of sysadmins choose. (/etc/mail/mail.conf in general case) PR: ports/45152 Submitted by: "."@babolo.ru
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
libexec/nullmailer/smtp
|
|
libexec/nullmailer/qmqp
|
|
libexec/nullmailer/mailq
|
|
libexec/nullmailer/sendmail
|
|
bin/nullmailer-inject
|
|
sbin/nullmailer-queue
|
|
sbin/nullmailer-send
|
|
etc/nullmailer/remotes.sample
|
|
etc/rc.d/nullmail.sh
|
|
@exec mkdir -p %%LOCALSTATEDIR%%/var/%%SPOOL%%nullmailer/queue
|
|
@exec chmod 700 %%LOCALSTATEDIR%%/var/%%SPOOL%%nullmailer/queue
|
|
@exec mkdir -p %%LOCALSTATEDIR%%/var/%%SPOOL%%nullmailer/tmp
|
|
@exec chmod 700 %%LOCALSTATEDIR%%/var/%%SPOOL%%nullmailer/tmp
|
|
@exec rm -f %%LOCALSTATEDIR%%/var/%%SPOOL%%nullmailer/trigger
|
|
@exec mkfifo %%LOCALSTATEDIR%%/var/%%SPOOL%%nullmailer/trigger
|
|
@exec chmod 600 %%LOCALSTATEDIR%%/var/%%SPOOL%%nullmailer/trigger
|
|
@exec chown -R nullmail %%LOCALSTATEDIR%%/var/%%SPOOL%%nullmailer/*
|
|
@exec chown nullmail %D/sbin/nullmailer-queue
|
|
@exec chmod u+s %D/sbin/nullmailer-queue
|
|
@exec chown nullmail %D/libexec/nullmailer/mailq
|
|
@exec chmod u+s %D/libexec/nullmailer/mailq
|
|
%%LOCALSTATEDIR_RM%%var/%%SPOOL%%nullmailer/queue
|
|
%%LOCALSTATEDIR_RM%%var/%%SPOOL%%nullmailer/tmp
|
|
@unexec rm -f %%LOCALSTATEDIR%%/var/%%SPOOL%%nullmailer/trigger
|
|
@dirrm etc/nullmailer
|
|
@dirrm libexec/nullmailer
|
|
%%LOCALSTATEDIR_RM%%var/%%SPOOL%%nullmailer
|
|
@unexec if [ -n "$BATCH" ]; then echo "Warning: In batch mode, I will do 'rmuser -y nullmail'"; rmuser -y nullmail; fi
|