Re: Help on mail configuration

From: Noi (noi_at_siam.com)
Date: 09/29/03


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



Relevant Pages

  • Re: [kvm-devel] [PATCH] export notifier #1
    ... the other linux instance will be told that the page is not available. ... At least with KVM there ... the remote instance will have to wait for the linux pte to go away ... If you flush the remote instance _after_ clearing the main linux PTE ...
    (Linux-Kernel)
  • ANNOUNCE: moodss-17.16 and moomps-2.18
    ... please test the new thread enabled remote monitoring feature (pci, ... usb, hddtemp and diskstats Linux modules), which should never lock the ... use a shorter name (moodss) in the system tools menu ...
    (comp.lang.tcl)
  • Linux v Dedicated NAT routers - secure remote differences
    ... using NAT routers can get a secure ... remote tunnel from a Windoze machine behind it to talk through a Checkpoint ... I can't with a linux NAT box. ...
    (comp.security.firewalls)
  • Re: Remote XWindows, Mac OS X to Mandriva Linux
    ... I'm trying to get a remote XWindows session going on my Mac OS X 10.4.8 ... I take this to a Linux 'group (BTW, I'm far from proficient on the ... unable to open display "" ...
    (comp.sys.mac.misc)
  • Re: netcat and iptables
    ... Subject: netcat and iptables ... I am not able to reach the remote printer. ... Is the remote linux box acting as a print server or as a port forwarding ... You could configure that priter in linux, and then in sco use rlpr in place ...
    (comp.unix.sco.misc)