[pf4freebsd] Re: pf and spamd

Jett Tayer jett at sycorax.ath.cx
Wed Sep 15 21:13:01 PDT 2004


yep. i have successfully tried this setup also with OpenBSD. just 
wondering why this doesn't work with FreeBSD :(



On Aug 21, 2004, at 11:40 AM, sam wrote:

> Jett Tayer wrote:
>
>> hello,
>>
>> Im using FreeBSD 5.2.1 and im having problems making pf work with 
>> spamd (mail/spamd)
>> when i try load one of my ip addresses in <spamd> table and try to 
>> telnet
>> to it at port 25 from another server whose ip is added in spamd 
>> table, i can't see the usual:
>>
>> Escape character is '^]'.
>> 220 mybox.myhostname.mydomain ESMTP spamd IP-based SPAM blocker; Sat 
>> Aug 21 11:27:57 2004
>>
>> it just say Trying mybox.myhostname.mydomain... and thats it.
>>
> I haven't test it in FreeBSD, but when I tried it in OpenBSD, it does 
> intentionally making all black-listed email send to thru PF firewall 
> with spamd enabled will be redirected to 127.0.0.1 spamd port 25 which 
> has spamd listening to it and making reply to each of this spamd email 
> very very slow, as a result the sender gets time-out.
>
> From the man page of spamd:
> .....
>
>     pf(4) packet filter is configured to redirect port 25 (SMTP) to 
> this dae-
>     mon, it will attempt to waste the time and resources of the spam 
> sender.
> ....
>
> sam





More information about the freebsd-pf mailing list