/[gentoo]/xml/htdocs/doc/en/virt-mail-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/virt-mail-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.56 Revision 1.61
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.56 2007/07/20 09:09:04 nightmorph Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.61 2010/10/14 06:11:38 nightmorph Exp $ -->
4 4
5<guide link="/doc/en/virt-mail-howto.xml"> 5<guide>
6<title>Virtual Mailhosting System with Postfix Guide</title> 6<title>Virtual Mailhosting System with Postfix Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
9 <mail link="antifa@gentoo.org">Ken Nowack</mail> 9 <mail link="antifa@gentoo.org">Ken Nowack</mail>
10</author> 10</author>
24<abstract> 24<abstract>
25This document details how to create a virtual mailhosting system based upon 25This document details how to create a virtual mailhosting system based upon
26postfix, mysql, courier-imap, and cyrus-sasl. 26postfix, mysql, courier-imap, and cyrus-sasl.
27</abstract> 27</abstract>
28 28
29<version>1.4</version> 29<version>2</version>
30<date>2007-07-20</date> 30<date>2010-10-13</date>
31
32<!--
33Contents
34
35I. Introduction
36II. Postfix Basics
37III. Courier-imap
38IV. Cyrus-sasl
39V. SSL Certificates for Postfix and Apache
40VI. Adding SSL and SASL support to Postfix
41VII. MySQL
42VIII. Apache and phpMyAdmin
43IX. The vmail user
44X. Configuring MySQL Authentication and vhosts
45XI. Squirrelmail
46XII. Mailman
47XIII. Content Filtering and Anti-Virus
48XIV. Wrap Up
49XV. Troubleshooting
50-->
51 31
52<chapter> 32<chapter>
53<title>Introduction</title> 33<title>Introduction</title>
54<section> 34<section>
55<body> 35<body>
88needs. Consider investigating <uri>http://www.qmail.org/</uri> and 68needs. Consider investigating <uri>http://www.qmail.org/</uri> and
89<uri>http://www.exim.org/</uri> to explore your options. 69<uri>http://www.exim.org/</uri> to explore your options.
90</p> 70</p>
91 71
92<p> 72<p>
93The following packages are used in this setup: apache, courier-imap, courier-authlib 73The following packages are used in this setup: apache, courier-imap,
94postfix, mod_php, phpmyadmin, squirrelmail, cyrus-sasl, mysql, php, and 74courier-authlib postfix, mod_php, phpmyadmin, squirrelmail, cyrus-sasl, mysql,
95mailman. 75php, and mailman.
96</p> 76</p>
97 77
98<p> 78<p>
99Make sure to turn on the following USE variables in <path>/etc/make.conf</path> 79Make sure to turn on the following USE variables in <path>/etc/make.conf</path>
100before compiling the packages: <c>USE="mysql imap libwww maildir 80before compiling the packages: <c>USE="mysql imap libwww maildir
182 162
183<pre caption="Starting postfix for the first time"> 163<pre caption="Starting postfix for the first time">
184# <i>/usr/bin/newaliases</i> 164# <i>/usr/bin/newaliases</i>
185<comment>(This will install the new aliases. You only need to do this 165<comment>(This will install the new aliases. You only need to do this
186when you update or install aliases.)</comment> 166when you update or install aliases.)</comment>
187 167
188# <i>/etc/init.d/postfix start</i> 168# <i>/etc/init.d/postfix start</i>
189</pre> 169</pre>
190 170
191<p> 171<p>
192Now that postfix is running, fire up your favorite console mail client and send 172Now that postfix is running, fire up your favorite console mail client and send
256<section> 236<section>
257<body> 237<body>
258 238
259<p> 239<p>
260Next we're going to install cyrus-sasl. Sasl is going to play the role of 240Next we're going to install cyrus-sasl. Sasl is going to play the role of
261actually passing your auth variables to courier-auth, which will in turn pass that 241actually passing your auth variables to courier-auth, which will in turn pass
262information to mysql for authentication of smtp users. For this howto, we'll 242that information to mysql for authentication of smtp users. For this howto,
263not even try to verify that sasl is working until mysql is set up and contains 243we'll not even try to verify that sasl is working until mysql is set up and
264a test user. Which is fine since we'll be authenticating against mysql in the 244contains a test user. Which is fine since we'll be authenticating against
265end anyway. 245mysql in the end anyway.
266</p> 246</p>
267 247
268<pre caption="Configuring and installing the cyrus-sasl ebuild"> 248<pre caption="Configuring and installing the cyrus-sasl ebuild">
269# <i>emerge cyrus-sasl</i> 249# <i>emerge cyrus-sasl</i>
270</pre> 250</pre>
356smtpd_sasl_local_domain appends a domain name to clients using 336smtpd_sasl_local_domain appends a domain name to clients using
357smtp-auth. Make sure it's blank or your user names will get 337smtp-auth. Make sure it's blank or your user names will get
358mangled by postfix and be unable to auth.)</comment> 338mangled by postfix and be unable to auth.)</comment>
359 339
360smtpd_recipient_restrictions = 340smtpd_recipient_restrictions =
361 permit_sasl_authenticated, 341 permit_sasl_authenticated,
362 permit_mynetworks, 342 permit_mynetworks,
363 reject_unauth_destination 343 reject_unauth_destination
364
365 344
366<comment>(The next two options enable outgoing encryption.)</comment> 345<comment>(The next two options enable outgoing encryption.)</comment>
367smtp_use_tls = yes 346smtp_use_tls = yes
368smtp_tls_note_starttls_offer = yes 347smtp_tls_note_starttls_offer = yes
369smtpd_use_tls = yes 348smtpd_use_tls = yes
382# <i>postfix reload</i> 361# <i>postfix reload</i>
383</pre> 362</pre>
384 363
385<p> 364<p>
386Now we're going to verify that the config's we added were picked up by postfix. 365Now we're going to verify that the config's we added were picked up by postfix.
366For this we are going to use <c>telnet</c> (provided by for instance
367<c>net-misc/netkit-telnetd</c>) although you can also use <c>nc</c> (provided by
368<c>net-analyzer/netcat</c>):
387</p> 369</p>
388 370
389<pre caption="Verifying sasl and tls support"> 371<pre caption="Verifying sasl and tls support">
390# <i>telnet localhost 25</i> 372# <i>telnet localhost 25</i>
391 373
419</body> 401</body>
420</section> 402</section>
421</chapter> 403</chapter>
422 404
423<chapter> 405<chapter>
406<title>The vmail user</title>
407<section>
408<body>
409
410<p>
411Before we set up our virtual mailhosting environment, we create a functional
412user under which the virtual mailboxes will be hosted. For clarity's sake we
413will call this <e>vmail</e>:
414</p>
415
416<pre caption="Adding the vmail user">
417# <i>useradd -d /home/vmail -s /bin/false -m vmail</i>
418</pre>
419
420<p>
421So now you've set up the vmail account. You can create multiple accounts if you
422want (to keep some structure in your set of virtual mail accounts). The user id,
423group id and home dirs are referenced in the MySQL tables.
424</p>
425
426<p>
427Next to the user account we also need to create the location where the mailboxes
428will reside:
429</p>
430
431<pre caption="Creating mailboxes">
432# <i>mkdir -p /home/vmail/virt-domain.com/foo</i>
433# <i>chown -R vmail:vmail /home/vmail/virt-domain.com</i>
434# <i>maildirmake /home/vmail/virt-domain.com/foo/.maildir</i>
435</pre>
436
437</body>
438</section>
439</chapter>
440
441<chapter>
424<title>MySQL</title> 442<title>MySQL</title>
425<section> 443<section>
426<body> 444<body>
427 445
428<p> 446<p>
434<pre caption="Installing and configuring MySQL"> 452<pre caption="Installing and configuring MySQL">
435# <i>emerge mysql</i> 453# <i>emerge mysql</i>
436 454
437# <i>/usr/bin/mysql_install_db</i> 455# <i>/usr/bin/mysql_install_db</i>
438<comment>(After this command runs follow the onscreen directions 456<comment>(After this command runs follow the onscreen directions
439for adding a root password with mysql, 457for adding a root password with mysql, otherwise your db will
440not mysqladmin, otherwise your db will be wide open.)</comment> 458be wide open.)</comment>
441 459
442# <i>/etc/init.d/mysql start</i> 460# <i>/etc/init.d/mysql start</i>
443# <i>mysqladmin -u root -p create mailsql</i> 461# <i>mysqladmin -u root -p create mailsql</i>
444# <i>mysql -u root -p mailsql &lt; genericmailsql.sql</i> 462# <i>mysql -u root -p mailsql &lt; genericmailsql.sql</i>
445
446# <i>mysql -u root -p mysql</i> 463# <i>mysql -u root -p mysql</i>
447mysql> <i>GRANT SELECT,INSERT,UPDATE,DELETE</i> 464mysql> <i>GRANT SELECT,INSERT,UPDATE,DELETE</i>
448 -> <i>ON mailsql.*</i> 465 -> <i>ON mailsql.*</i>
449 -> <i>TO mailsql@localhost</i> 466 -> <i>TO mailsql@localhost</i>
450 -> <i>IDENTIFIED BY '$password';</i> 467 -> <i>IDENTIFIED BY '$password';</i>
451Query OK, 0 rows affected (0.02 sec) 468Query OK, 0 rows affected (0.02 sec)
452 469
453mysql> <i>FLUSH PRIVILEGES;</i> 470mysql> <i>FLUSH PRIVILEGES;</i>
454Query OK, 0 rows affected (0.00 sec) 471Query OK, 0 rows affected (0.00 sec)
455 472
474 <li>users - all user account information</li> 491 <li>users - all user account information</li>
475 <li>virtual - virtual domain email alias maps</li> 492 <li>virtual - virtual domain email alias maps</li>
476</ul> 493</ul>
477 494
478<pre caption="alias table sample"> 495<pre caption="alias table sample">
479id alias destination 496id alias destination
4801 root foo@bar.com 4971 root foo@bar.com
4812 postmaster foo@bar.com 4982 postmaster foo@bar.com
482</pre> 499</pre>
483 500
484<pre caption="user table sample"> 501<pre caption="user table sample">
485<comment>(Line wrapped for clarity.)</comment> 502<comment>(Line wrapped for clarity.)</comment>
486id email clear name uid gid homedir \ 503id email clear name uid gid homedir \
487 maildir quota postfix 504 maildir quota postfix
48810 foo@virt-bar.org $password realname virtid virtid /home/vmail \ 50510 foo@virt-domain.com $password realname virtid virtid /home/vmail \
489 /home/vmail/virt-bar.org/foo/.maildir/ y 506 /home/vmail/virt-domain.com/foo/.maildir/ y
49013 foo@bar.com $password realname localid localid /home/foo \ 50713 foo@bar.com $password realname localid localid /home/foo \
491 /home/foo/.maildir/ y 508 /home/foo/.maildir/ y
492</pre> 509</pre>
493 510
494<p> 511<p>
495The values of the <c>virtid</c> uid and gid should be those of the <c>vmail</c> 512The values of the <c>virtid</c> uid and gid should be those of the <c>vmail</c>
496user and group. 513user and group.
497</p> 514</p>
498 515
499<pre caption="transport table sample"> 516<pre caption="transport table sample">
500id domain destination 517id domain destination
5011 bar.com local: 5181 bar.com local:
5022 virt-bar.org virtual: 5192 virt-domain.com virtual:
503</pre> 520</pre>
504 521
505<pre caption="virtual table sample"> 522<pre caption="virtual table sample">
506id email destination 523id email destination
5073 root@virt-bar.org other@email.address 5243 root@virt-domain.com other@email.address
508</pre> 525</pre>
509 526
510</body> 527</body>
511</section> 528</section>
512</chapter> 529</chapter>
552 569
553<pre caption="Install Apache SSL certificates"> 570<pre caption="Install Apache SSL certificates">
554# <i>cp /etc/ssl/misc/new.cert.cert /etc/apache2/ssl/</i> 571# <i>cp /etc/ssl/misc/new.cert.cert /etc/apache2/ssl/</i>
555# <i>cp /etc/ssl/misc/new.cert.key /etc/apache2/ssl/</i> 572# <i>cp /etc/ssl/misc/new.cert.key /etc/apache2/ssl/</i>
556# <i>cd /etc/apache2/vhosts.d</i> 573# <i>cd /etc/apache2/vhosts.d</i>
557<comment>(Check if you have an ssl-vhost template already. 574<comment>(Check if you have an ssl-vhost template already.
558 Copy that one instead of the default_vhost if that is the case)</comment> 575 Copy that one instead of the default_vhost if that is the case)</comment>
559# <i>cp 00_default_vhost.conf ssl-vhost.conf</i> 576# <i>cp 00_default_vhost.conf ssl-vhost.conf</i>
560# <i>nano -w ssl-vhost.conf</i> 577# <i>nano -w ssl-vhost.conf</i>
561 578
562<comment>(Change the following parameters)</comment> 579<comment>(Change the following parameters)</comment>
612accurate. For instance, make sure the local user's home dir exists and that the 629accurate. For instance, make sure the local user's home dir exists and that the
613correct uid/gid values are in place. The maildirs should be created 630correct uid/gid values are in place. The maildirs should be created
614automatically by postfix when the user receives their first email. So, in 631automatically by postfix when the user receives their first email. So, in
615general, it's a good idea to send a "Welcome" mail to a new user after you 632general, it's a good idea to send a "Welcome" mail to a new user after you
616setup their account to make sure the .maildir gets created. 633setup their account to make sure the .maildir gets created.
617</p>
618
619</body>
620</section>
621</chapter>
622
623<chapter>
624<title>The vmail user</title>
625<section>
626<body>
627
628<p>
629At this point you may be wondering what user and directory to use for virtual
630mail users, and rightly so. Let's set that up.
631</p>
632
633<pre caption="Adding the vmail user">
634# <i>adduser -d /home/vmail -s /bin/false -m vmail</i>
635</pre>
636
637<p>
638So now you've set up the vmail account. You can create multiple accounts if you
639want (to keep some structure in your set of virtual mail accounts). The user id,
640group id and home dirs are referenced in the MySQL tables.
641</p> 634</p>
642 635
643</body> 636</body>
644</section> 637</section>
645</chapter> 638</chapter>
688 681
689<pre caption="/etc/postfix/mysql-aliases.cf"> 682<pre caption="/etc/postfix/mysql-aliases.cf">
690# <i>nano -w /etc/postfix/mysql-aliases.cf</i> 683# <i>nano -w /etc/postfix/mysql-aliases.cf</i>
691# mysql-aliases.cf 684# mysql-aliases.cf
692 685
693user = mailsql 686user = mailsql
694password = $password 687password = $password
695dbname = mailsql 688dbname = mailsql
696table = alias 689table = alias
697select_field = destination 690select_field = destination
698where_field = alias 691where_field = alias
699hosts = unix:/var/run/mysqld/mysqld.sock 692hosts = unix:/var/run/mysqld/mysqld.sock
700</pre> 693</pre>
701 694
702<pre caption="/etc/postfix/mysql-relocated.cf"> 695<pre caption="/etc/postfix/mysql-relocated.cf">
703# <i>nano -w /etc/postfix/mysql-relocated.cf</i> 696# <i>nano -w /etc/postfix/mysql-relocated.cf</i>
704# mysql-relocated.cf 697# mysql-relocated.cf
705 698
706user = mailsql 699user = mailsql
707password = $password 700password = $password
708dbname = mailsql 701dbname = mailsql
709table = relocated 702table = relocated
710select_field = destination 703select_field = destination
711where_field = email 704where_field = email
712hosts = unix:/var/run/mysqld/mysqld.sock 705hosts = unix:/var/run/mysqld/mysqld.sock
713</pre> 706</pre>
714 707
715<pre caption="/etc/postfix/mysql-transport.cf (optional)"> 708<pre caption="/etc/postfix/mysql-transport.cf (optional)">
716# <i>nano -w /etc/postfix/mysql-transport.cf</i> 709# <i>nano -w /etc/postfix/mysql-transport.cf</i>
717# mysql-transport.cf 710# mysql-transport.cf
718 711
719user = mailsql 712user = mailsql
720password = $password 713password = $password
721dbname = mailsql 714dbname = mailsql
722table = transport 715table = transport
723select_field = destination 716select_field = destination
724where_field = domain 717where_field = domain
725hosts = unix:/var/run/mysqld/mysqld.sock 718hosts = unix:/var/run/mysqld/mysqld.sock
726</pre> 719</pre>
727 720
728<pre caption="/etc/postfix/mysql-virtual-gid.cf (optional)"> 721<pre caption="/etc/postfix/mysql-virtual-gid.cf (optional)">
729# <i>nano -w /etc/postfix/mysql-virtual-gid.cf</i> 722# <i>nano -w /etc/postfix/mysql-virtual-gid.cf</i>
730# mysql-virtual-gid.cf 723# mysql-virtual-gid.cf
731 724
732user = mailsql 725user = mailsql
733password = $password 726password = $password
734dbname = mailsql 727dbname = mailsql
735table = users 728table = users
736select_field = gid 729select_field = gid
737where_field = email 730where_field = email
738additional_conditions = and postfix = 'y' 731additional_conditions = and postfix = 'y'
739hosts = unix:/var/run/mysqld/mysqld.sock 732hosts = unix:/var/run/mysqld/mysqld.sock
740</pre> 733</pre>
741 734
742<pre caption="/etc/postfix/mysql-virtual-maps.cf"> 735<pre caption="/etc/postfix/mysql-virtual-maps.cf">
743# <i>nano -w /etc/postfix/mysql-virtual-maps.cf</i> 736# <i>nano -w /etc/postfix/mysql-virtual-maps.cf</i>
744#myql-virtual-maps.cf 737# mysql-virtual-maps.cf
745 738
746user = mailsql 739user = mailsql
747password = $password 740password = $password
748dbname = mailsql 741dbname = mailsql
749table = users 742table = users
750select_field = maildir 743select_field = maildir
751where_field = email 744where_field = email
752additional_conditions = and postfix = 'y' 745additional_conditions = and postfix = 'y'
753hosts = unix:/var/run/mysqld/mysqld.sock 746hosts = unix:/var/run/mysqld/mysqld.sock
754</pre> 747</pre>
755 748
756<pre caption="/etc/postfix/mysql-virtual-uid.cf (optional)"> 749<pre caption="/etc/postfix/mysql-virtual-uid.cf (optional)">
760user = mailsql 753user = mailsql
761password = $password 754password = $password
762dbname = mailsql 755dbname = mailsql
763table = users 756table = users
764select_field = uid 757select_field = uid
765where_field = email 758where_field = email
766additional_conditions = and postfix = 'y' 759additional_conditions = and postfix = 'y'
767hosts = unix:/var/run/mysqld/mysqld.sock 760hosts = unix:/var/run/mysqld/mysqld.sock
768</pre> 761</pre>
769 762
770<pre caption="/etc/postfix/mysql-virtual.cf"> 763<pre caption="/etc/postfix/mysql-virtual.cf">
771# <i>nano -w /etc/postfix/mysql-virtual.cf</i> 764# <i>nano -w /etc/postfix/mysql-virtual.cf</i>
772# mysql-virtual.cf 765# mysql-virtual.cf
773 766
774user = mailsql 767user = mailsql
775password = $password 768password = $password
776dbname = mailsql 769dbname = mailsql
777table = virtual 770table = virtual
778select_field = destination 771select_field = destination
779where_field = email 772where_field = email
780hosts = unix:/var/run/mysqld/mysqld.sock 773hosts = unix:/var/run/mysqld/mysqld.sock
781</pre> 774</pre>
782 775
783<p> 776<p>
784Lastly, edit <path>/etc/postfix/main.cf</path> one more time. 777Lastly, edit <path>/etc/postfix/main.cf</path> one more time.
785</p> 778</p>
792 785
793local_transport = local 786local_transport = local
794local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname 787local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
795 788
796virtual_transport = virtual 789virtual_transport = virtual
797<comment>(The domains listed by the mydestination should not be listed in 790<comment>(The domains listed by the mydestination should not be listed in
798 the virtual_mailbox_domains parameter)</comment> 791 the virtual_mailbox_domains parameter)</comment>
799virtual_mailbox_domains = virt-bar.com, $other-virtual-domain.com 792virtual_mailbox_domains = virt-domain.com, $other-virtual-domain.com
800 793
801virtual_minimum_uid = 1000 794virtual_minimum_uid = 1000
802<comment>(Substitute $vmail-gid with the GID of the vmail group)</comment> 795<comment>(Substitute $vmail-gid with the GID of the vmail group)</comment>
803virtual_gid_maps = static:$vmail-gid 796virtual_gid_maps = static:$vmail-gid
804virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf 797virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
895</pre> 888</pre>
896 889
897<pre caption="mailman config: mm_cfg.py"> 890<pre caption="mailman config: mm_cfg.py">
898# <i>nano -w /usr/local/mailman/Mailman/mm_cfg.py</i> 891# <i>nano -w /usr/local/mailman/Mailman/mm_cfg.py</i>
899MTA = "Postfix" 892MTA = "Postfix"
900POSTFIX_STYLE_VIRTUAL_DOMAINS = ['virt-domain.com', 'virt.domain2.com'] 893POSTFIX_STYLE_VIRTUAL_DOMAINS = ['virt-domain.com', 'virt.domain2.com']
901add_virtualhost('www.virt.domain.com', 'virt.domain.com') 894add_virtualhost('www.virt.domain.com', 'virt.domain.com')
902add_virtualhost('www.virt.domain2.com', 'virt.domain2.com') 895add_virtualhost('www.virt.domain2.com', 'virt.domain2.com')
903<comment>(This is required for your virtual domains for mailman to function.)</comment> 896<comment>(This is required for your virtual domains for mailman to function.)</comment>
904</pre> 897</pre>
905 898
906<pre caption="And last but not least"> 899<pre caption="And last but not least">
907<comment>(Once that's finished, add your first list.)</comment> 900<comment>(Once that's finished, add your first list.)</comment>
908 901
909# <i>su mailman</i> 902# <i>su mailman</i>
910# <i>cd ~</i> 903# <i>cd ~</i>
911# <i>./bin/newlist test</i> 904# <i>./bin/newlist --urlhost='www.virt-domain.com' --emailhost='virt-domain.com' test</i>
912Enter the email of the person running the list: <i>your@email.address</i> 905Enter the email of the person running the list: <i>your@email.address</i>
913Initial test password: 906Initial test password:
914Hit enter to continue with test owner notification... 907Hit enter to continue with test owner notification...
915<comment>(Virtual domain lists may be specified with 908<comment>(Virtual domain lists may also be specified with
916list@domain.com style list names.)</comment> 909list@domain.com style list names.)</comment>
917# <i>./bin/genaliases</i> 910# <i>./bin/genaliases</i>
918<comment>(Now that your aliases have been generated, 911<comment>(Now that your aliases have been generated,
919verify that they were added successfully.)</comment> 912verify that they were added successfully.)</comment>
920 913
921# <i>nano -w data/aliases</i> 914# <i>nano -w data/aliases</i>
922# STANZA START: test 915# STANZA START: test
923# CREATED: 916# CREATED:
924test: "|/var/mailman/mail/mailman post test" 917test: "|/usr/local/mailman/mail/mailman post test"
925test-admin: "|/var/mailman/mail/mailman admin test" 918test-admin: "|/usr/local/mailman/mail/mailman admin test"
926test-bounces: "|/var/mailman/mail/mailman bounces test" 919test-bounces: "|/usr/local/mailman/mail/mailman bounces test"
927test-confirm: "|/var/mailman/mail/mailman confirm test" 920test-confirm: "|/usr/local/mailman/mail/mailman confirm test"
928test-join: "|/var/mailman/mail/mailman join test" 921test-join: "|/usr/local/mailman/mail/mailman join test"
929test-leave: "|/var/mailman/mail/mailman leave test" 922test-leave: "|/usr/local/mailman/mail/mailman leave test"
930test-owner: "|/var/mailman/mail/mailman owner test" 923test-owner: "|/usr/local/mailman/mail/mailman owner test"
931test-request: "|/var/mailman/mail/mailman request test" 924test-request: "|/usr/local/mailman/mail/mailman request test"
932test-subscribe: "|/var/mailman/mail/mailman subscribe test" 925test-subscribe: "|/usr/local/mailman/mail/mailman subscribe test"
933test-unsubscribe: "|/var/mailman/mail/mailman unsubscribe test" 926test-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe test"
934# STANZA END: test 927# STANZA END: test
935 928
936<comment>(Create the required mailman list)</comment> 929<comment>(Create the required mailman list)</comment>
937# <i>./bin/newlist mailman</i> 930# <i>./bin/newlist mailman</i>
938# <i>./bin/genaliases</i> 931# <i>./bin/genaliases</i>
950owner_request_special = no 943owner_request_special = no
951recipient_delimiter = + 944recipient_delimiter = +
952<comment>(Read README.POSTFIX.gz for details on this.)</comment> 945<comment>(Read README.POSTFIX.gz for details on this.)</comment>
953 946
954alias_maps = 947alias_maps =
955 hash:/usr/local/mailman/data/aliases, 948 hash:/usr/local/mailman/data/aliases,
956 mysql:/etc/postfix/mysql-aliases.cf 949 mysql:/etc/postfix/mysql-aliases.cf
957 950
958virtual_alias_maps = 951virtual_alias_maps =
959 hash:/usr/local/mailman/data/virtual-mailman, 952 hash:/usr/local/mailman/data/virtual-mailman,
960 mysql:/etc/postfix/mysql-virtual.cf 953 mysql:/etc/postfix/mysql-virtual.cf
961<comment>(This adds mailman alias file support to postfix 954<comment>(This adds mailman alias file support to postfix
962You may of course use the mysql tables for this, 955You may of course use the mysql tables for this,
963but I hate doing that by hand. Also, if you are not 956but I hate doing that by hand. Also, if you are not
964using virtual domains, adding the virtual alias maps 957using virtual domains, adding the virtual alias maps
965to postfix may cause problems, be warned.)</comment> 958to postfix may cause problems, be warned.)</comment>
1203 <li> 1196 <li>
1204 <uri>http://www.google.com/</uri> - If all else fails, there's always 1197 <uri>http://www.google.com/</uri> - If all else fails, there's always
1205 google, which has never failed me 1198 google, which has never failed me
1206 </li> 1199 </li>
1207 <li> 1200 <li>
1208 I also spend a lot of time on irc.freenode.net #gentoo. Irc is a great 1201 I also spend a lot of time on <uri
1209 place to go for help. 1202 link="irc://irc.gentoo.org/gentoo">#gentoo</uri>. IRC is a great place to go
1203 for help.
1210 </li> 1204 </li>
1211</ul> 1205</ul>
1212 1206
1213</body> 1207</body>
1214</section> 1208</section>

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.61

  ViewVC Help
Powered by ViewVC 1.1.20