RT3.6.3 Mailgate problems


i tried to move our RT installation to a new server (New: Debian Etch. Old: Debian Sarge). Copied the DB content and RT_SiteConfig.
Everything looks fine, but the mailgate does not work. When testing rt-mailgate manually I get the error:

cat mail | /usr/local/rt3/bin/rt-mailgate --debug --queue RT_Test --action correspond --url https://rt.ponton.local/
Connecting to https://rt.ponton.local//REST/1.0/NoAuth/mail-gateway at /usr/local/rt3/bin/rt-mailgate line 100, <> line 1.
Segmentation fault

The file mail contains:From: foo@bar.com
To: rt@ponton
Subject: Test


Doing the same on our old server creates a new ticket in the RT_Test queue as expected.

Any hints how to solve this problem?

Thanks for help.

Jörg Eichhorn