<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">MDaemon at <a href="http://fibcom.com">fibcom.com</a></b> <span dir="ltr">&lt;<a href="mailto:MDaemon@fibcom.com">MDaemon@fibcom.com</a>&gt;</span><br>
Date: Mon, Jan 31, 2011 at 6:40 PM<br>Subject: Permanent Delivery Failure<br>To: <a href="mailto:mohit89mlnc@gmail.com">mohit89mlnc@gmail.com</a><br><br><br>The attached message had PERMANENT fatal delivery errors!<br>
<br>
After one or more unsuccessful delivery attempts the attached message has<br>
been removed from the mail queue on this server.  The number and frequency<br>
of delivery attempts are determined by local configuration parameters.<br>
<br>
YOUR MESSAGE WAS NOT DELIVERED TO ANY OF IT&#39;S RECIPIENTS!<br>
<br>
--- Session Transcript ---<br>
 Mon 2011-01-31 18:40:37: Parsing message &lt;xxxxxxxxxxxxxxxxxx\pd50001451601.msg&gt;<br>
 Mon 2011-01-31 18:40:37: *  From: <a href="mailto:mohit89mlnc@gmail.com">mohit89mlnc@gmail.com</a><br>
 Mon 2011-01-31 18:40:37: *  To: <a href="mailto:amit@fibcom.com">amit@fibcom.com</a><br>
 Mon 2011-01-31 18:40:37: *  Subject: storing the logs<br>
 Mon 2011-01-31 18:40:37: *  Message-ID: &lt;<a href="mailto:AANLkTin7feriYDLgMZtazLQD%2ByOjU4hgxWs0_KxBSk9P@mail.gmail.com">AANLkTin7feriYDLgMZtazLQD+yOjU4hgxWs0_KxBSk9P@mail.gmail.com</a>&gt;<br>
 Mon 2011-01-31 18:40:37: *  Route slip host: 202.71.129.104<br>
 Mon 2011-01-31 18:40:37: *  Route slip port: 25<br>
 Mon 2011-01-31 18:40:37: Attempting SMTP connection to [202.71.129.104]<br>
 Mon 2011-01-31 18:40:37: Attempting to send message to smart host<br>
 Mon 2011-01-31 18:40:37: Attempting SMTP connection to [<a href="http://202.71.129.104:25" target="_blank">202.71.129.104:25</a>]<br>
 Mon 2011-01-31 18:40:37: Waiting for socket connection...<br>
 Mon 2011-01-31 18:40:37: *  Connection established (<a href="http://192.5.1.2:1395" target="_blank">192.5.1.2:1395</a> -&gt; <a href="http://202.71.129.104:25" target="_blank">202.71.129.104:25</a>)<br>
 Mon 2011-01-31 18:40:37: Waiting for protocol to start...<br>
 Mon 2011-01-31 18:40:37: &lt;-- 220 smtp ready <a href="http://smtp.bizmail.net4india.com" target="_blank">smtp.bizmail.net4india.com</a><br>
 Mon 2011-01-31 18:40:37: --&gt; EHLO <a href="http://fibcom.com" target="_blank">fibcom.com</a><br>
 Mon 2011-01-31 18:40:37: &lt;-- <a href="http://250-smtp.bizmail.net4india.com" target="_blank">250-smtp.bizmail.net4india.com</a> Hello <a href="http://fibcom.com" target="_blank">fibcom.com</a> [203.101.81.201]<br>
 Mon 2011-01-31 18:40:37: &lt;-- 250-SIZE 57671680<br>
 Mon 2011-01-31 18:40:37: &lt;-- 250-PIPELINING<br>
 Mon 2011-01-31 18:40:37: &lt;-- 250 HELP<br>
 Mon 2011-01-31 18:40:37: --&gt; MAIL From:&lt;<a href="mailto:mohit89mlnc@gmail.com">mohit89mlnc@gmail.com</a>&gt; SIZE=5888<br>
 Mon 2011-01-31 18:40:37: &lt;-- 250 OK<br>
 Mon 2011-01-31 18:40:37: --&gt; RCPT To:&lt;<a href="mailto:amit@fibcom.com">amit@fibcom.com</a>&gt;<br>
 Mon 2011-01-31 18:40:37: &lt;-- 550 relay not permitted<br>
--- End Transcript ---<br>
<br>
<br>
--------------------------------------<br>
LEGAL DISCLAIMER<br>
--------------------------------------<br>
<br>
The information contained in this message may be privileged and confidential<br>
and protected from disclosure. If the reader of this message is not the intended<br>
recipient, or an employee or agent responsible for delivering this message to the<br>
intended recipient, you are hereby notified that any reproduction, dissemination<br>
or distribution of this communication is strictly prohibited. If you have received<br>
this communication in error, please notify us immediately by replying to the<br>
message and deleting it from your computer.<br>
This mail has been checked for viruses. However recipients should undertake<br>
their own virus check. We will not be liable for any losses<br>
<br>
Thank you.<br>
<br>
Fibcom India Limited<br>
<br><br>---------- Forwarded message ----------<br>From: mohit verma &lt;<a href="mailto:mohit89mlnc@gmail.com">mohit89mlnc@gmail.com</a>&gt;<br>To: kernelnewbies &lt;<a href="mailto:kernelnewbies@nl.linux.org">kernelnewbies@nl.linux.org</a>&gt;<br>
Date: Mon, 31 Jan 2011 18:24:50 +0530<br>Subject: storing the logs<br>hi ,<div><br></div><div>my module produces some data (very cititcal) and that i want to log  that to  some disk residing file like log files. So among several ways like using syslog  (and family) ,audit daemon  i am not finding the way to use the functionalities of any of  these subsystems .i mean : practically i am still unable to do that.</div>

<div><br></div><div>can someone point me to some practical implementations used by some other modules or some practically sound articles to achieve this?</div><div><br></div><div><br></div><div>thanks a lot in advance.<br clear="all">

<br>-- <br>........................<div><i>MOHIT VERMA</i></div><br>
</div>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></div><br><br clear="all"><br>-- <br>........................<div><i>MOHIT VERMA</i></div><br>