1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

fixed repair targert to build a valid /etc/mail/mailer.conf

PR:		30748
Submitted by:	anarcat@anarcat.dyndns.org
This commit is contained in:
Dirk Meyer 2001-10-03 15:48:29 +00:00
parent 25165b91ee
commit b84ce6a218
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48404

View File

@ -37,12 +37,12 @@ replace:
@${ECHO} backuping old /etc/mail/mailer.conf
@${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.old-ssmtp
@${ECHO} Replacing mailwarpper config
@${ECHO} "sendmail ${PREFIX}/sbin/ssmtp\n" > /etc/mail/mailer.conf
@${ECHO} "send-mail ${PREFIX}/sbin/ssmtp\n" >> /etc/mail/mailer.conf
@${ECHO} "mailq /bin/echo\n" >> /etc/mail/mailer.conf
@${ECHO} "newaliases /bin/echo\n" >> /etc/mail/mailer.conf
@${ECHO} "sendmail ${PREFIX}/sbin/ssmtp" > /etc/mail/mailer.conf
@${ECHO} "send-mail ${PREFIX}/sbin/ssmtp" >> /etc/mail/mailer.conf
@${ECHO} "mailq /bin/echo" >> /etc/mail/mailer.conf
@${ECHO} "newaliases /bin/echo" >> /etc/mail/mailer.conf
.else
@${ECHO} bacckuping old /usr/sbin/sendmail
@${ECHO} backuping old /usr/sbin/sendmail
@${MV} -f /usr/sbin/sendmail /usr/sbin/sendmail.OFF
@${CHMOD} 000 /usr/sbin/sendmail.OFF
@${LN} -s ${PREFIX}/sbin/ssmtp /usr/sbin/sendmail