Skip to content
This repository has been archived by the owner on Aug 23, 2019. It is now read-only.

bugfixes, cleanups and improvements #10

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f844164
sympa 6.2.19 beta 2
xavierba Sep 11, 2017
696fd25
Add changelog entry
xavierba Sep 14, 2017
9abd932
Ignore test suite results on F25 and F26, earlier and later releases …
xavierba Sep 14, 2017
fffa167
Use %make_build and %make_install
xavierba Sep 13, 2017
28644ae
Don't override PATH
xavierba Sep 13, 2017
c370756
Move rsyslog conf installation next to logrotate conf installation
xavierba Sep 13, 2017
158c012
Remove useless ca-bundle.crt
xavierba Sep 13, 2017
b29bd76
Move README to doc dir
xavierba Sep 13, 2017
353d936
Add note to unbundle fonts
xavierba Sep 13, 2017
878a7be
Don't ship bogus smtpc.1.md
xavierba Sep 13, 2017
497f4ea
Fix create_cookie to only replace the cookie config and not random co…
xavierba Sep 11, 2017
45958f3
Use mktemp to create temporary cookie file in %post
xavierba Sep 14, 2017
69491c4
Remove function to migrate legacy /etc/sysconfig/sympa
xavierba Sep 13, 2017
ecaa5cf
Remove un-necessary owner/group fixup of main and robot confs
xavierba Sep 13, 2017
392f866
Don't hide intranet choices
xavierba Sep 13, 2017
8992f82
Re-order %files
xavierba Sep 13, 2017
5221a70
Fix creation of directory structure for overiding default configs
xavierba Sep 13, 2017
447299a
data_structure.current_version needs to be owned by user and group sympa
xavierba Sep 27, 2017
af4808c
Replace deprecated fcgid directives with their new names
xavierba Sep 18, 2017
f3b6ba3
FcgidMaxProcesses should be set in /etc/httpd/conf.d/fcgid.conf if ne…
xavierba Sep 19, 2017
139c03c
Rename httpd conf according to httpd version
xavierba Sep 27, 2017
8a89be9
Rename README.RPM.md
xavierba Sep 13, 2017
001e622
Fix typos in README.RPM.md
xavierba Sep 14, 2017
d65ddc7
doc: Setup MTA before DB to receive mail sent by 'sympa.pl --health_c…
xavierba Sep 27, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

## Definition of Sympa FastCGI server.
<IfModule mod_fcgid.c>
IPCCommTimeout 300
# You wish to increase the value in following line, don't you?
MaxProcessCount 5
MaxRequestLen 131072
FcgidIOTimeout 300
FcgidMaxRequestLen 131072

# If you changed wwsympa_url in sympa.conf, change this path too.
<Location /sympa>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

## Definition of Sympa FastCGI server.
<IfModule mod_fcgid.c>
IPCCommTimeout 300
# You wish to increase the value in following line, don't you?
MaxProcessCount 5
MaxRequestLen 131072
FcgidIOTimeout 300
FcgidMaxRequestLen 131072

# If you changed wwsympa_url in sympa.conf, change this path too.
<Location /sympa>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Post-install instruction for RPM package
by IKEDA Soji <ikeda@conversion.co.jp>

If you are reading this text, you may have successfully installed sympa
package. A bunch of works is needed to start your Sympa service.
package. A bunch of work is needed to start your Sympa service.

1 Run sympa_wizard
==================
Expand All @@ -13,7 +13,107 @@ package. A bunch of works is needed to start your Sympa service.
Sympa and updates site configuration files. In this process you must
choose e-mail(s) of listmaster, database settings and so on.

2 Setup database
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Configuration can refer database. So I suppose database setup would be better to be done at first.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My point is if one follows the steps in README.RPM closely and setup the database before setting up the DB, he will not get the mail to sympa@domain.tld sent by 'sympa.pl --health_check', thus the MTA needs to be setup before the DB.

2 Configure mail server
=======================

a. Sendmail
-----------

* Edit /etc/sympa/aliases.sympa.sendmail file as you prefer.

* Edit /etc/mail/sendmail.cf:

* Add following paths to AliasFile:

* /etc/sympa/aliases.sympa.sendmail

* /var/lib/sympa/sympa_aliases

* Or, if you are generating sendmail.cf by cf package, edit sendmail.mc
to add paths above to argument of ``ALIAS_FILE`` macro.

* Run ``newaliases``.

* Run ``systemctl restart sendmail.service``.

N.B.: This instruction is to use newaliases(1) maintainance tool. If you
wish to use makemap(1), edit /etc/sympa/sympa.conf to add a line
``aliases_program makemap``.

b. Postfix
----------

* Edit /etc/sympa/sympa.conf to add following line:
```
aliases_program postalias
```

* Edit /etc/sympa/aliases.sympa.postfix file as you prefer.

* Edit /etc/postfix/main.cf:

* Add following maps to $alias_maps:

* hash:/etc/sympa/aliases.sympa.postfix

* hash:/var/lib/sympa/sympa_aliases

* Add following map to $alias_database:

* hash:/etc/sympa/aliases.sympa.postfix

* Add following line:
```
recipient_delimiter = +
```

* Run ``newaliases``.

* Run ``su sympa -c /usr/sbin/sympa_newaliases.pl``.

* Run ``systemctl restart postfix.service``.

N.B.: This instruction is to use postalias(1) maintainance tool. If you
wish to use postmap(1), edit /etc/sympa/sympa.conf to add a line
``aliases_program postmap``.

c. Other MTAs
-------------

About setting with exim and qmail, see following FAQ answers:

* http://www.sympa.org/faq/exim (English)

* http://www.sympa.org/faq/qmail (English)

(Optional) Virtual domains
--------------------------

About virtual domain settings see following pages:

* http://www.sympa.org/manual/mail-aliases#virtual_domains (English)

* http://www.sympa.org/ja/manual/mail-aliases#virtual_domains (Japanese)

More sophisticated virtual domain setting on Postfix is described at
following page:

* http://sympa-ja.org/wiki/Virtual_domain_%28Postfix%29/Real_Virtual_Domain
(English)

* http://sympa-ja.org/wiki/Virtual_domain_%28Postfix%29 (Japanese)

(Optional) Automatic lists
--------------------------

See following page:

* http://www.sympa.org/manual/list-families (English)

If you want to use sympa-milter, you may install ``sympa-milter`` package.
Note that sympa-milter 0.7 or later is required.

3 Setup database
================

* Appropriate DBI driver (DBD) should be installed: DBD::mysql, DBD::Pg,
Expand Down Expand Up @@ -53,7 +153,7 @@ a. MySQL or MariaDB
N.B.: MySQL/MariaDB 5.5.3 or later provides ``utf8mb4`` character set
which covers full range of Unicode including such as chinese ideographs
used for persons' names. As of Sympa-6.2a.33 r8753, both ``utf8`` and
``utf8mb4`` character sets are supported. To use ``utf8mb4`` charcter
``utf8mb4`` character sets are supported. To use ``utf8mb4`` character
set, you might want to replace ``utf8`` in SQL statement above with
``utf8mb4``.

Expand Down Expand Up @@ -145,106 +245,6 @@ See following page:

* http://www.sympa.org/manual/database (English)

3 Configure mail server
=======================

a. Sendmail
-----------

* Edit /etc/sympa/aliases.sympa.sendmail file as you prefer.

* Edit /etc/mail/sendmail.cf:

* Add following paths to AliasFile:

* /etc/sympa/aliases.sympa.sendmail

* /var/lib/sympa/sympa_aliases

* Or, if you are generating sendmail.cf by cf package, edit sendmail.mc
to add paths above to argument of ``ALIAS_FILE`` macro.

* Run ``newaliases``.

* Run ``systemctl restart sendmail.service``.

N.B.: This instruction is to use newaliases(1) maintainance tool. If you
wish to use makemap(1), edit /etc/sympa/sympa.conf to add a line
``aliases_program makemap``.

b. Postfix
----------

* Edit /etc/sympa/sympa.conf to add following line:
```
aliases_program postalias
```

* Edit /etc/sympa/aliases.sympa.postfix file as you prefer.

* Edit /etc/postfix/main.cf:

* Add following maps to $alias_maps:

* hash:/etc/sympa/aliases.sympa.postfix

* hash:/var/lib/sympa/sympa_aliases

* Add following map to $alias_database:

* hash:/etc/sympa/aliases.sympa.postfix

* Add following line:
```
recipient_delimiter = +
```

* Run ``newaliases``.

* Run ``su sympa -c /usr/sbin/sympa_newaliases.pl``.

* Run ``systemctl restart postfix.service``.

N.B.: This instruction is to use postalias(1) maintainance tool. If you
wish to use postmap(1), edit /etc/sympa/sympa.conf to add a line
``aliases_program postmap``.

c. Other MTAs
-------------

About setting with exim and qmail, see following FAQ answers:

* http://www.sympa.org/faq/exim (English)

* http://www.sympa.org/faq/qmail (English)

(Optional) Virtual domains
--------------------------

About virtual domain settings see following pages:

* http://www.sympa.org/manual/mail-aliases#virtual_domains (English)

* http://www.sympa.org/ja/manual/mail-aliases#virtual_domains (Japanese)

More sophisticated virtual domain setting on Postfix is described at
following page:

* http://sympa-ja.org/wiki/Virtual_domain_%28Postfix%29/Real_Virtual_Domain
(English)

* http://sympa-ja.org/wiki/Virtual_domain_%28Postfix%29 (Japanese)

(Optional) Automatic lists
--------------------------

See following page:

* http://www.sympa.org/manual/list-families (English)

If you want to use sympa-milter, you may install ``sympa-milter`` package.
Note that sympa-milter 0.7 or later is required.

4 Configure HTTP server
=======================

Expand Down
Loading