HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 110
Installing sendmail on a Mail Client, Adding sendmail Aliases to the Alias Database
View all HP Visualize J210XC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 110 highlights
sendmail 4. Issue the following command to run the NFS startup script: # /sbin/init.d/nfs.server start Installing sendmail on a Mail Client sendmail clients do not receive mail on their local system; instead, users on the client systems obtain their mail on the mail server. User mail directories reside on the server, and users read their mail over an NFS link. By default, a sendmail client forwards to the server any local mail (a user address destined for the client system) and sends non-local mail directly to the destination system or MX host. Outgoing mail appears to originate from the server, so replies are sent to the server. sendmail clients can be diskless systems. To Configure a sendmail Client System to Access a sendmail Server: 1. In the /etc/rc.config.d/mailservs file, use a text editor to set the SENDMAIL_SERVER variable to 0. This action ensures the sendmail daemon will not be started when you reboot your system or run the sendmail startup script. 2. In the /etc/rc.config.d/mailservs file, use a text editor to set the SENDMAIL_SERVER_NAME variable to the host name or IP address of the mail server you will use (the machine that will run the sendmail daemon). 3. In the /etc/rc.config.d/nfsconf file, use a text editor to set the NFS_CLIENT variable to 1. 4. Use a text editor to add the following line to the /etc/fstab file: servername:/var/mail /var/mail nfs 0 0 where servername is the name configured in the SENDMAIL_SERVER_NAME variable in /etc/rc.config.d/mailservs. If the /etc/fstab file does not exist, you will have to create it. 5. Issue the following command to run the sendmail startup script: # /sbin/init.d/sendmail start 6. Issue the following command to run the NFS startup script: # /sbin/init.d/nfs.client start The sendmail startup script assumes this system will use the host specified by the SENDMAIL_SERVER_NAME variable as the mail hub. The script also assumes mail sent from this system should appear to be from the host specified by the SENDMAIL_SERVER_NAME variable (this feature may previously have been known as "site hiding"). The script therefore modifies the macros DM (for masquerade) and DH (for mail hub) in the system's /etc/mail/sendmail.cf file to use the host specified by the SENDMAIL_SERVER_NAME variable. If the DM and DH macros have previously been defined, the startup script does not modify them. As mentioned earlier, the client system now forwards local mail to the mail server and forwards other mail directly to remote systems. To configure the client system to relay all mail to the mail server for delivery, see Modifying the Default sendmail Configuration File. The NFS startup script, NFS, mounts the /var/mail directory from the mail server to your system. Adding sendmail Aliases to the Alias Database 1. If the file /etc/mail/aliases does not exist on your system, copy it from /usr/newconfig/etc/mail/aliases to /etc/mail/aliases. 105