How to Configure RT_MAILGATE with MS Exchange

Hello All,

I just completed installation of rt3 succesfully but I don’t know how to
make it communicate with my MS exchange.

can somebody explain how to to make rt3 send/receive mail to/fro MS
exchange. Both rt3 and ms exchange servers are on the same LAN.

Thank you.

Leke

Hi there,

we’re using Exchange (2003) here, but communication is rather simple: I am using a simple getmail script to poll the incoming Mails from POP3 Mailboxes. Getmail is part of fetchmail, if my mind serves me right. Sending is done by using a local MTA which forwards all mail using SMT to the Exchange Server (EXIM calls this “Smarthost”). Works like a charm.

On the Linux box I have created an user called “rtmail” which handles all Mail retrival using a Cron Job like this:

#!/bin/bash

Queue: Axapta

/usr/bin/getmail_fetch --delete --quiet \

    jetex001.int.cancom.de axapta.dev@cancom.de xxxxxxxx \

    "|/usr/bin/rt-mailgate --queue Axapta --action correspond --url http://localhost/rt/"

Queue: Targit

/usr/bin/getmail_fetch --delete --quiet \

    jetex001.int.cancom.de targit.dev@cancom.de xxxxxxxx \

    "|/usr/bin/rt-mailgate --queue Targit --action correspond --url http://localhost/rt/"

All comments are sent using the same address, they are accociated

using the Ticket ID. The generic RT queue is used as a fallback in

case the Ticket ID is missing.

/usr/bin/getmail_fetch --delete --quiet \

    jetex001.int.cancom.de rt-comments.dev@cancom.de xxxxxxxx \

    "|/usr/bin/rt-mailgate --queue RequestTracker --action comment --url http://localhost/rt/"

Generic requests without special accociation, used as RT system

support queue as well.

/usr/bin/getmail_fetch --delete --quiet \

    jetex001.int.cancom.de rt.dev@cancom.de xxxxxxxx \

    "|/usr/bin/rt-mailgate --queue RequestTracker --action correspond --url http://localhost/rt/"

Greetings,
Torben Nehmer

Torben Nehmer
Diplom Informatiker (FH)
Business System Developer

CANCOM Deutschland GmbH
Messerschmittstr. 20
89343 Scheppach
Germany

Tel.: +49 (0)8225 - 996-1118
Fax: +49 (0)8225 - 996-41118
torben.nehmer@cancom.de mailto:torben.nehmer@cancom.de
www.cancom.de http://www.cancom.de

CANCOM Deutschland GmbH
Sitz der Gesellschaft: Jettingen-Scheppach
HRB 10653 Memmingen
Geschäftsführer: Paul Holdschik, Christian Linder

Diese E-Mail und alle mitgesendeten Dateien sind vertraulich und ausschließlich für den Gebrauch durch den Empfänger bestimmt!
This e-mail and any files transmitted with it are confidential intended solely for the use of the addressee!Von: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Im Auftrag von Leke Fasola
Gesendet: Dienstag, 13. November 2007 07:37
An: rt-users@lists.bestpractical.com
Betreff: [rt-users] How to Configure RT_MAILGATE with MS Exchange

Hello All,

I just completed installation of rt3 succesfully but I don’t know how to make it communicate with my MS exchange.

can somebody explain how to to make rt3 send/receive mail to/fro MS exchange. Both rt3 and ms exchange servers are on the same LAN.

Thank you.

Leke

Hi Leke,

We are an Exchange shop as well running Postfix on the RT server with
the Exchange as its Smarthost.

We created accounts within AD with our “company friendly” queue e-mail
addresses, one for correspondence and one for comments, these are
configured to forward to an AD Contact which has the RT queue e-mail
address (e-mail pointing to the actual RT server).

Ticket flow goes like this:

End user e-mails friendly name → friendly name forwards to RT Contact
→ Postfix receives e-mail, does the mailgate procedure

Any correspondence through RT will always have the friendly name since
he Reply setting within RT is set to the “company friendly” address.

Hope that helps some.From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Leke
Fasola
Sent: Tuesday, November 13, 2007 1:37 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] How to Configure RT_MAILGATE with MS Exchange

Hello All,

I just completed installation of rt3 succesfully but I don’t know how to
make it communicate with my MS exchange.

can somebody explain how to to make rt3 send/receive mail to/fro MS
exchange. Both rt3 and ms exchange servers are on the same LAN.

Thank you.

Leke

I basically followed what suggested into this article:
http://www.msexchange.org/tutorials/MF015.html

creating a contact in exchange with an smtp e-mail address pointing to the rt user mail configured on the rt server.
the exchange 2003 users send e-mails to this contact to open their tickets
Gianluca

Da: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Per conto di Leke Fasola
Inviato: martedì 13 novembre 2007 7.37
A: rt-users@lists.bestpractical.com
Oggetto: [rt-users] How to Configure RT_MAILGATE with MS Exchange


Hello All,
 
I just completed installation of rt3 succesfully but I don't know how to make it communicate with my MS exchange.
 
can somebody explain how to to make rt3 send/receive mail to/fro MS exchange.  Both rt3 and ms exchange servers are on the same LAN.
 
Thank you.
 
Leke