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