Paul:

I am intrigued by your mention of using filter_recipient.  I did a
grep on that and can't find it.  Is that part of mimedefang?

Thanks for everyone's help.  I was able to get it to work.  I already
could make it work with access table, but this method does not produce
rejection notices.  The undocumented exclamation point is the key.
How I did it:

access: empty

aliases:
bitbucket /dev/null

local-host-names:
mydomain.com

mailertable:
mydomain.com esmtp:final.mailserver.com

sendmail.mc:

define(`SMART_HOST', `final.mailserver.com')dnl
...
define(`MAIL_HUB', `final.mailserver.com')dnl
FEATURE(`stickyhost')dnl
define(`_VIRTUSER_STOP_ONE_LEVEL_RECURSION_')dnl

relay-domains: empty

virtusertable:
us...@mydomain.com !
@mydomain.com bitbucket


I added define(`_VIRTUSER_STOP_ONE_LEVEL_RECURSION_')dnl to
sendmail.mc as a precaution.  Everything worked without it.
_______________________________________________
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

Reply via email to