On Wed, Sep 21, 2005 at 11:43:15AM -0400, Joseph Brennan wrote:
> I think filtering by final recipient can't be done in a practical way.
> There, if someone takes that as a challenge, good. By final I mean by
> recipient after aliases and .forward files have been applied.
It's a bit of a hack, but you can find where a local recipient actually
gets delivered after aliases, virtusertable, and .forward are applied
with:
sendmail -bv [EMAIL PROTECTED]
if [EMAIL PROTECTED] has their mail sent to [EMAIL PROTECTED], you'll
get output like:
[EMAIL PROTECTED] deliverable: mailer esmtp, host aol.com, user [EMAIL
PROTECTED]
If it's locally deliverable, you'll get:
[EMAIL PROTECTED] deliverable: mailer local, user user
and if it's bogus:
[EMAIL PROTECTED] User unknown
It will add some overhead to your filter, but it's fairly simple to
invoke sendmail -bv on each recipient address and check for aol.com.
You'd probably want to cache the results for a short period of time to
avoid fork-bombing your server with sendmail processes, though.
Cheers,
Dave
--
Dave O'Neill <[EMAIL PROTECTED]> Roaring Penguin Software Inc.
+1 (613) 231-6599 ext. 104 http://www.roaringpenguin.com/
For CanIt technical support, please mail: [EMAIL PROTECTED]
_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang