Re: [Mimedefang] Multiple MIMEDefang instances (was Re: strip down mimedefang-filter to sub filter_recipient for md_check_against_smtp_server checks)

2016-10-11 Thread Marcus Schopen
Hi Dianne,

Am Dienstag, den 11.10.2016, 13:10 -0400 schrieb Dianne Skoll:
> On Tue, 11 Oct 2016 18:07:42 +0200
> Marcus Schopen  wrote:
> 
> > I run milter-greylist and I don't want to run messages into
> > greylisting before I checked if recipients are valid (fills up
> > greylisting database with non existing recipients).
> 
> You can do greylisting from within MIMEDefang.  I'm sure there's some sample
> code in the archives.  That's the way I'd do it.

Hmmm, to be honest I'm not the perl guru to implement all features I use
from milter-greylist in mimedefang. So, running two mimedefang instances
is the solution then?

Ciao
Marcus


___
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@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] Multiple MIMEDefang instances (was Re: strip down mimedefang-filter to sub filter_recipient for md_check_against_smtp_server checks)

2016-10-11 Thread Dianne Skoll
On Tue, 11 Oct 2016 18:07:42 +0200
Marcus Schopen  wrote:

> I run milter-greylist and I don't want to run messages into
> greylisting before I checked if recipients are valid (fills up
> greylisting database with non existing recipients).

You can do greylisting from within MIMEDefang.  I'm sure there's some sample
code in the archives.  That's the way I'd do it.

Regards,

Dianne.
___
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@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] Multiple MIMEDefang instances (was Re: strip down mimedefang-filter to sub filter_recipient for md_check_against_smtp_server checks)

2016-10-11 Thread Marcus Schopen
Hi Dianne,

Am Dienstag, den 11.10.2016, 10:50 -0400 schrieb Dianne Skoll:
> Hi,
> 
> While in principle, you can run multiple MIMEDefang instances, I really
> don't see the point.  MIMEDefang lets you write your policy in Perl,
> so I cannot see a use case that requires more than one instance of
> MIMEDefang.

I run milter-greylist and I don't want to run messages into greylisting
before I checked if recipients are valid (fills up greylisting database
with non existing recipients). My milter order in sendmail.mc looks like
this:

 mimedefang-beforegreylist -> S=inet:6@scanner (recipient check)
 milter-greylist (greylisting and some DNSBL checks)
 mimedefang -> S=inet:60010@scanner (Spamassassin, Clamav etc.)

My idea is to point the socket of both socketnames
(mimedefang-beforegreylist, mimedefang) to the same socket
(S=inet:6@scanner) and then inside mimedefang-filter to check by
which socketname - mimedefang-beforegreylist or mimedefang - mimedefang
is connected, so that mimedefang-beforegreylist does only do recpient
checks. How do I do that? Could you push me into the right direction?

Ciao
Marcus





___
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@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


[Mimedefang] Multiple MIMEDefang instances (was Re: strip down mimedefang-filter to sub filter_recipient for md_check_against_smtp_server checks)

2016-10-11 Thread Dianne Skoll
Hi,

While in principle, you can run multiple MIMEDefang instances, I really
don't see the point.  MIMEDefang lets you write your policy in Perl,
so I cannot see a use case that requires more than one instance of
MIMEDefang.

Regards,

Dianne.
___
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@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang