Is there a way to change the custom field of a ticket when generated with rt-mailgate?
I have different email addresses pulled with pop3 through fetchmail and rt-mailgate, all are forwarded to different queues (as answer and comment)
In addition to the default email address of one queue, I would like to add an address with defined custom field.
Here you find a snippet from my fetchmail config:
poll mailserver protocol pop3
username “username” password "password"
mda "/usr/bin/rt-mailgate --queue queuename --action comment --url http://localhost/rt/"
The emails are sent from customers, so I cannot handle with special code in subject or content, because no customer would write this.
However I already have a scrip for detecting custom field from subject, so maybe one possible workaround would be to change the subject of the mail with some script, maybe with fetchmail, before processing rt-mailgate – but I also don’t know how to do this.
does anyone of you have an idea how to solve this?
Thanks very much!