Reply to this topicStart new topicStart Poll

> Glst-mod Compilation Under Freebsd
sc4vengr
Posted: Feb 13 2008, 04:52 PM
Quote Post


Professional
*****

Group: Members
Posts: 206
Member No.: 461
Joined: 12-February 03



Hello all,

Like everyone, spam is getting on my nerves and today I decided to try the GLST-mod by Davide. I had a few issues getting it to compile under FreeBSD-6.2 so if it can help anyone here is what I did.

-unpack the archive (glst-0.26.tar.gz)
-open Makefile.unx with your favorite text editor
-find this line: INCLUDE = -I.
-change it to: INCLUDE = -I/usr/local/include
-find the line: LDFLAGS =
-change it to: LDFLAGS = -L/usr/local/lib
-save and exit your text editor
-as root, type: gmake -f Makefile.unx

Everything should now compile perfectly except for an error referring to the ".depend" file that is not found which doesn't seems to be important. If it still complains about missing files make sure you have GDBM installed:

-cd /usr/ports/databases/gdbm
-make install clean

Hope this helps anyone!


--------------------
You + webcam - clothes - dignity = $
PMEmail Poster
Top
dien_phan
Posted: Feb 14 2008, 07:23 AM
Quote Post


Member
***

Group: Members
Posts: 62
Member No.: 1493
Joined: 1-February 05



Thank you for your post, sc4vengr.

I'm using FreeBSD 6.3 release and am interested in Glst mode. Could you please post glst.conf file you are using?
PMEmail PosterUsers Website
Top
sc4vengr
Posted: Feb 14 2008, 02:23 PM
Quote Post


Professional
*****

Group: Members
Posts: 206
Member No.: 461
Joined: 12-February 03



No problem dien_phan!

Here is my glst.conf, here are some reasons why these IPs are listed:

1. They have a pool of round-robin outbound mail servers that spans more than one /24 netblock.
2. They have software that considers a 4xx temporary mail failure to be a permanent bounce.
3. Their mail servers retry delivery for 4xx failures continually with no delay.
4. Their mail servers either don't retry at all, or have a very long retry delay (more than 5 hours).
5. The mail servers use a unique sender address for each delivery attempt, even for the same piece of mail. (also known as VERP).
6. The mail servers host high volume mailing lists with a general appeal that try to track bounces by using a unique sender address for each mail (also known as VERP).

It looks like facebook mails doesn't get through it tho... This is on my test server.

CODE

root=/mailsrv/glst
rejmsg=451 4.7.1 Please try again later
generr=0
rejerr=3
timeo=1200
exptimeo=3110400
lametimeo=28800
xnet=127.0.0.1,255.255.255.255
xnet=192.168.0.0,255.255.0.0
xnet=204.15.20.0,255.255.255.0
xnet=12.5.136.141,255.255.255.255
xnet=12.5.136.142,255.255.255.255
xnet=12.5.136.143,255.255.255.255
xnet=12.5.136.144,255.255.255.255
xnet=12.107.209.244,255.255.255.255
xnet=63.82.37.110,255.255.255.255
xnet=63.169.44.143,255.255.255.255
xnet=63.169.44.144,255.255.255.255
xnet=64.7.153.18,255.255.255.255
xnet=64.12.137.0,255.255.255.0
xnet=64.12.138.0,255.255.255.0
xnet=64.124.204.39,255.255.255.255
xnet=64.125.132.254,255.255.255.255
xnet=64.233.162.0,255.255.255.0
xnet=64.233.170.0,255.255.255.0
xnet=64.233.182.0,255.255.255.0
xnet=64.233.184.0,255.255.255.0
xnet=65.82.241.160,255.255.255.255
xnet=66.94.237.0,255.255.255.0
xnet=66.100.210.82,255.255.255.255
xnet=66.135.209.0,255.255.255.0
xnet=66.135.197.0,255.255.255.0
xnet=66.162.216.166,255.255.255.255
xnet=66.206.22.82,255.255.255.255
xnet=66.206.22.83,255.255.255.255
xnet=66.206.22.84,255.255.255.255
xnet=66.206.22.85,255.255.255.255
xnet=66.218.66.0,255.255.255.255
xnet=66.218.67.0,255.255.255.255
xnet=66.218.69.0,255.255.255.255
xnet=66.249.82.0,255.255.255.255
xnet=66.27.51.218,255.255.255.255
xnet=66.89.73.101,255.255.255.255
xnet=68.15.115.88,255.255.255.255
xnet=72.14.204.0,255.255.255.0
xnet=152.163.225.0,255.255.255.255
xnet=194.245.101.88,255.255.255.255
xnet=195.235.39.19,255.255.255.255
xnet=195.238.2.0,255.255.255.255
xnet=195.238.3.0,255.255.255.255
xnet=204.60.8.162,255.255.255.255
xnet=204.107.120.10,255.255.255.255
xnet=205.188.139.136,255.255.255.255
xnet=205.188.139.137,255.255.255.255
xnet=205.188.144.207,255.255.255.255
xnet=205.188.144.208,255.255.255.255
xnet=205.188.156.66,255.255.255.255
xnet=205.188.157.0,255.255.255.255
xnet=205.188.159.7,255.255.255.255
xnet=205.206.231.0,255.255.255.255
xnet=205.211.164.50,255.255.255.255
xnet=207.115.63.0,255.255.255.255
xnet=207.171.168.0,255.255.255.255
xnet=207.171.180.0,255.255.255.255
xnet=207.171.187.0,255.255.255.255
xnet=207.171.188.0,255.255.255.255
xnet=207.171.190.0,255.255.255.255
xnet=209.104.63.0,255.255.255.255
xnet=209.132.176.174,255.255.255.255
xnet=211.29.132.0,255.255.255.255
xnet=213.136.52.31,255.255.255.255
xnet=216.136.226.0,255.255.255.0
xnet=216.157.204.5,255.255.255.255
xnet=216.239.56.0,255.255.255.255
xnet=217.158.50.178,255.255.255.255


This is the list that I have found and then converted to the glst.conf format, I would have left the comments inside glst.conf but I wasn't sure about comments support inside this file.

CODE

127.0.0.1       # Of course we don't want to delay ourselves or local users
192.168         # Don't delay our private networks either
10              # Private net (class A)
172.16          # Another private net (inidividual entries, since can't
172.17          #   do a /12 netmask easily
172.18
172.19
172.20
172.21
172.22
172.23
172.24
172.25
172.26
172.27
172.28
172.29
172.30
172.31

# Public Servers

12.5.136.141    # Southwest Airlines (unique sender, no retry)
12.5.136.142    # Southwest Airlines (unique sender, no retry)
12.5.136.143    # Southwest Airlines (unique sender, no retry)
12.5.136.144    # Southwest Airlines (unique sender, no retry)
12.107.209.244  # kernel.org mailing lists (high traffic, unique sender per mail)
63.82.37.110    # SLmail
63.169.44.143   # Southwest Airlines (unique sender, no retry)
63.169.44.144   # Southwest Airlines (unique sender, no retry)
64.7.153.18     # sentex.ca (common pool)
64.12.137       # AOL (common pool) - http://postmaster.aol.com/servers/imo.html
64.12.138       # AOL (common pool)
64.124.204.39   # moveon.org (unique sender per attempt)
64.125.132.254  # collab.net (unique sender per attempt)
#64.233.162     # zproxy.gmail.com (common server pool, bad 451 handling?)
#64.233.170     # rproxy.gmail.com (common server pool, bad 451 handling?)
#64.233.182     # nproxy.gmail.com (common server pool, bad 451 handling?)
#64.233.184     # wproxy.gmail.com (common server pool, bad 451 handling?)
#65.82.241.160  # Groupwise?
66.94.237       # Yahoo Groups servers (common pool, no retry)
66.100.210.82   # Groupwise?
66.135.209      # Ebay (for time critical alerts)
66.135.197      # Ebay (common pool)
66.162.216.166  # Groupwise?
66.206.22.82    # PLEXOR
66.206.22.83    # PLEXOR
66.206.22.84    # PLEXOR
66.206.22.85    # PLEXOR
66.218.66       # Yahoo Groups servers (common pool, no retry)
66.218.67       # Yahoo Groups servers (common pool, no retry)
66.218.69       # Yahoo Groups servers (common pool, no retry)
#66.249.82      # gmail (common server pool, bad 451 handling)
66.27.51.218    # ljbtc.com (Groupwise)
#66.89.73.101   # Groupwise?
#68.15.115.88   # Groupwise?
#72.14.204      # qproxy.gmail.com (common server pool, bad 451 handling?)
152.163.225     # AOL (common pool)
194.245.101.88  # Joker.com (email forwarding server)
195.235.39.19   # Tid InfoMail Exchanger v2.20
195.238.2       # skynet.be (wierd retry pattern, common pool)
195.238.3       # skynet.be (wierd retry pattern, common pool)
#204.60.8.162   # Groupwise?
204.107.120.10  # Ameritrade (no retry)
205.188.139.136 # AOL (common pool)
205.188.139.137 # AOL (common pool)
205.188.144.207 # AOL (common pool)
205.188.144.208 # AOL (common pool)
205.188.156.66  # AOL (common pool)
205.188.157     # AOL (common pool)
205.188.159.7   # AOL (common pool)
205.206.231     # SecurityFocus.com (unique sender per attempt)
205.211.164.50  # sentex.ca (common pool)
207.115.63      # Prodigy (broken software that retries continually with no delay)
207.171.168     # Amazon.com (common pool)
207.171.180     # Amazon.com (common pool)
207.171.187     # Amazon.com (common pool)
207.171.188     # Amazon.com (common pool)
207.171.190     # Amazon.com (common pool)
#209.104.63     # Ticketmaster (poor retry config)
209.132.176.174 # sourceware.org mailing lists (high traffic, unique sender per mail)
211.29.132      # optusnet.com.au (wierd retry pattern and more than 48hrs)
213.136.52.31   # Mysql.com (unique sender)
#216.136.226.0  # Yahoo Mail?
#216.157.204.5  # Groupwise?
#216.239.56     # proxy.gmail.com (common server pool, bad 451 handling?)
217.158.50.178  # AXKit mailing list (unique sender per attempt)


Hope this helps!


--------------------
You + webcam - clothes - dignity = $
PMEmail Poster
Top
dien_phan
Posted: Feb 14 2008, 10:54 PM
Quote Post


Member
***

Group: Members
Posts: 62
Member No.: 1493
Joined: 1-February 05



Many thanks for your post. I hope it is helpful for all freebsd & xmail users.
PMEmail PosterUsers Website
Top
dien_phan
Posted: Mar 13 2008, 08:50 AM
Quote Post


Member
***

Group: Members
Posts: 62
Member No.: 1493
Joined: 1-February 05



Hi,

You receive 'an error referring to the ".depend" file that is not found' because of gdbm.h file not found. You should install in reverse order: first install gdbm port:
cd /usr/ports/databases/gdbm && make install clean
After that edit Makefile.unx as instructed and run gmake -f Makefile.unx. No error guaranteed.

Good luck,
PMEmail PosterUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Documentation and Knowledge Base | Next Newest »

Reply to this topicStart new topicStart Poll