[EMAIL PROTECTED] wrote:
>
> Ive still got to solve one little problem which is, is there a way to run
> spamlogd on start up via rc.conf, such as spamlogd="YES" ?
>
Not sure if this is the case for spamd,
but the apache httpd installed an rcng script into /usr/pkg/etc/rc.d/,
I just copied into /
> Jeremy C. Reed
Ok, i had my piece of hell with it but i have it working now.
Im using mail/spamd from pkgsrc. I will explain my solutions to my
problems here in case someone is hit by them too.
1) the "__nonexistent_problem" is solved by compiling spamd like this:
env PFCTL=`which pfctl` b
On Thu, 9 Aug 2007, [EMAIL PROTECTED] wrote:
> I also cant find any logs from spamd. there is no /var/log/spamd and
> /var/log/messages only says that spamd is listening.
Run spamd with -v switch for verbose.
By default it logs to both LOG_DAEMON with LOG_INFO and LOG_DEBUG. My
/etc/syslog.conf
Ok,
Im making a slow progress:
Graylisting works, BUT i cannot insert whitelisted entries into the pf
table (spamd-white)
debug output of spamd says:
whitelisted 141.132.64.22
whitelisted 202.125.163.96
whitelisted 203.247.145.54
whitelisted 203.59.222.34
whitelisted 203.87.94.84
whitelisted 204
I also cant find any logs from spamd. there is no /var/log/spamd and
/var/log/messages only says that spamd is listening.
any ideas?
petr
I just went through the change, i telneted into port 25 and spamd welcomed
me, i went through the whole thing:
220 daria.webgate.net.au ESMTP spamd IP-based SPAM blocker; Thu Aug 9
22:19:40 2007
helo mx1.webgate.net.au
250 Hello, spam sender. Pleased to be wasting your time.
mail from: <[EMAIL PR
> [EMAIL PROTECTED] wrote:
>> 42015 spamd-setup CALL execve(0xbfbff370,0xbfbff7c0,0xbfbff8e0)
>> 42015 spamd-setup NAMI "/sbin/__nonexistent__"
>
> It tries to execute __nonexisten__. No wonder that it fails. Something
> in your config must be wrong.
>
> cheers
> simon
>
yeah, but ive neve
[EMAIL PROTECTED] wrote:
42015 spamd-setup CALL execve(0xbfbff370,0xbfbff7c0,0xbfbff8e0)
42015 spamd-setup NAMI "/sbin/__nonexistent__"
It tries to execute __nonexisten__. No wonder that it fails. Something in
your config must be wrong.
cheers
simon
>
> No, we'd need to see where fd 4 is being opened, but maybe that's a
> limitation of ktrace. I could guess that that the pipe is between 3 and
> 4, so we'd have to know what the spamd-setup child is doing. Could you
> run the trace with -i, so that we can see why the child is closing the fd?
>
[EMAIL PROTECTED] wrote:
99940 spamd-setup CALL close(0x3)
99940 spamd-setup RET close -1 errno 9 Bad file descriptor
99940 spamd-setup CALL pipe
99940 spamd-setup RET pipe 3
99940 spamd-setup CALL fork
99940 spamd-setup RET fork 99948/0x1866c
99940 spamd-setup CALL close(0x3)
9
>
> The source hs:
>
> /* check to see if /var/db/spamd exists, if not, create it */
> if ((i = open(PATH_SPAMD_DB, O_RDWR, 0)) == -1 && errno == ENOENT) {
> i = open(PATH_SPAMD_DB, O_RDWR|O_CREAT, 0644);
>
>> Just do a 'touch /var/db/spamd'
>
> Jeremy C. Reed
Hi Jeremy
I just basically followed one of the openbsd guides on the net and they
are redirecting to that subnet. May I ask why that would be a problem
anyway?
This leads me to another question if i redirected to int_if, would that
actually couse a loop?
for whoever asked why is called int if, its just an
On Wed, 8 Aug 2007, Cédric Berger wrote:
> Jeremy C. Reed wrote:
> > On Thu, 9 Aug 2007, [EMAIL PROTECTED] wrote:
> >
> > > but when i run spamd-setup, i get a message after about 10 seconds: Broken
> > > pipe.
> > >
> > > also when i run spamdb it says there is no database in /var/db/spamd.
> >
Jeremy C. Reed wrote:
On Thu, 9 Aug 2007, [EMAIL PROTECTED] wrote:
but when i run spamd-setup, i get a message after about 10 seconds: Broken
pipe.
also when i run spamdb it says there is no database in /var/db/spamd.
Did you start "spamd" and is the daemon still running? (It creates the
da
On Thu, Aug 09, 2007 at 01:22:27AM +1000, [EMAIL PROTECTED] wrote:
> I decided to try spamd/greylisting so I configured pf.conf the following way:
Don't rdr into the 127/8, use a different subnet.
Joerg
Cédric Berger wrote:
What's in the spamd-white table? you don't use quick statements
above, so the latest matching rule takes precedence, maybe not what
you want.
rdr/nat rules are first-match rules anyway. not very intuitive I know...
heh. I suspected that, but thought that the usability
On Thu, 9 Aug 2007, [EMAIL PROTECTED] wrote:
> but when i run spamd-setup, i get a message after about 10 seconds: Broken
> pipe.
>
> also when i run spamdb it says there is no database in /var/db/spamd.
Did you start "spamd" and is the daemon still running? (It creates the
database if it doesn
[EMAIL PROTECTED] wrote:
I decided to try spamd/greylisting so I configured pf.conf the following way:
rdr pass on $int_if proto tcp from to $int_if port smtp ->
127.0.0.1 port smtp
rdr pass on $int_if proto tcp from to $int_if port smtp ->
127.0.0.1 port 8025
rdr pass on $int_if proto tcp fro
Simon 'corecode' Schubert wrote:
[EMAIL PROTECTED] wrote:
rdr pass on $int_if proto tcp from ! to $int_if port smtp ->
127.0.0.1 port 8025
everything gets delivered the normal way.
What's in the spamd-white table? you don't use quick statements above,
so the latest matching rule takes prece
[EMAIL PROTECTED] wrote:
rdr pass on $int_if proto tcp from ! to $int_if port smtp ->
127.0.0.1 port 8025
everything gets delivered the normal way.
What's in the spamd-white table? you don't use quick statements above, so the
latest matching rule takes precedence, maybe not what you want.
c
I decided to try spamd/greylisting so I configured pf.conf the following way:
rdr pass on $int_if proto tcp from to $int_if port smtp ->
127.0.0.1 port smtp
rdr pass on $int_if proto tcp from to $int_if port smtp ->
127.0.0.1 port 8025
rdr pass on $int_if proto tcp from to $int_if port smtp ->
21 matches
Mail list logo