Postby kanderson » Wed Dec 13, 2006 8:25 pm
You aren't sending mail anywhere though. Sendmail wouldn't deal with it any differently.
A smarthost is like specifying a route. It's the next step to find where a message should eventually be delivered. In the case you're talking about, the message should be delivered to the machine it's already on, therefore, it just gets delivered.
This is exactly the same as trying to traceroute localhost (or 127.0.0.1) through some gateway.
Even if you specified it, it wouldn't be used because there is no reason to use it. The message is already at the the place it needs to arrive for delivery.
I've used fetchmail before on production servers, and it works extremely well.