Changes

Jump to: navigation, search

OPS335 Lab 4c

273 bytes added, 14:43, 11 March 2016
no edit summary
=== Installing and Configuring the Local Delivery Agent (LDA) ===
Postfix is capable of performing the function of an LDA, but its LDA capabilities are limited, thus postfix is generally not used for that purpose. Currently, the most popular LDA is ''LMTP'', but we will be installing, configuring and using an LDA called '''Dovecot ''' since it is also popular and we will later be setting up Dovecot as an '''IMAP ''' server. Using both Postfix and Dovecot will actually increase the performance of our IMAP server.
'''Perform the following steps:'''
#Dovecott is not installed when you installed your Virtual machines in previous labs.
#Install the Dovecott application by issuing the following command:<br>yum install dovecot-lda
#Edit your /etc/postfix/main.cf file and scroll down to (or search for) '''mailbox_command'''. Add the following line:
<pre>mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"</pre>
Don:NOTE: Do <u>'''not't ''</u> replace any variables, those are set automatically by Postfix when it runs the LDA. If you're are interested - in learning more about the Dovecot application, you can read about dovecot-lda [http://wiki.dovecot.org/LDA/Postfix here] and [http://wiki.dovecot.org/LDA here] but it's not required (i.e. optional readingfor interest only).
If you look - you'll see that dovecot-lda doesn't exist yet. Install the dovecot package - that will come with dovecot-lda.
13,420
edits

Navigation menu