[rt-users] I can't create a ticket in RT
Wagner Pereira
wpereira at pop-sp.rnp.br
Mon Feb 8 10:34:51 EST 2010
Emmanuel,
That's my VirtualHost file:
===========================
<VirtualHost *:443>
ServerName rtracker.rt.pop-sp.rnp.br
RedirectMatch ^/$ https://rtracker.rt.pop-sp.rnp.br/rt/
DocumentRoot /var/www
CustomLog /var/log/apache2/rt.log combined
ServerSignature Off
LogLevel warn
</VirtualHost>
===========================
And according to man procmailrc:
:0fw A line starting with ':' marks the beginning of a recipe.
f Consider the pipe as a filter.
w Wait for the filter or program to finish and check its exitcode (normally ignored); if the filter is unsuccessful, then the text will not have been filtered.
===========================
Ok, that's what I did, following your suggestion:
cat test.txt | /usr/local/bin/rt-mailgate-3.6 --queue general --action
correspond --url https://rtracker.rt.pop-sp.rnp.br/rt/ --debug
And here is the debug output:
===========================
Connecting to
https://rtracker.rt.pop-sp.rnp.br/rt//REST/1.0/NoAuth/mail-gateway at
/usr/local/bin/rt-mailgate-3.6 line 102, <> line 1.
An Error Occurred
403 Forbidden
This is /usr/local/bin/rt-mailgate-3.6 exiting because of an undefined
server error at /usr/local/bin/rt-mailgate-3.6 line 150, <> line 1.
===========================
--
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
Emmanuel Lacour escreveu:
> On Mon, Feb 08, 2010 at 12:40:00PM -0200, Wagner Pereira wrote:
>
>> My authentication is HTTPS: https://rtracker.rt.pop-sp.rnp.br/rt/
>>
>>
>
> That's the way you access your RT server, not the way you authenticate
> to it. Can you give us your VirtualHost configuration?
>
>
>> P.S.: I observed a thing: every time I make a test, sending an e-mail
>> message to rt at pop-sp.rnp.br, one file is generated in
>> /home/rt/default/new, as follows:
>>
>> rtracker:/home/rt/default# ls -la new
>> total 16
>> drwx------ 2 nobody mail 4096 Fev 8 11:09 .
>> drwxrwxrwx 5 root root 4096 Jan 29 09:10 ..
>> -rw------- 1 nobody mail 869 Jan 29 09:10 1264763438.10146_0.rtracker.rt
>> -rw------- 1 nobody mail 869 Fev 8 11:09 1265634553.8934_0.rtracker.rt
>>
>>
>
> I'm not a procmail master, so either :0fw keeps a copy in the user
> maildir or it deliver to the maildir if the pipe to command fails??
>
> AW, you can use those files to test your rt-mailgate command, just doing
> "cat FILE | rt-mailgate ...".
>
>
More information about the rt-users
mailing list