LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   setting mail on Ubuntu 12.04 for monitoring system (http://www.linuxquestions.org/questions/linux-software-2/setting-mail-on-ubuntu-12-04-for-monitoring-system-4175444809/)

tbaror 01-09-2013 07:42 AM

setting mail on Ubuntu 12.04 for monitoring system
 
Hello ALL,

I am trying to set mail option on server that serve as monitoring server (check_mk)to be able to send mails.

I did install the mail component but its seems not able to send mails i get following message below
My question where should i configure the parameters like mail from and allowed users.
Please advice
Thanks

Code:

Jan  9 12:37:34 it-srv-mn11 postfix/pickup[1911]: E9D8E1A2002E: uid=0 from=<root>
Jan  9 12:37:34 it-srv-mn11 postfix/cleanup[28401]: E9D8E1A2002E: message-id=<20130109103734.E9D8E1A2002E@it-srv-mn11>
Jan  9 12:37:35 it-srv-mn11 postfix/qmgr[1912]: E9D8E1A2002E: from=<root@dalet.com>, size=363, nrcpt=1 (queue active)
Jan  9 12:37:35 it-srv-mn11 postfix/local[28403]: E9D8E1A2002E: to=<tbaror@dalet.com>, relay=local, delay=0.28, delays=0.18/0/0/0.09, dsn=5.1.1, status=bounced (unknown user: "tbaror")
Jan  9 12:37:35 it-srv-mn11 postfix/cleanup[28401]: 220021A20045: message-id=<20130109103735.220021A20045@it-srv-mn11>
Jan  9 12:37:35 it-srv-mn11 postfix/bounce[28404]: E9D8E1A2002E: sender non-delivery notification: 220021A20045
Jan  9 12:37:35 it-srv-mn11 postfix/qmgr[1912]: 220021A20045: from=<>, size=2030, nrcpt=1 (queue active)
Jan  9 12:37:35 it-srv-mn11 postfix/qmgr[1912]: E9D8E1A2002E: removed
Jan  9 12:37:35 it-srv-mn11 postfix/local[28403]: 220021A20045: to=<root@dalet.com>, relay=local, delay=0.18, delays=0.1/0/0/0.08, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Jan  9 12:37:35 it-srv-mn11 postfix/qmgr[1912]: 220021A20045: removed


alieblice 01-10-2013 09:35 AM

what i understand is that you want to be able to send mail from your ubuntu . i use the way in this link its easyer:
http://www.havetheknowhow.com/Config...all-ssmtp.html
there is security problem with above way since you should put your password on server.
you can also setup mail server for this like qmail .


All times are GMT -5. The time now is 05:25 PM.