ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/mail/sendmail/pkg-message
Revision: 21896
Committed: Sun Sep 11 14:03:32 2016 UTC (7 years, 7 months ago) by laffer1
File size: 1276 byte(s)
Log Message:
document smrsh trick

File Contents

# User Rev Content
1 laffer1 13601 ---------------------------------------------------
2    
3 archite 936 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 laffer1 13601 ---------------------------------------------------
33 laffer1 21896
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