That's what I'm starting to think...
hostname.sis0: (management interface)
inet xxx.xxx.xxx.xxx 255.255.255.0 NONE
hostname.sis1:
up
hostname.sis2:
up
bridgename.bridge0:
add sis1
add sis2
up
pf.conf: (as per http://undeadly.org/cgi?
action=article&sid=20061108134508)
ext_if="sis1"
mailserver="xxx.xxx.xxx.xxx"
table <spamd> persist
table <spamd-white> persist
rdr pass on $ext_if proto tcp from <spamd> to port smtp \
-> 127.0.0.1 port spamd
rdr pass on $ext_if proto tcp from !<spamd-white> to port smtp \
-> 127.0.0.1 port spamd
# "log" so you can watch the connections getting trapped
pass in log on $ext_if route-to lo0 inet proto tcp to 127.0.0.1 port
spamd
# log smtp sessions to and from the mailserver
pass in log on $ext_if proto tcp to $mailserver port smtp keep state
pass out log on $ext_if proto tcp from $mailserver to any port smtp
keep state
rc.conf:
...
spamd_flags="-G 5:4:864 -v"
spamd_grey=YES
spamlogd_flags=""
...
syslog.conf:
!spamd
*.* /var/log/spamd
On 9-Jan-07, at 9:14 AM, Bob Beck wrote:
Sounds to me like your pf rules and/or bridge setup
are not set up correctly to allow the connections to be redirected.
-Bob
* Stephen Schaff <[EMAIL PROTECTED]> [2007-01-08 18:52]:
tail -f /var/log/daemon shows:
Jan 8 02:23:38 spamd spamd[4966]: listening for incoming
connections.
That's it.
Stephen
On 8-Jan-07, at 3:54 AM, edgarz wrote:
They should be.
tail -f /var/log/daemon
there they are.
Stephen Schaff wrote:
I've set up spamd on a soekris bridge. It seems to be working for
the most part. However, when I used spamdb to view the database -
it only shows WHITE entries. It appears there are no GREY entries.
Have I configured things incorrectly?
Also, if I try to send mail from a remote mail client, using the
mail server behind spamd, it won't allow the connection. I have to
use my shaw smtp server, or some other one to get the mail to
send. Any ideas on how to configure it so that I can use my main
mail server to send messages?
Config files:
pf.conf:
ext_if="sis1"
mailserver="<my mail server IP>"
table <spamd> persist
table <spamd-white> persist
rdr pass on $ext_if proto tcp from <spamd> to port smtp \
-> 127.0.0.1 port spamd
rdr pass on $ext_if proto tcp from !<spamd-white> to port smtp \
-> 127.0.0.1 port spamd
# "log" so you can watch the connections getting trapped
pass in log on $ext_if route-to lo0 inet proto tcp to 127.0.0.1
port spamd
# log smtp sessions to and from the mailserver
pass in log on $ext_if proto tcp to $mailserver port smtp keep
state
pass out log on $ext_if proto tcp from $mailserver to any port
smtp keep state
rc.conf:
spamd_flags="-v"
spamd_grey=YES
spamlogd_flags=""
!DSPAM:45a2227782793355514740!
--
#!/usr/bin/perl
if ((not 0 && not 1) != (! 0 && ! 1)) {
print "Larry and Tom must smoke some really primo stuff...\n";
}