[Mimedefang] SpamDrop
-ray
ray at ops.selu.edu
Mon Jul 28 18:53:01 EDT 2003
Did some more debugging today. Here is my RESULTS file from a suspect
message:
HX-Spam-Level ****************%20(16.672)
HX-Orig-Rcpts <istu25456 at selu.edu>
S<istu25456 at selu.edu>
Rspamtest at selu.edu
IX-WebMail-UserID 1 Suppressed
F
So i'm fairly certain that MIMEDefang is working, and this is a sendmail
issue. Reading the milter API, i see that smfi_delrcpt will return
MI_SUCCESS even if it doesn't find and delete the recipient, which kinda
blows. BTW I am doing some sendmail masquerading so everything is from
selu.edu. MASQUERADE_AS, allmasquerade and masquerade_envelope. Could
something be monkeying around with the addresses so the address in
@Recipients doesn't exactly match what smfi_delrcpt needs? (smfi_delrcpt
needs an *exact* match, according to docs).
I could have already done this spamdrop with procmail, but i am annoyed
that this works with MD for everyone else. :)
ray
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean http://www.r-a-y.org
Systems Engineer Southeastern Louisiana University
IBM Certified Specialist AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
On Fri, 25 Jul 2003, -ray wrote:
> On Wed, 23 Jul 2003, David F. Skoll wrote:
>
> > On Tue, 22 Jul 2003, -ray wrote:
> >
> > > I'm using this code, which i found in many places, to dump Spam to a
> > > spamdrop, removing original Recipients. It's in filter_end. The
> > > add_header works, and the add_recipient works. But i still get a copy of
> > > the message, as if the delete_recipient does not work (X-Orig_Rcpts
> > > reflects the correct value).
> >
> > It works for me with MD 2.35.
>
> Ok, i'm at wits end now. :) I've upgraded to MD 2.35, and Sendmail to
> 8.12.9. Bumped up milter logging to 9. Milter says the recipients were
> deleted, but they still show up in the to= on the 'Message accepted' line.
>
> Jul 25 19:35:03 norm sm-mta[30143]: h6Q0Ylmm030143: Milter add: header: X-Spam-Level: ****************************** (30.754)
> Jul 25 19:35:03 norm sm-mta[30143]: h6Q0Ylmm030143: Milter add: header: X-Orig-Rcpts: <w0212822 at selu.edu>
> Jul 25 19:35:03 norm sm-mta[30143]: h6Q0Ylmm030143: Milter delete: rcpt <w0212822 at selu.edu>
> Jul 25 19:35:03 norm sm-mta[30143]: h6Q0Ylmm030143: Milter add: rcpt: spamtest at selu.edu
> Jul 25 19:35:03 norm sm-mta[30143]: h6Q0Ylmm030143: Milter add: header: X-Scanned-By: MIMEDefang 2.35
> Jul 25 19:35:03 norm sm-mta[30192]: h6Q0Ylmm030143: to=spamtest at selu.edu,<w0212822 at selu.edu>, delay=00:00:06, xdelay=00:00:00, mailer=esmtp, pri=30541, relay=[192.168.1.87] [192.168.1.87], dsn=2.0.0, stat=Sent (h6Q0Z3VS004033 Message accepted for delivery)
>
> Can anyone tell me what's going on? Or what i should check for next?
> This is on Redhat Advanced Server 2.1. thanks for any info.....
>
> ray
>
More information about the MIMEDefang
mailing list