Homer Wilson Smith: > > From: adore.lightlink.com > > echo Subject: ping | /usr/lib/sendmail > buddy%emerald.lightlink....@majesty.lightlink.com > > majesty.lightlink.com returns mail loops back to myself. > > Both running postfix and allow_percent_hack = yes >
Are you lazy? What hostname is named in This is the mail system at XXX I'm sorry etc... What warnings are logged on that host. Maybe that will give you a clue. Wietse > > > ------------------------------------------------------------------------ > 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 > > >