<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>mail on David Hrbáč</title>
    <link>https://www.hrbac.cz/tags/mail/</link>
    <description>Recent content in mail on David Hrbáč</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 15 Feb 2012 11:20:03 +0000</lastBuildDate><atom:link href="https://www.hrbac.cz/tags/mail/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>dovecot-0.99.11-9.EL4 - assertion failed</title>
      <link>https://www.hrbac.cz/2012/02/dovecot-0.99.11-9.el4-assertion-failed/</link>
      <pubDate>Wed, 15 Feb 2012 11:20:03 +0000</pubDate>
      
      <guid>https://www.hrbac.cz/2012/02/dovecot-0.99.11-9.el4-assertion-failed/</guid>
      
      <description>A few days back I&amp;rsquo;m getting this error within /var/log/maillog: file lib.c: line 37 (nearest_power): assertion failed: (num &amp;lt;= ((size_t)1 &amp;lt;&amp;lt; (BITS_IN_SIZE_T-1)))
We are using the latest dovecot package for EL4:
[root@hruska tmp]# rpm -q dovecot dovecot-0.99.11-10.EL4 Package changelog has interesting entry:
[root@hruska ~]# rpm -q --changelog dovecot| head * Tue Aug 09 2011 Michal Hlavinka - 0.99.11-10 - fix potential crash when parsing header names that contain NUL characters (#728674) So, let&amp;rsquo;s go fetch the #728674 entry on https://bugzilla.</description>
      
    </item>
    
    <item>
      <title>DNSBL for Horde</title>
      <link>https://www.hrbac.cz/2011/01/dnsbl-for-horde/</link>
      <pubDate>Wed, 05 Jan 2011 09:57:46 +0000</pubDate>
      
      <guid>https://www.hrbac.cz/2011/01/dnsbl-for-horde/</guid>
      
      <description>Here we go with a small patch to implement DNSBL for Horde. I have again used PEAR package, this time it is the Net_DNSBL, and as usually CentOS package is in my repos - http://fs12.vsb.cz/hrb33/el5/hrb/stable/i386/repoview/php-pear-Net-DNSBL.html. The first patch is the important one. We let the attacker to log in, just to make sure he/she owns valid stolen credentials.
\--- imp/lib/Auth/imp.php.orig 2011-01-05 10:21:05.224155622 +0100 +++ imp/lib/Auth/imp.php 2011-01-05 10:39:24.699438519 +0100 @@ -146,6 +146,36 @@ return false; } + # DNSBL START + ini\_set(&amp;#39;include\_path&amp;#39;, ini\_get(&amp;#39;include\_path&amp;#39;).</description>
      
    </item>
    
    <item>
      <title>avgd stops listening on port 54322</title>
      <link>https://www.hrbac.cz/2010/08/avgd-stops-listening-on-port-54322/</link>
      <pubDate>Mon, 30 Aug 2010 08:08:44 +0000</pubDate>
      
      <guid>https://www.hrbac.cz/2010/08/avgd-stops-listening-on-port-54322/</guid>
      
      <description>Last days I&amp;rsquo;m experiencing avgd not responding. Avgd stops to listen on port 54322, amavisd-new timeouts on talking to AV. Mails are being held and queue is slowly increasing its number. It&amp;rsquo;s strange, that I&amp;rsquo;m experiencing it not only on one production system&amp;hellip;
Aug 29 04:59:46 rakosnicek amavis\[25940\]: (25940-01-5) (!)AVG Anti-Virus av-scanner FAILED: run\_av error: Too many retries to talk to 127.0.0.1:54322 (timed out) at (eval 111) line 373.\\n It seems working after changing a little bit AVG configuration with following values:</description>
      
    </item>
    
    <item>
      <title>Squirrelmail and safe mode</title>
      <link>https://www.hrbac.cz/2010/02/squirrelmail-and-safe-mode/</link>
      <pubDate>Mon, 01 Feb 2010 21:18:41 +0000</pubDate>
      
      <guid>https://www.hrbac.cz/2010/02/squirrelmail-and-safe-mode/</guid>
      
      <description>chown apache: /etc/squirrelmail/* chown apache: -R /var/lib/squirrelmail/ chown apache: -R /usr/share/squirrelmail chown apache: -R /var/spool/squirrelmail/attach/ cd /usr/share/squirrelmail/plugins/ wget http://squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrelmail.org%2Fplugins%2Fcompatibility-2.0.15-1.0.tar.gz tar xvzf compatibility-2.0.15-1.0.tar.gz cd /usr/share/squirrelmail/plugins/compatibility patch -p0 &amp;lt; patches/compatibility_patch-1.4.8.diff chown apache: -R /usr/share/squirrelmail cd /usr/share/squirrelmail/plugins/ wget http://squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrelmail.org%2Fplugins%2Fmsg_flags-1.4.20-1.4.3.tar.gz tar xvzf msg_flags-1.4.20-1.4.3.tar.gz cd /usr/share/squirrelmail/plugins/msg_flags patch -p0 &amp;lt; patches/msg_flags-squirrelmail-1.4.3a.diff chown apache: -R /usr/share/squirrelmail #safemode php_admin_value safe_mode_include_dir /usr/share/pear/ php_admin_value safe_mode_exec_dir /usr/share/squirrelmail php_admin_value open_basedir &amp;#34;/usr/share/pear/:/usr/share/squirrelmail/:/var/lib/squirrelmail/prefs/:/etc/squirrelmail/:/var/spool/squirrelmail/attach/&amp;#34; --- class/deliver/Deliver.class.php.orig	2010-01-30 23:22:20.000000000 +0100 +++ class/deliver/Deliver.class.php	2010-01-30 23:22:39.000000000 +0100 @@ -430,7 +430,7 @@ if (isset($encode_header_key) &amp;amp;&amp;amp; trim($encode_header_key)!</description>
      
    </item>
    
    <item>
      <title>Zoner Antivirus with Amavisd-new</title>
      <link>https://www.hrbac.cz/2010/02/zoner-antivirus-with-amavisd-new/</link>
      <pubDate>Mon, 01 Feb 2010 21:05:04 +0000</pubDate>
      
      <guid>https://www.hrbac.cz/2010/02/zoner-antivirus-with-amavisd-new/</guid>
      
      <description>Today I have decided to test Amavisd-new with free Zoner Antivirus for Linux. First of all you have to download the package, (test it), install, and change the ownership. Then edit the configuration.
wget http://update.zonerantivirus.com/download/zav-1.2.2-redhat-i586.rpm --nodeps rpm -Uhv zav-1.2.2-redhat-i586.rpm --test rpm -Uhv zav-1.2.2-redhat-i586.rpm chown amavis: /opt/zav -R chown amavis: /var/run/zav -R vi /etc/zav/zavd.conf So, we have changed the ownership. Now we have to change the daemon user to amavis too.</description>
      
    </item>
    
    <item>
      <title>Send file as attachment from commnad line</title>
      <link>https://www.hrbac.cz/2010/01/send-file-as-attachment-from-commnad-line/</link>
      <pubDate>Mon, 18 Jan 2010 13:04:28 +0000</pubDate>
      
      <guid>https://www.hrbac.cz/2010/01/send-file-as-attachment-from-commnad-line/</guid>
      
      <description>There&amp;rsquo;s an easy way of sending files as attachment from command line:
uuencode file name | mail -s &amp;#34;Subject&amp;#34; &amp;#34;to@tld.cz&amp;#34; -- -ffrom@tld.cz Yes, there is double hyphen and -f before the from email address.</description>
      
    </item>
    
    <item>
      <title>AVG 8.5 with Amavisd-new</title>
      <link>https://www.hrbac.cz/2009/10/avg-8.5-with-amavisd-new/</link>
      <pubDate>Tue, 13 Oct 2009 13:35:31 +0000</pubDate>
      
      <guid>https://www.hrbac.cz/2009/10/avg-8.5-with-amavisd-new/</guid>
      
      <description>Amavisd-new is a quite powerful tool capable to co-operate with a large amount of AV scanners. Today I have decided to test it with free AVG Antivirus for Linux. First of all you have to download the package, (test it), install, and change the ownership. Then edit the configuration.
wget http://download.avgfree.com/filedir/inst/avg85flx-r287-a2632.i386.rpm rpm -Uhv avg85flx-r287-a2632.i386.rpm --test rpm -Uhv avg85flx-r287-a2632.i386.rpm chown amavis: /opt/avg -R vi /opt/avg/avg8/etc/init.d/avgdinit.conf So, we have changed the ownership. Now we have to change the daemon user to amavis too.</description>
      
    </item>
    
  </channel>
</rss>
