Email web statistics from the hosted website using awstats page.

2010-03-08 2 min read Fedora Linux

I want to see the stats for my websites mailed to me directly like Google analytics does. Sure enough I can see them on the hosting cpanel page on awstats, but I dont want to check that everyday. An easier solution would be to have that mailed to my email address everyday using cron. Let’s try to do that today:

First we would need to get the address of the page for the statistics, which would look like this:

Continue reading

Send mail to yourself and read in your favourite client and configure the rules to move to directory.

2010-01-10 2 min read Fedora Linux

By default when you send a mail using sendmail, the mail goes to the default directory. What I wanted to do was, use rss2email, to send the mails and then sort them in different folders depending on the From address.

Sendmail uses procmail to deliver mail locally. So here’s what I had to do:

Configure the rss2email to send the mail to amit@localhost

Next, configure the procmail to deliver mail to my home directory. To do this we will use the procmailrc file in the home directory. The contents of the file are :

Continue reading

Sendmail host map failure issue with sendmail.

2010-01-07 1 min read Linux

I was having this issue for long time with sendmail and not getting time to fix this. Finally today I found the solution.
<span style="font-weight: bold;">define(`confBIND_OPTS&#8217;, `WorkAroundBrokenAAAA&#8217;)dnl
Add the above line in the sendmail.mc file and rebuild sendmail.cf.

Done. Quite simple but really took some time for me to fix.<span style="font-weight: bold;">
Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/Linux" rel="tag">Linux, <a class="performancingtags" href="http://technorati.com/tag/sendmail" rel="tag">sendmail, <a class="performancingtags" href="http://technorati.com/tag/AAAA" rel="tag">AAAA, <a class="performancingtags" href="http://technorati.com/tag/failure" rel="tag">failure

Continue reading

Configure sendmail for SMTP relay with your ISP

2009-09-26 4 min read Linux

http://cri.ch/linux/docs/sk0009.html

I have copied the document from the above link without modifications

Author:  Sven Knispel
Updated:  05-01-2005
Feedback welcome: <a href="mailto:linux@cri.ch">linux@cri.ch
Free service provided by: <a set="yes" linkindex="2" href="http://cri.ch/">www.cri.ch

The following article explains the setup of sendmail for forwarding mails to your ISP&#8217;s smtp server.
It is assumed that you have sendmail up-to-date and configured properly.
_Note: this setup does not work properly for smtp-server using

  <td>
    <div class="text codecolorer">
      SASL
    </div>
  </td>
</tr>
1

(e.g. like

Continue reading
Newer posts