I stand corrected, it does not have to be a manual download of mail.

This is just what worked for me, using exchange. In our environment I have very 
little control over the exchange setup, so I went the route of fetching the 
mail myself.

From: testwreq wreq [mailto:[email protected]]
Sent: Friday, November 16, 2012 2:28 PM
To: Edsall, William (WJ)
Cc: [email protected]; [email protected]
Subject: Re: [rt-users] RT 4.0.8 still not receiving incoming tickets via email 
on ubuntu

I apoligize that things are not clear to me on the mail side.

According to RT documentation, we should have MTA e.g. sendmail and it can be 
configured for incoming or outgoing emails. Then why do we need fetchmail? Is 
this necessary?
On Fri, Nov 16, 2012 at 1:22 PM, Edsall, William (WJ) 
<[email protected]<mailto:[email protected]>> wrote:
Incoming mail is a manual process to grab the mail from exchange, then pass it 
through mailgate.

Here's what I used to achieve incoming mails via Exchange.

I used fetchmail with the IMAP protocol - also the ssl flag was necessary for 
our server.

Fetchmail command:
fetchmail -f /var/www/html/rt/bin/fetchmailrc --ssl -B 10 --nokeep

While testing fetchmail I used the -c flag so it would just check the mailbox. 
Upon success it will give you a count of the number of emails in the box. Also 
use the -v for verbose output while testing.
Until this command reflects a successful connection to your email server, it's 
not going to work.

Example fetchmailrc -- replace all <vars> with your own values:
poll <Your_Exchange_Server> protocol imap:
username <USERNAME_HERE> password <PASSWORD_HERE> mda 
"/var/www/html/rt/bin/rt-mailgate --url http://<Your RT URL> --queue '<queue 
name here>' --action correspond"

Once you get the settings correct, toss the fetchmail script into crontab and 
have it check regularly.

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of testwreq wreq
Sent: Friday, November 16, 2012 1:13 PM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: [rt-users] RT 4.0.8 still not receiving incoming tickets via email on 
ubuntu

I have had problems with incoming tickets not being received into RT.

My setup is:

ubuntu RT server  12.4
sendmail is the MTA

Emails sent from the exchange server (domain X) into RTserver
Emails sent from RT to exchange (outgoing) are working
Emails sent into RT from exchange server (inbound) are not working. 
/var/log/mail.log does not have any entry for this. I am not sure if the mail 
is reaching the RT server. Is there any configuration required for rt-mailgate? 
sendmails /etc/aliases has the correspondence address for general queue already 
setup.

Could anyone shed some light please?

Many thanks.

--------
We're hiring! http://bestpractical.com/jobs

Reply via email to