Finally, I was able to nail down the PBL problems I had with my qmail server. I was able to use Outlook 2007/2003 to use my pop/smtp. To use Outlook 2007, you should have the ff settings:
1. Tools -> Account Settings.
2. Click on the desired account
3. Click on “More Settings” button
4. In the outgoing server tab, ensure that you have “My outgoing server (SMTP) requires authentication” checked.
5. In the outgoing server tab, ensure that you have “Use same settings as my incoming mail server” checked.
6. In the Advanced Tab, you can set it to “Auto”
Spamhaus problem. 451 http://www.spamhaus.org/query/bl?ip=219.142.133.68.
You can remove spamhaus when you send email, but that’s quite dangerous. If you want to completely remove the PBL checking,
1. Check your blacklist settings. You can remove the line below, or change it to an PBL listings like http://forum.qmailrocks.org/archive/index.php/t-3103.html
more /var/qmail/control/blacklist
-r sbl.spamhaus.org
2. Restart qmail
/etc/init.d/qmailctl stop
/etc/init.d/qmailctl start
553 sorry, that domain isn’t in my list of allowed rcpthosts (#5.5.3 – chkuser)
Here’s a good description of the problem on relaying. http://www.palomine.net/qmail/relaying.html
. If you “enabled smtp authentication” and used your settings for loggin-in, then this would not happen. I experienced this when I changed my Outlook 2007 settings to “Log on to incoming mail server before sending mail”.
References: http://www.peternew.co.uk/?p=85
http://www.spamhaus.org/sbl/howtouse.html
A default install of mysql on debian would have bind-address set to 127.0.0.1. This is why you can’t accept remote connections to your mysql. In order to establish remote connections to mysql on debian servers, please comment the bind-address as shown below.
42 language = /usr/share/mysql/english
43 skip-external-locking
44 #
45 # Instead of skip-networking the default is now to listen only on
46 # localhost which is more compatible and is not less secure.
47 #bind-address = 127.0.0.1
48 #
httpd.conf:
++++++++++++++++++++++++++++++++++++++
DAV svn
SVNPath /repos
AuthzSVNAccessFile /repos/svn-authorization-file
AuthType Basic
AuthName “Subversion repository”
AuthUserFile /repos/svn-auth-file
Require valid-user
/repos/svn-authorization-file:
++++++++++++++++++++++++++++++++++++++
[repos:/]
rupert=rw
andrew=rw
tony=rw
[repos:/web/cybersoftjs/trunk]
anonymous=r
[repos:/web/poimgr]
jake=r
For desktops, I do have ntpd installed to sync the time…
1. apt-get install ntpdate
2. /etc/init.d/ntpd stop
3. ntpdate clock.fmt.he.net
Note: You need to stop ntpd before doing an ntpdate..
By default, we can install mapserver using etch stable from a debian mirror using apt-get. Final results were almost close as expected, however, I need mapserver with TIFF support to be able to display my satellite images. Thus, recompilation is necessary. Below is the binary version difference for both installation procedures.
Nevertheless, it is worth noting that ‘apt-get’ significantly boost the installation of mapserver. I highly suggest to install mapserver using apt-get and use source compilation only if necessary.
a) mapserver installed using apt-get
rupert-debian:/usr/lib/cgi-bin# ./mapserv -v
MapServer version 4.10.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=TIFF INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
Installation instructions for a:
1. apt-get install g++ libgd2-xpm libgd2-xpm-dev libcurl3 zlib1g-dev libgd-dev libtiff4 libtiff4-dev libapache2-mod-python python-imaging
2. apt-get install php5-cgi php5-common php5-curl php5-dev php5-gd php5-mysql php5-pgsql php5-sqlite php5-xsl libapache2-mod-php5
3. apt-get install python2.5 python2.5-dev python2.5-examples
4. apt-get install mysql-client-5.0 mysql-server-5.0 mytop mysql-admin mysql-admin-common libmysqlclient15-dev libdbd-mysql-perl libdbd-mysql-ruby mtop
5. apt-get install postgresql-common postgresql-8.2 postgresql-client-8.2 postgresql-contrib-8.2 postgresql-8.2-plr postgresql-8.2-plruby postgresql-8.2-postgis postgresql-plperl-8.2 postgresql-plpython-8.2 postgresql-pltcl-8.2 libpq4
6. apt-get install gdal-bin cgi-mapserver mapserver-bin mapserver-doc perl-mapscript php5-mapscript python-mapscript
b. mapserver compiled
rupert-debian:/usr/lib/cgi-bin# ./mapserv_default -v
MapServer version 4.10.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
Installation instructions for b:
#tar -zxvf geos-3.0.0rc4
#./configure
#make
#make install
#modify /etc/apt/sources.list and uncomment testing
deb http://mirrors.geekbone.org/debian testing main
deb-src http://mirrors.geekbone.org/debian testing main
deb http://mirrors.geekbone.org/debian etch main
deb-src http://mirrors.geekbone.org/debian etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
#apt-get update
#apt-get install postgresql-8.2-postgis
#tar -zxvf mapserver-4.10.2.tar.gz
#./configure \
--with-jpeg \
--with-gd \
--with-freetype \
--with-png \
--with-ogr \
--with-proj \
--with-gdal \
--with-httpd=/usr/sbin/apache2 \
--with-tiff \
--with-wfs \
--with-wcs \
--with-threads \
--with-wmsclient \
--with-wfsclient \
--with-geos \
--with-postgis \
--enable-debug
#make
#make install
#cp -Rf mapserv /usr/local/cgi-bin/