Skip to content

Commit 98935c8

Browse files
committed
Retire @salilab.org email domain
1 parent 0cfec0e commit 98935c8

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

examples/example.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[general]
2-
admin_email: modfoo-admin@salilab.org
2+
admin_email: modfoo-admin@ucsf.edu
33
socket: /modbase1/home/modfoo/modfoo.socket
44
service_name: ModFoo
55
urltop: http://modbase.compbio.ucsf.edu/modfoo

perl/saliweb/frontend.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ sub _admin_email {
427427
} else {
428428
# If an error occurred before we managed to read the configuration file,
429429
# fall back to bothering the sysadmins
430-
return "system\@salilab.org";
430+
return "salilab-system\@ucsf.edu";
431431
}
432432
}
433433

python/saliweb/frontend/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def _setup_email_logging(app):
209209
if not app.debug:
210210
mail_handler = logging.handlers.SMTPHandler(
211211
mailhost=('localhost', 25),
212-
fromaddr='no-reply@salilab.org',
212+
fromaddr='no-reply@ucsf.edu',
213213
toaddrs=[app.config['ADMIN_EMAIL']],
214214
subject='%s web service error' % app.config['SERVICE_NAME'])
215215
mail_handler.setLevel(logging.ERROR)

test/frontend/frontend.pl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ BEGIN
5252

5353
# Test _admin_email method
5454
{
55-
my $default = 'system@salilab.org';
55+
my $default = 'salilab-system@ucsf.edu';
5656
my $self = {};
5757
bless($self, 'saliweb::frontend');
5858
is($self->_admin_email, $default, 'admin_email (default 1)');
@@ -841,8 +841,10 @@ END
841841
$self->_email_admin_fatal_error($exc);
842842
my $email = $MIME::Lite::last_email;
843843
$MIME::Lite::last_email = undef;
844-
is($email->{From}, '[email protected]', 'email_admin_fatal_error (from)');
845-
is($email->{To}, '[email protected]', ' (to)');
844+
is($email->{From}, '[email protected]',
845+
'email_admin_fatal_error (from)');
846+
is($email->{To}, '[email protected]',
847+
' (to)');
846848
is($email->{Subject}, 'Fatal error in unittest-server web service frontend',
847849
' (subject)');
848850
like($email->{Data},

0 commit comments

Comments
 (0)