configure mail

Send Snippet To: Save this snippet to Code Collector Pro -- view all onlin85's snippets
language: Other
license: Other

Code for Snippet:

                
# Method 1:
 
# Step 1: Installation
yum install postfix dovecot system-switch-mail system-switch-mail-gnome
yum install postfix dovecot
yum remove 
 
# Step 2: Configure /etc/postfix/master.cf
myhostname = mail.example.com
mydomain = example.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 192.168.0.0/24, 127.0.0.0/8
relay_domains =
home_mailbox = Maildir/
 
# Step 3: Configure Dovecot /etc/dovecot.conf
protocols = imap imaps pop3 pop3s
mail_location = maildir:~/Maildir 
pop3_uidl_format = XuXv
# Required on x86_64 kernels
login_process_size = 64
 
#or
 
protocols = imap imaps pop3 pop3s
default_mail_env=maildir:~/maildir
login_process_size = 64
 
 
 
comments powered by Disqus

Info

Tags: linux mail postfix dovecot

Link to this snippet:


Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 304
Date Added: 2013-03-20 11:39:32
Last Modified: 2014-05-05 20:39:29

Web Analytics