mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
b26e4e183b
- Patches removed that are now in the distribution - More MILTER dokumentation - sm-client.sh.sample have now 'restart' command. - Add standalone startupscript for all sendmail deamons - Update pkg-message This version fixes a long-standing MIME (7 to 8-bit) conversion bug and several smaller problems, e.g., a possible communication problem between the MTA and libmilter, a bug in handling (invalid) addresses containing 8-bit characters, a possible problem with small timeouts being lost on slow machines if itimers are used, and the handling of the 421 reply code and timeouts in the SMTP delivery code. There are two changes in the msp feature that may change the behavior: MX lookups are turned on for the SMTP mailers and hence `[localhost]' is used as default instead of `localhost', and confTIME_ZONE is set to USE_TZ in submit.mc. A complete list of changes can be found in the release notes.
40 lines
1.4 KiB
Plaintext
40 lines
1.4 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.
|
|
$ 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
|
|
|
|
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
|
|
|
|
and set your flags in /etc/rc.conf:
|
|
sendmail_flags="-L sm-msp-queue -Ac -q1m"
|
|
|
|
You can delete /etc/mail/sendmail.cf when you don't need a daemon listen.
|
|
To update your configuration look at %%PREFIX%%/share/sendmail/cf/README.
|
|
---------------------------------------------------
|
|
To activate sendmail as your default mailer, call the target 'mailer.conf':
|
|
$ 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
|
|
|
|
You may also need to update /etc/rc.conf.
|
|
---------------------------------------------------
|
|
|