View Single Post
Old 5th September 2009, 13:51
acoghlan acoghlan is offline
Junior Member
Join Date: Jan 2007
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post

The system that I am using for support tickets (Eventum from MySQL) suggests these steps for postfix:

In /etc/mail/ define

transport_maps = regexp:/etc/mail/transportregex
local_recipient_maps = unix:passwd.byname $alias_maps $transport_maps

Be sure to include your domain in mydestination

mydestination = $transport_maps, $myhostname,
In /etc/mail/ define eventum transport:

eventum   unix  -       n       n       -       10       pipe
 flags=DRhu user=apache argv=/usr/bin/php /var/www/html/eventum/misc/route_${nexthop}.php
Create /etc/mail/transportregex file:

/note-.*         eventum:notes
/issue-.*        eventum:emails
/drafts-.*       eventum:drafts
Run postmap on that file

postmap /etc/mail/transportregex
That doesnt seem to work at all with this virtual mail setup, and I am not sure that maildrop is the way to go either - surely this is a native postfix thing as there are many apps that make use of this type of functionality - I just cant work it into this server setup....

Last edited by acoghlan; 5th September 2009 at 13:55.
Reply With Quote