Solved

Pine Configuration With Linux

Posted on 1997-09-08
5
289 Views
Last Modified: 2010-03-18
Hi, I'm using Redhat 4.2 and would like to use Pine to send and receive email. I had no problem getting it to read the newsgroups but am having some trouble with email. Given the following parameters how would I configure pine:

Mailserver: mailserv.nbnet.nb.ca
email: mgb@nbnet.nb.ca

Actually a better question might be how do I configure my inbox?

thanks
mike
0
Comment
Question by:zeos
  • 3
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
dirge earned 80 total points
ID: 1586478
You can change your mailserver and domain from (S)etup (C)onfig from the main menu of Pine.

user-domain: nbnet.nb.ca
smtp-server: mailserv.nbnet.nb.ca

Other options can also be changed from that area. I don't recall it being possible to change the user name from within a configuration file or elsewhere, so your best bet is to make an "mgb" user in your Linux box, and login as that user when you want to send mail.

Hope this helps!
0
 

Author Comment

by:zeos
ID: 1586479
Dirge, thanks for the reply. I configured the user domain and smtp server as you said and then added a user called mgb but I am still unable to get my email. I must be missing a config option somewhere. Any other ideas?

-mike
0
 
LVL 1

Expert Comment

by:dirge
ID: 1586480
Sorry, I thought you only wanted to _send_ from Pine and have your email appear as mgb@nbnet.nb.ca. I'll see if there's an easier way to get POP mail from another server; otherwise, I can give you a script I wrote some time ago that will allow you to get mail from any POP server. If you want the script, you need

1. Perl 5.x,
2. Sockets.pm,
3. to know here your email box is stored (usually under /var/spool/mail).
4. leave a comment for me here saying you want the script : )

If you have a fixed IP address and a shell acct at your mailserver, you can also create a .forward file in your homedir that contains mgb@your.ip.add.ress or ask your sysad.

-d.
0
 
LVL 1

Expert Comment

by:dirge
ID: 1586481
Mike,

Bingo! I forgot the /usr/bin/popclient command:

popclient -3 -u username -p password -s mailserv.nbnet.nb.ca

Change username and password to your own POP3 username and password. This automatically retrieves your mail and appends it to your mailbox. If you want to remove the mail you downloaded from the server, add a -K (capital K) after the -s

Regards,
dirge

0
 

Author Comment

by:zeos
ID: 1586482
Dirge,

Thanks for your help on this. All is working well! Initially I set my inbox to {mailserv.nbnet.nb.ca/pop3} and this allowed me to read my email- but the email stayed on the server so offline reading was not possible. Your suggestion was right on.

thanks
Mike
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Multicast - Linux 4 36
Exploits in Kali Linux 4 386
can't umount nfs share after server goes offline... 4 94
Ubuntu 14.04.3 Cannot login via GUI, returns to GUI login prompt 26 129
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question