[rt-devel] help needed creating tickets via script.(not scrip)

Bruce Campbell bruce_campbell at ripe.net
Wed Apr 10 11:10:12 EDT 2002


On Wed, 10 Apr 2002, Matthew Watson wrote:

>  I'm trying to create a ticket from a perl script. everything is fine,
> except I get the message
>
> "RT::Action::Autoreply=HASH(0x87565c8): Could not send mail for
> RT::Transaction=HASH(0x87255a4)"
>
> However... the requestor is sent an email.. this error message does not
> happen when a ticket in created via the web interface or email...

At a rough guess, the user that you are running the script as is not the
user that RT normally runs as.  You may be running into odd return values
from sendmail/MTA-of-choice when trying to effectively masquarade as a
different user.


-- 
                             Bruce Campbell                            RIPE
                   Systems/Network Engineer                             NCC
                 www.ripe.net - PGP562C8B1B                      Operations





More information about the Rt-devel mailing list