Net connection Problem

Karl Pearson karlp at ourldsfamily.com
Fri Dec 2 01:32:33 UTC 2005


Rick Stevens wrote:

>On Tue, 2005-11-29 at 18:12 -0700, brad.mugleston at comcast.net wrote:
>  
>
>>On Sun, 27 Nov 2005, Bob McClure Jr wrote:
>>
>>    
>>
>>>On Sat, Nov 26, 2005 at 09:10:13PM -0700, brad.mugleston at comcast.net wrote:
>>>      
>>>
>>>>On Sat, 26 Nov 2005 brad.mugleston at comcast.net wrote:
>>>>
>>>>OK, now I've got some questions - one reason for putting
>>>>fetchmail on a different machine was it's always on so there is
>>>>less chance of mail building up on the internet.  The other
>>>>reason was so I could use multiple computers to read my email.
>>>>Checking out my new /var/spool/mail directory I see my mail
>>>>account grow when fetchmail goes out to get mail then it goes to
>>>>zero when Pine goes and picks it up.  i have a feeling it's
>>>>moving it to my local machine
>>>>        
>>>>
>>>That is correct.
>>>
>>>      
>>>
>>>>and this is going to mean I will
>>>>not have access to my mail from other comptuers (like my
>>>>notebook).  So, how do I set things up to allow that?
>>>>        
>>>>
>>>Have your local email client use IMAP instead of POP3.
>>>      
>>>
>>OK, I've looked in the PINE setup and I don't see where I've
>>selected POP3 over IMAP or how to change it to IMAP.
>>    
>>
>
>  
>
Pine is IMAP only, but you have to have lines similar to:

user-domain=yourdomain
inbox-path={imapserver}INBOX

These two will at least get you started. If you have an older version of 
pine (how old I'm not sure), you may need:

smtp-server=IP.Addr or system name
inbox-path={IP.Addr or system name}/var/spool/mail/$USER (change $USER 
to your eaddr)
folder-collections={IP...}/home/$USER/mail/[] (or leave blank to store 
email locally, which I don't advise)

These options can be set by editing .pinerc in your home directory.

>Pine is an mbox reader...it doesn't do POP or IMAP.  It just reads your
>LOCAL mailbox.  It has no concept of network operations.  You need
>fetchmail (or another MUA) to do the actual POP/IMAP fetch into your
>local mbox.
>  
>

You won't have to do that, as long as there's an open link via port 143 
to the server. If it's firewalled and port 143 access is closed (WAN vs 
LAN), then you have to do what Rick says and use fetchmail so the mail 
is local. If you do that, you don't have to edit .pinerc.

Here's a sample .fetchmailrc, just in case:

# Fetchmail Configuration
# I put this in /root and run via rc.local at boot time with 
/usr/bin/fetchmail)
# You can also not use the daemon line below and have a cron job do it 
for you at the
# frequency you wish.
set logfile "/var/log/fetchmail"
set postmaster "postmaster"
set bouncemail
set properties ""
set daemon 120
poll IMAP.SERVER.COM and options no dns
    user 'yourlogin' there with password 'yourpasswd' is 
'yourlocallogin' here options fetchall
  smtphost yourlocaldo.main

HTH,

Karl

>----------------------------------------------------------------------
>- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
>- VitalStream, Inc.                       http://www.vitalstream.com -
>-                                                                    -
>-         If this is the first day of the rest of my life...         -
>-                        I'm in BIG trouble!                         -
>----------------------------------------------------------------------
>
>_______________________________________________
>Redhat-install-list mailing list
>Redhat-install-list at redhat.com
>https://www.redhat.com/mailman/listinfo/redhat-install-list
>To Unsubscribe Go To ABOVE URL or send a message to:
>redhat-install-list-request at redhat.com
>Subject: unsubscribe
>  
>




More information about the Redhat-install-list mailing list