Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

Pine Configuration With Linux

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
zeos
Asked:
zeos
  • 3
  • 2
1 Solution
 
dirgeCommented:
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
 
zeosAuthor Commented:
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
 
dirgeCommented:
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
 
dirgeCommented:
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
 
zeosAuthor Commented:
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now