My OTRS installation is trying to send notification emails to root@localhost. I would like to know where I could change the email address root@localhost to an actual email address.
I have done the following to try and change the TO address.
1. Admin-->email addresses
2. changed in /etc/aliases
3. changed in /root/.forward
4. ran newaliases command
But still I receive failures as below.
Can someone help me figure out where to change the email address of root@localhost?
PS: I wasn't able to run newaliases command as
Code: Select all
[root@helpdesk ~]# cat /etc/aliases
#
# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /bin/mail.
#
# >>>>>>>>>> The program "newaliases" must be run after
# >> NOTE >> this file is updated for any changes to
# >>>>>>>>>> show through to sendmail.
#
# Basic system aliases -- these MUST be present.
mailer-daemon: postmaster
postmaster: root
# General redirections for pseudo accounts.
bin: root
daemon: root
adm: root
lp: root
sync: root
shutdown: root
halt: root
mail: root
news: root
uucp: root
operator: root
games: root
gopher: root
ftp: root
nobody: root
radiusd: root
nut: root
dbus: root
vcsa: root
canna: root
wnn: root
rpm: root
nscd: root
pcap: root
apache: root
webalizer: root
dovecot: root
fax: root
quagga: root
radvd: root
pvm: root
amandabackup: root
privoxy: root
ident: root
named: root
xfs: root
gdm: root
mailnull: root
postgres: root
sshd: root
smmsp: root
postfix: root
netdump: root
ldap: root
squid: root
ntp: root
mysql: root
desktop: root
rpcuser: root
rpc: root
nfsnobody: root
ingres: root
system: root
toor: root
manager: root
dumper: root
abuse: root
newsadm: news
newsadmin: news
usenet: news
ftpadm: ftp
ftpadmin: ftp
ftp-adm: ftp
ftp-admin: ftp
www: webmaster
webmaster: root
noc: root
security: root
hostmaster: root
info: postmaster
marketing: postmaster
sales: postmaster
support: postmaster
# trap decode to catch security attacks
decode: root
# Person who should get root's mail
root: sysadmin@talkup.com.au
[root@helpdesk ~]#
[root@helpdesk ~]#
[root@helpdesk ~]#
[root@helpdesk ~]#
[root@helpdesk ~]#
[root@helpdesk ~]# cat /root/.forward
sysadmin@talkup.com.au
[root@helpdesk ~]#
Code: Select all
Delivery to the following recipient failed permanently:
root@localhost
Technical details of permanent failure:
DNS Error: 6784466 DNS type 'mx' lookup of localhost responded with code NXDOMAIN
Domain name not found: localhost
----- Original message -----
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=talkup-com-au.20150623.gappssmtp.com; s=20150623;
h=from:content-disposition:content-transfer-encoding:mime-version
:subject:date:message-id:to:organization;
bh=hQoC/ZkPHcd2iLwMAdlnk9iq1HfYzjiRHTLTqJkfc5M=;
b=qTUbUm1eV7eKUX8CYOBZiIEMX6ivPazyHADxa7E9O+aTEn0VTTKeDWA9ghm2msDLPM
Bi/92+amuYiWXo0IUYUvUiejyAiRQfLAjcDGmzWOcV2693EzxRPsbVIijAbwgqCr
9NdEXPC1k55jnSnteUVTwKW/8e4aCRVDqeld6C3t8p5U+YfFwxodo0JIBlEFabKSK+M/
n+uePRlm/Qo4Y1FDPMFEZwg3cvEXvGsC03BRQK0cdhMRsV2aplJWzgJqMP0VQGSgbH/5
hxwJAkHAPzT4ksDSFddFg2kiSgU7AvTnVlBELoqkrYuLKDO5vg0Ou7HsJDy1DQM8v/UR
axNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:from:content-disposition
:content-transfer-encoding:mime-version:subject:date:message-id:to
:organization;
bh=hQoC/ZkPHcd2iLwMAdlnk9iq1HfYzjiRHTLTqJkfc5M=;
b=dyG8uCsZvQ8NccF1Jzda08FdQ+2aUzop4w/WM3rMsk3Io0XHQGlXFLQJogk0fUL/RW
HOIstFVNjnFApRgfCnoS/7c6kM5vozPFouO4N+zq/uWBJi8Za51SQwWRBcxeWze6gYg1
Qs/KvbtKJs+RFtWAAJGzl6dJSBbh6/5MeRrXkV9lwsolPKaEVar3Uadl2tYi12g
rX0Fi9X1D+agQh9MvqjUG5zFvgbD673CVw7X8CuYU+dvLsCo4ooUVTqxOe6rrt9Gu3CB
OrWZUmbInexVqNnXfYnYyclB2r3AhJ3C2l/+9N+BTVE1QMpMrsRPX8fu4YFUTMggE0Wf
3few==
X-Gm-Message-State:
ALyK8tIAzoUzQPOa2WJ9rru2hcyLjPLgHtLnGPIpG8/DJH7rqK/7vT7Ai1AV0jZ
X-Received: by 10.98.201.210 with SMTP id l79mr44405820pfk.87.1468327815915;
Tue, 12 Jul 2016 05:50:15 -0700 (PDT)
Return-Path: <support@talkup.com.au>
Received: from helpdesk.talkup.net.au ([180.214.64.18])
by smtp.gmail.com with ESMTPSA id tt1sm7430747pac.35.2016.07.12.05.50.13
for <root@localhost>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Tue, 12 Jul 2016 05:50:14 -0700 (PDT)
From: OTRS Notifications <support@talkup.com.au>
X-Google-Original-From: OTRS Notifications <otrs@helpdesk.talkup.net.au>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.507 (Entity 5.507)
Subject: OTRS Scheduler Daemon Cron: MailAccountFetch
Date: Tue, 12 Jul 2016 22:50:10 +1000
Message-ID: <1468327810.961611.996705724@helpdesk.talkup.net.au>
To: root@localhost
Organization: TalkUp Communication
ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-75 Perl: 5.16.3 OS: linux
Time: Tue Jul 12 22:50:10 2016
Message: IMAPS: Auth for user support@talkup.com.au/imap.gmail.com failed!
Traceback (32277):
Module: Kernel::System::MailAccount::IMAP::_Fetch Line: 142
Module: Kernel::System::MailAccount::IMAP::Fetch Line: 86
Module: Kernel::System::MailAccount::MailAccountFetch Line: 440
Module: Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch::Run
Line: 94
Module: (eval) Line: 444
Module: Kernel::System::Console::BaseCommand::Execute Line: 438
Module: (eval) Line: 147
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 131
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
Module: (eval) Line: 316
Module: main::Start Line: 316
Module: /opt/otrs/bin/otrs.Daemon.pl Line: 138