List Info

Thread: Re: how to test autoreplier.py




Re: how to test autoreplier.py
user name
2005-09-03 11:38:27
    def _setPgsqlDictCursor(self):
        import psycopg
        conn = psycopg.connect("host=%s dbname=%s
user=%s password=%s" % 
                self.getConfig('host'),
self.getConfig('user'), 
                self.getConfig('db'),
self.getConfig('pass'))
        conn.autocommit(1)
        self._cursor = conn.cursor()


Paul - if you could tell me where to put some
"print"s or something to
make it print to the screen when it gets thru certain
sections of the
dbmail.py or autoreplier.py? then I could maybe see why a
reply isn't
coming out of it.

Well first let me look at permissions on the py files i
guess. When
you cat pipe a message to the autoreplier.py, the cursor
just returns
as if everything went normally. I haven't found relevant
logs yet.

Thank you,

- April Lorenzen
http://ors.blogs4change.
org/
http://adl.blogware.com

On 9/2/05, April Lorenzen <outboundindexgmail.com> wrote:
> Paul - My postgresql / py guy hooked up autoreplier.py
to pg today but
> so far it does not autoreply.
> 
> I am wondering if you can tell me how to test it from
the command line
> or what log file I might observe for info on the output
or errors when
> the mail is piped to
> 
> |/usr/local/bin/autoreplier.py  -u grahamexample.com -a grahamexample.com
> 
> (my userids are full email addresses)
> 
> Thank you,
> 
> April Lorenzen
> http://ors.blogs4change.o
rg
> http://adl.blogware.com
>
_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )