I often send mail from the command line as follows
echo "Test2" | mail -s "testing2"
me@my.domain
I'm on OS X panther, running Postfix. I have a fallback host and mail
is relayed after all the DNS choices time out.
Is it possible to specify the SMTP server in the command line? like
echo "Test2" | mail -s "testing2" -smtp smtp.domain.com
me@my.domain
thus bypassing the DNS attempts.
I don't want to make this a permanent smart host cos this is a laptop
and I wanna keep it with the fallback host config.
Thanx
Roger