Good day!
I can't make the hobbit alerts work.. Hobbit server is installed in a computer w/o dns settings, and we have our own email server. how can I make the hobbit server to send email notifications to our email server on which my email resides? Please help! Thanks in advance
Ryan
On what machine is Hobbit install, windows or Linux
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom E-Mail: tlabelsd at telkom.co.za <mailto:tlabelsd at telkom.co.za> | Office: +27 12 680 3176 | Fax: +27 12 680 3299 | Cell: +27 79 517 5706
From: Ryan Jay B. Lapuz [mailto:rlapuz at fcpp.fujitsu.com] Sent: 17 July 2007 06:58 To: hobbit at hswn.dk Subject: [hobbit] hobbit alerts
Good day!
I can't make the hobbit alerts work.. Hobbit server is installed in a computer w/o dns settings, and we have our own email server. how can I make the hobbit server to send email notifications to our email server on which my email resides?
Please help!
Thanks in advance
Ryan
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
It is installed in Fedora Core 6. sendmail is already running but i am not sure of its configuration. when i check the /var/log/hobbit/notifications.log, i can see all the alerts but i was not able to receive them though my email. thanks!
----- Original Message ----- From: Sello Tlabela (SD) To: hobbit at hswn.dk Sent: Tuesday, July 17, 2007 4:30 PM Subject: RE: [hobbit] hobbit alerts
On what machine is Hobbit install, windows or Linux
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom E-Mail: tlabelsd at telkom.co.za | Office: +27 12 680 3176 | Fax: +27 12 680 3299 | Cell: +27 79 517 5706
From: Ryan Jay B. Lapuz [mailto:rlapuz at fcpp.fujitsu.com] Sent: 17 July 2007 06:58 To: hobbit at hswn.dk Subject: [hobbit] hobbit alerts
Good day!
I can't make the hobbit alerts work.. Hobbit server is installed in a computer w/o dns settings, and we have our own email server. how can I make the hobbit server to send email notifications to our email server on which my email resides?
Please help!
Thanks in advance
Ryan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do echo test | mail -s test youremailaddress and then tail -f /var/log/maillog and check the relay server it should show something similar to below
Message accepted for delivery
The red is your mail relay server you don't have to set it,
The other problem could be that in your /etc/hosts file you don't have FQDN
127.0.0.1 localhost.localdomain localhost
162.168.2.3 logserver.domain.co.za logserver
Regards,
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom E-Mail: tlabelsd at telkom.co.za <mailto:tlabelsd at telkom.co.za> | Office: +27 12 680 3176 | Fax: +27 12 680 3299 | Cell: +27 79 517 5706
From: Ryan Jay B. Lapuz [mailto:rlapuz at fcpp.fujitsu.com] Sent: 17 July 2007 10:38 To: hobbit at hswn.dk Subject: Re: [hobbit] hobbit alerts
It is installed in Fedora Core 6. sendmail is already running but i am not sure of its configuration.
when i check the /var/log/hobbit/notifications.log, i can see all the alerts but i was not able to receive them though my email.
thanks!
----- Original Message -----
From: Sello Tlabela (SD) <mailto:TlabelSD at telkom.co.za>
To: hobbit at hswn.dk
Sent: Tuesday, July 17, 2007 4:30 PM
Subject: RE: [hobbit] hobbit alerts
On what machine is Hobbit install, windows or Linux
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail: tlabelsd at telkom.co.za <mailto:tlabelsd at telkom.co.za>
| Office: +27 12 680 3176 | Fax: +27 12 680 3299 | Cell: +27 79 517 5706
From: Ryan Jay B. Lapuz [mailto:rlapuz at fcpp.fujitsu.com]
Sent: 17 July 2007 06:58
To: hobbit at hswn.dk
Subject: [hobbit] hobbit alerts
Good day!
I can't make the hobbit alerts work.. Hobbit server is
installed in a computer w/o dns settings, and we have our own email server. how can I make the hobbit server to send email notifications to our email server on which my email resides?
Please help!
Thanks in advance
Ryan
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
this is the output of tail /var/log/maillog:
Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: from=root, size=48, class=0, nrcpts=1, msgid=<2007 07171059.l6HAxdVN005428 at localhost.localdomain>, relay=root at localhost Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: to=rlapuz at fcpp.fujitsu.com, delay=00:00:00, mailer =esmtp, pri=30048, dsn=4.4.3, stat=queued
the status says it is queued by i never receive them.. any ideas? I already edited /etc/hosts file ----- Original Message ----- From: Sello Tlabela (SD) To: hobbit at hswn.dk Sent: Tuesday, July 17, 2007 4:55 PM Subject: RE: [hobbit] hobbit alerts
Do echo test | mail -s test youremailaddress and then tail -f /var/log/maillog and check the relay server it should show something similar to below
Message accepted for delivery
The red is your mail relay server you don't have to set it,
The other problem could be that in your /etc/hosts file you don't have FQDN
127.0.0.1 localhost.localdomain localhost
162.168.2.3 logserver.domain.co.za logserver
Regards,
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom E-Mail: tlabelsd at telkom.co.za | Office: +27 12 680 3176 | Fax: +27 12 680 3299 | Cell: +27 79 517 5706
From: Ryan Jay B. Lapuz [mailto:rlapuz at fcpp.fujitsu.com] Sent: 17 July 2007 10:38 To: hobbit at hswn.dk Subject: Re: [hobbit] hobbit alerts
It is installed in Fedora Core 6. sendmail is already running but i am not sure of its configuration.
when i check the /var/log/hobbit/notifications.log, i can see all the alerts but i was not able to receive them though my email.
thanks!
----- Original Message -----
From: Sello Tlabela (SD)
To: hobbit at hswn.dk
Sent: Tuesday, July 17, 2007 4:30 PM
Subject: RE: [hobbit] hobbit alerts
On what machine is Hobbit install, windows or Linux
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail: tlabelsd at telkom.co.za | Office: +27 12 680 3176 | Fax: +27 12 680 3299 | Cell: +27 79 517 5706
From: Ryan Jay B. Lapuz [mailto:rlapuz at fcpp.fujitsu.com]
Sent: 17 July 2007 06:58
To: hobbit at hswn.dk
Subject: [hobbit] hobbit alerts
Good day!
I can't make the hobbit alerts work.. Hobbit server is installed in a computer w/o dns settings, and we have our own email server. how can I make the hobbit server to send email notifications to our email server on which my email resides?
Please help!
Thanks in advance
Ryan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Tue, Jul 17, 2007 at 07:19:45PM +0800, Ryan Jay B. Lapuz wrote:
this is the output of tail /var/log/maillog:
Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: from=root, size=48, class=0, nrcpts=1, msgid=<2007 07171059.l6HAxdVN005428 at localhost.localdomain>, relay=root at localhost Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: to=rlapuz at fcpp.fujitsu.com, delay=00:00:00, mailer =esmtp, pri=30048, dsn=4.4.3, stat=queued
Personally, I try to avoid sendmail like the plague ...
You need to edit your sendmail config and setup a "smarthost" that handles your outgoing mail. It's the "DS" setting in sendmail.cf, but I don't know if there are special config tools for your OS distro - it might use the M4-based configuration files to build a sendmail.cf.
It may also be necessary to setup the "DM" (masquerade as) setting to give your outbound mail a sensible domain as part of the sender-address.
Regards, Henrik
On 7/17/07, Ryan Jay B. Lapuz <rlapuz at fcpp.fujitsu.com> wrote:
this is the output of tail /var/log/maillog:
Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: from=root, size=48, class=0, nrcpts=1, msgid=<2007 07171059.l6HAxdVN005428 at localhost.localdomain>, relay=root at localhost Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: to=rlapuz at fcpp.fujitsu.com, delay=00:00:00, mailer =esmtp, pri=30048, dsn=4.4.3, stat=queued
the status says it is queued by i never receive them.. any ideas? I already edited /etc/hosts file
You need to tell Sendmail what to do with the email. By default it looks up the MX record for the relevant domain, obviously with no DNS that won't work :)
So, what you need to do is configure a "Smart Host" and put that value in square brackets to tell Sendmail not to do any DNS lookups. Put the following in your sendmail.mc file (replacing the word "mailserver" with the name of the server in /etc/hosts), rebuild sendmail.cf and then restart sendmail:
define(SMART_HOST', [mailserver]')
Note that you'll want to copy and paste - the quotes used are significant. The sendmail documentation details more:
http://www.sendmail.org/doc/sendmail-current/cf/README
-- Please keep list traffic on the list.
Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche
thanks to all of you.. alerts on my hobbit server is now operational..
----- Original Message ----- From: "Rob MacGregor" <rob.macgregor at gmail.com> To: <hobbit at hswn.dk> Sent: Tuesday, July 17, 2007 7:54 PM Subject: Re: [hobbit] hobbit alerts
On 7/17/07, Ryan Jay B. Lapuz <rlapuz at fcpp.fujitsu.com> wrote:
this is the output of tail /var/log/maillog:
Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: from=root, size=48, class=0, nrcpts=1, msgid=<2007 07171059.l6HAxdVN005428 at localhost.localdomain>, relay=root at localhost Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: to=rlapuz at fcpp.fujitsu.com, delay=00:00:00, mailer =esmtp, pri=30048, dsn=4.4.3, stat=queued
the status says it is queued by i never receive them.. any ideas? I already edited /etc/hosts file
You need to tell Sendmail what to do with the email. By default it looks up the MX record for the relevant domain, obviously with no DNS that won't work :)
So, what you need to do is configure a "Smart Host" and put that value in square brackets to tell Sendmail not to do any DNS lookups. Put the following in your sendmail.mc file (replacing the word "mailserver" with the name of the server in /etc/hosts), rebuild sendmail.cf and then restart sendmail:
define(
SMART_HOST',[mailserver]')Note that you'll want to copy and paste - the quotes used are significant. The sendmail documentation details more:
http://www.sendmail.org/doc/sendmail-current/cf/README
-- Please keep list traffic on the list.
Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
What is the output of hostname command
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom E-Mail: tlabelsd at telkom.co.za <mailto:tlabelsd at telkom.co.za> | Office: +27 12 680 3176 | Fax: +27 12 680 3299 | Cell: +27 79 517 5706
From: Ryan Jay B. Lapuz [mailto:rlapuz at fcpp.fujitsu.com] Sent: 17 July 2007 13:20 To: hobbit at hswn.dk Subject: Re: [hobbit] hobbit alerts
this is the output of tail /var/log/maillog:
Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: from=root, size=48, class=0, nrcpts=1, msgid=<2007 07171059.l6HAxdVN005428 at localhost.localdomain <mailto:07171059.l6HAxdVN005428 at localhost.localdomain> >, relay=root at localhost <mailto:relay=root at localhost> Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: to=rlapuz at fcpp.fujitsu.com <mailto:to=rlapuz at fcpp.fujitsu.com> , delay=00:00:00, mailer =esmtp, pri=30048, dsn=4.4.3, stat=queued
the status says it is queued by i never receive them.. any ideas?
I already edited /etc/hosts file
----- Original Message -----
From: Sello Tlabela (SD) <mailto:TlabelSD at telkom.co.za>
To: hobbit at hswn.dk
Sent: Tuesday, July 17, 2007 4:55 PM
Subject: RE: [hobbit] hobbit alerts
Do echo test | mail -s test youremailaddress and then tail -f
/var/log/maillog and check the relay server it should show something similar to below
Message accepted for delivery
The red is your mail relay server you don't have to set it,
The other problem could be that in your /etc/hosts file you
don't have FQDN
127.0.0.1 localhost.localdomain localhost
162.168.2.3 logserver.domain.co.za logserver
Regards,
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail: tlabelsd at telkom.co.za <mailto:tlabelsd at telkom.co.za>
| Office: +27 12 680 3176 | Fax: +27 12 680 3299 | Cell: +27 79 517 5706
From: Ryan Jay B. Lapuz [mailto:rlapuz at fcpp.fujitsu.com]
Sent: 17 July 2007 10:38
To: hobbit at hswn.dk
Subject: Re: [hobbit] hobbit alerts
It is installed in Fedora Core 6. sendmail is already running
but i am not sure of its configuration.
when i check the /var/log/hobbit/notifications.log, i can see
all the alerts but i was not able to receive them though my email.
thanks!
----- Original Message -----
From: Sello Tlabela (SD)
<mailto:TlabelSD at telkom.co.za>
To: hobbit at hswn.dk
Sent: Tuesday, July 17, 2007 4:30 PM
Subject: RE: [hobbit] hobbit alerts
On what machine is Hobbit install, windows or Linux
Sello Tlabela | Ops Specialist | ISS Infrastructure |
Telkom E-Mail: tlabelsd at telkom.co.za <mailto:tlabelsd at telkom.co.za> | Office: +27 12 680 3176 | Fax: +27 12 680 3299 | Cell: +27 79 517 5706
From: Ryan Jay B. Lapuz
[mailto:rlapuz at fcpp.fujitsu.com] Sent: 17 July 2007 06:58 To: hobbit at hswn.dk Subject: [hobbit] hobbit alerts
Good day!
I can't make the hobbit alerts work.. Hobbit server is
installed in a computer w/o dns settings, and we have our own email server. how can I make the hobbit server to send email notifications to our email server on which my email resides?
Please help!
Thanks in advance
Ryan
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
[root at kaidemitsui local]# hostname kaidemitsui ----- Original Message ----- From: Sello Tlabela (SD) To: hobbit at hswn.dk Sent: Tuesday, July 17, 2007 8:17 PM Subject: RE: [hobbit] hobbit alerts
What is the output of hostname command
Edit your /etc/sysconfig/network file and append .domain.com to your hostname eg make it kaidemitsui.yourdomainname.com
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom E-Mail: tlabelsd at telkom.co.za <mailto:tlabelsd at telkom.co.za> | Office: +27 12 680 3176 | Fax: +27 12 680 3299 | Cell: +27 79 517 5706
From: Ryan Jay B. Lapuz [mailto:rlapuz at fcpp.fujitsu.com] Sent: 17 July 2007 14:29 To: hobbit at hswn.dk Subject: Re: [hobbit] hobbit alerts
[root at kaidemitsui local]# hostname kaidemitsui
----- Original Message -----
From: Sello Tlabela (SD) <mailto:TlabelSD at telkom.co.za>
To: hobbit at hswn.dk
Sent: Tuesday, July 17, 2007 8:17 PM
Subject: RE: [hobbit] hobbit alerts
What is the output of hostname command
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
participants (4)
-
henrik@hswn.dk
-
rlapuz@fcpp.fujitsu.com
-
rob.macgregor@gmail.com
-
TlabelSD@telkom.co.za