[rt-users] Giving a mail source as parameter to rt-mailgate through command line
Ritu Khetan
ritu at netcore.co.in
Mon Feb 23 07:41:35 EST 2004
Hi all,
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?
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.
I have tried the following in a perl script,
"/opt/rt3/bin/rt-mailgate --queue 'Myqueue' --action correspond --url
'http://192.168.2.3:4000/' < $string
$string being the complete message source
But this returns the following error -
sh: Return-Path:: No such file or directory
sh: X-Sieve:: command not found
sh: -c: line 3: syntax error near unexpected token `(l'
'h: -c: line 3: `Received: from localhost (localhost [127.0.0.1])
Please suggest ...
Regards,
Ritu
----------------------------------------------------------------
NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134
MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in
Pragatee: Integrated Server-Software Suite: http://www.pragatee.com
Emergic Freedom: Server-centric Computing: http://www.emergic.com
BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com
Deeshaa: Rural Development: http://www.deeshaa.com
Rajesh Jain's Weblog on Technology: http://www.emergic.org
----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040223/0543dfc3/attachment.htm>
More information about the rt-users
mailing list