Bug 553179 - Mailadress should be "root" instead of "root@localhost"
Summary: Mailadress should be "root" instead of "root@localhost"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rkhunter
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-07 10:37 UTC by Harald Reindl
Modified: 2010-02-11 15:00 UTC (History)
2 users (show)

Fixed In Version: 1.3.6-4.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-11 14:47:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Harald Reindl 2010-01-07 10:37:32 UTC
Hi

You should change the default-email in the package because on "real" mailservers "root@localhost" will be expanded to "root.tld"

So i created forwarders on two machines to get the mail instead of bounces
____________________

<root.thelounge.net> (expanded from <root@localhost>): Host
    or domain name not found. Name service error for
    name=localhost.caladan.thelounge.net type=A: Host not found

<root.net> (expanded from <root@localhost>): Host or domain
    name not found. Name service error for name=localhost.thelounge.net type=A:
    Host not found

Comment 1 Kevin Fenzi 2010-01-07 19:39:13 UTC
I am pretty sure I added it this way for SSMTP users for some reason, but I am unable to find the exact bug related to that. 

Are you using sendmail? 
Fedora sendmail automatically has a "Cwlocalhost" and "C{w}localhost.localdomain" so this should work by default.

Comment 2 Harald Reindl 2010-01-07 19:52:46 UTC
I'm using postfix

[root@caladan:~]$ cat /etc/sysconfig/rkhunter
MAILTO=root.net
DIAG_SCAN=yes

This works and i mean the default in the cronjob should do the same which would be implicit if there is only "root" instead of "root@localhost".

[root@caladan:~]$ cat /etc/cron.daily/rkhunter | grep root
MAILTO=root@localhost


If you have postfix running only for system-mails this is no problem, but if you are running a full mail server it expands because "root@localhost" is not full qualified, so it would better to expand to the postfix-default-domain

Comment 3 Kevin Fenzi 2010-01-09 03:44:31 UTC
Well, as I said, I think this was added for ssmtp, but doing some testing here I can't get it to fail with just 'root' instead. 

I guess I will change it to just root in the next batch of updates I do and see what breaks. ;) 

Thanks for the bug report.

Comment 4 Fedora Update System 2010-01-24 01:50:58 UTC
rkhunter-1.3.6-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/rkhunter-1.3.6-4.fc12

Comment 5 Fedora Update System 2010-01-24 01:58:42 UTC
rkhunter-1.3.6-4.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/rkhunter-1.3.6-4.fc11

Comment 6 Fedora Update System 2010-01-26 00:53:25 UTC
rkhunter-1.3.6-4.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update rkhunter'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-0979

Comment 7 Fedora Update System 2010-01-26 01:01:53 UTC
rkhunter-1.3.6-4.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update rkhunter'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1046

Comment 8 Fedora Update System 2010-02-11 14:47:09 UTC
rkhunter-1.3.6-4.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-02-11 14:59:57 UTC
rkhunter-1.3.6-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.