I have Postfix suite installed locally on Ubuntu 10.10. I can send/receive mail to my local address, e.g. user@local.com
. I'm given credentials to a remote mail server mailbox, e.g. other@remote.com
.
What command line incantation on my local box would connect me to SMTP server at remote.com
providing username and password and send mail through it?
I've read sendmail
and smtp
manpages but that didn't give me any clue.