2000-10-14 04:51:41 +00:00
|
|
|
---------------------------------------------------
|
2001-10-07 06:40:42 +00:00
|
|
|
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.
|
2003-10-09 16:23:40 +00:00
|
|
|
%%PORTSDIR%%/mail/sendmail$ make submit.cf
|
2000-10-14 04:51:41 +00:00
|
|
|
|
2001-10-07 06:40:42 +00:00
|
|
|
you should add in /etc/make.conf:
|
|
|
|
SENDMAIL_CF_DIR= %%PREFIX%%/share/sendmail/cf
|
2000-10-14 04:51:41 +00:00
|
|
|
|
2002-04-06 08:17:34 +00:00
|
|
|
To activate only the delivery from the local submission queue see:
|
2001-10-07 06:40:42 +00:00
|
|
|
%%PREFIX%%/etc/rc.d/sm-client.sh.sample
|
2003-03-04 05:01:10 +00:00
|
|
|
and if you use FreeBSD-RELEASE < 4.6 set your flags in /etc/rc.conf:
|
|
|
|
sendmail_flags="-L sm-msp-queue -Ac -q1m"
|
2000-10-14 04:51:41 +00:00
|
|
|
|
2002-04-06 08:17:34 +00:00
|
|
|
To activate all sendmail processes see:
|
|
|
|
%%PREFIX%%/etc/rc.d/sendmail.sh.sample
|
|
|
|
|
2001-10-07 06:40:42 +00:00
|
|
|
To deliver all local mail to your mailhub, edit the last line of submit.mc:
|
2002-08-31 16:31:11 +00:00
|
|
|
FEATURE(`msp','[mailhub.do.main]`)dnl
|
2000-10-14 04:51:41 +00:00
|
|
|
|
2001-11-18 08:16:49 +00:00
|
|
|
To update your configuration look at %%PREFIX%%/share/sendmail/cf/README.
|
2002-10-08 15:29:02 +00:00
|
|
|
---------------------------------------------------
|
|
|
|
To use the ports versions you may add to your sendmail.mc file:
|
|
|
|
|
2003-10-09 16:23:40 +00:00
|
|
|
define(`confEBINDIR', `%%PREFIX%%/libexec')dnl
|
|
|
|
define(`UUCP_MAILER_PATH', `%%LOCALBASE%%/bin/uux')dnl
|
2002-10-08 15:29:02 +00:00
|
|
|
|
2001-10-07 06:40:42 +00:00
|
|
|
---------------------------------------------------
|
|
|
|
To activate sendmail as your default mailer, call the target 'mailer.conf':
|
2003-10-09 16:23:40 +00:00
|
|
|
$ cd %%PORTSDIR%%/mail/sendmail && make mailer.conf
|
2000-10-14 04:51:41 +00:00
|
|
|
|
|
|
|
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
|
2002-08-31 16:31:11 +00:00
|
|
|
hoststat %%PREFIX%%/sbin/sendmail
|
|
|
|
purgestat %%PREFIX%%/sbin/sendmail
|
2000-10-14 04:51:41 +00:00
|
|
|
|
|
|
|
You may also need to update /etc/rc.conf.
|
|
|
|
---------------------------------------------------
|