I assume you use an M4 macro file to generate
sendmail.cf?
According to
this blog post, this is how you specify an alternate port number for a Smart Host:
Code:
define(`SMART_HOST’,`isp.smart.host’)dnl
define(`RELAY_MAILER_ARGS’,`TCP $h 587′)dnl
I haven't actually tried this myself, so YMMV.