Re: ssh-agent (was: using a remote IMAP server and smarthost)

2007-08-30 Thread Ken Irving
On Thu, Aug 30, 2007 at 01:00:44AM +0200, Florian Kulzer wrote: > On Tue, Aug 28, 2007 at 20:09:03 +0100, Richard Lyons wrote: > > But, again if I understand Florian's earlier post, Method 2 requires the > > use of sssh-agent. And I cannot see fromt he man page how to use it or > > configure it. >

Re: ssh-agent (was: using a remote IMAP server and smarthost)

2007-08-30 Thread Richard Lyons
On Thu, Aug 30, 2007 at 05:58:11PM +0200, Florian Kulzer wrote: [...] > I don't think you need port > forwarding if you have the remote execution of msmtp working, no matter > where you are. Just add your laptop's id_*.pub identities to > ~/.ssh/authorized_keys on the vm. Of course. It is amazin

Re: ssh-agent (was: using a remote IMAP server and smarthost)

2007-08-30 Thread Florian Kulzer
On Thu, Aug 30, 2007 at 12:59:10 +0100, Richard Lyons wrote: > On Thu, Aug 30, 2007 at 01:00:44AM +0200, Florian Kulzer wrote: [...] > > Ssh-agent is part of the openssh-client package. It should be started > > with every X session by the /etc/X11/Xsession.d/90x11-common_ssh-agent > > script. (Se

Re: ssh-agent (was: using a remote IMAP server and smarthost)

2007-08-30 Thread Richard Lyons
On Thu, Aug 30, 2007 at 01:00:44AM +0200, Florian Kulzer wrote: > On Tue, Aug 28, 2007 at 20:09:03 +0100, Richard Lyons wrote: > > On Sun, Aug 26, 2007 at 12:27:32AM +0200, Florian Kulzer wrote: > > > # activated by this option in ~/.muttrc: > > > # set sendmail="/path/to/sendmail-via-ssh.sh" > >

Re: ssh-agent (was: using a remote IMAP server and smarthost)

2007-08-29 Thread Florian Kulzer
On Tue, Aug 28, 2007 at 20:09:03 +0100, Richard Lyons wrote: > On Sun, Aug 26, 2007 at 12:27:32AM +0200, Florian Kulzer wrote: > [...] > > Method 2: > > - > > > > You can set up mutt's sendmail command to use a short script which > > invokes ssh to run sendmail on myvm directly. This requi

ssh-agent (was: using a remote IMAP server and smarthost)

2007-08-28 Thread Richard Lyons
On Sun, Aug 26, 2007 at 12:27:32AM +0200, Florian Kulzer wrote: [...] > Method 2: > - > > You can set up mutt's sendmail command to use a short script which > invokes ssh to run sendmail on myvm directly. This requires that > sendmail works on myvm, though. The advantage is that you don't

SOLVED: Re: smtp to bytemark.co.uk smarthost (was: using a remote IMAP server and smarthost)

2007-08-28 Thread Richard Lyons
On Tue, Aug 28, 2007 at 10:03:36AM -0500, Owen Heisler wrote: > On Tue, 2007.08.28 13:41, Richard Lyons wrote: > > On Mon, August 27, 2007 10:44, Florian Kulzer wrote: > > > On Mon, Aug 27, 2007 at 08:41:36 +0100, Richard Lyons wrote: > > >> Done that. Sending from the VM, now I get > > >> > > >>

Re: smtp to bytemark.co.uk smarthost (was: using a remote IMAP server and smarthost)

2007-08-28 Thread Owen Heisler
On Tue, 2007.08.28 13:41, Richard Lyons wrote: > On Mon, August 27, 2007 10:44, Florian Kulzer wrote: > > On Mon, Aug 27, 2007 at 08:41:36 +0100, Richard Lyons wrote: > >> Done that. Sending from the VM, now I get > >> > >> msmtp: the server does not support DSN > >> msmtp: could not send mail (ac

Re: smtp to bytemark.co.uk smarthost (was: using a remote IMAP server and smarthost)

2007-08-28 Thread Richard Lyons
On Mon, August 27, 2007 10:44, Florian Kulzer wrote: > On Mon, Aug 27, 2007 at 08:41:36 +0100, Richard Lyons wrote: >> On Sun, August 26, 2007 22:53, Florian Kulzer wrote: >> [...] >> > #- >> > tls off >> > host FULLY_QUALIFIED_DOMAIN_NAME_OR_IP_OF_SMARTHOST >> > from YOUR_E

Re: smtp to bytemark.co.uk smarthost (was: using a remote IMAP server and smarthost)

2007-08-28 Thread Richard Lyons
On Mon, August 27, 2007 21:12, Steve Kemp wrote: > On Mon Aug 27, 2007 at 15:27:55 +0100, Richard Lyons wrote: > >> > It might be time to contact bytemark's technical support. >> >> You are probably right. I'll give them a call. > > Agreed. Call us, or drop us a mail (!) I did that, and here i

Re: smtp to bytemark.co.uk smarthost (was: using a remote IMAP server and smarthost)

2007-08-27 Thread Steve Kemp
On Mon Aug 27, 2007 at 15:27:55 +0100, Richard Lyons wrote: > > It might be time to contact bytemark's technical support. > > You are probably right. I'll give them a call. Agreed. Call us, or drop us a mail (!) This page on our website has some hints, but it looks like you're aware of t

Re: smtp to bytemark.co.uk smarthost (was: using a remote IMAP server and smarthost)

2007-08-27 Thread Richard Lyons
On Mon, August 27, 2007 10:44, Florian Kulzer wrote: > [ I have changed the subject to get the attention of other bytemark > users who might be able to help us with this problem: Richard has an > account on a bytemark VM and he wants to send emails via the their > smarthost. At the moment we

smtp to bytemark.co.uk smarthost (was: using a remote IMAP server and smarthost)

2007-08-27 Thread Florian Kulzer
[ I have changed the subject to get the attention of other bytemark users who might be able to help us with this problem: Richard has an account on a bytemark VM and he wants to send emails via the their smarthost. At the moment we are trying to configure msmtp properly on the VM for this t

Re: using a remote IMAP server and smarthost

2007-08-27 Thread Richard Lyons
On Sun, August 26, 2007 22:53, Florian Kulzer wrote: [...] > Maybe the smarthost does not use TLS (an encryption wrapper) because it > is only dealing with internal connections from trusted VMs. I would > start simple on the VM, with this ~/.msmtprc: > > #- > tls off > host

Re: using a remote IMAP server and smarthost

2007-08-26 Thread Florian Kulzer
On Sun, Aug 26, 2007 at 20:34:54 +0100, Richard Lyons wrote: > On Sun, August 26, 2007 17:42, Florian Kulzer wrote: > [...] > > or you can install the "msmtp" > > package which provides a sendmail work-alike that is very easy to > > configure. Here is an example configuration file (~/.msmtprc): > >

Re: using a remote IMAP server and smarthost

2007-08-26 Thread Richard Lyons
On Sun, August 26, 2007 17:42, Florian Kulzer wrote: [...] > or you can install the "msmtp" > package which provides a sendmail work-alike that is very easy to > configure. Here is an example configuration file (~/.msmtprc): > > #- > tls on > host localhost > port 2525 > fro

Re: using a remote IMAP server and smarthost

2007-08-26 Thread Richard Lyons
On Sun, August 26, 2007 17:42, Florian Kulzer wrote: [...] > I vaguely remember that I had difficulties > in the past when I tried to get exim4 to work over a forwarded port. The > most straightforward approach is to run "dpkg-reconfigure exim4-config" > and select "local delivery only" (for system

Re: using a remote IMAP server and smarthost

2007-08-26 Thread Florian Kulzer
On Sun, Aug 26, 2007 at 11:06:14 +0100, Richard Lyons wrote: > On Sat, August 25, 2007 23:27, Florian Kulzer wrote: > [...] > > In the following I will assume that your ~/.ssh/config is set up such > > that you can use "ssh myvm" to log in on the vm. (This allows me to keep > > the command syntax s

Re: using a remote IMAP server and smarthost

2007-08-26 Thread Richard Lyons
On Sun, August 26, 2007 15:27, Alex Samad wrote: > On Sun, Aug 26, 2007 at 11:06:14AM +0100, Richard Lyons wrote: >> On Sat, August 25, 2007 23:27, Florian Kulzer wrote: [...] >> > Mutt (or any >> > other MUA) on the local computer can now simply be configured to use >> > localhost, port 2525 as it

Re: using a remote IMAP server and smarthost

2007-08-26 Thread Alex Samad
On Sun, Aug 26, 2007 at 11:06:14AM +0100, Richard Lyons wrote: > On Sat, August 25, 2007 23:27, Florian Kulzer wrote: > [...] > > In the following I will assume that your ~/.ssh/config is set up such > > that you can use "ssh myvm" to log in on the vm. (This allows me to keep > > the command syntax

Re: using a remote IMAP server and smarthost

2007-08-26 Thread Richard Lyons
On Sat, August 25, 2007 23:27, Florian Kulzer wrote: [...] > In the following I will assume that your ~/.ssh/config is set up such > that you can use "ssh myvm" to log in on the vm. (This allows me to keep > the command syntax simple and in any case I think it is a good approach > in practice.) I w

Re: using a remote IMAP server and smarthost

2007-08-25 Thread Florian Kulzer
On Sat, Aug 25, 2007 at 22:09:58 +0100, Richard Lyons wrote: > On Sat, August 25, 2007 18:56, Florian Kulzer wrote: > > On Sat, Aug 25, 2007 at 17:30:12 +0100, Richard Lyons wrote: > [...] > >> I have an IMAP server on a remote vm. I access it with mutt because it > >> sucks least. But when I wan

Re: using a remote IMAP server and smarthost

2007-08-25 Thread Richard Lyons
On Sat, August 25, 2007 18:56, Florian Kulzer wrote: > On Sat, Aug 25, 2007 at 17:30:12 +0100, Richard Lyons wrote: [...] >> I have an IMAP server on a remote vm. I access it with mutt because it >> sucks least. But when I want to send mail, I have to open a webmail [...] > Can you log in on the

Re: using a remote IMAP server and smarthost

2007-08-25 Thread Florian Kulzer
On Sat, Aug 25, 2007 at 17:30:12 +0100, Richard Lyons wrote: > I've been trying to solve this for about three years now. Every few > months, when I have a moment, I try again. It is not a specifically > debian issue, but someone here must have a similar setup. > > I have an IMAP server on a remo

using a remote IMAP server and smarthost

2007-08-25 Thread Richard Lyons
I've been trying to solve this for about three years now. Every few months, when I have a moment, I try again. It is not a specifically debian issue, but someone here must have a similar setup. I have an IMAP server on a remote vm. I access it with mutt because it sucks least. But when I want