Changeset 1a1da48 for server/mail/courier/courier-config.xml
- Timestamp:
- 09/24/2003 02:57:57 AM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- a723847c
- Parents:
- 7a74d2f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/mail/courier/courier-config.xml
r7a74d2f r1a1da48 1 1 <sect2> 2 <title>Configuring <application> courier</application></title>2 <title>Configuring <application>Courier</application></title> 3 3 4 4 <sect3><title>Config files</title> … … 100 100 <command>EOF</command></userinput></screen> 101 101 102 <para><filename>/etc/courier/me</filename></para> 103 104 <screen><userinput><command>cat > /etc/courier/me << "EOF"</command> 105 {servername.yourdomain} 106 <command>EOF</command></userinput></screen> 107 102 108 <para><filename>/etc/courier/locals</filename></para> 103 104 109 105 110 <screen><userinput><command>cat > /etc/courier/locals << "EOF"</command> 106 111 localhost 107 112 {yourdomain} 108 .{yourdomain} 109 <command>EOF</command></userinput></screen> 110 111 <para><filename>/etc/courier/esmtpacceptmailfor</filename></para> 112 113 114 <screen><userinput><command>cat > /etc/courier/esmtpacceptmailfor << "EOF"</command> 113 <command>EOF</command></userinput></screen> 114 115 <para><filename>/etc/courier/esmtpacceptmailfor.dir/system</filename></para> 116 117 <screen><userinput><command>cat >/etc/courier/esmtpacceptmailfor.dir/system << "EOF"</command> 115 118 localhost 116 119 {yourdomain} 117 .{yourdomain} 118 <command>EOF</command></userinput></screen> 119 120 <para><filename>/etc/courier/hosteddomains</filename></para> 121 122 <screen><userinput><command>cat > /etc/courier/hosteddomains << "EOF"</command> 123 {yourdomain} 124 .{yourdomain} 125 <command>EOF</command></userinput></screen> 126 120 <command>EOF</command></userinput></screen> 127 121 128 122 <para>You will also need to edit the aliases file and change the 129 123 following entry.</para> 130 131 124 132 125 <para><filename>/etc/courier/aliases/system</filename></para> … … 231 224 system.</para> 232 225 233 <para><emphasis role="strong">Edit note: Remove /usr/libexec with 234 configure flag, should be /usr/sbin. Sync apache directory with apache 235 install for BLFS.</emphasis></para> 236 237 <para>You will need to copy the file webemail from 238 <filename>/usr/libexec/courier/webmail</filename> to your <filename>cgi-bin 226 <para>You will need to copy the file webmail from 227 <filename>/usr/libexec/courier/webmail/webmail</filename> to your <filename>cgi-bin 239 228 </filename> directory of your <application>Apache</application> 240 229 server.</para> 241 230 242 <screen><userinput><command>cp -a /usr/libexec/courier/webmail /var/www/cgi-bin</command></userinput></screen>231 <screen><userinput><command>cp -a /usr/libexec/courier/webmail/webmail /var/www/cgi-bin</command></userinput></screen> 243 232 244 233 <para>You will then need to copy the images to a folder under your … … 249 238 250 239 <screen><userinput><command>cp -a /usr/share/courier/sqwebmail/images /var/www/htdocs/webmail</command></userinput></screen> 251 240 <para><emphasis>Setup for Web-based Email</emphasis></para> 241 242 <para>This section will explain how to setup Courier Web-based administration 243 system.</para> 244 245 <para>You will need to copy the file webadmin from 246 <filename>/usr/libexec/courier/webmail/webmin</filename> to your <filename>cgi-bin 247 </filename> directory of your <application>Apache</application> 248 server.</para> 249 250 <screen><userinput><command>cp -a /usr/libexec/courier/webmail/webadmin /var/www/cgi-bin</command></userinput></screen> 251 252 <para><filename>/etc/courier/webadmin/password</filename></para> 253 254 <screen><userinput><command>cat > /etc/courier/webadmin/password << "EOF"</command> 255 {password} 256 <command>EOF</command></userinput></screen> 257 258 <para>If you are not using <acronym>SSL</acronym> on your <application>Apache 259 </application> server, you will need to add 260 <filename>/etc/courier/webadmin/unsecureok</filename>, so you will be able 261 to use your web based administration tool. 262 263 <screen><userinput><command>touch /etc/courier/webadmin/unsecureok</command></userinput></screen></para> 264 </sect3> 265 266 <sect3><title>Courier init.d script</title> 267 268 <para>The startup script from the <application>Courier</application> package is 269 the easiest to use. It will automatically create missing data files, and 270 <acronym>SSL</acronym> certificates if they are missing. To install the 271 init.d file for <application>Courier</application> you will need to use the 272 follow commands:</para> 273 274 <screen><userinput><command>cp /usr/src/courier-&courier-version;/courier.sysvinit /etc/rc.d/init.d/courier && 275 chmod 755 /etc/rc.d/init.d/courier</command></userinput></screen> 276 277 <para>Create the symbolic links to this file in the relevant 278 <filename>rc.d</filename> directory with the following commands: 279 280 <screen><userinput><command>cd /etc/rc.d/init.d && 281 ln -sf ../init.d/courier ../rc0.d/K25courier && 282 ln -sf ../init.d/courier ../rc1.d/K25courier && 283 ln -sf ../init.d/courier ../rc2.d/K25courier && 284 ln -sf ../init.d/courier ../rc3.d/S35courier && 285 ln -sf ../init.d/courier ../rc4.d/S35courier && 286 ln -sf ../init.d/courier ../rc5.d/S35courier && 287 ln -sf ../init.d/courier ../rc6.d/K25courier</command></userinput></screen></para> 252 288 253 289 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.