On Wed, Dec 3, 2008 at 12:05, Stephen Liu
<satimis(a)yahoo.com> wrote:
Hi Gustavo,
I'll make 2 tests;
1)
test1 - USING TEXT FILE
2)
test2 - USING MYSQL
I have cloned an image of the routing mail server for test2. Now
proceed test1 first.
--- Gustavo Luiz Duarte <gustavold(a)gmail.com> wrote:
> Hi Stephen,
>
> You could use the transport table if the string "smtp:" wasn't
there.
> Do you really want to use mysql for the
lookup? If you have only 3
> domain you could use a text file.
>
> USING TEXT FILE:
> $ cat << END > /etc/perdition_lookup.txt
> satimis.dnsalias.com:192.168.0.209
> satimis.changeip.net:192.168.0.208
> satimis.com:192.168.0.210
> END
>
> $ makegdbm /etc/perdition_lookup.gdbm.db <
/etc/perdition_lookup.txt
$ perdition -m /etc/perdition_lookup.gdbm.db --query_key "\d"
Package installed - perdition-mysql
# apt-cache policy perdition-mysql
perdition-mysql:
Installed: 1.17-7etch1
Candidate: 1.17-7etch1
Version table:
*** 1.17-7etch1 0
500
http://ftp.au.debian.org etch/main Packages
500
http://security.debian.org stable/updates/main Packages
100 /var/lib/dpkg/status
# cat << END > /etc/perdition_lookup.txt
satimis.dnsalias.com:192.168.0.209
satimis.changeip.net:192.168.0.208
satimis.com:192.168.0.210
END
# which makegdbm
/usr/bin/makegdbm
# which perdition
/usr/sbin/perdition
# makegdbm /etc/perdition_lookup.gdbm.db <
/etc/perdition_lookup.txt
# perdition -m /etc/perdition_lookup.gdbm.db --query_key "\d"
both without complaint
Now I haven't figured out how to test perdition. There are 2
databases
running on this routing mail server, MySQL maildb
and
perdition_lookup.gdbm.db. Do I need to stop MySQL maildb to test
perdition? How can the remote mail clients connect their mail
servers?
What server settings shall I use? Please shed
me some light. TIA
No need for stopping you MySQL.
If everything is wright (I haven't tested, I can have skipped
something), you can point your mail clients to the hostname where
perdition is installed and use it normally.
Sorry I can't resolve how can the mail client (Evolution) find its
server over Internet with following settings;