[Mimedefang] no filtering happening , no errors to be seen - how to troubleshoot?

Gary McLean Gary.McLean at instinet.co.uk
Mon Jun 26 06:34:29 EDT 2006


If you tail -f the maillog, are you actually receiving any emails? Do you
have a MX record for this server?
The logout put you have shown us, does not have any email entries. Are you
actually receiving any emails?

Gary


                                                                           
             "Kitione                                                      
             Lalakomacoi"                                                  
             Sent by:                                                   To 
             mimedefang-bounce         mimedefang at lists.roaringpenguin.com 
             s at lists.roaringpe                                          cc 
             nguin.com                                                     
                                                                   Subject 
                                       [Mimedefang] no filtering happening 
             26/06/2006 11:14          ,      no errors to be seen - how   
                                       to troubleshoot?                    
                                                                           
             Please respond to                                             
             mimedefang at lists.                                             
             roaringpenguin.co                                             
                     m                                                     
                                                                           
                                                                           




I've setup mimedefang to make a spam filtering gateway on FreeBSD 4.7,
sendmail version 8.13.6.20060614 compiled with:DNSMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB
XDEBUG

the install runs without any trouble and the mimedefang and
mimedefang-multiplexor processes start up with no issues.

the milter is called in the .mc file as per the manual
INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T,
T=S:60s;R:60s;E:5m')dnl
(note F=T, this thing should be stopping all deliveries if the milter
doesn't work, however its quite happy to deliver away)

/var/log/maillog tells me as the multiplexor and slaves start up:
Jun 26 04:02:46 emeks sm-mta[75279]: starting daemon
(8.13.6.20060614): SMTP+queueing at 00:30:00
Jun 26 04:02:46 emeks sm-msp-queue[75283]: starting daemon
(8.13.6.20060614): queueing at 00:30:00
Jun 26 04:05:26 emeks mimedefang-multiplexor[73292]: Received SIGTERM:
Stopping slaves and terminating
Jun 26 04:05:26 emeks mimedefang-multiplexor[73292]: Slave 1 resource
usage: req=0, scans=0, user=0.950, sys=0.253, nswap=0, majflt=2,
minflt=8316, maxrss=25780, bi=0, bo=0
Jun 26 04:05:26 emeks mimedefang-multiplexor[73292]: Slave 0 resource
usage: req=0, scans=0, user=0.958, sys=0.241, nswap=0, majflt=9,
minflt=8319, maxrss=25836, bi=725, bo=0
Jun 26 04:05:30 emeks mimedefang[73307]: MIMEDefang-2.57: mi_stop=1
Jun 26 04:06:02 emeks mimedefang-multiplexor[75917]: started;
minSlaves=2, maxSlaves=10, maxRequests=500, maxIdleTime=300,
busyTimeout=600, clientTimeout=10
Jun 26 04:06:02 emeks mimedefang-multiplexor[75917]: Starting slave 0
(pid 75923) (1 running): Bringing slaves up to minSlaves (2)
Jun 26 04:06:02 emeks mimedefang[75932]: MIMEDefang alive.
slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0
doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Jun 26 04:06:02 emeks mimedefang[75932]: Multiplexor alive - entering main
loop
Jun 26 04:06:05 emeks mimedefang-multiplexor[75917]: Starting slave 1
(pid 75939) (2 running): Bringing slaves up to minSlaves (2)
Jun 26 04:06:11 emeks sm-mta[75953]: starting daemon
(8.13.6.20060614): SMTP+queueing at 00:30:00

however nothing actually happens.  No filtering of any sort - i've
added a dummy action_add_header call in filter_end() applied to all
e-mails going through, but it never actually adds any headers.

running md-mx-ctrl msgs tells me that no messages have passed through
the filter, even though i've sent multiple e-mails through.

basically there are no error messages at all.  My question then is,
where should i start my troubleshooting? where do i start hunting for
problems?

any assistance would be appreciated.

Regards,


Kiti
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang







More information about the MIMEDefang mailing list