Re: Spamd question with Spamtrap

2017-03-28 Thread Boudewijn Dijkstra

Op Mon, 13 Mar 2017 18:25:30 +0100 schreef Mik J :
Spamd has been really efficient in blocking spam. A few of them passed  
through once in a while but there's no discomfort.


So this is not really an OpenSMTPd question.


But, I'm not able to use spamtrap.
# spamdb -T -a ""


The example in the manpage doesn't use angle brackets. Remove them.


# spamdb | grep SPAMTRAP
SPAMTRAP|
But when I telnet port 25 and try to send a mail, a GREY entry is  
created, and after the holdtime mail are passing through


When a SPAMTRAP is hit, no GREY entry is created.



--
Gemaakt met Opera's e-mailprogramma: http://www.opera.com/mail/



Spamd question with Spamtrap

2017-03-13 Thread Mik J
Hello,
Spamd has been really efficient in blocking spam. A few of them passed through 
once in a while but there's no discomfort.

But, I'm not able to use spamtrap.
#spamdb -T -a ""# spamdb | grep SPAMTRAP
SPAMTRAP|
But when I telnet port 25 and try to send a mail, a GREY entry is created, and 
after the holdtime mail are passing through
1) During the GREY phase, my PF redirects connections to spamdmatch in on 
$ext_if proto tcp to $ext_if port 25 rdr-to $mailserver port 25
pass in quick on $ext_if proto tcp from any to $mailserver port 25 divert-to 
127.0.0.1 port 8025

2) But after the holdtime flows by pass spamd and go directly to the mail 
serverpass in log (to pflog1) quick on $ext_if proto tcp from  to 
$mailserver port 25 flags S/SA modulate state
And I placed PF rules in this ordermatch in on $ext_if proto tcp to $ext_if 
port 25 rdr-to $mailserver port 25pass in log (to pflog1) quick on $ext_if 
proto tcp from  to $mailserver port 25 flags S/SA modulate state
pass in quick on $ext_if proto tcp from any to $mailserver port 25 divert-to 
127.0.0.1 port 8025
Do you see anything abnormal or have advice ?
Regards