1---------------------------------------------------
2
3you should add in /etc/make.conf:
4SENDMAIL_CF_DIR=	%%PREFIX%%/share/sendmail/cf
5
6To deliver all local mail to your mailhub, edit the last line of submit.mc:
7FEATURE(`msp','[mailhub.do.main]`)dnl
8
9To update your configuration look at %%PREFIX%%/share/sendmail/cf/README.
10---------------------------------------------------
11To use the ports versions you may add to your sendmail.mc file:
12
13define(`confEBINDIR', `%%PREFIX%%/libexec')dnl
14define(`UUCP_MAILER_PATH', `%%LOCALBASE%%/bin/uux')dnl
15
16---------------------------------------------------
17To activate sendmail as your default mailer, call the target 'mailer.conf':
18$ cd %%PORTSDIR%%/mail/sendmail && make mailer.conf
19
20Your '/etc/mail/mailer.conf' should look like this:
21#
22# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
23#
24sendmail	%%PREFIX%%/sbin/sendmail
25send-mail	%%PREFIX%%/sbin/sendmail
26mailq		%%PREFIX%%/sbin/sendmail
27newaliases	%%PREFIX%%/sbin/sendmail
28hoststat	%%PREFIX%%/sbin/sendmail
29purgestat	%%PREFIX%%/sbin/sendmail
30
31You may also need to update /etc/rc.conf.
32---------------------------------------------------
33
34if you use smrsh with other tools such as GNU mailman, you will need to
35create a symlink in /usr/local/libexec/sm.bin
36