[Mimedefang] filter_relay

David Hiebert david at keyway.net
Sat Oct 30 16:03:19 EDT 2004


On Fri, 29 Oct 2004, David F. Skoll wrote:

> Date: Fri, 29 Oct 2004 22:12:38 -0400 (EDT)
> From: David F. Skoll <dfs at roaringpenguin.com>
> Reply-To: mimedefang at lists.roaringpenguin.com
> To: mimedefang at lists.roaringpenguin.com
> Subject: Re: [Mimedefang] filter_relay
>
> On Fri, 29 Oct 2004, David Hiebert wrote:
>
> > I was more concerned with the first problem/question though.  No matter
> > how I format the return('REJECT'), the $msg isn't passed to sendmail.
>
> That's odd; it works for me.  Are you going by Sendmail logs, or actually
> telnetting in on port 25 to simulate an SMTP session?  (The logs are
> unreliable; try modifying your filter for test purposes to refuse mail from
> a host you control, and simulate an SMTP session.)
>
> Regards,
>
> David.
> _______________________________________________
> Visit http://www.mimedefang.org and http://www.canit.ca
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>

I've been testing with a host with invalid reverse and another with valid
reverse the entire time.  When return('REJECT') with any $msg is called,
the SMTP connection (telnetting into port 25 and issuing commands
manually) returns "550 5.0.0 Command Rejected" only after issuing the MAIL
FROM: command, rather than upon the connection itself.  I must be missing
something.




David Hiebert
Keyway Internet Services
909-933-3699




More information about the MIMEDefang mailing list