Hi! Why you don't create "gmail" -queue email alias? /etc/aliases ============ gmail: |/opt/rt3/bin/rt-mailgate --queue 'gmail' --action correspond --url http://support.company.com/"
so when customer sends email to address gm...@company.com, it goes automaticly to gmail -queue! On Monday, 22. Februaryta 2010 16:25:33 polloxx wrote: > Dear, > > As I'm new to RT I'm trying to setup a system for our needs. > We want a queue for each customer. Tickets are created by email. > So I want to test this with my own gmail address: > > I've created a queue called 'Gmail'. > > In the General queue I've created a Scrip: > > Condition: On Create > Action: User defined > Template: Global template: Blank > Stage: TransactionCreate > > Custom action cleanup code: > > if ($self->TicketObj->RequestorAddresses =~ /pollo...@gmail\.com/){ > $self->TicketObj->SetQueue("Gmail"); > return(1); > } > > return(undef); > > So a new created ticket should move from the 'General' to the 'Gmail' > queue but it doesn't. What am I doing wrong? > > Thx, > P. > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@bestpractical.com > > 2010 RT Training Sessions! > San Francisco, CA, USA - Feb 22 & 23 > Dublin, Ireland - Mar 15 & 16 > Boston, MA, USA - April 5 & 6 > Washington DC, USA - Oct 25 & 26 > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- JJussi _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com 2010 RT Training Sessions! San Francisco, CA, USA - Feb 22 & 23 Dublin, Ireland - Mar 15 & 16 Boston, MA, USA - April 5 & 6 Washington DC, USA - Oct 25 & 26 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com