[Mimedefang] bounce mail based on To: domain

Ashley M. Kirchner ashley at pcraft.com
Sun Sep 29 21:41:01 EDT 2002


Stefano McGhee wrote:

> TO: serpico.pcraft.com    REJECT
>
> in the sendmail access file.

    That didn't work.  I have this i my access file:

# Domain                        Action
######################################
localhost                       RELAY
127.0.0.1                       RELAY
TO: serpico.pcraft.com          REJECT


    And I tried sending mail to a user at serpico.pcraft.com and it got delivered just fine.  I know my access file is enabled and works.  When I stick this in it:

yeehaw.net        REJECT

    ...and I sent email FROM that domain, it gets rejected just fine.  However I can't get the 'TO:' syntax to work.

--
H | "Life is the art of drawing without an eraser." - John Gardner
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  Director of Internet Operations / SysAdmin    .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave, #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.






More information about the MIMEDefang mailing list