Lab Exercise 10.1: Implementing NetMail

 <  Day Day Up  >  

In this lab, you're going to configure NetMail on your server. Then you will send email messages back and forth between two users in your eDirectory tree.

Warning

In order to complete this lab exercise, you must ensure that the DNS server (provided by the named daemon) you configured in Chapter 5 is running on your server and configured to service the CLE.com zone. If you haven't configured it, go back to Chapter 5 and complete those steps before starting this exercise .

Also, if you decide to use a separate workstation to test your NetMail system, you will need to configure its TCP/IP stack to use your Linux server as its DNS server .


Complete the following steps:

  1. Verify that your DNS server is resolving properly by completing the following:

    1. On your Linux server, open a terminal session.

    2. Log in as a user in your eDirectory tree (such as CGrayson) with a password of novell .

    3. Change to your root user account by entering su - with a password of novell .

    4. At the shell prompt, enter nslookup .

    5. At the prompt, enter cle1.cle.com .

    6. Your named service should resolve this name to your server's IP address.

      Tip

      If it doesn't resolve correctly, verify that the service is running by entering chkconfig “-list named . The service should be configured to start at run-levels 3, 4, and 5. Also check your /etc/named.conf file and make sure an entry exists for the cle.com zone that points to the /var/named/named. hosts file. Check your /var/named/named.hosts file and make sure a record exists for your CLE1 server .

    7. Enter exit .

  2. Using the chkconfig command, make sure postfix and sendmail are set to off at runlevels 3, 4, and 5.

  3. Configure the contexts in your eDirectory tree serviced by the NetMail server by completing the following:

    1. Open a browser window and navigate to http:// your_server_IP_address :8018.

    2. In the User Name field, enter admin.if.cle .

    3. In the password field, enter novell .

    4. Expand your Internet Services container.

    5. Expand your CLE1 Messaging Server object.

    6. Select your NMAP Agent object.

    7. Select the Context tab. When you do, the screen in Figure 10.28 is displayed.

      Figure 10.28. Setting the user context for the NMAP Agent.

      graphics/10fig28.jpg


    8. The Managed Contexts field should be automatically populated with the context where the CLE1 server object resides in the tree (in this case, IF.CLE).

    9. Click the Browse icon.

    10. Browse to and select the SLC.CLE container.

    11. Click Save .

    12. In the Contexts tab, click Save .

  4. Limit the size of outgoing messages to 2MB by completing the following:

    1. In the left frame, select your SMTP Agent object.

    2. Scroll down to the Message Size Limit drop-down list.

    3. In the Message Size Limit drop-down list, select 2 .

    4. Click Save .

  5. Select your POP Agent and verify that its Agent Status is set to Enabled .

  6. Select your IMAP Agent and verify that its Agent Status is set to Enabled .

  7. Configure your AntiSpam Agent to block messages coming from the SpamIsUs.com domain by completing the following:

    1. In the left frame, select your AntiSpam Agent object.

    2. Configure the AntiSpam Agent to return spam messages back to the sender by marking Yes under Send Back .

    3. Configure the AntiSpam Agent to send a copy of the spam message back to the sender's postmaster by marking Yes under CC Postmaster .

    4. In the Blocked Sites field, enter SpamIsUs.com .

    5. Click Save .

  8. Configure your NetMail server's Modular Web Agent by completing the following:

    1. In the left frame, select your Modular Web Agent object.

    2. In the Default Language drop-down list, select your language.

    3. In the Default Time Zone drop-down list, select your time zone.

    4. Scroll down to the Default Template field. Verify that it is set to use the WebAccess template.

    5. Click Save .

    6. Expand your Modular Web Agent object.

    7. Select the IMS Mail Module .

    8. In the Message Size Limit drop-down list, select 2 .

    9. In the Personal section under Address Book , select Enabled .

    10. Under System-Wide , select Enabled .

    11. In the field under System-Wide , enter your server IP address.

    12. Under Default LDAP Server , select Enabled .

    13. In the field under Default LDAP server , enter your server IP address.

    14. Click Save .

  9. Test your NetMail system by completing the following:

    1. Open a new browser window and navigate to http:// your_server_IP_address :52080.

    2. When prompted, authenticate as CGrayson with a password of novell . The NetMail web user interface is displayed using the WebAccess template, as shown in Figure 10.29.

      Figure 10.29. The NetMail WebAccess template.

      graphics/10fig29.jpg


    3. Select Add Folder .

    4. In the Folder Name field, enter MyStuff .

    5. Mark Mailbox and then click OK .

    6. Switch back to your terminal session.

    7. At the shell prompt, enter cd/var/opt/novell/netmail/users/CGrayson .

    8. Enter ls .

    9. You should see the MyStuff.box and MyStuff.idx files in CGrayson's directory, as shown in Figure 10.30.

      Figure 10.30. User mailbox folder files.

      graphics/10fig30.jpg


    10. Switch back to your browser window.

    11. In the far left side of the screen, click the Compose Message icon. The Mail Message screen appears, as shown in Figure 10.31.

      Figure 10.31. Creating a new mail message.

      graphics/10fig31.jpg


    12. In the To field, enter DNelson@CLE.com .

    13. In the Subject field, enter Test Message .

    14. In the Message field, enter Test Message .

    15. Click Send .

    16. In the WebAccess screen, click the Exit icon.

    17. Select Login .

    18. In the User Name field, enter DNelson .

    19. In the Password field, enter novell .

    20. The Test Message email from CGrayson should be displayed, as shown in Figure 10.32.

      Figure 10.32. New message in DNelson's inbox.

      graphics/10fig32.jpg


    21. Select the Test Message email message.

    22. Click the Close icon.

  10. Test the functionality of your Address Book Agent and your Modular Web Agent by completing the following:

    1. Click the Compose Message icon.

    2. Click the Address Book button.

    3. In the Search For field, enter Jackson .

    4. Select Search .

    5. Under System-Wide , mark the Jim Jackson user.

    6. Select To: .

    7. Click Compose .

    8. In the Subject field, enter New Message .

    9. In the Message field, enter New Message .

    10. Click Send .

    11. Log out and log back in as JJackson with a password of novell .

    12. You should see the New Message email message displayed in Jim Jackson's inbox.

  11. Click the Exit icon.

You now have a functional NetMail system that is fully integrated with your eDirectory tree. No more will you need to maintain separate user accounts for your email system. If you add a user to a context supported by your NMAP Agent, he or she automatically has an email account. In all but the smallest of organizations, this can amount to a huge time (and cost) savings.

Let's review what you learned in this chapter.

 <  Day Day Up  >  


Novell Certified Linux Engineer (CLE) Study Guide
Novell Certified Linux Engineer (Novell CLE) Study Guide (Novell Press)
ISBN: 0789732033
EAN: 2147483647
Year: 2004
Pages: 128
Authors: Robb H. Tracy

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net