-
Notifications
You must be signed in to change notification settings - Fork 0
System Admin: Setting up email routing with qmail
When you're setting up Eventum's [Email Routing Interface](Email Routing Interface "wikilink") for qmail, use these options in the Administration -> General Setup area:
Email Routing Interface: Enabled
Recipient Type Flag: [doesn't matter, choose any]
Email Address Prefix: issue-
Address Hostname: [the domain name of the email address issues should be sent to]
Warn Users Whether They Can Send Emails to Issue: [doesn't matter, choose any]
In your /var/qmail/control/virtualdomains, add the line:
yourdomain.com:eventum
Then reload your qmail (as root):
# svc -t /service/qmail-send
NB: The reload procedure may vary depending on your qmail installation.
That directs all of the incoming emails for [email protected] to the unix account called "eventum" on the mail server.
for mails being pushed to eventum you need to create ~/.qmail-* files:
.qmail-issue-default - handles [email protected] mails
.qmail-note-default - handles [email protected] mails
.qmail-draft-default - handles [email protected] mails
.qmail-default - catchall address for @yourdomain.com mails
the files contents should in general invoke route_TYPE.php file from Eventum installation. For example ~/.qmail-issue-default:
cd /usr/share/eventum && /usr/bin/php route_issues.php
You may use [http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/eventum-router-qmail.sh this](http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/eventum-router-qmail.sh this "wikilink") script from [http://www.pld-linux.org/ PLD Linux](http://www.pld-linux.org/ PLD Linux "wikilink") to do so. Additionally to invoking the PHP scripts that script maps the postfix style exit codes to qmail exit codes.
- Installation Process
- Scheduled Tasks
- Other Features Requiring System Setup
- Email Routing Script (route_emails.php)
- Note Routing Script (route_notes.php)
- Draft Routing Script (route_drafts.php)
- IRC Notification Bot (irc/eventum-irc-bot)
- Command Line Interface (cli/eventum)
- Installing on SSL (https)
- Installing with PHP on FastCGI