aboutsummaryrefslogtreecommitdiff
path: root/mail/ssmtp/files/pkg-message.in
blob: ae4a5fb5cc18ebfbbb30dac90afda92c91940249 (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
[
{ type: install
  message: <<EOM
sSMTP has been installed successfully.

Firstly, edit /etc/mail/mailer.conf to replace sendmail with ssmtp:

sendmail	%%PREFIX%%/sbin/ssmtp
send-mail	%%PREFIX%%/sbin/ssmtp
mailq		%%PREFIX%%/sbin/ssmtp
newaliases	%%PREFIX%%/sbin/ssmtp
hoststat	/usr/bin/true
purgestat	/usr/bin/true

Hint: in case sSMPT is being installed directly from ports,
editing /etc/mail/mailer.conf can be done by running "make replace".

Secondly, edit the following files to configure sSMTP:

- %%ETCDIR%%/revaliases
- %%ETCDIR%%/ssmtp.conf

At this point sSMTP should be ready to go.
EOM
}
]