Re: [rt-users] RT 4.4 failing to send CC emails

2016-04-21 Thread Luke Hopkins
Yes that was the problem.  Removed the lines from my config and it all 
works now.


Thanks

On 19/04/2016 16:28, Todd Wade wrote:

On 4/19/16 7:34 AM, Luke Hopkins wrote:

Apr 19 11:21:34 rt_test sendmail[42]: u3JBLYOs42: u3JBLYOt42:
DSN: "OtherRecipients of xx Ticket #402":;... List:; syntax
illegal for recipient addresses


Are you setting $UseFriendlyToLine? Can you confirm its value via 
Admin > Tools > System Configuration (/Admin/Tools/Configuration.html)?


Its documented to not work with sendmail 
(https://docs.bestpractical.com/rt/4.4.0/RT_Config.html#UseFriendlyToLine), 
and from what I can find online this error appears to be the error you 
get from sendmail using it 
(http://www.gossamer-threads.com/lists/rt/users/96285).


Regards,

-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


Re: [rt-users] RT 4.4 failing to send CC emails

2016-04-19 Thread Luke Hopkins

Hi here is the log from sendmail.

Apr 19 11:21:34 rt_test sendmail[42]: u3JBLYOs42: 
Authentication-Warning: rt_test.openimp.net: www-data set sender to 
queue@email.address using -f
Apr 19 11:21:34 rt_test sendmail[42]: u3JBLYOs42: 
from=queue@email.address, size=1432, class=-60, nrcpts=1, msgid=
4.0-14-1461064894-48.402-...@support.openimp.net>, relay=www-data@localhost
Apr 19 11:21:34 rt_test sendmail[42]: u3JBLYOs42: u3JBLYOt42: 
DSN: "OtherRecipients of xx Ticket #402":;... List:; syntax

illegal for recipient addresses
Apr 19 11:21:35 rt_test sendmail[43]: u3JBLYl143: from=<>, 
size=2706, class=0, nrcpts=1, msgid=<201604191121.u3JBLYOt42@rt_test

.openimp.net>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Apr 19 11:21:35 rt_test sendmail[42]: u3JBLYOt42: 
to=queue@email.address, delay=00:00:01, xdelay=00:00:01, mailer=relay,
 pri=3, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent 
(u3JBLYl143 Message accepted for delivery)
Apr 19 11:21:35 rt_test sendmail[45]: STARTTLS=client, 
relay=our.mail.server.com., field=cn_subject, status=failed to extract CN
Apr 19 11:21:35 rt_test sendmail[45]: STARTTLS=client, 
relay=our.mail.server.com., field=cn_issuer, status=failed to extract CN
Apr 19 11:21:35 rt_test sendmail[45]: STARTTLS=client, 
relay=our.mail.server.com., version=TLSv1/SSLv3, verify=FAIL, 
cipher=ECDHE-RSA-AES2

56-GCM-SHA384, bits=256/256
Apr 19 11:21:35 rt_test sendmail[45]: u3JBLYl143: 
to=<queue@email.address>, delay=00:00:00, xdelay=00:00:00, mailer=rela
y, pri=122706, relay=our.mail.server.com. [94.228.70.17], dsn=2.0.0, 
stat=Sent (Ok: queued as E8EEC80D2A)


It looks very much like the script is messing up and not passing an 
email address to sendmail.


Luke

On 18/04/2016 16:43, Todd Wade wrote:

On 4/18/16 9:40 AM, Luke Hopkins wrote:

I'm running RT 4.4 and for some reason whenever I add a one-time cc to a
ticket I get the following error appearing on the ticket:
The RT System itself- Sending the previous mail has failed. Please
contact your admin, they can find more details in the logs.


You'll need to see the mail server logs to get the reason the send is 
failing. Perhaps /var/log/maillog or something like that.


-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


[rt-users] RT 4.4 failing to send CC emails

2016-04-18 Thread Luke Hopkins
I'm running RT 4.4 and for some reason whenever I add a one-time cc to a 
ticket I get the following error appearing on the ticket:
The RT System itself- Sending the previous mail has failed. Please 
contact your admin, they can find more details in the logs.


The logs show:
  [21] [Mon Apr 18 13:33:50 2016] [info]: 
 #5793790/36778097 
- Scrip 6 On Correspond Notify Other Recipients 
(/opt/rt4/sbin/../lib/RT/Action/SendEmail.pm:285)

2016-04-18 13:33:50,811 CRIT reaped unknown pid 340)
[21] [Mon Apr 18 13:33:50 2016] [error]: 
: 
`/usr/sbin/sendmail -oi -t -f x...@.xxx` exited with code 64 
(/opt/rt4/sbin/../lib/RT/Interface/Email.pm:921)
[21] [Mon Apr 18 13:33:50 2016] [critical]: 
: Could not send 
mail with command `/usr/sbin/sendmail -oi -t -f x...@.xxx`: 
: 
`/usr/sbin/sendmail -oi -t -f x...@.xxx` exited with code 64 at 
/opt/rt4/sbin/../lib/RT/Interface/Email.pm line 922.


Stack:
  [/opt/rt4/sbin/../lib/RT/Interface/Email.pm:922]
  [/opt/rt4/sbin/../lib/RT/Action/SendEmail.pm:292]
  [/opt/rt4/sbin/../lib/RT/Action/SendEmail.pm:115]
  [/opt/rt4/sbin/../lib/RT/ScripAction.pm:182]
  [/opt/rt4/sbin/../lib/RT/Scrip.pm:664]
  [/opt/rt4/sbin/../lib/RT/Scrips.pm:296]
  [/opt/rt4/sbin/../lib/RT/Transaction.pm:213]
  [/opt/rt4/sbin/../lib/RT/Record.pm:1670]
  [/opt/rt4/sbin/../lib/RT/Ticket.pm:1605]
  [/opt/rt4/sbin/../lib/RT/Ticket.pm:1491]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:2411]
  [/opt/rt4/share/html/Ticket/Display.html:169]
  [/opt/rt4/share/html/Ticket/Update.html:341]
  [/opt/rt4/share/html/Ticket/autohandler:66]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:696]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:375]
  [/opt/rt4/share/html/autohandler:53] 
(/opt/rt4/sbin/../lib/RT/Interface/Email.pm:926)


It is not an issue with the email addresses because it happens to all 
addresses and all the addresses work fine when they are requesters or 
set a CCs but only fail if set as one-time CC.


I've looked at the scripts and they're exactly the same apart from one 
that fails is Notify Other Recipients.


The sendmail exit code also doesn't seem to make any sense.

Has anyone encountered this issue before?
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


Re: [rt-users] User not getting the webpath in links

2016-04-01 Thread Luke Hopkins
Just to give the solution if people need it.  I went into the user's 
settings -> saved searches recreated the entire search and now it works.


On 29/03/2016 19:58, Joop wrote:

On 29-3-2016 18:00, Luke Hopkins wrote:

Has anyone encountered this issue before?  Am I not providing enough
information to make the issue clear?

On 24/03/2016 17:25, Luke Hopkins wrote:

I recently upgraded my database from 4.0.4 to 4.4.0.  Everything works
fine except for one user who doesn't get the right links. Whenever the
user clicks on a queue all tickets have the format:

'  __id__/TITLE:#',

while every other user has the correct format of:

'__id__/TITLE:#',


This cause the user to get a 503 whenever they click a link because the
WebPath is missing.

I can change the format but it always reverts back when I leave the
query.  How do I get this to get the correct format each time.

I think I have seen this before on the list. Think has something todo
with a search that is in the attributes table and thus part of the users
profile.
There is a rt-attributes-viewer command that will show you the decoded
content. Find all the records of that user and run the searches through
this tool to see which one it is. There is also an editor tool.

Regards,

Joop

-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


Re: [rt-users] User not getting the webpath in links

2016-03-29 Thread Luke Hopkins
Has anyone encountered this issue before?  Am I not providing enough 
information to make the issue clear?


On 24/03/2016 17:25, Luke Hopkins wrote:


I recently upgraded my database from 4.0.4 to 4.4.0.  Everything works
fine except for one user who doesn't get the right links. Whenever the
user clicks on a queue all tickets have the format:

'  __id__/TITLE:#',

while every other user has the correct format of:

'__id__/TITLE:#',

This cause the user to get a 503 whenever they click a link because the
WebPath is missing.

I can change the format but it always reverts back when I leave the
query.  How do I get this to get the correct format each time.

Every other user gets the correct links.

Luke



-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


[rt-users] User not getting the webpath in links

2016-03-24 Thread Luke Hopkins


I recently upgraded my database from 4.0.4 to 4.4.0.  Everything works
fine except for one user who doesn't get the right links. Whenever the
user clicks on a queue all tickets have the format:

'  __id__/TITLE:#',

while every other user has the correct format of:

'__id__/TITLE:#',

This cause the user to get a 503 whenever they click a link because the
WebPath is missing.

I can change the format but it always reverts back when I leave the
query.  How do I get this to get the correct format each time.

Every other user gets the correct links.

Luke



-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016