blob: 256479c293c6d5af9f7fc1364241546022fbb6be (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
[
{ type: install
message: <<EOM
you should add in /etc/make.conf:
SENDMAIL_CF_DIR= %%PREFIX%%/share/sendmail/cf
To deliver all local mail to your mailhub, edit the last line of submit.mc:
FEATURE(`msp','[mailhub.do.main]`)dnl
To update your configuration look at %%PREFIX%%/share/sendmail/cf/README.
---------------------------------------------------
To use the binaries supplied by the port you should add the following lines
to your sendmail.mc file before any mailer or feature definition:
define(`confEBINDIR', `%%PREFIX%%/libexec')dnl
define(`UUCP_MAILER_PATH', `%%LOCALBASE%%/bin/uux')dnl
---------------------------------------------------
To activate sendmail as your default mailer, run:
$ cd %%PREFIX%%/etc/mail && cp mailer.conf.sendmail mailer.conf
Your '%%PREFIX%%/etc/mail/mailer.conf' should look like this:
#
# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail %%PREFIX%%/sbin/sendmail
send-mail %%PREFIX%%/sbin/sendmail
mailq %%PREFIX%%/sbin/sendmail
newaliases %%PREFIX%%/sbin/sendmail
hoststat %%PREFIX%%/sbin/sendmail
purgestat %%PREFIX%%/sbin/sendmail
You may also need to update /etc/rc.conf.
EOM
}
]
|