Right. I didn't mean for this to be a private message to Mr. Rios.
Sorry about that.
-------- Original Message --------
Subject: Re: Eventum mail routing with .qmail or any MTA
Date: Fri, 14 Jan 2005 10:52:04 -0500
From: Chris Ess <eventum@stripped>
> What is the best syntax for a .qmail file to get it to process the
> emails for a project?
> I am sending an email to say ticket-2@stripped and it only
> on occassion gets added to the "associate emails" list.
> My current setup in my .qmail-default is this.
> user: ticket
> contents of .qmail-default shown via cat below:
> ppvsrv1:/home/ticket# cat .qmail-default
> | /home/ticket/process_emails.sh
> contents of process_emails.sh is shown via cat below:
> ppvsrv1:/home/ticket# cat process_emails.sh
> cat email.txt | php
> /usr/vips/domain.subdomain.com/docs/tickets/misc/route_emails.php 1
> rm email.txt
I have a user set up called 'issue' in the domain running eventum
through vpopmail. (Note: In order to use emails like
'issue-3@stripped' with vpopmail and have it delivered to the
'issue@stripped' user, you need to enable qmail address extensions in
vpopmail. If you use the chkusr patch or another patch to qmail that
checks the validity of envelope recipients, you will also want to make
sure that it won't block these emails.)
My (sanitized) .qmail file is:
| ( cd /directory/to/eventum/misc && /opt/php/bin/php -q
route_emails.php 1 )
(That's all on one line. Sorry for any wrapping.)
This takes care of anything I need.
The 'tickets' user will need read permission to some of the files under
eventum (in particular setup.conf.php) and will need write permissions
on the 'routed_emails' directory. (If you set up a separate user to
handle notes, they will need to have the same read permissions and write
permissions on 'routed_notes'.)
System Administrator / CDTT (Certified Duct Tape Technician)
|• [Fwd: Re: Eventum mail routing with .qmail or any MTA]||Chris Ess||14 Jan|