[rt-users] I give up!
Wagner Pereira
wpereira at pop-sp.rnp.br
Tue Jan 26 13:26:26 EST 2010
Mauricio (and Jason),
I've implemented this model drawed on: http://twitpic.com/z33rr/full
That means I haven't the fetchmail as an other layer in my
infrastructure; in both sides I wrote aliases to delivery the messages,
either from mail server (Courier) to RT server (Postfix) and from
Postfix to rt-mailgate. But it still doesn't work fine.
Check my aliases files out below:
At the mail server side:
# This line delivers the message to RT server (Postfix) which then
delivers to rt-mailgate and cares to create the new ticket
rt at pop-sp.rnp.br: rt at rtracker.rt.pop-sp.rnp.br
And at the RT server side:
rt: "|/usr/bin/rt-mailgate-3.6 --queue general --action correspond --url
https://rtracker.rt.pop-sp.rnp.br/rt/ --debug"
Hugs,
--
Wagner Pereira
PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901
Mauricio Tavares escreveu:
> On Tue, Jan 26, 2010 at 12:23 PM, Wagner Pereira <wpereira at pop-sp.rnp.br> wrote:
>
>> Hi, Jason.
>>
>> Mauricio Tavares asked me the same, in a previous message, and below is
>> my answer.
>>
>> Some colleagues suggested me don't use fetchmail, because this would
>> make the scenario more complex than the necessary.
>>
>>
> [...]
> Wagner (and Jason),
>
> I run RT in an ubuntu 9.04 box (actually a VM but hey). I looked
> in my docs and did not had to edit rt-mailgate. I too use fetchmail;
> my /etc/fetchmailrc looks like this
>
> set syslog;
> set daemon 30;
>
> poll "mail.domain.com"
> with protocol imap
> username rt password weak_password
> mda "/usr/bin/perl /usr/bin/rt-mailgate --url http://localhost/ \
> --queue support --action correspond"
>
> and I set it up to start as daemon using /etc/default/fetchmail
>
> # This file will be used to declare some vars for fetchmail
> #
> # Uncomment the following if you don't want localized log messages
> # export LC_ALL=C
>
> # If you want to specify any additional OPTION to the start
> # scripts specify them here
> # OPTIONS=...
>
> # Declare here if we want to start fetchmail. 'yes' or 'no'
> START_DAEMON=yes
> #
>
> That is fine but right now who cares? Most important line from
> everything I've written above is
>
> mda "/usr/bin/perl /usr/bin/rt-mailgate --url http://localhost/ \
> --queue support --action correspond"
>
> This is the line that grabs the mail fetchmail has retrieved from our
> mail server and sends to rt. So, what if you run that very same perl
> command (in quotes), piping the test mail to it? I just want to see if
> you can feed the test email to rt. If that works, we can then worry
> about getting the mail from the mail server.
>
More information about the rt-users
mailing list