Sysadmin view of things
Qim is implemented as a normal unix user account. This account receives
all messages posted by local Qim users. There is no incoming
mail spool from anywhere on the Internet. But!: This account receives
also the Qim notify messages, which are very short. It is however
probably a good idea to set up quotas on the Qim user account.
Qim actually does not clean up anything, but temporarily created files.
It is recomended to purge files on an age basis, let's say all messages
and notifications older than a month can be deleted. If you can setup
Qim, you can find out how to do this.
Qim posts (sends) messages by delivering them via the virtualdomain(s)
"user@destination.im2000" to the im2000 user. im2000
then stores the message and sends a notify message From: im2000-cl
To: user@im2000.destination, With a precise description where
to find the original message.
On the other hand, when we receive a notification it comes to the
virtualdomain user@im2000.our-host. This virtualdomain is redirected
to ... happend to guess it? - the user im2000.
- You handle Email with the qmail mail server and have access to reconfigure
it.
- You have access to your DNS-server, so you can (let) register a MX-record
for "im2000.your-domain" pointing to your Qim server.
- you have maildrop (more precisely: reformail) installed
- you have safecat installed
- you have mess822 installed
Probably the im2000 user should be created with login disabled. Then
do "su - im2000" and
- create the directories tmp, mail, threads, notify.
- make .qmail forward all messages to the im2000 user to you (the sysadmin).
- create all the .qmail-* files you find in the acompanying documents:
Posting, Mailing, Notification and Collection
- Decide as which host your im2000 server will be reachable, let's say
it is "magma.com.ni".
- Add the following lines to /var/qmail/control/virtualdomains:
-
# Posting a message to Qim by user@host.im2000
.im2000:im2000-mail
# Post to a local user user@im2000
im2000:im2000-mail
#
# Receive notification Messages from other Qim servers
im2000.magma.com.ni:im2000-notify
- Add the following line to /var/qmail/control/rcpthosts:
-
im2000.magma.com.ni
- After this, stop and restart qmail to re-read virtualdomains and rcpthosts:
svc -td /service/qmail-send, or /etc/init.d/qmail stop, or even killall
-TERM qmail-send. To start Qmail again use "unkillall qmail-send".
- Don't forget to get your MX-records right.
- Read Posting, Mailing, Notification and
Collection
- Download qim.tgz [1779 Bytes] which contains
a Makefile and all the dot-qmail files which comprises the actual
Qim server (but without the Qmail setup).
- Download the documentation in PDF format with a hyperlink "name.pdf"
instead of "name.html".
- Install tmda or something similar and use rblsmtp (or something similar)
to only allow servers/accounts known to you to send Email to the im2000
domain and to the im2000 user.
- Keep in touch:
- You can use Qim under the GPL, if you need license terms for it.
Georg Lehner - homepage