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