VMware Images:
|
Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch) - Page 3
6 Configure SaslauthdFirst run mkdir -p /var/spool/postfix/var/run/saslauthd Then edit /etc/default/saslauthd. Set START to yes and change the line OPTIONS="-c" to OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r": vi /etc/default/saslauthd
Then create the file /etc/pam.d/smtp. It should contain only the following two lines (go sure to fill in your correct database details): vi /etc/pam.d/smtp
Next create the file /etc/postfix/sasl/smtpd.conf. It should look like this: vi /etc/postfix/sasl/smtpd.conf
Then restart Postfix and Saslauthd: /etc/init.d/postfix restart
7 Configure CourierNow we have to tell Courier that it should authenticate against our MySQL database. First, edit /etc/courier/authdaemonrc and change the value of authmodulelist so that it reads: vi /etc/courier/authdaemonrc
Then make a backup of /etc/courier/authmysqlrc and empty the old file: cp /etc/courier/authmysqlrc /etc/courier/authmysqlrc_orig Then open /etc/courier/authmysqlrc and put the following lines into it: vi /etc/courier/authmysqlrc
Then restart Courier: /etc/init.d/courier-authdaemon restart By running telnet localhost pop3 you can see if your POP3 server is working correctly. It should give back +OK Hello there. (Type quit to get back to the Linux shell.) server1:/etc/postfix# telnet localhost pop3
8 Modify /etc/aliasesNow we should open /etc/aliases. Make sure that postmaster points to root and root to your own username or your email address, e.g. like this: vi /etc/aliases
Whenever you modify /etc/aliases, you must run newaliases afterwards and restart Postfix: /etc/init.d/postfix restart
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video



![Creative Commons Attribution License [Creative Commons Attribution License]](http://creativecommons.org/images/public/somerights20.gif)

print: 

Recent comments
2 hours 39 min ago
3 hours 24 min ago
5 hours 13 min ago
5 hours 24 min ago
7 hours 24 min ago
16 hours 39 min ago
17 hours 8 min ago
18 hours 50 min ago
20 hours 51 min ago
21 hours 25 min ago