Re: Help on mail configuration
From: Noi (noi_at_siam.com)
Date: 09/29/03
- Next message: Spamless: "Re: Anyone know how to reset ImageMagick defaults"
- Previous message: Noi: "Anyone know how to reset ImageMagick defaults"
- In reply to: Bruno Carneiro da Cunha: "Help on mail configuration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Sep 2003 20:02:54 GMT
On Sun, 28 Sep 2003 12:01:09 +0000, Bruno Carneiro da Cunha without
thinking wrote:
> Hi all,
>
> I am a sort of 'reincident newbie' to linux, have been installing and
> uninstalling linux on my machines for a number of years now. Recently I've
> got an old PIII and installed RH9 on it. I'm actually impressed by the
> great strides linuxes distributions have gone. If Wine takes care of the
> occasional win32 program, I may give it another shot in my home computer
> as weel.
>
> Well, moving to the point: I'm currently trying to solve a problem.
>
> - Problem: I currently need to connect to another computer to see my
> e-mail. The remote computer only accepts port 22 (ssh) connections, and
> has no Xserver running. I wanted to be able to run pine (or any other
> program) on my local computer (running RH9) and fetch (and send) mail from
> the remote computer without opening a ssh session manually.
>
As I understand your remote machine does not accept or has a pop or imap
server? Can you connect to /var/spool/mail/$user on that remote? If you
can do that then just specify the your smtp server as being the remote
machine and the mailbox as being on that remote machine.
Of course using ssh you can invoke pine, mutt, mail or any other non-gui
mail program on the remote.
Manpages on fetchmail, fetchmailrc and sendmail.
> As far as I know, I can implement these solutions:
>
> - Solution 1: configure pine to open the connection automatically and
> fetch /var/spool/mail/$USER and use sendmail. I need to fetch -- I think
> -- because the remote computer doesn't accept POP, IMAP or any other mail
> protocols. The problem is that i) I don't know how to do that in pine, and
> ii) The local computer is using openssh while the remote is using ssh2. I
> can't seem to make publickey authorization to work.
>
> - Solution 2: forward the mail to my local machine and run a mail server
> on it. I wouldn't want to do that if I didn't have to, it may be a hassle
> keeping the machine up and running 24h/day.
>
Solution 2: You could recreate a .forward file on the remote to send all
mail for $USER to the local machine.
For example: I was using my Linux box to fetchmail from ISP into sendmail
then OE on the Win machines picked up mail from the Linux box using POP3
and sending using SMTP; and forward mail through the Linux boxes to $USER
>
> Any words on how I could accomplish any solution (no. 1 preferred), or
> links to tutorials would be greatly appreciated.
>
> Bruno
- Next message: Spamless: "Re: Anyone know how to reset ImageMagick defaults"
- Previous message: Noi: "Anyone know how to reset ImageMagick defaults"
- In reply to: Bruno Carneiro da Cunha: "Help on mail configuration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|