mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
d993406011
- install share/sendmail/cf/* files even when NOPORTDOCS [1], ports/57784 - Use of DOCSDIR [2] - use varibale paths in pkg-message [2] - make portlint happier [2] PR: 57781, 57784 Submitted by: lxv@send2pr.sink.omut.org [1], dinoex [2]
45 lines
1.7 KiB
Plaintext
45 lines
1.7 KiB
Plaintext
---------------------------------------------------
|
|
If you update your configuration from 8.11.x you need to install an
|
|
additional config file: /etc/mail/submit.cf, you can generate it
|
|
by calling the target 'submit.cf', submit.mc will be installed too.
|
|
%%PORTSDIR%%/mail/sendmail$ make submit.cf
|
|
|
|
you should add in /etc/make.conf:
|
|
SENDMAIL_CF_DIR= %%PREFIX%%/share/sendmail/cf
|
|
|
|
To activate only the delivery from the local submission queue see:
|
|
%%PREFIX%%/etc/rc.d/sm-client.sh.sample
|
|
and if you use FreeBSD-RELEASE < 4.6 set your flags in /etc/rc.conf:
|
|
sendmail_flags="-L sm-msp-queue -Ac -q1m"
|
|
|
|
To activate all sendmail processes see:
|
|
%%PREFIX%%/etc/rc.d/sendmail.sh.sample
|
|
|
|
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 ports versions you may add to your sendmail.mc file:
|
|
|
|
define(`confEBINDIR', `%%PREFIX%%/libexec')dnl
|
|
define(`UUCP_MAILER_PATH', `%%LOCALBASE%%/bin/uux')dnl
|
|
|
|
---------------------------------------------------
|
|
To activate sendmail as your default mailer, call the target 'mailer.conf':
|
|
$ cd %%PORTSDIR%%/mail/sendmail && make mailer.conf
|
|
|
|
Your '/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.
|
|
---------------------------------------------------
|