RT and Fetchmail

Hello,

I configured Fetchmail to the creation of possible ticket by email and
it works except that all tickets created by email has always assigned
the same file that is file8.I configured fetchmailrc this way:

poll pop.gmail.com with protocol pop3
username ‘support@domain.net’ there with password ‘pass’
no keep
ssl
no fetchall
sslfingerprint ‘92:73:xx etc…’
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue General
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file2
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file3
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file4
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file5
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file6
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file7
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file8
–action correspond”

An idea?

Thank you

Thank you for your reply. In fact I thought it was possible for a RT
ticket was assigned the file the user has over the user who created the
email, which is created in RT but I think it is not possible therefore
I’ll do that all tickets created via email or the file has awarded
General then I myself would grant.

Thank you againLe mercredi 21 octobre 2009 à 10:24 -0400, Mathieu Longtin a écrit :

I’m guessing that fetchmail takes the last MDA argument, and ignores
the previous 7.

What are you trying to do? Add the same message to all 8 queues?

If that’s the case, you should make a little perl script to save the
mail in a temp file, then call the rt-mailgate 8 times, then erase the
temp file.


Mathieu Longtin
1-514-803-8977

2009/10/21 josé fernandez jose.fernandez@naxos-fr.net

    Hello, 
    
    I configured Fetchmail to the creation of possible ticket by
    email and it works except that all tickets created by email
    has always assigned the same file that is file8.I configured
    fetchmailrc this way: 
    
    poll pop.gmail.com with protocol pop3  
       username 'support@domain.net' there with password 'pass' 
      no keep
      ssl 
      no fetchall
    sslfingerprint '92:73:xx etc..' 
    mda "path/bin/rt-mailgate --url http://www.domain.net/ --queue
    General --action correspond"
    mda "path/bin/rt-mailgate --url http://www.domain.net/ --queue
    file2 --action correspond"
    mda "path/bin/rt-mailgate --url http://www.domain.net/ --queue
    file3 --action correspond"
    mda "path/bin/rt-mailgate --url http://www.domain.net/ --queue
    file4 --action correspond"
    mda "path/bin/rt-mailgate --url http://www.domain.net/ --queue
    file5 --action correspond"
    mda "path/bin/rt-mailgate --url http://www.domain.net/ --queue
    file6 --action correspond"
    mda "path/bin/rt-mailgate --url http://www.domain.net/ --queue
    file7 --action correspond"
    mda "path/bin/rt-mailgate --url http://www.domain.net/ --queue
    file8 --action correspond"
    
    An idea? 
    
    Thank you
    
    
    _______________________________________________
    http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
    
    Community help: http://wiki.bestpractical.com
    Commercial support: sales@bestpractical.com
    
    
    Discover RT's hidden secrets with RT Essentials from O'Reilly
    Media.
    Buy a copy at http://rtbook.bestpractical.com

You should know that if a ticket is in file5, a follow up, even if
rt-mailgate assigns it to “General”, will still find the right ticket.

You could also create a scrips to change a ticket to another queue on
creation based on sender, or whatever, if that’s what you want.

Mathieu Longtin
1-514-803-89772009/10/21 josé fernandez jose.fernandez@naxos-fr.net

Thank you for your reply. In fact I thought it was possible for a RT
ticket was assigned the file the user has over the user who created the
email, which is created in RT but I think it is not possible therefore I’ll
do that all tickets created via email or the file has awarded General then I
myself would grant.

Thank you again

Le mercredi 21 octobre 2009 à 10:24 -0400, Mathieu Longtin a écrit :

I’m guessing that fetchmail takes the last MDA argument, and ignores the
previous 7.

What are you trying to do? Add the same message to all 8 queues?

If that’s the case, you should make a little perl script to save the mail
in a temp file, then call the rt-mailgate 8 times, then erase the temp file.


Mathieu Longtin
1-514-803-8977

2009/10/21 josé fernandez jose.fernandez@naxos-fr.net

Hello,

I configured Fetchmail to the creation of possible ticket by email and it
works except that all tickets created by email has always assigned the same
file that is file8.I configured fetchmailrc this way:

poll pop.gmail.com with protocol pop3
username ‘support@domain.net’ there with password ‘pass’
no keep
ssl
no fetchall
sslfingerprint ‘92:73:xx etc…’
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue General
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file2
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file3
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file4
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file5
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file6
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file7
–action correspond”
mda “path/bin/rt-mailgate --url http://www.domain.net/ --queue file8
–action correspond”

An idea?

Thank you


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com