I am migrating my mail server from server A to server B. I have several hundred perl programs on server A that send their output to an e-mail address by piping to /usr/lib/sendmail. I want to disable all mail services from server A, including sendmail, and route all outbound mail delivery through the new mail server on server B. i was thinking of writing a perl script to replace /usr/lib/sendmail -- this script would accept the same arguments as sendmail, and then use the Mail::Sender module to route the message through the mail server on server B. Has anyone done this before, or know of a better solution (other than modifying hundreds of existing scripts!)