Wow.

------------------------------------------------------------------------
Homer Wilson Smith   Clean Air, Clear Water,    Art Matrix - Lightlink
(607) 277-0959       A Green Earth, and Peace,  Internet, Ithaca NY
ho...@lightlink.com  Is that too much to ask?   http://www.lightlink.com

On Mon, 16 Dec 2013, Wietse Venema wrote:

Homer Wilson Smith:
      We are trying to get server A, to send mail through many other
servers, back to server A.

What about

   $ echo Subject: ping | /usr/sbin/sendmail user%hosta@hostb \
        user%hosta@hostc user%hosta@hostd

Out of the box (*), Postfix will send mail to hostb, hostc, and hostd
that they are supposed to deliver to user@hosta.

(*) main.cf:allow_percent_hack=yes

     It would be useful if the 'smart host' could be specified on
the sendmail command line, but alas I don't think this is possible.

Sorry, that would open up all kinds of security holes.

        Wietse

Reply via email to