/[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.12 Revision 1.13
563 <codenote>Set MAILGID to the mailman group instead of nobody</codenote> 563 <codenote>Set MAILGID to the mailman group instead of nobody</codenote>
564 <codenote>This is needed for postfix integration</codenote> 564 <codenote>This is needed for postfix integration</codenote>
565</pre> 565</pre>
566<pre> 566<pre>
567 # <i>emerge mailman</i> 567 # <i>emerge mailman</i>
568<codenote>This package is currently masked as well, so you'll need to unmask it or give </codenote> 568 <codenote>This package is currently masked as well, so you'll need to unmask it or give </codenote>
569<codenote>emerge an explicit path to the ebuild. Once it's installed, follow the directions</codenote> 569 <codenote>emerge an explicit path to the ebuild. Once it's installed, follow the directions</codenote>
570<codenote>in the README.gentoo.gz *except* do not add your aliases to /etc/mail/aliases.</codenote> 570 <codenote>in the README.gentoo.gz *except* do not add your aliases to /etc/mail/aliases.</codenote>
571<codenote>We will instead be linking the entire alias db into postfix.</codenote> 571 <codenote>We will instead be linking the entire alias db into postfix.</codenote>
572 572
573 # <i>zless /usr/share/doc/mailman-$ver/README.gentoo.gz</i> 573 # <i>zless /usr/share/doc/mailman-$ver/README.gentoo.gz</i>
574</pre> 574</pre>
575<pre caption="Setting defaults: Mailman/Defaults.py"> 575<pre caption="Setting defaults: Mailman/Defaults.py">
576 # <i> nano -w /var/mailman/Mailman/Defaults.py</i> 576 # <i> nano -w /var/mailman/Mailman/Defaults.py</i>
577<codenote>Change the values below to reflect your primary domain, virtuals will be set next.</codenote> 577 <codenote>Change the values below to reflect your primary domain, virtuals will be set next.</codenote>
578 DEFAULT_EMAIL_HOST = 'domain.com' 578 DEFAULT_EMAIL_HOST = 'domain.com'
579 DEFAULT_URL_HOST = 'www.domain.com' 579 DEFAULT_URL_HOST = 'www.domain.com'
580</pre> 580</pre>
581<pre caption="mailman config: mm_cfg.py"> 581<pre caption="mailman config: mm_cfg.py">
582 # <i>nano -w /var/mailman/Mailman/mm_cfg.py</i> 582 # <i>nano -w /var/mailman/Mailman/mm_cfg.py</i>
585 add_virtualhost('www.virt.domain.com', 'virt.domain.com') 585 add_virtualhost('www.virt.domain.com', 'virt.domain.com')
586 add_virtualhost('www.virt.domain2.com', 'virt.domain2.com') 586 add_virtualhost('www.virt.domain2.com', 'virt.domain2.com')
587<codenote>This is required for your virtual domains for mailman to function.</codenote> 587<codenote>This is required for your virtual domains for mailman to function.</codenote>
588</pre> 588</pre>
589<pre> 589<pre>
590<codenote>Once that's finished, add your first list.</codenote> 590 <codenote>Once that's finished, add your first list.</codenote>
591 591
592 # <i>su mailman</i> 592 # <i>su mailman</i>
593 # <i>cd ~</i> 593 # <i>cd ~</i>
594 # <i>bin/newlist test</i> 594 # <i>bin/newlist test</i>
595 Enter the email of the person running the list: your@email.address 595 Enter the email of the person running the list: your@email.address
634 virtual_alias_maps = 634 virtual_alias_maps =
635 hash:/var/mailman/data/virtual-mailman, 635 hash:/var/mailman/data/virtual-mailman,
636 mysql:/etc/postfix/mysql-virtual.cf 636 mysql:/etc/postfix/mysql-virtual.cf
637 <codenote>This adds mailman alias file support to postfix</codenote> 637 <codenote>This adds mailman alias file support to postfix</codenote>
638 <codenote>You may of course use the mysql tables for this,</codenote> 638 <codenote>You may of course use the mysql tables for this,</codenote>
639 <codenote>but I hate doing that by hand. Also, if you are not</codenote> <codenote>using virtual domains, adding the virtual alias maps</codenote> 639 <codenote>but I hate doing that by hand. Also, if you are not</codenote>
640 <codenote>using virtual domains, adding the virtual alias maps</codenote>
640 <codenote>to postfix may cause problems, be warned.</codenote> 641 <codenote>to postfix may cause problems, be warned.</codenote>
641</pre> 642</pre>
642<p> You should now be able to setup mailing lists for any domain on your box. Last note on this, make sure you run all mailman commands as the user mailman (<c>su mailman</c>) or else the permissions will be wrong and you'll have to fix them. Read the mailman doc's for more information on setting up and managing mailman lists.</p> 643<p> You should now be able to setup mailing lists for any domain on your box. Last note on this, make sure you run all mailman commands as the user mailman (<c>su mailman</c>) or else the permissions will be wrong and you'll have to fix them. Read the mailman doc's for more information on setting up and managing mailman lists.</p>
643</body> 644</body>
644</chapter> 645</chapter>

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20