procmail
[Top] [All Lists]

Re: Debugging my procmail log

2010-01-28 15:22:43

nslookup rtracker.rt.pop-sp.rnp.br
** server can't find rtracker.rt.pop-sp.rnp.br: NXDOMAIN

Your URL in your recipe points to an invalid server name.

- C


On Thu, 28 Jan 2010, Wagner Pereira wrote:
Hi, folks.

My first time here and starting I need some help to understand what is going on here:

This is my procmailrc file:

-----------------------------------------
DIR=/home/rt
MAILDIR=$DIR/default
DEFAULT=$DIR/default
LOGFILE=$DIR/rt.log
SHELL=/bin/bash
DEBUG=yes
VERBOSE=yes

FILA="$1"
OPC="$2"

# Caso 1 - clientes autorizados
: 0
* ^From:.*@(pop-sp.rnp.br|usp.br)
| rt-mailgate --debug --queue ${FILA} --action ${OPC} --url https://rtracker.rt.pop-sp.rnp.br/rt

# Caso 2 - cliente nao autorizado
: 0 h c
* !^From:.*@(cais.rnp.br|pop-ba.rnp.br|outrocliente.dominio)
* !^FROM_DAEMON
|  (formail -r -I "Precedence: junk" \
-A"X-Loop: root(_at_)pop-sp(_dot_)rnp(_dot_)br" ; \
cat $DIR/resp) | $SENDMAIL -t -F "PoP-SP/RNP" -f 
postmaster(_at_)pop-sp(_dot_)rnp(_dot_)br
-----------------------------------------

And this is the procmail log (rt.log):

-----------------------------------------
procmail:  [7603] Thu Jan 28 16:23:25 2010
procmail:  Assigning "FILA=general"
procmail:  Assigning "OPC=correspond"
procmail:  Match on "^From:.*@(pop-sp.rnp.br|usp.br)"
procmail: Executing "rt-mailgate,--debug,--queue,general,--action,correspond,--url,https://rtracker.rt.pop-sp.rnp.br/rt"; procmail: Assigning "LASTFOLDER=rt-mailgate --debug --queue general --action correspond --url https://rtracker.rt.pop-sp.rnp.br/rt"; procmail: Notified comsat: "nobody@:/home/rt/default/rt-mailgate --debug --queue general --action correspond --url https://rtracker.rt.pop-sp.rnp.br/rt";
From wpereira(_at_)pop-sp(_dot_)rnp(_dot_)br  Thu Jan 28 16:23:25 2010
Subject: teste 28-01-2010 16:22
Folder: rt-mailgate --debug --queue general --action correspond --ur 923 Connecting to https://rtracker.rt.pop-sp.rnp.br/rt/REST/1.0/NoAuth/mail-gateway at /usr/bin/rt-mailgate line 102, <> line 1.
An Error Occurred

403 Forbidden
This is /usr/bin/rt-mailgate exiting because of an undefined server error at /usr/bin/rt-mailgate line 150, <> line 1.
-----------------------------------------

Any clue?

--

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

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>