> hey, 
> 
> i've made a little addition to the filter_begin code
> in the mimedefang-filter script
> 
---snip---
> 
> code:
> 
> sub filter_begin() {
>  
> foreach $recip (@Recipients) {
>    if ($recip =~ /\<.+\@(.+)\>/) {
>       $domain = $1;
>       @mx = mx($domain);
>       unless (@mx) { delete_recipient($recip); }
>    }
> }
> 
> }
> ---------
> 
> i was  wondering if there are maybe possible problems
> you see with this solution, or maybe better ways to
> solve the prolem (maybe on the sendmail level?)
> 

Why don't you use the sendmail features define(`confSEPARATE_PROC',
`true') define(`confTO_QUEUERETURN', `1d') which prevent 1 email to hold
the rest of the queue down (confSEPARATE_PROC) and try for a day to
deliver the mail (confTO_QUEUERETURN)?

You can also use multiple sendmail spool dirs, with separate
queuerunners. Email that cannot be delivered within the hour is moved to
the next spool, where the queuerunner only runs every hour After 4 hours
is is moved to the next one with a runner which checks every 4 hours,
etc.

Cheers, Johan


Disclaimer (http://www.tweedekamer.nl/applicaties/disclaimer_e_mail/index.jsp)
Indien u de link niet kunt openen, neemt u dan contact op met telefoonnummer 
070-3182211. Meer informatie vindt u op de website www.tweedekamer.nl
If you are unable to access the link, please dial +31 70 3182211. Additional 
information is available on the website www.tweedekamer.nl and 
www.houseofrepresentatives.nl

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

Reply via email to