David Rosenstrauch wrote:
On Fri, June 5, 2009 6:23 pm, Magnus Therning wrote:
Mike Sampson wrote:
I have used msmtp. From memory it just consists of a command line utility and a config file containing the mail server you want to use, credentials if used, etc. Worked well for me. There are quite a few tutorials on the web about using it with mutt. It works beautifully. I especially like the ability to have a per-user configuration together with a system config (that beats ssmtp). After replacing dcron by fcron I can now get the cron-output mailed off the machine as well.
Just curious, by the way: msmtp isn't exactly an SMTP "server", correct? It's really just a sendmail replacement, right? (i.e., not a full-fledged SMTP daemon, listening on port 25, etc.)
That is correct.
If that's the case, then I don't think I could use it to replace exim. By using exim on my home server (configured to relay mail out to my ISP), I can VPN in to the server from my laptop and then have Thunderbird on the laptop send mail using the SMTP server on 10.1.0.1:25. A simple sendmail executable on the server wouldn't let me accomplish this.
No, it's not a drop-in replacement for exim, or any other SMTP _server_. The one thing I realised a while back was that I didn't really _need_ a full-fledged server. I read all my email via IMAP and send via my ISP's server. However, some tools I use (e.g. cron and darcs) make use of a command line too to send email (something like /usr/sbin/sendmail). Why do you _need_ an SMTP server? From the sounds of it you could use your ISP's server directly from the laptop via the VPN connection. Either that, or as another poster suggested, use SSH port forwarding to get to the SMTP server. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe