[milters] Archive

Lists Index Date Thread Search

Article: 1384
From: Tobias Hensel
Date: 2007-01-03 06:04:30 -0500
Subject: milter-length Configuration

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

Hi,
 

i'm not sure about the configuration of milter-length.

I wnat that my my local net is only able to send messages less or equal 10MB

I added 

milter-length-Connect:192.168.1 10M

to my /etc/mail/access und generated the access.db

i did nothing to /etc/milter-length.cf

i edited my mc file as described in the doco und generated my cf file

It seems that all mail goes thruogh. Even if it's greater 10MB

My logs look like that:

avmilter is an antivirus milter that works on my sendmail too.

 

Jan  3 08:26:46 my-sendmail-server sendmail[25086]: starting daemon
(8.12.11.20060308): SMTP+queueing@00:30:00

Jan  3 08:27:06 my-sendmail-server sendmail[25092]: l037R6Jd025092: Milter
(avmilter): init success to negotiate

Jan  3 08:27:06 my-sendmail-server sendmail[25092]: l037R6Jd025092: Milter
(milter-length): init success to negotiate

Jan  3 08:27:06 my-sendmail-server sendmail[25092]: l037R6Jd025092: Milter:
connect to filters

Jan  3 08:27:06 my-sendmail-server milter-length[25095]: j037R625095ff3b
mail=<> ok

Jan  3 08:27:06 my-sendmail-server milter-length[25094]: process ruid=1014
rgid=1001 euid=1014 egid=1001

Jan  3 08:27:06 my-sendmail-server sendmail[25092]: l037R6Jd025092:
milter=milter-length, action=connect, continue

Jan  3 08:27:06 my-sendmail-server sendmail[25092]: l037R6Jd025092:
milter=avmilter, action=mail, continue

Jan  3 08:27:06 my-sendmail-server sendmail[25092]: l037R6Jd025092:
milter=milter-length, action=mail, continue

Jan  3 08:27:06 my-sendmail-server sendmail[25092]: l037R6Jd025092:
milter=avmilter, action=rcpt, continue

Jan  3 08:27:06 my-sendmail-server sendmail[25092]: l037R6Jd025092:
milter=milter-length, action=rcpt, continue

Jan  3 08:27:07 my-sendmail-server sendmail[25092]: l037R6Jd025092:
from=<user1@mydomain>, size=4699, class=0, nrcpts=1, msgid=<200701

030727.l037R6Jd025092@my-sendmail-server >, proto=ESMTP, daemon=MTA,
relay=pc36.swl [192.168.1.136]

Jan  3 08:27:07 my-sendmail-server sendmail[25092]: l037R6Jd025092:
milter=avmilter, action=header, continue

Jan  3 08:27:07 my-sendmail-server last message repeated 8 times

Jan  3 08:27:07 my-sendmail-server sendmail[25092]: l037R6Jd025092:
milter=avmilter, action=eoh, continue

Jan  3 08:27:07 my-sendmail-server sendmail[25092]: l037R6Jd025092:
milter=avmilter, action=body, continue

Jan  3 08:27:07 my-sendmail-server sendmail[25092]: l037R6Jd025092:
milter=milter-length, action=body, continue

Jan  3 08:27:07 my-sendmail-server sendmail[25092]: l037R6Jd025092: Milter
accept: message

Jan  3 08:27:07 my-sendmail-server sendmail[25099]: l037R6Jd025092:
to=<user2@mydomain>, ctladdr=<user1@mydomain> (1004/100), d

elay=00:00:01, xdelay=00:00:00, mailer=local, pri=34959, dsn=2.0.0,
stat=Sent

Jan  3 08:27:38 my-sendmail-server milter-length[25095]: j037R625095ff3b
rcpt=<notify@milter.info> ok

Jan  3 08:27:38 my-sendmail-server milter-length[25095]: j037R625095ff3b
mx-domain=milter.info 554

Jan  3 08:27:38 my-sendmail-server milter-length[25095]: j037R625095ff3b
message rejected by all

Jan  3 08:27:42 my-sendmail-server popper[25167]: Stats: schnitzler 8 556994
0 0 pc58.swl 192.168.1.158 [pop_updt.c:296]

Jan  3 08:29:18 my-sendmail-server sendmail[25374]: l037TI1B025374: Milter
(avmilter): init success to negotiate

Jan  3 08:29:18 my-sendmail-server sendmail[25374]: l037TI1B025374: Milter
(milter-length): init success to negotiate

Jan  3 08:29:18 my-sendmail-server sendmail[25374]: l037TI1B025374: Milter:
connect to filters

Jan  3 08:29:18 my-sendmail-server sendmail[25374]: l037TI1B025374:
milter=milter-length, action=connect, continue

Jan  3 08:29:18 my-sendmail-server sendmail[25374]: l037TI1B025374:
milter=avmilter, action=mail, continue

Jan  3 08:29:18 my-sendmail-server sendmail[25374]: l037TI1B025374:
milter=milter-length, action=mail, continue

Jan  3 08:29:18 my-sendmail-server sendmail[25374]: l037TI1B025374:
milter=avmilter, action=rcpt, continue

Jan  3 08:29:18 my-sendmail-server sendmail[25374]: l037TI1B025374:
milter=milter-length, action=rcpt, continue

Jan  3 08:29:57 my-sendmail-server sendmail[25374]: l037TI1B025374:
from=<user1@mydomain>, size=32189784, class=0, nrcpts=1, msgid=<20

0701030729.l037TI1B025374@my-sendmail-server>, proto=ESMTP, daemon=MTA,
relay=pc36.swl [192.168.1.136]

Jan  3 08:29:57 my-sendmail-server sendmail[25374]: l037TI1B025374:
milter=avmilter, action=header, continue

Jan  3 08:29:57 my-sendmail-server last message repeated 8 times

Jan  3 08:29:57 my-sendmail-server sendmail[25374]: l037TI1B025374:
milter=avmilter, action=eoh, continue

Jan  3 08:29:57 my-sendmail-server sendmail[25374]: l037TI1B025374:
milter=avmilter, action=body, continue

Jan  3 08:30:04 my-sendmail-server last message repeated 497 times

 

What am I doing wrong?

 

Regards,

 

Tobias

 




Lists Index Date Thread Search