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 r...@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 ...". > > _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com 2010 RT Training Sessions! San Francisco, CA, USA - Feb 22 & 23 Dublin, Ireland - Mar 15 & 16 Boston, MA, USA - April 5 & 6 Washington DC, USA - Oct 25 & 26 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com