-
Notifications
You must be signed in to change notification settings - Fork 8
External_mail
Rüdiger Beck edited this page Dec 14, 2017
·
6 revisions
In AD you can make settings that affect mailquota, mailing list and mail aliases, ...
These settings can be used to configure a remote server
to setup a mailman maillist server I need your help what has to be configured.
Belwue is a Mail Provider for a lot of schools in Germany, Baden-Württemberg.
They use the software CommuniGate Pro Server
and give you a mail domain and an administrative account to manage mail.
There is only a Web Interface available at Belwue, no command line tools.
1) Configure your school
- Edit
/etc/linuxmuster/sophomorix/<school>/<school>.school.conf
to use belwue with the entry:
[school]
MAILTYPE = belwue
- This will search for a configuration file
/etc/linuxmuster/sophomorix/<school>/<school>.belwue.conf
2) Configure Belwue Access
- Use
/usr/share/sophomorix/config-templates/belwue.template.ini
as a template for<school>.belwue.conf
and cofigure it. - In the ACCOUNT section set BASE and PASSWORD (for the admin account).
- In the CONFIG section set MAILBOX_CREATE=all (Create mailboxes for all users) or MAILBOX_CREATE=maillistmembers (create mailboxes only for users that are in a group where the maillist option is set to true in AD).
- Test the config and see where data is saved with:
sophomorix-mail --config -j
3) Test the connection
- Port 9010 must be open.
- The download takes some time if you have a lot of Objects at Belwue.
- Download data from Belwue with:
sophomorix-mail --download-belwue-data
4) See what must be done
- Analyze the download with:
sophomorix-mail --analyze-belwue-data
- The files that you need for upload are in
/var/lib/sophomorix/mail/belwue/<school>/<school>.belwue.uploads
5) Do it
- Login to the belwue user interface
- Delete Mailboxes for users in
MAILBOXES_DELETE_<school>.belwue.multimailboxes-utf8.txt
- Guide Follows ...
- Upload the list of new Mailboxes:
MAILBOXES_ADD_<school>.belwue.multimailboxes-utf8.txt
- Guide Follows ...
- Look which Aliases you have to delete and why in:
ALIASES_DELETE_<school>.belwue.txt
- Guide Follows ...
- Look which Aliases you have to add and why in:
ALIASES_ADD_<school>.belwue.txt
- Guide Follows ...
- Create a maillist
<maillist-name>
asadmin
for each file:MAILLIST_ADD_<school>.belwue.<maillist-name>.txt
and upload the fileMAILLIST_ADD_<school>.belwue.<maillist-name>.txt
as the members of<maillist-name>
- Guide Follows ...
- Update the members of
<maillist-name>
with the fileMAILLIST_UPDATE_<school>.belwue.<maillist-name>.txt
- These files are NOT YET created at the moment
- Guide Follows ...
Further Configuration
- You can add additional mail adresses in other domains to a maillist in the following file:
/etc/linuxmuster/sophomorix/<school>/belwue/<school>-<maillist-name>.txt
- one mail address per line (i.e. [email protected])