diff options
author | peter <peter@FreeBSD.org> | 2000-04-03 09:58:08 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-04-03 09:58:08 +0800 |
commit | a37812c3ebb556e6eb7a62ddf4102e254d917d38 (patch) | |
tree | 83b8a3c842307c9d2cffdd8f0425a0924805e0fa /mail | |
parent | 50f3b43df57111979f3cb7bcbba49718c53c3fe1 (diff) | |
download | freebsd-ports-gnome-a37812c3ebb556e6eb7a62ddf4102e254d917d38.tar.gz freebsd-ports-gnome-a37812c3ebb556e6eb7a62ddf4102e254d917d38.tar.zst freebsd-ports-gnome-a37812c3ebb556e6eb7a62ddf4102e254d917d38.zip |
Ack, what was I thinking? it's not safe to assume the system sendmail
was the last active mailer.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/postfix-current/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix1/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix20/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix21/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix22/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix23/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix24/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix25/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix26/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix27/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix28/Makefile | 6 |
12 files changed, 48 insertions, 24 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix-current/Makefile +++ b/mail/postfix-current/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ diff --git a/mail/postfix1/Makefile b/mail/postfix1/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix1/Makefile +++ b/mail/postfix1/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ diff --git a/mail/postfix20/Makefile b/mail/postfix20/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix20/Makefile +++ b/mail/postfix20/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ diff --git a/mail/postfix21/Makefile b/mail/postfix21/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix21/Makefile +++ b/mail/postfix21/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ diff --git a/mail/postfix22/Makefile b/mail/postfix22/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix22/Makefile +++ b/mail/postfix22/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ diff --git a/mail/postfix23/Makefile b/mail/postfix23/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix23/Makefile +++ b/mail/postfix23/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ diff --git a/mail/postfix24/Makefile b/mail/postfix24/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix24/Makefile +++ b/mail/postfix24/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ diff --git a/mail/postfix25/Makefile b/mail/postfix25/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix25/Makefile +++ b/mail/postfix25/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ diff --git a/mail/postfix26/Makefile b/mail/postfix26/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix26/Makefile +++ b/mail/postfix26/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ diff --git a/mail/postfix27/Makefile b/mail/postfix27/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix27/Makefile +++ b/mail/postfix27/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ diff --git a/mail/postfix28/Makefile b/mail/postfix28/Makefile index d24415174707..440cf692d1f3 100644 --- a/mail/postfix28/Makefile +++ b/mail/postfix28/Makefile @@ -116,8 +116,10 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \ - < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf + ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf + ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ |