On May 23, 2006, at 8:06 PM, Michael Torrie wrote:

I need to configure Sendmail such that it only accepts mail for local
users (local to the box that it is running on), deals with aliases, and then forwards all mail to another server. Currently it is working with
the "MAIL_HUB" directive, but that happily accepts all mail, even for
non-existent users, and sends it to the hub where bad mail is then
bounced.  This is a problem, though, as spam won't have a legitimate
from address and thus the bounce will just hang in the queue and
otherwise cause issues.  I'd rather the connecting server just be told
the user is invalid and cut it off (saves bandwidth).

While this is quite hacktastic, it would do what you are describing.
It will also enable you to do even more complex filtering as well.

http://www.technoids.org/procmailfilter.html

--lonnie

Attachment: smime.p7s
Description: S/MIME cryptographic signature

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to