Temporarily disable all OTRS email traffic for test system

Moderator: crythias

Locked
khaito
Znuny newbie
Posts: 13
Joined: 12 Apr 2013, 10:47
Znuny Version: 3.0.9
Real Name: Robyn Milne
Location: Scotland, UK

Temporarily disable all OTRS email traffic for test system

Post by khaito »

Hey,
I've just got a quick query on the simplest way to stop OTRS sending out any notifications or emails of any type on a test environment installation that I'm about to restore a copy of the live DB onto. I don't want staff suddenly getting duplicate notification emails from the live system and the test system at the same time.

Would it just be a case of changing the settings in Core::Sendmail so it can't authenticate to send email? Or is there some kind of 'maintenance' mode or similar that OTRS can be put into?

I have a VM with a newer version of Ubuntu server and OTRS 3.1 to do a test migration from the live OTRS 3.0.9 system. My plan is basically to create a new DB to restore the mysql data into and run the DB upgrade scripts on it, make sure the new OTRS is pointing at the right DB and then see if it loads okay. The config has already been copied across when I installed OTRS.

Also, our live OTRS system has had it's front-end customised with the company logo etc, is this compatible to just copy across the files from the 3.0.9 system to the 3.1 system? Or will it need recreated from scratch?
--------------------------------------------
Production
OTRS 3.0.9 - Ubuntu 10.04.3 LTS - Apache2 - MySQL 4.012 - PHP 5.3.2 - PHPMyAdmin 4.3.3

Testing
OTRS 3.1.14 - Ubuntu 12.04.2 LTS - Apache2 - MySQL 4.020 - PHP 5.3.10 - PHPMyAdmin 4.3.4
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Temporarily disable all OTRS email traffic for test syst

Post by reneeb »

Just select "DoNotSendEmail" for option SendmailModule in Core::Sendmail
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
khaito
Znuny newbie
Posts: 13
Joined: 12 Apr 2013, 10:47
Znuny Version: 3.0.9
Real Name: Robyn Milne
Location: Scotland, UK

Re: Temporarily disable all OTRS email traffic for test syst

Post by khaito »

Cheers, shall try that. :)
--------------------------------------------
Production
OTRS 3.0.9 - Ubuntu 10.04.3 LTS - Apache2 - MySQL 4.012 - PHP 5.3.2 - PHPMyAdmin 4.3.3

Testing
OTRS 3.1.14 - Ubuntu 12.04.2 LTS - Apache2 - MySQL 4.020 - PHP 5.3.10 - PHPMyAdmin 4.3.4
khaito
Znuny newbie
Posts: 13
Joined: 12 Apr 2013, 10:47
Znuny Version: 3.0.9
Real Name: Robyn Milne
Location: Scotland, UK

Re: Temporarily disable all OTRS email traffic for test syst

Post by khaito »

D'oh, just realised it even says ""DoNotSendEmail" doesn't send emails and it is useful for test systems. " in there.
Apologies for the stupid question! :)
--------------------------------------------
Production
OTRS 3.0.9 - Ubuntu 10.04.3 LTS - Apache2 - MySQL 4.012 - PHP 5.3.2 - PHPMyAdmin 4.3.3

Testing
OTRS 3.1.14 - Ubuntu 12.04.2 LTS - Apache2 - MySQL 4.020 - PHP 5.3.10 - PHPMyAdmin 4.3.4
Locked