Add "tee" to the smrsh ("which tee" will tell you where it's hiding)

And change the MDA line from

mda "rt-mailgate blhablhab"
to
mda "tee /tmp/maildump"

send one email, and see the content being dumped into the file "/tmp/maildump"  
-- it's all text.
>From there, you can use the following to test:

cat /tmp/maildump | rt-mailgate blahblah from the command line to confirm that 
the rt-mailgate command is working...

Thanks,
Jok



From: George Simpson [mailto:[email protected]]
Sent: Thursday, July 29, 2010 9:57 AM
To: Joachim Thuau
Cc: Rob MacGregor; [email protected]
Subject: Re: [rt-users] Configure Fetchmail to create tickets

Hi yeah, sorry for the http://localhost/rt3, its really something like 
174.129.xxx.xxx/rt3, I'd be cruxified I put that here though. I will remove the 
perl call, but how do I send an email from the command line?

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Reply via email to