[rt-users] Problem wuth creating ticket through mail

Hugh Esco hesco at campaignfoundations.com
Mon Feb 7 09:01:31 EST 2011


I don't try to make fetchmail do all of the work.  Some of it I pass on
to procmail, before finally handing it off to RT.

-- Hugh 

Here is how I do it:

.fetchmailrc 

poll mail.mydomain.com protocol IMAP \
      user "rt at mydomain.com" there \
      with password "secret" \
      is "rt" here \
      wants mda "procmail /home/rt/.procmailrc.ymd" \
      ssl sslfingerprint "sslfingerprint_here"

.procmailrc

PATH=/usr/local/bin:/usr/bin:/bin
MAILDIR=$HOME/mydomain/Mail
DEFAULT=$MAILDIR/mbox
LOGFILE=$MAILDIR/from
# VERBOSE=yes

# :0
# /home/rt/Mail/mbox

:0 c
backup

:0
* ^To:.*rt-comment
* ^Subject:.*this_queue
|/usr/local/rt/ymd/rt3.8.8/bin/rt-mailgate --queue ThisQueue --action comment --url http://rt1.mydomain.com

:0
* ^Subject:.*this_queue
|/usr/local/rt/ymd/rt3.8.8/bin/rt-mailgate --queue ThisQueue --action correspond --url http://rt1.mydomain.com

  .  .  .  additional queues configured here  .  .  .  


:0
|/usr/local/rt/ymd/rt3.8.8/bin/rt-mailgate --queue General --action comment --url http://rt1.mydomain.com

:0
/home/rt/mydomain/Mail/mbox


On Mon, 7 Feb 2011 15:28:51 +0530
Rohit Babu <rohitb at valyoo.in> wrote:

> Hello,
> 
> I have configured rt-3.6.10 on my centos-5.5 machine. I am facing problem
> with creating ticket through mail. i have followed the blow link:
> http://www.mail-archive.com/rt-users@lists.bestpractical.com/msg26966.html
> 
> But i cant create a ticket through mail. Please help.
> 
> Please find below my fetchmailrc file.
> 
> set syslog;
> set daemon 20;
> 
> poll pop.gmail.com proto pop3 port 995:
> username rt at mydomain.in password ********  ssl mda "/usr/bin/perl
> /usr/sbin/rt-mailgate --url http://192.168.1.138/rt3/ --queue General
> --action correspond"
> 
> Its fetching mails from my mail account. There is no ticket created in my
> RT.
> 
> 
> 
> 
> -- 
> Regards,
> Rohith Babu PS
> System Administrator
> Valyoo Technologies.
> +919990334811
> 

-- 
Hugh Esco 
skype: hresco3_ ; 678-921-8186 
http://www.CampaignFoundations.com/
Providing Application Hosting, 
Telephony and IT Development Services 
to Green Candidates, Green Parties and
the non profits working for a just and sustainable future.

if( $insurance->rationing() ) { $people->die(); }




More information about the rt-users mailing list