Eventum:Setting up email routing with qmail

Eventum Menu: Home - Documentation - FAQ - Help

[edit] Quick Notes

When you're setting up Eventum's Email Routing Interface 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 issue-xyz@yourdomain.com to the unix account called "eventum" on the mail server.

[edit] ~/.qmail files

for mails being pushed to eventum you need to create ~/.qmail-* files:

.qmail-issue-default - handles issue-XXX@yourdomain.com mails
.qmail-note-default - handles note-XXX@yourdomain.com mails
.qmail-draft-default - handles draft-XXX@yourdomain.com 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 [this] script from [PLD Linux] to do so. Additionally to invoking the PHP scripts that script maps the postfix style exit codes to qmail exit codes.

Retrieved from "http://forge.mysql.com/wiki/Eventum:Setting_up_email_routing_with_qmail"

This page has been accessed 1,643 times. This page was last modified 12:30, 23 June 2009.

Find

Browse
MySQLForge
Main Page
Current events
Recent changes
Random page
Help
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Special pages
New pages
File list
Statistics
Bug reports
More...