Deleting Bounces for unkown users

Pete pete at eatathome.com.au
Mon Apr 12 00:28:04 IST 2004


Hendrik den Hartog wrote:

>Hello, we'd appreciate some expert help advice.
>
>At our site [a school] we have a high turnover of students.
>We get several emails for students who have left, 99.99%
>[probably 100%] of which are list/spam/etc.
>
>Using Kevin Spicer's methods as per the FAQ, we stop the
>mail for unknown users at the Firewall, this saves them
>being processed by Mailscanner and forwarded to the
>internal server and thats great! (Thanks Kevin).
>
>However, the only option for 'ldap_routing' feature
>is BOUNCE, several sites seem to refuse returned mails,
>so these messages end up sitting in mqueue going through
>the 'motions'
>
>Is there any way to have these messages DELETED instead
>of bounced? or, are there any [safe] scripts around which
>can grep/delete email for 'unknown users' from mqueue?
>
>Any help/advice appreciated
>
>Cheers!
>Hendrik
>
>
>
>
>
Sure is - do you use Exchange or Domino? Do you use postfix or sendmail?

I am sure its possible in exim or whatever but i dont know how - you
simply build recipient lists or access maps.

This is a list of names that are accepted for delivery by your MTA, if
you not on the list then you MTA will drop the ocnnection beofre any
further data is sent -it will have only recieved the who to send it to info.

Its far better to use cron to build your maps thatn doing LDAP lookups
on every inbound mail to reduce load on your newtwork/server.

As i said i dont know how to get this workin for all situations -but am
happy to help you if you use Exchange/Domino and Postfix.



More information about the MailScanner mailing list