LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-08-2003, 12:26 AM   #1
flan
LQ Newbie
 
Registered: Dec 2003
Location: usa
Distribution: Red Hat 9.0
Posts: 5

Rep: Reputation: 0
retrieving POP3 email using qmail


ok really simple question here.... I have a server that is running rh9 I've installed qmail on it as well as djbdns...

I have netsol hosting my email right now and I want my server at home here to go to netsol and get my email and store it until so that I can retreive it from a client like netscape or evolution.

I have looked in all the docs on the internet and have went through the lwq web and I can't see anything on how to do this.

If anyone knows of a good tut or has done something like this I would really appreciate the help..
Thanks,
Flan
 
Old 12-08-2003, 01:49 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
man fetchmail (it may not be installed by default, so you might have to install the package).

Qmail is an MTA and it only uses the SMTP protocol. Qmail cannot fetch mail for you or use the POP3 protocol in any way.
 
Old 12-08-2003, 02:04 AM   #3
flan
LQ Newbie
 
Registered: Dec 2003
Location: usa
Distribution: Red Hat 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
then what is qmail-pop3d used for?
Flan
 
Old 12-08-2003, 02:08 AM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Errr, they added pop3? Last time I used it, it was only an MTA.

Well in that case, it has a POP3 daemon, but that's for your users to retrieve mail from IT, not for IT to retrieve mail from other places. You still need fetchmail or something similar to pull down the mail from your hosting provider.
 
Old 12-08-2003, 02:15 AM   #5
flan
LQ Newbie
 
Registered: Dec 2003
Location: usa
Distribution: Red Hat 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
can I "hook" it into qmail I need the experience
 
Old 12-08-2003, 02:21 AM   #6
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
No, but you can run fetchmail from a cron job and I believe you may be able to set it to deliver to /var/spool/mail/user rather than to /home/user/mbox. You will need to consult the documentation for fetchmail.

You're misunderstanding the fundamental operation of MTA software. MTAs only communicate with each other using SMTP in order to route a message to it's final destination. The messages you want to retreive from your ISP have already been delivered to their final destination, it's just that you want to move them from where they were delivered to.

In order to fetch those messages out of a mail store, you need to use a message retrieval protocol, not a message transfer protocol (SMTP is message transfer). Retrieval protocols are POP3 and IMAP4. There are some older protocols that aren't really used any more. Fetchmail supports pop3 and imap4 and it also supports various kinds of authentication. Essentially fetchmail performs the same duties as a mail client like Outlook Express or Evolution, but instead of being an interactive client that someone opens and it displays their messages, it just works in the background to download messages and put them in files for other programs to look at.
 
Old 12-08-2003, 02:31 AM   #7
flan
LQ Newbie
 
Registered: Dec 2003
Location: usa
Distribution: Red Hat 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
Oh so if I were pointing my MX record at the server here then I could use qmail...
cool thanks man,
Flan
 
Old 12-08-2003, 02:36 AM   #8
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Not directly. You would have to forward the mail to your domain (which would have to be done on your account with your hosting provider). Then along as you were forwarding port 25/TCP through your firewall to the box running Qmail, then yes you could accept mail from the Internet. It still wouldn't "fetch" mail for you though, someone would have to send the mail to you (by using your domain name prefixed by a local username).
 
Old 12-08-2003, 10:27 AM   #9
flan
LQ Newbie
 
Registered: Dec 2003
Location: usa
Distribution: Red Hat 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
oh yeah I get that part... I guess I just misunderstood the use of qmail thats all.

thanks,
Flan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
email client cant recieve POP3 email johnharry Linux - Networking 8 12-27-2006 04:20 AM
Retrieving email using the command line/console wimnat Linux - General 2 01-26-2005 09:58 PM
What email program can work with email header on pop3 server TruongAn Linux - Software 0 01-13-2005 11:48 AM
imap problem on retrieving email htm Linux - Software 0 04-22-2004 09:29 AM
qmail + pop3 alpha-wolf Linux - Networking 1 09-13-2001 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration