Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 1996 21:02:52 -0700 (PDT)
From:      bkogawa@primenet.com
To:        ajohn@cyberforge.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Popclient--FreeBSD--FWTK
Message-ID:  <199609210402.VAA18699@foo.netvoyage.net>
References:  <199609202314.TAA03177@onramp.i95.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In localhost.freebsd.questions you write:

>On 20 Sep 96 at 0:18, Doug White wrote:

>> Sure.  You could either use 'popclient' from ports or setup .forward
>> files on your other mailboxes to point to your FreeBSD machine.  I
>> have many mail accounts on many Unix boxes, so I dropped .forward's
>> in them all to forward them all to this account.  Now I check my
>> mail once instead of four times :-)

>My freebsd machine is not connected to the net all the time, so this 
>would not be feasable for me...

I believe that what Doug's suggesting is to use .forwards on two of your
three accounts to forward to the third account.  E.g. if you had accounts

    ajohn@cyberforge.com
    ajohn@foo.com
    anil@bar.org

You would put a .forward in your ajohn@foo.com and anil@bar.org accounts
that forward your POPmail to ajohn@cyberforge.com and then just pick up
email from that account via FTWK.

>That was part of my original question..How should I retrieve the mail 
>from my remote mailboxes and store them on my FreeBSD machine such 
>that a Win95 client on a ethernet connected second machine can read 
>the stored mail? Pop Client or POP Server?

If you do want to pick up mail from three separate accounts using your
freebsd box, and then use Pegasus to pick up the mail from the freebsd
box, you'll need the following:

1 Windows POP3 client (see Pegasus)
1 POP3 server (see popper in ports)
1 POP3 client (see popclient in ports/package)
1 scripting language of your choice (see perl(1), sh(1))

Directions:

Install and configure POP3 server as per directions.  Install POP3 client.

In a scripting language of your choice, use popclient to connect to your
popmailboxes and get your email.  Have popclient deliver this email to your
system mailbox, at /var/mail/<username>.

Set your Windows client to use your freebsd username and password, and
to connect to your freebsd machine for POP mail.

Configure FTWK to allow the connection on the POP3 port directly to 
your FreeBSD machine, instead of using a proxy to the outside world.

Run the script which does pickup every time you want to get your mail
(or every time you connect your PPP session).

Anyway, that's the basic idea, I think.

Stuff:

1.  It's a security risk to leave your pop account passwords sitting in
the script on your freebsd machine.  Probably not a glaring one, but still
a hole.  You can configure the popclients to take your password from
stdin like passwd and su and the like (this is what I do).

2.  You may have problems with popclient delivering to /var/mail/<username>,
although I don't think so.  I don't think popclient flocks the mailbox
it uses, which means if something else tries to deliver at the same time,
your mail is probably hosed.  Deliver to temporary boxes, then use a 
program that understands mailbox locks (procmail? formail? a perl 
script?) to do the delivery from these boxes to avoid this potential 
catastrophe.

>Anil

>___________________________________________________________
>CyberForge Group LLC                * Internet Consulting
>E-Mail: ajohn@cyberforge.com        * WWW Publishing
>410-597-8139                        * LAN & WAN Integration
>            URL:  http://www.cyberforge.com


-- 
bryan k ogawa  <bkogawa@primenet.com>   http://www.primenet.com/~bkogawa/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609210402.VAA18699>