Changing email address of admin and users

I had to change the email address on my rt3 (3.6.6) instance for the owner
and also for my login. Now I am getting emails that says a ticket can’t be
created.

  1. I changed the OwnerEmail setting to my new email in RT_SiteConfig.pm.
    Do I have to restart RT to get this working. Or restart Apache?

  2. I changed my users email and since then I am getting emails that tickets
    can’t be created on the queues.

Any pointers would be appreciated

John J. Boris, Sr.
Online Services

I had to change the email address on my rt3 (3.6.6) instance for the owner and also for my
login. Now I am getting emails that says a ticket can’t be created.

  1. I changed the OwnerEmail setting to my new email in RT_SiteConfig.pm.
    Do I have to restart RT to get this working. Or restart Apache?
  2. I changed my users email and since then I am getting emails that tickets can’t be created
    on the queues.

Show the actual errors from your logs please.

-kevin

Kevin,
I have scripts that run and then use mutt to send out emails to RT. I
changed the REPLYTO variable on the server that is running the script and
the mutt line looks like this:

mutt -a /tmp/enroll.pdf -s ‘Daily Enrollment Report’
dailyenrpt@rt3.mysite.org < /u/usr/brother/pastdue-pdf.txt

I am running this as root a

I went into RT and created another user with my old email address and
fixed up some permissions for that user and now get these errors

[Fri Jun 07 12:18:14 2013] [error] [client 172.31.6.213] FastCGI: server
“/opt/rt3/bin/mason_handler.fcgi” stderr: Number found where operator
expected at (eval 952) line 1, near “Return 1”
[Fri Jun 07 12:18:14 2013] [error] [client 172.31.6.213] FastCGI: server
“/opt/rt3/bin/mason_handler.fcgi” stderr: \t(Do you need to predeclare
Return?)
[Fri Jun 07 12:18:14 2013] [error] [client 172.31.6.213] FastCGI: server
“/opt/rt3/bin/mason_handler.fcgi” stderr: [Fri Jun 7 16:18:14 2013]
[error]: Scrip 42 Prepare failed: syntax error at (eval 952) line 1, near
“Return 1” (/opt/rt3/lib/RT/Action/UserDefined.pm:67)On Mon, Jun 3, 2013 at 12:58 PM, Kevin Falcone falcone@bestpractical.comwrote:

On Mon, Jun 03, 2013 at 11:11:40AM -0400, john boris wrote:

I had to change the email address on my rt3 (3.6.6) instance for the
owner and also for my
login. Now I am getting emails that says a ticket can’t be created.

  1. I changed the OwnerEmail setting to my new email in
    RT_SiteConfig.pm.
    Do I have to restart RT to get this working. Or restart Apache?
  2. I changed my users email and since then I am getting emails that
    tickets can’t be created
    on the queues.

Show the actual errors from your logs please.

-kevin


RT Training in Seattle, June 19-20: http://bestpractical.com/training

John J. Boris, Sr.
Online Services
www.onlinesvc.com

[Fri Jun 07 12:18:14 2013] [error] [client 172.31.6.213] FastCGI: server
“/opt/rt3/bin/mason_handler.fcgi” stderr: Number found where operator expected at (eval 952)
line 1, near “Return 1”

Perl doesn’t have a Return function, you wanted
return 1;

-kevin

Kevin,
I understand that but I looked and I don’t have 42 scrips. How do I know
which scrip that is? Just asking. I wil go through one by one and see which
one lost the semicolon.On Fri, Jun 7, 2013 at 12:37 PM, Kevin Falcone falcone@bestpractical.comwrote:

On Fri, Jun 07, 2013 at 12:22:03PM -0400, john boris wrote:

[Fri Jun 07 12:18:14 2013] [error] [client 172.31.6.213] FastCGI:
server
“/opt/rt3/bin/mason_handler.fcgi” stderr: Number found where operator
expected at (eval 952)
line 1, near “Return 1”

Perl doesn’t have a Return function, you wanted
return 1;

-kevin


RT Training in Seattle, June 19-20: http://bestpractical.com/training

John J. Boris, Sr.
Online Services
www.onlinesvc.com

I understand that but I looked and I don’t have 42 scrips. How do I know which scrip that is?
Just asking. I wil go through one by one and see which one lost the semicolon.

What do you see when you run
Select * from Scrips where id = 42;

Also - you didn’t lose a semicolon, you spelled return as Return.

-kevin

Kevin,
Okay found the scrip and changed the Return to return.

ThanksOn Mon, Jun 10, 2013 at 10:26 AM, Kevin Falcone falcone@bestpractical.comwrote:

On Fri, Jun 07, 2013 at 02:40:11PM -0400, john boris wrote:

I understand that but I looked and I don’t have 42 scrips. How do I
know which scrip that is?
Just asking. I wil go through one by one and see which one lost the
semicolon.

What do you see when you run
Select * from Scrips where id = 42;

Also - you didn’t lose a semicolon, you spelled return as Return.

-kevin


RT Training in Seattle, June 19-20: http://bestpractical.com/training

John J. Boris, Sr.
Online Services
www.onlinesvc.com