LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   evolution setup assistant in ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/evolution-setup-assistant-in-ubuntu-823461/)

linuxlover.chaitanya 08-02-2010 05:21 AM

Quote:

Originally Posted by Xanios (Post 4052454)
Oops, sorry i forgot to put 'sudo'. Too agitated while doing LOL

Hmmmmm....You are learning.

Xanios 08-02-2010 05:27 AM

Hi again,

Sorry >.<

hmm there's a part about SASL file, we have to set passwords for it. How to get into the file? Is it:

Code:

/etc/postfix/sasl
in the links they didn't specify. i assumed it is the above cause for transport it is /etc/postfix/transport


Code:

SASL
You now need to set the SASL passwords. My file looks like this one:
# Contents of sasl_passwd
#
[smtp.gmail.com]:587            mattoxbeckman@gmail.com:password
Of course, replace password and the email address with something appropriate for your system. Again, note the 587... if you leave that off, you will get very confusing log messages like this one:
Jan  4 18:20:30 calvin postfix/smtp[31770]: 49D438A6F:
to=, orig_to=,
relay=smtp.gmail.com[64.233.163.109]:587, delay=7661,
delays=7660/0.1/0.19/0.03, dsn=5.5.1, status=bounced
(host smtp.gmail.com[64.233.163.109] said:
530 5.5.1 Authentication Required 16sm56842404nzo
(in reply to MAIL FROM command))


Xanios 08-02-2010 08:21 PM

Hello again,

i've done configuring postfix to work with Gmail from the help of this http://prantran.blogspot.com/2007/01...untu-with.html

But still, i don't receive emails.

I went to take a look at mailq, i got:

Code:

B2FEB43535    2383 Mon Aug  2 11:09:02  MAILER-DAEMON
(delivery temporarily suspended: Host or domain name not found. Name service error for name=ubuntu.com type=MX: Host not found, try again)
                                        nagios@ubuntu.com
...
-- 6904 Kbytes in 6090 Requests.

and i also went to check in sudo vi /var/log/mail.log

Code:

Aug  1 08:33:50 ubuntu postfix/error[31385]: 5864D4296E: to=<xanios91@gmail.com>, relay=none, delay=239884, delays=239864/20/0/0.02, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
There were like thousands of records in mail.log, i have to scroll down from TOP to BOTTOM to get the latest which is like so frustrating..


This is my /etc/postfix/main.cf:

Code:

xanios@ubuntu:~$ postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
mydestination = $myhostname, $mydomain, localhost.localdomain, localhost
myhostname = ubuntu
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_tls_cert_file = /etc/postfix/FOO-cert.pem
smtp_tls_key_file = /etc/postfix/FOO-key.pem
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = hash:/etc/postfix/transport


What's wrong? I'm confused X_X

linuxlover.chaitanya 08-03-2010 12:13 AM

Can you turn off DNS lookups and see if the error goes. I used Zimbra, which in turn uses postfix, for sometime and disabling DNS lookups can sometime help.

Xanios 08-03-2010 12:36 AM

Hi,

i added

Code:

disable_dns_lookups = yes
in /etc/postfix/main.cf

Still the same result.

Code:

BCC5F42281    2407 Sat Jul 31 10:53:32  MAILER-DAEMON
(delivery temporarily suspended: Host or domain name not found. Name service error for name=ubuntu.com type=MX: Host not found, try again)
                                        nagios@ubuntu.com


/etc/postfix/main.cf:
Code:

xanios@ubuntu:~$ postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
disable_dns_lookups = yes
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
mydestination = $myhostname, $mydomain, localhost.localdomain, localhost
myhostname = ubuntu
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost = [smtp.gmail.com]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_tls_cert_file = /etc/postfix/FOO-cert.pem
smtp_tls_key_file = /etc/postfix/FOO-key.pem
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = hash:/etc/postfix/transport


EricTRA 08-03-2010 12:41 AM

Hello Xanios and good morning (at least here in Spain it is),

You're not sending to GMail apparently.
From your main.cf:
Code:

mydestination = $myhostname, $mydomain, localhost.localdomain, localhost
Mine (that works even without authentication because we are using fixed IP and Google Apps for Enterprises) says:
Code:

mydestination = smtp.gmail.com, localhost, srvnagios.ourdomain.es
Try to put smtp.gmail.com as first destination, restart postfix with:
Code:

sudo /etc/init.d/postfix restart
and try to send mail.

PS: there might be already thousands of mails from Nagios in the queue so if you don't want to get blocked by GMail or your ISP for 'spamming', it's good practice to empty the queues first using:
Code:

sudo postsuper -d ALL
That will empty all the queues.

Kind regards,

Eric

linuxlover.chaitanya 08-03-2010 12:43 AM

You do not have MX record for your domain set properly pointing to the mail server. You first need a A record set in your DNS and then add MX record pointing to the A record.
So in short you need a proper DNS server setup for it.

Xanios 08-03-2010 12:47 AM

Hello Eric and good afternoon (here it is noon already haha :P)

I did as what you said and have added smtp.gmail.com in mydestination

And also emptied the queue.

Now queue is empty

i tried to send a mail to my gmail:

Code:

xanios@ubuntu:~$ mail -s "test mail" -v xanios@gmail.com
test
Cc:
Mail Delivery Status Report will be mailed to <xanios>.
xanios@ubuntu:~$ mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
B305B40A57      158 Mon Aug  2 22:49:42  xanios
                                        xanios@gmail.com

-- 0 Kbytes in 1 Request.

But i did not receive the email in my gmail account. So that means the postfix isn't working?

Xanios 08-03-2010 12:51 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 4053435)
You do not have MX record for your domain set properly pointing to the mail server. You first need a A record set in your DNS and then add MX record pointing to the A record.
So in short you need a proper DNS server setup for it.

Hi there,

I don't really understand. DNS server? x_x
But i don't the server

EricTRA 08-03-2010 01:00 AM

Quote:

Originally Posted by Xanios (Post 4053436)
Hello Eric and good afternoon (here it is noon already haha :P)

I did as what you said and have added smtp.gmail.com in mydestination

And also emptied the queue.

Now queue is empty

i tried to send a mail to my gmail:

Code:

xanios@ubuntu:~$ mail -s "test mail" -v xanios@gmail.com
test
Cc:
Mail Delivery Status Report will be mailed to <xanios>.
xanios@ubuntu:~$ mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
B305B40A57      158 Mon Aug  2 22:49:42  xanios
                                        xanios@gmail.com

-- 0 Kbytes in 1 Request.

But i did not receive the email in my gmail account. So that means the postfix isn't working?

Hello,

Check your log /var/log/messages to see if the mail got sent right away or deferred.

Kind regards,

Eric

Xanios 08-03-2010 01:05 AM

Hi Eric,

is this the right command?:

Code:

sudo vi /var/log/mail.log
The log file is very long, is there a way to scroll easily for today's log?
Because my log first started with Aug 1, and i have to scroll all the way down :X

linuxlover.chaitanya 08-03-2010 01:06 AM

I have not worked with postfix much, but it needs a valid MX record as per my knowledge. Only time I worked with postfix was when I installed Zimbra. And it worked flawlessly with the same configuration as you are trying to do. I was also relaying messages using external SMTP server from Go Daddy where we had email accounts hosted for the domain.

Xanios 08-03-2010 01:15 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 4053453)
I have not worked with postfix much, but it needs a valid MX record as per my knowledge. Only time I worked with postfix was when I installed Zimbra. And it worked flawlessly with the same configuration as you are trying to do. I was also relaying messages using external SMTP server from Go Daddy where we had email accounts hosted for the domain.

Oh, i thought by default the MX record is valid. Hmm.
Postfix seems so hard ):

EricTRA 08-03-2010 01:26 AM

Quote:

Originally Posted by Xanios (Post 4053452)
Hi Eric,

is this the right command?:

Code:

sudo vi /var/log/mail.log
The log file is very long, is there a way to scroll easily for today's log?
Because my log first started with Aug 1, and i have to scroll all the way down :X

Hi,

Vi is an editor and you just want to 'view' the log file. You can use for example:
Code:

less /var/log/messages
to scroll through the log file. You will have to page down to the end though. You could also use:
Code:

tail -n 100 /var/log/messages
which will show you the last 100 lines of the logfile.

Kind regards,

Eric

Xanios 08-03-2010 01:31 AM

Hi,

i used tail -n 100 /var/log/messages

which gives me:

Code:

xanios@ubuntu:~$ tail -n 100 /var/log/messages
Aug  2 23:21:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:21:58 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:08 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:13 ubuntu kernel: [88131.962443] lo: Disabled Privacy Extensions
Aug  2 23:22:28 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:28 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:35 ubuntu kernel: [88154.031782] lo: Disabled Privacy Extensions
Aug  2 23:22:38 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:38 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:22:58 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:08 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:13 ubuntu kernel: [88192.138384] lo: Disabled Privacy Extensions
Aug  2 23:23:28 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:28 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:35 ubuntu kernel: [88214.183440] lo: Disabled Privacy Extensions
Aug  2 23:23:38 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:38 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:58 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:23:58 ubuntu pulseaudio[1811]: ratelimit.c: 11 events suppressed
Aug  2 23:24:08 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:24:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:24:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:24:13 ubuntu kernel: [88252.071441] lo: Disabled Privacy Extensions
Aug  2 23:24:28 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:24:28 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:24:35 ubuntu kernel: [88274.111993] lo: Disabled Privacy Extensions
Aug  2 23:24:38 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:24:38 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:24:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:24:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:24:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:24:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:24:58 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:08 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:13 ubuntu kernel: [88311.963704] lo: Disabled Privacy Extensions
Aug  2 23:25:28 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:28 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:35 ubuntu kernel: [88334.006910] lo: Disabled Privacy Extensions
Aug  2 23:25:38 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:38 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:25:58 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:08 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:13 ubuntu kernel: [88372.110596] lo: Disabled Privacy Extensions
Aug  2 23:26:28 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:28 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:35 ubuntu kernel: [88394.172721] lo: Disabled Privacy Extensions
Aug  2 23:26:38 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:38 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:26:58 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:08 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:13 ubuntu kernel: [88432.043874] lo: Disabled Privacy Extensions
Aug  2 23:27:28 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:28 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:35 ubuntu kernel: [88454.083924] lo: Disabled Privacy Extensions
Aug  2 23:27:38 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:38 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:27:58 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:28:08 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:28:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins server 2003' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:28:08 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:28:13 ubuntu kernel: [88492.015228] lo: Disabled Privacy Extensions
Aug  2 23:28:28 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:28:28 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:28:35 ubuntu kernel: [88514.201929] lo: Disabled Privacy Extensions
Aug  2 23:28:38 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:28:38 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'ubuntu' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:28:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:28:48 ubuntu nagios: Warning: Return code of 126 for check of service 'MYSQL' on host 'wins 7' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:28:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins vista' was out of bounds. Make sure the plugin you're trying to run actually exists.
Aug  2 23:28:48 ubuntu nagios: Warning: Return code of 127 for check of service 'SNMP' on host 'wins xp sp2' was out of bounds. Make sure the plugin you're trying to run actually exists.

That doesn't gives me the mail log so i tried:

Code:

tail -n 100 /var/log/mail.log
Which shows me:
Code:

xanios@ubuntu:~$ tail -n 100 /var/log/mail.log
Aug  2 23:16:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:16:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:16:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:16:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:17:09 ubuntu postfix/trivial-rewrite[32054]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:17:10 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 32054 exit status 1
Aug  2 23:17:10 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:17:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:17:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:17:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:17:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:18:10 ubuntu postfix/trivial-rewrite[32521]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:18:11 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 32521 exit status 1
Aug  2 23:18:11 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:18:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:18:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:18:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:18:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:19:11 ubuntu postfix/trivial-rewrite[544]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:19:12 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 544 exit status 1
Aug  2 23:19:12 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:19:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:19:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:19:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:19:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:20:12 ubuntu postfix/trivial-rewrite[1112]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:20:13 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 1112 exit status 1
Aug  2 23:20:13 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:20:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:20:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:20:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:20:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:21:13 ubuntu postfix/trivial-rewrite[1612]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:21:14 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 1612 exit status 1
Aug  2 23:21:14 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:21:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:21:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:21:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:21:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:22:14 ubuntu postfix/trivial-rewrite[2163]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:22:15 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 2163 exit status 1
Aug  2 23:22:15 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:22:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:22:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:22:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:22:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:23:15 ubuntu postfix/trivial-rewrite[2630]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:23:16 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 2630 exit status 1
Aug  2 23:23:16 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:23:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:23:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:23:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:23:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:24:16 ubuntu postfix/trivial-rewrite[3125]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:24:17 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 3125 exit status 1
Aug  2 23:24:17 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:24:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:24:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:24:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:24:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:25:17 ubuntu postfix/trivial-rewrite[3602]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:25:18 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 3602 exit status 1
Aug  2 23:25:18 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:25:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:25:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:25:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:25:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:26:18 ubuntu postfix/trivial-rewrite[4072]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:26:19 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 4072 exit status 1
Aug  2 23:26:19 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:26:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:26:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:26:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:26:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:27:19 ubuntu postfix/trivial-rewrite[4597]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:27:20 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 4597 exit status 1
Aug  2 23:27:20 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:27:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:27:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:27:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:27:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:28:20 ubuntu postfix/trivial-rewrite[5086]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:28:21 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 5086 exit status 1
Aug  2 23:28:21 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:28:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:28:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:28:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:28:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:29:21 ubuntu postfix/trivial-rewrite[5593]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:29:22 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 5593 exit status 1
Aug  2 23:29:22 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:29:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:29:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:29:58 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:29:58 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]
Aug  2 23:30:22 ubuntu postfix/trivial-rewrite[6069]: fatal: open database /etc/postfix/transport.db: No such file or directory
Aug  2 23:30:23 ubuntu postfix/master[16694]: warning: process /usr/lib/postfix/trivial-rewrite pid 6069 exit status 1
Aug  2 23:30:23 ubuntu postfix/master[16694]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  2 23:30:29 ubuntu postfix/smtpd[16781]: connect from localhost[127.0.0.1]
Aug  2 23:30:29 ubuntu postfix/smtpd[16781]: disconnect from localhost[127.0.0.1]



All times are GMT -5. The time now is 08:51 AM.