VMware Images:
|
Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 6.10 Edgy Eft) - Page 3
6 Configure SaslauthdFirst run mkdir -p /var/spool/postfix/var/run/saslauthd Then edit /etc/default/saslauthd. Remove the # in front of START=yes and add the lines PARAMS="-m /var/spool/postfix/var/run/saslauthd -r" and PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid". The file should then look like this: 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.) root@server1:/etc/postfix# telnet localhost pop3
8 Modify /etc/aliasesNow we should modify /etc/aliases and specify an alias for postmaster in it. You can specify one of your existing email addresses so that you can receive notifications to postmaster. Also, change the root line so that mails for root will be forwarded to postmaster as well: 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
10 hours 26 min ago
11 hours 21 min ago
14 hours 43 min ago
20 hours 3 min ago
20 hours 27 min ago
1 day 4 hours ago
1 day 4 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 8 hours ago