[rt-users] fetchmail
Labonte, Phil
phil.labonte at transcore.com
Mon Apr 25 14:12:38 EDT 2005
This is how my setup is done:
This is my aliases entries:
rt: "|rt-mailgate --queue general --action correspond --url
http://10.64.87.248/"
rt-comment: "|rt-mailgate --queue general --action comment --url
http://10.64.87.248/"
In my root directory I have put a .fetchmailrc file which contains this:
poll mail.mailserver.ca with proto POP3 timeout 200 user 'rt' password
'password' is 'rt at localhost' here
So in my case the users email rt at mailserver.ca (for example), and I run
fetchamil as a deamon and get my email direct to RT on the localhost
And then to have fetchmail check email every two minutes I run this as
root (since the .fetchmailrc is under root's account)
fetchmail --daemon 120
So every two minutes this is run.
If you want this to be around after a reboot you can enter it in
rc.local
Works great.
Phil
-----Original Message-----
From: Ramon Kagan [mailto:rkagan at yorku.ca]
Sent: Monday, April 25, 2005 1:21 PM
To: spiv007
Cc: rt-users at lists.fsck.com
Subject: Re: [rt-users] fetchmail
Not that I've done this but...
I would setup my fetchmail as usual... then pipe the emails one at a
time
to rt-mailgate directly from the command line. Check the list in the
past, I posted something about running rt-mailgate from the command
line.
I would create two accounts per queue (correspond/comment), otherwise
you're going to have to collate the mail and that gets significantly
harder.
Good Luck,
Ramon Kagan
York University, Computing and Network Services
Information Security - Senior Information Security Analyst
(416)736-2100 #20263
rkagan at yorku.ca
-----------------------------------
------------------------------------
I have not failed. I have just I don't know the secret to
success,
found 10,000 ways that don't work. but the secret to failure is
trying to please everybody.
- Thomas Edison - Bill Cosby
-----------------------------------
------------------------------------
On Mon, 25 Apr 2005, spiv007 wrote:
> Has anyone us rt with fetchmail before? I'm on a network were i can
> not have mail relayed to my box, so I will need to fetch the mail from
> our exchange server back to my box then inject the mail into a ticket.
> Anyone has an ideal on how i can get this done?
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
>
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Be sure to check out the RT Wiki at http://wiki.bestpractical.com
More information about the rt-users
mailing list