[rt-users] __CurrentUserEmail__ in 3.8.2

2009-03-11 Thread Artem Naluzhnyy
Hi,

What is the proper way to implement __CurrentUserEmail__ to see
tickets I requested on RT at a glance in 3.8.2?

-- 
Artem Naluzhnyy
___
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] Email and LDAP authentication problems or rather issues

2009-03-11 Thread Mike Peachey
Steven McDonald wrote:
 Hi
 
 We are currently running an instance of RT 3.8.1. It has been setup 
 to use LDAP for its authentications. For the most part people are 
 instructed to use the web interface to submit tickets. However some 
 people would prefer to use email, in addition to the web. This has been 
 discouraged.

It is being worked on for the next release of ExternalAuth, however at
the moment, the only available system is to have everyone log in once to
create their account in RT, and then ensure they always send e-mail to
RT from the e-mail address associated with that account.

-- 
Kind Regards,

__

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__
___
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] Email and LDAP authentication problems or rather issues

2009-03-11 Thread Steven McDonald
Mike Peachey wrote:
 Steven McDonald wrote:
   
 Hi

 We are currently running an instance of RT 3.8.1. It has been setup 
 to use LDAP for its authentications. For the most part people are 
 instructed to use the web interface to submit tickets. However some 
 people would prefer to use email, in addition to the web. This has been 
 discouraged.
 

 It is being worked on for the next release of ExternalAuth, however at
 the moment, the only available system is to have everyone log in once to
 create their account in RT, and then ensure they always send e-mail to
 RT from the e-mail address associated with that account.

   
Hi Mike

Thanks that would be useful to us. We also discovered the module 
AutoCreateAndCanonicalizeUserInfo which looks like it was created to 
solve this problem against an Active Directory. We are looking to see if 
we can make use of this to solve our issue.

Thanks for your comments
Steve
___
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] Email and LDAP authentication problems or rather issues

2009-03-11 Thread Mike Peachey
Steven McDonald wrote:
 Mike Peachey wrote:
 Steven McDonald wrote:
 Hi Mike
 
Thanks that would be useful to us. We also discovered the module
 AutoCreateAndCanonicalizeUserInfo which looks like it was created to
 solve this problem against an Active Directory. We are looking to see if
 we can make use of this to solve our issue.
 

You may well be able to. It is the same basic functionality that will be
integrated into ExternalAuth, but in a different way. The main issue is
the LoadByEmail bit. Currently EA doesn't overlay any of the e-mail
stuff and so e-mail only works for accounts that already exist in RT.

Good luck.

-- 
Kind Regards,

__

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__
___
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] Email and LDAP authentication problems or rather issues

2009-03-11 Thread Steven McDonald
Mike Peachey wrote:
 Steven McDonald wrote:
   
 Mike Peachey wrote:
 
 Steven McDonald wrote:
   
 Hi Mike

Thanks that would be useful to us. We also discovered the module
 AutoCreateAndCanonicalizeUserInfo which looks like it was created to
 solve this problem against an Active Directory. We are looking to see if
 we can make use of this to solve our issue.

 

 You may well be able to. It is the same basic functionality that will be
 integrated into ExternalAuth, but in a different way. The main issue is
 the LoadByEmail bit. Currently EA doesn't overlay any of the e-mail
 stuff and so e-mail only works for accounts that already exist in RT.

 Good luck.

   
Thanks

Do you have some idea when this addition to ExternalAuth might be 
available? If you have an Alpha or Beta module we could test it against 
our LDAP on a development instance of RT

Steve
___
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] Email and LDAP authentication problems or rather issues

2009-03-11 Thread Mike Peachey
Steven McDonald wrote:
Do you have some idea when this addition to ExternalAuth might be
 available? If you have an Alpha or Beta module we could test it against
 our LDAP on a development instance of RT
 
Steve

Fraid not.. I'm very busy at work and home at the moment and haven't got
to it yet. I will mail the list when there's something to test.


-- 
Kind Regards,

__

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__
___
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-11 Thread Juliano Medeiros Coimbra

Hello.
I have a Fedora 7, Apache 2 and MySQL and RT3-3.6.3.
I installed RT via yum and followed 
http://wiki.bestpractical.com/view/FedoraCore7InstallGuide. Then I 
configured /etc/rt3/RT_SiteConfig.pm.
When I try http://myWebSite/rt3 and the browser shows my login page 
and I can't do the first login with root/password.
I did the init-drop-init database command lots of times, but still with 
this problem. This is the last try with database comand before I write 
to this list:


[r...@xxx rt3]# /usr/sbin/rt-setup-database --action init --dba root 
--prompt-for-dba-password
In order to create or update your RT database,this script needs to 
connect to your mysql instance on localhost as root.
Please specify that user's database password below. If the user has no 
database

password, just press return.

Password:
Now creating a database for RT.
Creating mysql database rt3.
Now populating database schema.
Creating database schema.
readline() on closed filehandle SCHEMA_LOCAL at 
/usr/sbin/rt-setup-database line 192.

Done setting up database schema.
Now inserting database ACLs
Done setting up database ACLs.
Now inserting RT core system objects
Checking for existing system user...not found.  This appears to be a new 
installation.

Creating system user...done.
Now inserting RT data
Creating Superuser  ACL...done.
Creating groups...3.4.5.6.7.8.9.done.
Creating users...10.(Error: Password needs to be at least 66 
characters long)0.done.

Creating queues...1.2.done.
Creating ACL...2.[Tue Mar 10 16:11:49 2009] [crit]: 1 
(/usr/lib/perl5/vendor_perl/5.8.8/RT/ACE_Overlay.pm:907)
[Tue Mar 10 16:11:49 2009] [crit]: Can't load a principal for id  
(/usr/lib/perl5/vendor_perl/5.8.8/RT/ACE_Overlay.pm:908)

Principal  not found..done.
Creating ScripActions...1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.done.
Creating ScripConditions...1.2.3.4.5.6.7.8.9.10.done.
Creating templates...1.2.3.4.5.6.7.8.9.10.11.12.done.
Creating scrips...1.2.3.4.5.6.7.8.9.10.11.12.13.14.done.
Creating predefined searches...1.2.3.done.
Done setting up database content.

I already tried the MySQL's root user and password in RT_SiteConfig.pm, 
but nothing new happened.


Thanks in advance for any help!


begin:vcard
fn:Juliano Medeiros Coimbra
n:Medeiros Coimbra;Juliano
org;quoted-printable:Faculdade de Engenharia Qu=C3=ADmica - Universidade Estadual de Campinas;SIFEQ
adr:;;Av. Albert Einstein, 500;Campinas;SP;13.083-852 ;Brasil
title:Analista de Desenvolvimento de Sistemas
tel;work:19 3521-3972
tel;fax:19 3521-3910
x-mozilla-html:FALSE
url:www.feq.unicamp.br
version:2.1
end:vcard

___
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] Unable to add saved search to default RT at a glance layout

2009-03-11 Thread Artem Naluzhnyy
Hi,

When I add saved search with RT system's saved searches privacy as a
superuser to default RT at a glance layout I can not see it there.
Moreover if I try to modify the search options on
/Prefs/Search.html?name=RT%3A%3AAttribute-58 page I receive empty
page with footer div only. There are no errors in the log.

It works if I change privacy option for the saved search to some
group's one and add it to the RT at a glance page in my own
preferences. But the goal is to change default layout for all users.

Bug/feature?

-- 
Artem Naluzhnyy
___
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] Reporting Plugins

2009-03-11 Thread Adam Smith
Hi folks,

I'm trying to find a plugin (or a method) for RT which will help me  
report on my staff activity.  At the moment I am searching for a  
username and sorting by LastUpdated, but this only shows me the  
tickets that this user updated last.  If they work on tickets that get  
updated by someone else, I'm unable to see this through a query.

Are there any reporting plugins or similar that I can use to break  
down a single user's activity in RT, transaction by transaction or  
something similar?  Ideally I'd be after something that can give me a  
timeline of a user throughout a given day.




-- 
Adam Smith
Platform Operations Team Leader
Venda, Ltd.
adamsm...@venda.com





___
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-Users Digest, Vol 60, Issue 43

2009-03-11 Thread Michael O' Neill
Hello, 

Can anyone give me some syntax for the Custom Field Include Page.

My understanding is that we can have a page loaded that users can select
options from, is that right.

Thanks

Our ethos: protecting the future of your business

This is an e-mail from Ethos Information Solutions Limited and is intended only 
for the addressee named above.  The contents of this message should not be 
disclosed to any other person nor copies taken or forwarded without written 
permission.  Any views or opinions presented are solely those of the sender and 
do not necessarily represent the views of Ethos Information Solutions Limited.

We do not accept any responsibility for the contents of this message and 
although this message has been scanned for viruses prior to transmission we 
would recommend that you check before opening any attachments as we cannot 
accept liability for any damage sustained as a result of any software viruses.  
Please notify the sender immediately if you have received this e-mail by 
mistake and delete it from your systems, or report it to our support database 
at supp...@ethos-is.net

For more information about the services we provide please visit our web site at 
http://www.ethos-is.com

___
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] Squelching users

2009-03-11 Thread Matt Hoover
This may be a simple fix, but can I setup RT not to globally squelch the
user when checking their box on the reply.  I only want it to not send to
those individuals for that transaction only...  Thanks!

Matt
___
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] Squelching users

2009-03-11 Thread Jerrad Pierce
On Wed, Mar 11, 2009 at 13:40, Matt Hoover mhoo...@thectogroup.com wrote:
 This may be a simple fix, but can I setup RT not to globally squelch the
 user when checking their box on the reply.  I only want it to not send to
 those individuals for that transaction only...  Thanks!
To the best of my knowledge, no. If you look, that box is a completely
separate form.
You have to remove recipients, send the message, and then add them back...

-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
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] Adding stuff to the RT wiki

2009-03-11 Thread Kenneth Crocker
Cassandra,


Thanks. I DID get my contributions to the wiki. However, they look like 
CRAP! I used cut  Paste and the document text is all over the place. no 
line delimiters at all. I want people to be able to read what I 
contributed, not go blind (ha!). I'm up for any help in making the stuff 
readable.


Kenn
LBNL

On 3/11/2009 7:57 AM, Cassandra Phillips-Sears wrote:
 On Mar 10, 2009, at 4:04 PM 3/10/09, Rob Munsch wrote:
 snip
 As you can see from some of the update history, my method for adding
 things to the wiki was to look up the
 http://wiki.bestpractical.com/view/KwikiFormattingRules listed at the
 bottom, then made my edits, saved, looked askance at my formatting
 errors, edited it again, saved it again, lather rinse repeat until it
 looked right.  The only risk i can see is that you show up several
 times in a row in the edit history, revealing our lack of wik-fu to
 all.
 
 Hi, all.
 
 I used Rob's method as well when I recently added the RTTutorials page, 
 not really being too familiar with any wiki conventions. It worked well 
 for me.
 
 Ken, I added a link to an explanation of CamelCase to the UpdateTheWiki 
 page in case you are 
 interested. http://wiki.bestpractical.com/view/UpdateTheWiki
 
 
 --
 Cassandra Phillips-Sears
 Office Manager
 Best Practical Solutions, LLC
 http://www.bestpractical.com
 
 RT Training Classes!
 April 27  28 2009 - Boston, MA
 
 
 
 
 ___
 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

___
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] Email delay on ticket creation

2009-03-11 Thread Bill Cole
Derek Cunningham wrote, On 3/10/09 10:54 AM:
 Hi
 If I have gone about posting my question the wrong way please let me know.
 Should I add my RT_SiteConfig.pm file in addition to these logs? The
 autoreply goes out right away, but I'm getting a lengthy delay on only the
 admincc messages, and only sometimes when a user submits a new request by
 email.  It doesn't seem to matter who the user is.  If anybody sees anything
 helpful in my log entries please tell me.  If I should be including info
 from another log, please tell me.  I would have suspected a postfix config
 problem, but I'm suspecting my RT config because this only happens during
 the condition that a user submits a new request via email.

It's not primarily RT, it's primarily Postfix.

 I am using RT 3.8.1 on Mac OSX (10.4), postfix/sendmail to relay to our main
 email server with SMTP.  RT is working great except for these email delays.

The mail subsystem for MacOS X 10.4 in its default configuration has a 
tendency to have this sort of trouble, particularly when connectivity is 
intermittent or mail is being sent to systems that use greylisting for 
spam control. Messages that are not delivered on the first try will 
typically sit around until the next new mail submission, and in some cases 
will not be tried immediately because of how Postfix compartmentalizes 
operations. This can be fixed in your Postfix config, which presumably 
you've already adjusted somewhat to make the system accept mail. Look at the 
pickup, qmgr, and flush lines in master.cf and give them reasonable wakeup 
times. You also could set up a scheduled queue run via cron or launchd if 
you are not comfortable adjusting the Postfix config.


 Another recent sample:
 From /var/log/mail.log

I'll comment a bit in the hope that it will be enlightening...

 Mar 10 07:45:45 rt3-curis-com postfix/smtpd[215]: connect from
 [mailserver].curis.com[10.2.0.20]
 Mar 10 07:45:47 rt3-curis-com postfix/smtpd[215]: 1C89B8436A:
 client=[mailserver].curis.com[10.2.0.20]
 Mar 10 07:45:47 rt3-curis-com postfix/cleanup[218]: 1C89B8436A:
 message-id=c5dbcb27.111a%[request...@curis.com
 Mar 10 07:45:47 rt3-curis-com postfix/smtpd[215]: disconnect from
 [mailserver].curis.com[10.2.0.20]
 Mar 10 07:45:47 rt3-curis-com postfix/qmgr[219]: 1C89B8436A:
 from=[request...@curis.com, size=896, nrcpt=1 (queue active)

So,  message 1C89B8436A comes in and gets queued.

But it doesn't get delivered until 9 seconds later when an outgoing message 
wakes up Postfix:

 Mar 10 07:45:54 rt3-curis-com postfix/pickup[214]: 2A4DE8438B: uid=70
 from=www
 Mar 10 07:45:54 rt3-curis-com postfix/cleanup[218]: 2A4DE8438B:
 message-id=rt-3.8.1-212-1236685553-588.30085-...@curis.com
 Mar 10 07:45:54 rt3-curis-com postfix/qmgr[219]: 2A4DE8438B:
 from=w...@rt3.curis.com, size=1655, nrcpt=1 (queue active)
 Mar 10 07:45:54 rt3-curis-com postfix/smtp[225]: 2A4DE8438B:
 to=[request...@curis.com, relay=[mailserver].curis.com[10.2.0.20],
 delay=0, status=sent (250 2.0.0 49b652f2-000b3322 Message accepted for
 delivery)
 Mar 10 07:45:54 rt3-curis-com postfix/qmgr[219]: 2A4DE8438B: removed

Message 2A4DE8438B makes it out immediately

 Mar 10 07:45:54 rt3-curis-com postfix/local[220]: 1C89B8436A:
 to=facilit...@rt3.curis.com, relay=local, delay=9, status=sent (delivered
 to command: /opt/rt3/bin/rt-mailgate --queue facilities --action correspond
 --url http://localhost/rt)
 Mar 10 07:45:54 rt3-curis-com postfix/qmgr[219]: 1C89B8436A: removed

And finally 1C89B8436A gets delivered locally, because the outbound mail 
woke up Postfix, which found it waiting for its first delivery attempt.

Now the bad case:

 Mar 10 08:56:51 rt3-curis-com postfix/pickup[214]: 6D778843F4: uid=70
 from=www
 Mar 10 08:56:51 rt3-curis-com postfix/cleanup[231]: 6D778843F4:
 message-id=rt-3.8.1-228-1236689811-14.30085-...@curis.com
 Mar 10 08:56:51 rt3-curis-com postfix/qmgr[219]: 6D778843F4:
 from=w...@rt3.curis.com, size=998, nrcpt=1 (queue active)
 Mar 10 08:56:51 rt3-curis-com postfix/pickup[214]: 7C66B843F5: uid=70
 from=www
 Mar 10 08:56:51 rt3-curis-com postfix/cleanup[231]: 7C66B843F5:
 message-id=rt-3.8.1-212-1236685553-104.30085-...@curis.com
 Mar 10 08:56:51 rt3-curis-com postfix/qmgr[219]: 7C66B843F5:
 from=w...@rt3.curis.com, size=1232, nrcpt=3 (queue active)
 Mar 10 08:56:51 rt3-curis-com postfix/smtp[234]: 6D778843F4:
 to=d...@curis.com, relay=[mailserver].curis.com[10.2.0.20], delay=0,
 status=sent (250 2.0.0 49b66393-000b34c3 Message accepted for delivery)
 Mar 10 08:56:51 rt3-curis-com postfix/smtp[235]: 7C66B843F5:
 to=d...@curis.com, relay=[mailserver].curis.com[10.2.0.20], delay=4257,
 status=sent (250 2.0.0 49b66393-000b34c4 Message accepted for delivery)
 Mar 10 08:56:51 rt3-curis-com postfix/smtp[235]: 7C66B843F5:
 to=de...@curis.com, relay=[mailserver].curis.com[10.2.0.20], delay=4257,
 status=sent (250 2.0.0 49b66393-000b34c4 Message accepted for delivery)
 Mar 10 08:56:51 rt3-curis-com postfix/smtp[235]: 7C66B843F5:
 

Re: [rt-users] Adding stuff to the RT wiki

2009-03-11 Thread Jerrad Pierce
        Thanks. I DID get my contributions to the wiki. However, they look like
 CRAP! I used cut  Paste and the document text is all over the place. no
 line delimiters at all. I want people to be able to read what I
 contributed, not go blind (ha!). I'm up for any help in making the stuff
 readable.
Please read the aforementioned formatting page. I cleaned up recently
and it should be fairly straight-forward (and accurate).

Newlines don't mean what you think they mean;
they don't mean nothing, only double-newlines mean anything.
You probably want to indent content as code.

-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
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] Email delay on ticket creation

2009-03-11 Thread Kenneth Marshall
On Wed, Mar 11, 2009 at 02:02:15PM -0400, Bill Cole wrote:
 Derek Cunningham wrote, On 3/10/09 10:54 AM:
  Hi
  If I have gone about posting my question the wrong way please let me know.
  Should I add my RT_SiteConfig.pm file in addition to these logs? The
  autoreply goes out right away, but I'm getting a lengthy delay on only the
  admincc messages, and only sometimes when a user submits a new request by
  email.  It doesn't seem to matter who the user is.  If anybody sees anything
  helpful in my log entries please tell me.  If I should be including info
  from another log, please tell me.  I would have suspected a postfix config
  problem, but I'm suspecting my RT config because this only happens during
  the condition that a user submits a new request via email.
 
 It's not primarily RT, it's primarily Postfix.
 
  I am using RT 3.8.1 on Mac OSX (10.4), postfix/sendmail to relay to our main
  email server with SMTP.  RT is working great except for these email delays.
 
 The mail subsystem for MacOS X 10.4 in its default configuration has a 
 tendency to have this sort of trouble, particularly when connectivity is 
 intermittent or mail is being sent to systems that use greylisting for 
 spam control. Messages that are not delivered on the first try will 
 typically sit around until the next new mail submission, and in some cases 
 will not be tried immediately because of how Postfix compartmentalizes 
 operations. This can be fixed in your Postfix config, which presumably 
 you've already adjusted somewhat to make the system accept mail. Look at the 
 pickup, qmgr, and flush lines in master.cf and give them reasonable wakeup 
 times. You also could set up a scheduled queue run via cron or launchd if 
 you are not comfortable adjusting the Postfix config.
 
 
  Another recent sample:
  From /var/log/mail.log
 
 I'll comment a bit in the hope that it will be enlightening...
 
  Mar 10 07:45:45 rt3-curis-com postfix/smtpd[215]: connect from
  [mailserver].curis.com[10.2.0.20]
  Mar 10 07:45:47 rt3-curis-com postfix/smtpd[215]: 1C89B8436A:
  client=[mailserver].curis.com[10.2.0.20]
  Mar 10 07:45:47 rt3-curis-com postfix/cleanup[218]: 1C89B8436A:
  message-id=c5dbcb27.111a%[request...@curis.com
  Mar 10 07:45:47 rt3-curis-com postfix/smtpd[215]: disconnect from
  [mailserver].curis.com[10.2.0.20]
  Mar 10 07:45:47 rt3-curis-com postfix/qmgr[219]: 1C89B8436A:
  from=[request...@curis.com, size=896, nrcpt=1 (queue active)
 
 So,  message 1C89B8436A comes in and gets queued.
 
 But it doesn't get delivered until 9 seconds later when an outgoing message 
 wakes up Postfix:
 
  Mar 10 07:45:54 rt3-curis-com postfix/pickup[214]: 2A4DE8438B: uid=70
  from=www
  Mar 10 07:45:54 rt3-curis-com postfix/cleanup[218]: 2A4DE8438B:
  message-id=rt-3.8.1-212-1236685553-588.30085-...@curis.com
  Mar 10 07:45:54 rt3-curis-com postfix/qmgr[219]: 2A4DE8438B:
  from=w...@rt3.curis.com, size=1655, nrcpt=1 (queue active)
  Mar 10 07:45:54 rt3-curis-com postfix/smtp[225]: 2A4DE8438B:
  to=[request...@curis.com, relay=[mailserver].curis.com[10.2.0.20],
  delay=0, status=sent (250 2.0.0 49b652f2-000b3322 Message accepted for
  delivery)
  Mar 10 07:45:54 rt3-curis-com postfix/qmgr[219]: 2A4DE8438B: removed
 
 Message 2A4DE8438B makes it out immediately
 
  Mar 10 07:45:54 rt3-curis-com postfix/local[220]: 1C89B8436A:
  to=facilit...@rt3.curis.com, relay=local, delay=9, status=sent (delivered
  to command: /opt/rt3/bin/rt-mailgate --queue facilities --action correspond
  --url http://localhost/rt)
  Mar 10 07:45:54 rt3-curis-com postfix/qmgr[219]: 1C89B8436A: removed
 
 And finally 1C89B8436A gets delivered locally, because the outbound mail 
 woke up Postfix, which found it waiting for its first delivery attempt.
 
 Now the bad case:
 
  Mar 10 08:56:51 rt3-curis-com postfix/pickup[214]: 6D778843F4: uid=70
  from=www
  Mar 10 08:56:51 rt3-curis-com postfix/cleanup[231]: 6D778843F4:
  message-id=rt-3.8.1-228-1236689811-14.30085-...@curis.com
  Mar 10 08:56:51 rt3-curis-com postfix/qmgr[219]: 6D778843F4:
  from=w...@rt3.curis.com, size=998, nrcpt=1 (queue active)
  Mar 10 08:56:51 rt3-curis-com postfix/pickup[214]: 7C66B843F5: uid=70
  from=www
  Mar 10 08:56:51 rt3-curis-com postfix/cleanup[231]: 7C66B843F5:
  message-id=rt-3.8.1-212-1236685553-104.30085-...@curis.com
  Mar 10 08:56:51 rt3-curis-com postfix/qmgr[219]: 7C66B843F5:
  from=w...@rt3.curis.com, size=1232, nrcpt=3 (queue active)
  Mar 10 08:56:51 rt3-curis-com postfix/smtp[234]: 6D778843F4:
  to=d...@curis.com, relay=[mailserver].curis.com[10.2.0.20], delay=0,
  status=sent (250 2.0.0 49b66393-000b34c3 Message accepted for delivery)
  Mar 10 08:56:51 rt3-curis-com postfix/smtp[235]: 7C66B843F5:
  to=d...@curis.com, relay=[mailserver].curis.com[10.2.0.20], delay=4257,
  status=sent (250 2.0.0 49b66393-000b34c4 Message accepted for delivery)
  Mar 10 08:56:51 rt3-curis-com postfix/smtp[235]: 7C66B843F5:
  to=de...@curis.com, relay=[mailserver].curis.com[10.2.0.20], 

Re: [rt-users] Email delay on ticket creation

2009-03-11 Thread Bill Cole
Kenneth Marshall wrote, On 3/11/09 2:27 PM:
 On Wed, Mar 11, 2009 at 02:02:15PM -0400, Bill Cole wrote:
  Derek Cunningham wrote, On 3/10/09 10:54 AM:
   Hi
   If I have gone about posting my question the wrong way please let me 
   know.
   Should I add my RT_SiteConfig.pm file in addition to these logs? The
   autoreply goes out right away, but I'm getting a lengthy delay on only 
   the
   admincc messages, and only sometimes when a user submits a new request 
   by
   email.  It doesn't seem to matter who the user is.  If anybody sees 
   anything
   helpful in my log entries please tell me.  If I should be including info
   from another log, please tell me.  I would have suspected a postfix 
   config
   problem, but I'm suspecting my RT config because this only happens 
   during
   the condition that a user submits a new request via email.
  
  It's not primarily RT, it's primarily Postfix.
  
   I am using RT 3.8.1 on Mac OSX (10.4), postfix/sendmail to relay to our 
   main
   email server with SMTP.  RT is working great except for these email 
   delays.
[...]
 You *MIGHT* be able to get better behavior by adjusting the mail parameters 
 that RT is using. The defaults are reasonable for Real Sendmail and for the 
 sendmail compatibility interface of Postfix as Postfix is commonly 
 configured on many Linux and *BSD systems, but it is really not suited for 
 the modified (and somewhat old) Postfix that Apple ships on MacOS X with a 
 desktop-oriented configuration. You might find that using 'sendmail' instead 
 of 'sendmailpipe' for $MailCommand and adjusting $SendmailArguments (no -t) 
 makes the whole issue vanish.

 We have been using RT since 3.2 with postfix versions 1.x and later
 and this sort of problem speaks to a misconfiguration of the postfix
 system, not a problem with the age of the release. The sendmail
 compatibility even in the earliest postfix releases has no problem
 with the way RT submits E-mail. I would recommend checking your
 postfix configurations. Good luck.

The age is a tangential issue, but when working with Postfix on MacOS X it 
is helpful to know that one is dealing with an Apple-modified 2.1.x rather 
than Dr. Venema's 2.5.x and that the default configuration on MacOS X is an 
afterthought for a personal desktop system that almost never uses it. One 
can really fix that Postfix by replacing it with a standard modern version, 
adapt it to more normal use by changing the config, or adjust things that 
use it (like RT) to go around its flaws. I may be wrong, but I think that by 
using 'sendmail' instead of 'sendmailpipe' in RT, the envelope splitting 
task is done upstream in the Mail::Mailer part of a MIME::Entity  object 
rather than being handed off to the sendmail binary called with a '-t' 
argument. That should prevent the circumstance where messages end up sitting 
in the queue waiting for the next external event to trigger pickup.
___
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] Tracking a bug with WYSIWYG editor and IE7

2009-03-11 Thread Sean

I too am seeing this problem.

it only happens when:

1. the WYSIWYG editor is being used
2. IE7 is the browser
3. The user has a signature (i.e. RT automatically inserts text)

Im wondering if it has to do with the signature column being TEXT vs. VARCHAR 
or something along those lines..




--- On Fri, 2/27/09, Michael Finn mf...@nbutexas.com wrote:

 From: Michael Finn mf...@nbutexas.com
 Subject: Re: [rt-users] Tracking a bug with WYSIWYG editor and IE7
 To: Alex Young alexyo...@scoutsolutions.co.uk, 
 rt-users@lists.bestpractical.com
 Date: Friday, February 27, 2009, 11:44 AM
 Further testing:
 Logged into a different PC (Remote Desktop); logged into RT
 w/ IE7 -- same problem (55 chars, extra garbage).
 Logged into RT as root w/ IE7 -- did NOT have the
 problem.
 Fellow IT user (with same permissions as mine) is also not
 having this problem.
 It looks like *I'm* the lucky one. :(
 
 What could it be about *my* login in RT that's causing
 this issue???
 
  -Original Message-
  From: rt-users-boun...@lists.bestpractical.com
 [mailto:rt-users-
  boun...@lists.bestpractical.com] On Behalf Of Michael
 Finn
  Sent: Friday, February 27, 2009 9:28 AM
  To: Alex Young; rt-users@lists.bestpractical.com
  Subject: Re: [rt-users] Tracking a bug with WYSIWYG
 editor and IE7
  
  I just tried it with RTFM disabled, and got the same
 results:
  =
  Subject: 3rd test of RT in IE7
  MIME-Version: 1.0
  Content-Type: text/html; charset=UTF-8
  X-Mailer: MIME-tools 5.427 (Entity 5.427)
  Content-Disposition: inline
  Content-Transfer-Encoding: binary
  X-RT-Original-Encoding: utf-8
  Content-Length: 55
  
  pI
  've disabled
  RTFMnbsp;to test the IE7 pr
  oblem
  =
  
   -Original Message-
   From: Alex Young
 [mailto:alexyo...@scoutsolutions.co.uk]
   Sent: Friday, February 27, 2009 5:04 AM
   To: Michael Finn;
 rt-users@lists.bestpractical.com
   Subject: RE: Tracking a bug with WYSIWYG editor
 and IE7
  
   I am using pretty much the same as you, except
 I'm running IE7 on
   Vista.
  
   Michael, do oyu still have this bug if you
 disable RTFM?
  
   I can reproduce the error consistantly whenever I
 hit reply/comment
  to
   a specific transaction. Depending on which
 transaction I
  reply/comment
   on changes the site that the data is truncated.
 Doesnt matter how
  much
   more I type into the reply/comment, each
 transaction also truncated
  at
   the same bytes regardless.
  
   The Javascript errors I had in IE had nothing to
 do with this bug. I
   fixed it my removing the references to
 scriptalicous.js and
   prototype.js in the modified header from the
 RTx-EmailCompletion
   header.
  
   -Original Message-
   From: Michael Finn [mailto:mf...@nbutexas.com]
   Sent: 25 February 2009 20:59
   To: Alex Young; rt-users@lists.bestpractical.com
   Subject: Tracking a bug with WYSIWYG editor and
 IE7
  
   The only extension I have is RTFM. More specs:
   RT-3.8.2
   RTFM-2.4.1
   MySQL 5.0.67 (external server)
   IE 7.0.5730.11 on WinXP SP3
   IE7 Add-ons don't apply, because I
 experienced the same issue in IE7
   safe mode ('iexplore
 -extoff').
  
   I'm baffled.
  
-Original Message-
From: Alex Young
 [mailto:alexyo...@scoutsolutions.co.uk]
Sent: Wednesday, February 25, 2009 12:38 PM
To: Michael Finn;
 rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Trying to track a
 bug with WYSIWYG
  editor,IE7
and RTx-EmailCompletion
   
Hmmm... odd that I dont get the error when I
 remove RTx-
EmailCompletion, but you're not using
 it. What other extensions are
   you
using? Do you still get this problem if they
 are disabled?
   
Mine is getting truncated at 319 characters
 on every one. I never
noticed it before.
   
Looks like my JavaScript error is unrelated.
 Its a RTx-
   EmailCompletion
specific error that, so nothing to do with
 the truncation.
   
   
   
 
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
RT-Send-CC:
Content-Length: 319
   
pDoes it do it when inserting
 content fro
m the previous page?/p
pOn Wed Feb 25 14:58:45 2009, ayoung
 wrote:
br /
gt; T
his is a
lon
g winded reply to see if IE will br
eak
 with the WYSIWYG br /


gt; editor yet br /
gt; again. br /
gt; br /
gt;
 I
cant understand why it breaks. br /
g
t
;
   
 
   
   
-Original Message-
From: Michael Finn
 [mailto:mf...@nbutexas.com]
Sent: 25 February 2009 18:26
To: Alex Young;
 rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Trying to track a
 bug with WYSIWYG
  editor,IE7
and RTx-EmailCompletion
   
Alex,
   
I've 

Re: [rt-users] Tracking a bug with WYSIWYG editor and IE7

2009-03-11 Thread Michael Finn
A-ha!  That's a reasonable theory... I've got a signature on my account; my 
other users... not so much. ;)

FWIW, I also have the problem occur on IE6.

As you suggested, I removed my signature from my Preferences, and the problem 
went away.  Now, how does this help us solve the problem?  If it were Firefox, 
I'd use Chris Pederick's wonderful Web Developer add-on 
(http://chrispederick.com/work/web-developer/) to pick it apart... anyone 
recommend a similar tool for IE7?

Thanks,
Mike

 -Original Message-
 From: Sean [mailto:stroke_of_de...@yahoo.com]
 Sent: Wednesday, March 11, 2009 5:54 PM
 To: Alex Young; rt-users@lists.bestpractical.com; Michael Finn
 Subject: Re: [rt-users] Tracking a bug with WYSIWYG editor and IE7
 
 
 I too am seeing this problem.
 
 it only happens when:
 
 1. the WYSIWYG editor is being used
 2. IE7 is the browser
 3. The user has a signature (i.e. RT automatically inserts text)
 
 Im wondering if it has to do with the signature column being TEXT vs.
 VARCHAR or something along those lines..
 
 
 
 
 --- On Fri, 2/27/09, Michael Finn mf...@nbutexas.com wrote:
 
  From: Michael Finn mf...@nbutexas.com
  Subject: Re: [rt-users] Tracking a bug with WYSIWYG editor and IE7
  To: Alex Young alexyo...@scoutsolutions.co.uk, rt-
 us...@lists.bestpractical.com
  Date: Friday, February 27, 2009, 11:44 AM
  Further testing:
  Logged into a different PC (Remote Desktop); logged into RT
  w/ IE7 -- same problem (55 chars, extra garbage).
  Logged into RT as root w/ IE7 -- did NOT have the
  problem.
  Fellow IT user (with same permissions as mine) is also not
  having this problem.
  It looks like *I'm* the lucky one. :(
 
  What could it be about *my* login in RT that's causing
  this issue???
 
   -Original Message-
   From: rt-users-boun...@lists.bestpractical.com
  [mailto:rt-users-
   boun...@lists.bestpractical.com] On Behalf Of Michael
  Finn
   Sent: Friday, February 27, 2009 9:28 AM
   To: Alex Young; rt-users@lists.bestpractical.com
   Subject: Re: [rt-users] Tracking a bug with WYSIWYG
  editor and IE7
  
   I just tried it with RTFM disabled, and got the same
  results:
   =
   Subject: 3rd test of RT in IE7
   MIME-Version: 1.0
   Content-Type: text/html; charset=UTF-8
   X-Mailer: MIME-tools 5.427 (Entity 5.427)
   Content-Disposition: inline
   Content-Transfer-Encoding: binary
   X-RT-Original-Encoding: utf-8
   Content-Length: 55
  
   pI
   've disabled
   RTFMnbsp;to test the IE7 pr
   oblem
   =
  
-Original Message-
From: Alex Young
  [mailto:alexyo...@scoutsolutions.co.uk]
Sent: Friday, February 27, 2009 5:04 AM
To: Michael Finn;
  rt-users@lists.bestpractical.com
Subject: RE: Tracking a bug with WYSIWYG editor
  and IE7
   
I am using pretty much the same as you, except
  I'm running IE7 on
Vista.
   
Michael, do oyu still have this bug if you
  disable RTFM?
   
I can reproduce the error consistantly whenever I
  hit reply/comment
   to
a specific transaction. Depending on which
  transaction I
   reply/comment
on changes the site that the data is truncated.
  Doesnt matter how
   much
more I type into the reply/comment, each
  transaction also truncated
   at
the same bytes regardless.
   
The Javascript errors I had in IE had nothing to
  do with this bug. I
fixed it my removing the references to
  scriptalicous.js and
prototype.js in the modified header from the
  RTx-EmailCompletion
header.
   
-Original Message-
From: Michael Finn [mailto:mf...@nbutexas.com]
Sent: 25 February 2009 20:59
To: Alex Young; rt-users@lists.bestpractical.com
Subject: Tracking a bug with WYSIWYG editor and
  IE7
   
The only extension I have is RTFM. More specs:
RT-3.8.2
RTFM-2.4.1
MySQL 5.0.67 (external server)
IE 7.0.5730.11 on WinXP SP3
IE7 Add-ons don't apply, because I
  experienced the same issue in IE7
safe mode ('iexplore
  -extoff').
   
I'm baffled.
   
 -Original Message-
 From: Alex Young
  [mailto:alexyo...@scoutsolutions.co.uk]
 Sent: Wednesday, February 25, 2009 12:38 PM
 To: Michael Finn;
  rt-users@lists.bestpractical.com
 Subject: RE: [rt-users] Trying to track a
  bug with WYSIWYG
   editor,IE7
 and RTx-EmailCompletion

 Hmmm... odd that I dont get the error when I
  remove RTx-
 EmailCompletion, but you're not using
  it. What other extensions are
you
 using? Do you still get this problem if they
  are disabled?

 Mine is getting truncated at 319 characters
  on every one. I never
 noticed it before.

 Looks like my JavaScript error is unrelated.
  Its a RTx-
EmailCompletion
 specific error that, so nothing to do with
  the truncation.



  
 MIME-Version: 1.0
 X-Mailer: MIME-tools 5.427 (Entity 5.427)
 Content-Disposition: inline