<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
Hi all,<BR>
<BR>
   Is it possible to run rt-mailgate through the command line wherein the mail message source is passed as a parameter instead of running it through a MTA?<BR>
<BR>
   I have to fine tune my system to read mails from a mailbox and give it to RT directly rather than going through a MTA.<BR>
<BR>
I have tried the following in a perl script,<BR>
"/opt/rt3/bin/rt-mailgate --queue 'Myqueue' --action correspond --url 'http://192.168.2.3:4000/' < $string<BR>
<BR>
$string being the complete message source<BR>
<BR>
But this returns the following error  -<BR>
sh: Return-Path:: No such file or directory<BR>
sh: X-Sieve:: command not found<BR>
sh: -c: line 3: syntax error near unexpected token `(l'<BR>
'h: -c: line 3: `Received: from localhost (localhost [127.0.0.1])<BR>
<BR>
Please suggest ...<BR>
<BR>
Regards,<BR>
Ritu
<p>
<pre>
----------------------------------------------------------------

NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134

MailServ and FlexiMail: Messaging Solutions: <a href="http://netcore.co.in">http://netcore.co.in</a>

Pragatee: Integrated Server-Software Suite: <a href="http://www.pragatee.com">http://www.pragatee.com</a>

Emergic Freedom: Server-centric Computing: <a href="http://www.emergic.com">http://www.emergic.com</a>

BlogStreet: Blog Profiles and RSS Ecosystem: <a href="http://blogstreet.com">http://blogstreet.com</a>

Deeshaa: Rural Development: <a href="http://www.deeshaa.com">http://www.deeshaa.com</a>

Rajesh Jain's Weblog on Technology: <a href="http://www.emergic.org">http://www.emergic.org</a>
----------------------------------------------------------------
</pre>
</BODY>
</HTML>