Create Queues

Is there a way to create queues and set ACL to them?
I need create near 40 queues with same ACL properties, reply address the only thing will change is the subject tag and logic queue name.

Att.
Diaulas Castro
Consultor Linux / Microsoft
InterSolution Informática
Tel.: (55 11) 3443-1472
www.intersolution.inf.br
Oracle Certified Partner

Hello Diaulas

May this one fits to your needs …

best regards

john s.

View this message in context: http://old.nabble.com/Create-Queues-tp33328558p33329424.html

Looks promising, will try.

Thanks in advance.

Att.
Diaulas Castro
Consultor Linux / Microsoft
InterSolution Informática
Tel.: (55 11) 3443-1472
www.intersolution.inf.br
Oracle Certified Partner

-----Mensagem original-----De: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Em nome de john s.
Enviada em: quarta-feira, 15 de fevereiro de 2012 13:11
Para: rt-users@lists.bestpractical.com
Assunto: Re: [rt-users] Create Queues

Hello Diaulas

May this one fits to your needs …

best regards

john s.

View this message in context: http://old.nabble.com/Create-Queues-tp33328558p33329424.html

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston March 5 & 6, 2012

Is there a way to create queues and set ACL to them?

I need create near 40 queues  with same ACL properties, reply address the only thing will

change is the subject tag and logic queue name.

I’d write an initialdata file and use rt-setup-database to load it in.
RT ships with an initialdata file that creates two queues.

-kevin

Hmm nice, will try
John sent me another hint to look.

Att.
Diaulas Castro
Consultor Linux / Microsoft
InterSolution Informática
Tel.: (55 11) 3443-1472
www.intersolution.inf.br
Oracle Certified Partner

-----Mensagem original-----De: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Em nome de Kevin Falcone
Enviada em: quarta-feira, 15 de fevereiro de 2012 15:05
Para: rt-users@lists.bestpractical.com
Assunto: Re: [rt-users] Create Queues

Is there a way to create queues and set ACL to them?

I need create near 40 queues  with same ACL properties, reply address the only thing will

change is the subject tag and logic queue name.

I’d write an initialdata file and use rt-setup-database to load it in.
RT ships with an initialdata file that creates two queues.

-kevin

Hello Diaulas

You can modify your cloned queues with your own groups …

but make an backup of the files

Modify the following lines :

QueueWizard/Admin/index.html:
$clone_admin->LoadUserDefinedGroup($clone_queue->Name .
“_yourownadminname”);

QueueWizard/Admin/index.html: push @errors, loc(“Owner group [_1] for
queue [_2] not found”, $clone_queue->Name . “_yourownadminname”,
$clone_queue->Name);

QueueWizard/Admin/index.html: $admin_group->CreateUserDefinedGroup( Name
=> $ARGS{‘Name’} . “_yourownadminname” );

QueueWizard/Admin/q:
$clone_admin->LoadUserDefinedGroup($clone_queue->Name .
“_yourownadminname”);

QueueWizard/Admin/q: push @errors, loc(“Owner group [_1] for
queue [_2] not found”, $clone_queue->Name . “_yourownadminname”,
$clone_queue->Name);

QueueWizard/Admin/q: $admin_group->CreateUserDefinedGroup( Name
=> $ARGS{‘Name’} . “_yourownadminname” );

QueueWizard/Admin/index.html:
$clone_staff->LoadUserDefinedGroup($clone_queue->Name . “_yourownuser”);

QueueWizard/Admin/index.html: push @errors, loc(“Staff group [_1] for
queue [_2] not found”, $clone_queue->Name . “_yourownuser”,
$clone_queue->Name);

QueueWizard/Admin/index.html: $staff_group->CreateUserDefinedGroup(
Name => $ARGS{‘Name’} . “_yourownuser” );

QueueWizard/Admin/q:$clone_staff->LoadUserDefinedGroup($clone_queue->Name .
“_yourownuser”);

QueueWizard/Admin/q: push @errors, loc(“Staff group [_1] for queue [_2]
not found”, $clone_queue->Name . “_yourownuser”, $clone_queue->Name);

QueueWizard/Admin/q: $staff_group->CreateUserDefinedGroup( Name =>
$ARGS{‘Name’} . “_yourownuser” );

Note: Replace the bolded ones with your user and adminsuser for the queues
which you like but the _ before the name is necessary for working.

best regards

john s.
View this message in context: http://old.nabble.com/Create-Queues-tp33328558p33413992.html

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Dave,On 29/02/12 13:30, john s. wrote:

Not sure which of you can best advise on this - I’ve got a job on
the new HRA server to do the daily transfer to the CRIS server:

pscp.exe -pw newone
“c:\PSenterprise\Bulkinput\CRIS_EXTRACT_STAFF.csv”
dbair@cris.sgul.ac.uk:c/staff_extracts

This is coming up fatal: Network error: Connection refused.

On the old HRA server, there was an ftp job doing this, using this
same user name and password, which was set up on the CRIS server
for this purpose.

Can anyone tell me what is wrong?

Nothing :slight_smile: Simply, the server doesn’t have ssh/scp access. It would be
better if you could reinstate the job via ftp.

Giuseppe


Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George’s, University Of London
Cranmer Terrace
London SW17 0RE

Email: gsollazz@sgul.ac.uk
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPTiuaAAoJEAqigArPBfJXQCwIAIA1SyDTl4JiKiNPRPHOXhdw
fmUYR9jh0wikI3QXFVEgEUxoLZoQkfNbBdcMjAm2G1mgSHVWGPza5Yucm3uzguMD
g+b8yXYviy1kGPE7yiyo8Obz4wPfbxUCLO0SpFNmYBR5UQUrW6jT56F96BrfZ9ZW
E4EvqCRPbd/Su0EIhUONLVESUOAMk5AbC557R4vbTl5GflN0v5LVBKZCu+FNvlPG
4CfivlYsp9KrI19RQFk3J+RZZ/+OrnTo5mLzYql0A91NlJ2F3pdcxYmfIQPe2nwG
3/vg5VR2BnzPfL7BXuQjYwQ8yy5FMbjqdyYIbP+LPvMWeq5oSWnVTWFtMnpwqhE=
=DZTX
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Apologies,
I have no idea how this fell onto rt.

GiuseppeOn 29/02/12 13:43, Giuseppe Sollazzo wrote:

Content-Type: text/plain; charset=ISO-8859-1

Hi Dave,

On 29/02/12 13:30, john s. wrote:

Not sure which of you can best advise on this - I’ve got a job
on the new HRA server to do the daily transfer to the CRIS
server:

pscp.exe -pw newone
“c:\PSenterprise\Bulkinput\CRIS_EXTRACT_STAFF.csv”
dbair@cris.sgul.ac.uk:c/staff_extracts

This is coming up fatal: Network error: Connection refused.

On the old HRA server, there was an ftp job doing this, using
this same user name and password, which was set up on the CRIS
server for this purpose.

Can anyone tell me what is wrong?

Nothing :slight_smile: Simply, the server doesn’t have ssh/scp access. It would
be better if you could reinstate the job via ftp.

Giuseppe


Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George’s, University Of London
Cranmer Terrace
London SW17 0RE

Email: gsollazz@sgul.ac.uk
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPTivRAAoJEAqigArPBfJX+P0H/1YUyeBH65Jvbg8qVkTuhkQT
QcaY4zi3GVX6BqYljF1pkKVeEqoJAur6mHqmPO1/TXjCC6DGkInhFeOONyLOSAAJ
fxZ73R1n/z6AF6ol+bUwbPz7tsHoujh/hKGJFISPEQE6FxKdrwg2/7pfb7ufYF0r
AnqrA1KebfNx1AMjTQODoHgMGIS0+VxwdQ6MVYoo82hfreyKdXXIR/gcsfiWRc72
mqFLM9QNZWhZTlEqdToYbvW+jIzgDi3u1gKGtyaqJSSggnH298LFCd8T6VA+CA4d
/Z+6uDp/MaTZFQFREoZPGjolEn+zT+Rgx5B3V7KEe/8JxKNk73T8bPzhb31vW4o=
=u6oR
-----END PGP SIGNATURE-----