Re: FreeBSD-Update + Sendmail

看板FB_stable作者時間12年前 (2013/08/08 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/12 (看更多)
On 07/08/2013 15:19, Panagiotis Christias wrote: > On Tue, Aug 06, 2013 at 10:43:49PM +0100, Matthew Seaman wrote: >> On 06/08/2013 22:28, Thomas Laus wrote: >>> I like the 'sendmail from ports' suggestion a little better. Going this >>> route, I only need to make configuration changes to /etc/mail/mailer.conf >>> once. All subsequent freebsd-update operations won't require rebuilding >>> sendmail and it's tools. Any updates to the port version are covered by the >>> normal port update system. Future updates to the port version only require a >>> 'make restart' in the /etc/mail directory after reviewing my .mc file for any >>> affected changes. >> >> If you're using the ports version of sendmail, a handy tip is to add >> this to /etc/make.conf: >> >> SENDMAIL_CF_DIR= /usr/local/share/sendmail/cf >> MAKEMAP= /usr/local/sbin/makemap >> >> so you use a version of the sendmail M4 config bits that matches the >> sendmail binary you're running, and you can use /etc/mail/Makefile to >> generate and install the configs exactly as if you were using the base >> system sendmail. > > > Indeed, plus: > > SENDMAIL=/usr/local/sbin/sendmail > > And in /etc/rc.conf: > > sendmail_program="/usr/local/sbin/sendmail" /etc/mail/mailer.conf does that bit for you. Cheers, Matthew _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1I0ejVaG (FB_stable)
討論串 (同標題文章)
文章代碼(AID): #1I0ejVaG (FB_stable)