Re: [rt-users] RT stop sending emails

2009-03-27 Thread Swart, Tom
I am able to send an email by using msmtp from the command line and I
can telnet into my smtp relay on port 25. I think it is a problem
between RT and msmtp. Here are some details of my configuration.

The full path for the msmtp.conf file is
/etc/request-tracker3.6/msmtp.conf and which msmtp returned
/usr/bin/msmtp.

Here is the contents of the msmtp script.

#!/bin/bash
/usr/bin/msmtp -t -C /etc/request-tracker3.6/msmtp.conf
/usr/bin/logger -t RTmailer -p syslog.info -- CALL /usr/bin/msmtp -nt
$@ RETURNED $?

Here is the SendmailPath line in the SiteConfig file:
Set ($SendmailPath, /etc/request-tracker3.6/msmtp);

Apache has been restart after editing SiteConfig.

-Original Message-
From: Joop [mailto:joopvandew...@mococo.nl] 
Sent: Friday, March 27, 2009 3:29 AM
To: Swart, Tom
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT stop sending emails

Swart, Tom wrote:
 I have gone back to using msmtp and have an external SMTP relay
defined.
 In the /var/log/mail.log file the only current entries are for the
 results of my auto fetchmail cronjob. There is results from yesterday
 when it was working but nothing from today.
   
What you could try is see if msmtp has a -v (verbose) flag and manually 
send an email to see what the mailservers are telling each other. If it 
hasn't this then you could resort to:
telnet mailserver 25
And by hand do a conversation with it.
I've been having problems lately with Centos4.7 and its sendmail and 
each time it turned out that the other end didn't like my
u...@host.domain.
This being caused by the fact that host.domain didn't have a DNS entry 
in the wide world.
So using a couple of option within Sendmail (masqerading) fixed this.

You could have a look and see it you're not hit by this either.

Regards,

Joop
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


Re: [rt-users] RT stop sending emails

2009-03-27 Thread Swart, Tom
[SOLVED]
The user of the msmtp script and .conf file need to be set to the same
user as apache. In most cases that user is www-data.

-Original Message-
From: Joop [mailto:joopvandew...@mococo.nl] 
Sent: Friday, March 27, 2009 3:29 AM
To: Swart, Tom
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT stop sending emails

Swart, Tom wrote:
 I have gone back to using msmtp and have an external SMTP relay
defined.
 In the /var/log/mail.log file the only current entries are for the
 results of my auto fetchmail cronjob. There is results from yesterday
 when it was working but nothing from today.
   
What you could try is see if msmtp has a -v (verbose) flag and manually 
send an email to see what the mailservers are telling each other. If it 
hasn't this then you could resort to:
telnet mailserver 25
And by hand do a conversation with it.
I've been having problems lately with Centos4.7 and its sendmail and 
each time it turned out that the other end didn't like my
u...@host.domain.
This being caused by the fact that host.domain didn't have a DNS entry 
in the wide world.
So using a couple of option within Sendmail (masqerading) fixed this.

You could have a look and see it you're not hit by this either.

Regards,

Joop

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


[rt-users] RT stop sending emails

2009-03-26 Thread Swart, Tom
I have RT installed on Ubuntu 8.10 and have fetchmail configured pull
emails from an exchange server. Msmtp was installed to send emails but
that wasn't working so I went back and took a second look at postfix.
After changing the relay address I was flooded with all the emails that
RT had in its queue. So I figured I had it working. Then I created a
ticket with an external email address and the ticket was created but
from then on RT has not sent any emails. I was saying that it sent but
nothing was received and now it doesn't even say it was sent. There was
no configuration changes from the time it worked to the time of creating
the ticket with the external email address. Since then the only change
that was made was enabling ssl on apache. I'm not sure what could have
gone wrong. If there is any logs that could help let me know where they
are located because I'm not that proficient with Linux. Thanks

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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

Re: [rt-users] RT stop sending emails

2009-03-26 Thread Swart, Tom
It is now saying that an email was sent in the history of the ticket and
the syslog shows that a email was sent, but nothing is received. It
calls msmtp and returns 74 then it says sent To: tsw...@christa.com.

 

From: Swart, Tom 
Sent: Thursday, March 26, 2009 10:43 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RT stop sending emails

 

I have RT installed on Ubuntu 8.10 and have fetchmail configured pull
emails from an exchange server. Msmtp was installed to send emails but
that wasn't working so I went back and took a second look at postfix.
After changing the relay address I was flooded with all the emails that
RT had in its queue. So I figured I had it working. Then I created a
ticket with an external email address and the ticket was created but
from then on RT has not sent any emails. I was saying that it sent but
nothing was received and now it doesn't even say it was sent. There was
no configuration changes from the time it worked to the time of creating
the ticket with the external email address. Since then the only change
that was made was enabling ssl on apache. I'm not sure what could have
gone wrong. If there is any logs that could help let me know where they
are located because I'm not that proficient with Linux. Thanks

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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

Re: [rt-users] RT stop sending emails

2009-03-26 Thread Swart, Tom
I have gone back to using msmtp and have an external SMTP relay defined.
In the /var/log/mail.log file the only current entries are for the
results of my auto fetchmail cronjob. There is results from yesterday
when it was working but nothing from today.

-Original Message-
From: Nick Kartsioukas [mailto:change+lists...@nightwind.net] 
Sent: Thursday, March 26, 2009 1:48 PM
To: Swart, Tom; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT stop sending emails

On Thu, 26 Mar 2009 13:39:10 -0400, Swart, Tom tsw...@christa.com
said:
 It is now saying that an email was sent in the history of the ticket
and
 the syslog shows that a email was sent, but nothing is received. It
 calls msmtp and returns 74 then it says sent To: tsw...@christa.com.

So you are back to using msmtp (previously you said you had changed to
Postfix after trying msmtp)?  Make sure msmtp is configured correctly,
it looks like it needs to have an external SMTP relay defined.  Check
/var/log/mail.log to see if there are any messages there about the
email's fate.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


Re: [rt-users] Creating Tickets from Emails

2009-03-24 Thread Swart, Tom
I have installed fetchmail and configured it as per this guide:
http://www.debianadmin.com/howto-setup-request-tracker-36-on-debian-etch
.html

When I send an email to the address I have set up in exchange RT doesn't
receive it and when I send an email directly to the email of RT I get an
Undeliverable Message error. I'm running RT on Ubuntu 8.10.


-Original Message-
From: John Arends [mailto:jare...@illinois.edu] 
Sent: Monday, March 23, 2009 5:15 PM
To: rt  rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Creating Tickets from Emails

Swart, Tom wrote:

 I have setup RT 3.6 on Ubuntu 8.10 and I am able to access the web 
 interface. I'm trying to setup the ability to email RT to create a 
 ticket. I have the aliases created for the queues. I was wondering how

 to configure RT to pull the emails for a exchange 2003 server?


The easiest thing is to set up an alias on your exchange server that 
sends mail to your RT server.

helpd...@my.org - helpd...@rt.my.org

Or just train your users to email helpd...@rt.my.org

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


[rt-users] no root/password - first login problem

2009-03-23 Thread Swart, Tom
I have Ubuntu 8.10 with Request Tracker 3.6. I have installed it with no
errors. When I login with root and the password set in the
RT-Site_Config.pm. I receive the error Your username or password is
incorrect. I have verified that I am typing it correctly and that it is
correct in the config file. Thanks in advance for any help.

 

-Thanks

Tom Swart

Christa Construction, LLC.

O- 585-545-6562

 

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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

[rt-users] Page not found Error on Fresh Install

2009-03-18 Thread Swart, Tom

I'm new to RT and I was trying to install it for the first time. I followed the 
guide located at this link 
http://wiki.bestpractical.com/view/DebianLennyInstallGuide and for the most 
part had not problems. The only problems I had were that apache wouldn't start 
with this line Set(@Plugins,qw(RT::FM)); in the RT_SiteConfig.pm
file and I am unable to run newaliases. I receive this error: newaliases: 
fatal: open /etc/postfix/main.cf: No such file or directory. Then when I go the 
the web interface for RT it looks like the .css file is not loading and none of 
the links work. All of them say Page not found.

Here are the details of the versions I am running:
Linux svrrt 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux
RT: our $VERSION = '3.8.2';
This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
!DBIx::!SearchBuilder: 1.54
Apache: v2
mysql  Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2

Any help would be appreciated. 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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