I have sorted this myself now.. didn't tell postfix the $relay_host. I do have little experience with Linux but I am learning. Thanks for your input anyway.
-----Original Message----- From: Hugo van der Kooij [mailto:hvdko...@vanderkooij.org] Sent: 22 December 2010 14:05 To: Nagios Users List Subject: [SPAM] - Re: [Nagios-users] [SPAM] - Re: nagios mail alerts to exchange - Email found in subject - Email found in subject On Wed, 22 Dec 2010 13:03:09 -0000, "Andrew Fay" <andrew....@ajl.co.uk> wrote: > Thanks but I'd rather use postfix as it's the only linux mailing > system > I have a little experience with Too little to be of much use. So what's the point? > r...@greenland:/# telnet mail-server 25 > Trying 172.24.8.11... > Connected to mail-server.domain.com. > Escape character is '^]'. > 220 mailserver.domain.com Microsoft ESMTP MAIL Service, Version: > 6.0.3790.3959 ready at Thu, 6 Aug 2009 12:36:38 -0400 > helo gmail.com > 250 mail.domain.com Hello [192.168.1.116] > mail from: tes...@gmail.com > 250 2.1.0 tes...@gmail.com....sender OK > rcpt to:recei...@gmail.com > 250 2.1.5 recei...@gmail.com > data > 354 Start mail input; end with <CRLF>.<CRLF> > testing email to google output > , yes > > it all works fine but when I try and send an alert in Nagios I am > getting : > > Dec 21 18:54:22 NAGIOS-SERVER postfix/local[4318]: 906432AA8E: > to=<nagiosrepo...@blah.co.uk>, relay=local, delay=7.6, > delays=7.6/0.01/0/0.03, dsn=5.1.1, status=bounced (unknown user: > "nagiosreports") Obviously your have been testing eggs and are now trying to send apples. Your test should have been identical to something Nagios is trying. So talk to postfix instead of a remote SMTP server and try to mimick the same sender and recipient. > so it obviously isn't going out > > any clues? : ) I think it is safe to say that you may not be the best person to configure this. If you have a business need for this then I guess hiring someone with sufficient knowledge is the best way to getting this started. Hugo. -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc ------------------------------------------------------------------------ ------ Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null o----------------------------------------------------------------------o This Email has been scanned for viruses by Aberdeen Journals' Inbound Email Security Systems. o----------------------------------------------------------------------o o----------------------------------------------------------------------o This Email has been scanned for viruses by Aberdeen Journals' Outbound Email Security Systems. o----------------------------------------------------------------------o ------------------------------------------------------------------------------ Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null