next up previous contents
Next: Customising SSH Logins Up: Customisation Previous: Customising Telnet and FTP

     
Customising Mail


  
Figure 7.6: Mail Customisation Files
\begin{figure}\centering
\begin{tabular}{\vert l\vert l\vert}
\hline
Put extensi...
...local/custom/sendmail.LOCAL\_RULE\_3.local \\
\hline
\end{tabular}
\end{figure}

Mail can be customised in a number of ways by modifying the files listed in Table refmailcust. The firewall uses sendmail version 8 to deliver (but not receive) mail. The configuration of sendmail is beyond the scope of this manual; we simply note that the mail aliases can be extended by editing the /usr/local/custom/aliases file, and the m4 configuration file used by sendmail v8 to generate the /etc/sendmail.cf file can be extended by editing the files in /usr/local/custom.

Each file affects the corresponding section of the m4 file for mail delivery in the associated direction. For full details about sendmail's m4 configuration `Sendmail' by Bryan Costales et al. (O'Reilly and Associates, 1993).

You can have the firewall add a standard disclaimer to the end of each outgoing mail message. To do this, you need to create a file in the /var/spool/post directory which contains the text of the disclaimer message. Then edit or create the file /usr/local/custom/recvmail.ini, and add a line of the form:

disclaimer filename

where filename is the name of the file containing the disclaimer text.


next up previous contents
Next: Customising SSH Logins Up: Customisation Previous: Customising Telnet and FTP
Copyright © 2004, CEQURUX Technologies