Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-19-2003, 06:04 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 1
Rep:
|
Need help with fetchmail
Hi there, i'm a complete linux newbie (as in no knowledge what so ever) and i'm in the lucky position of having to set up fetchmail on our linux box. I'm pretty shure its running redhat 8.
What i need it to do is this; (i just copied that from catb.org/~esr/fetchmail/ )
'Fetchmail can be used as a POP/IMAP-to-SMTP gateway for an entire DNS domain, collecting mail from a single drop box on an ISP and SMTP-forwarding it based on header addresses.'
So, how can i go about setting that up?
Thanks for any help.
|
|
|
08-19-2003, 07:17 PM
|
#2
|
Member
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358
Rep:
|
Ive never set up fetchmail for more than one or two users, but I think youd have to have a .fetchmailrc in each users home dir.
Heres the .fetchmailrc from one of my local accounts:
-----------------------------------------------
# Configuration created Sun Jan 27 08:20:34 2002 by fetchmailconf
set postmaster "m0rl0ck"
set nobouncemail
set no spambounce
set properties ""
set daemon 1200
poll mail.myisp.com via mail.myisp.com
with proto POP3
user 'm0rl0ck@myisp.com' there with password 'xxxxxxx' is 'm0rl0ck@localhost.localdomain' here options no rewrite
# smtphost localhost.localdomain
mda '/usr/bin/procmail -f fetchmail'
# antispam
----------------------------------------------------
Then run a fetchmail process for each user.
EDIT: Just discovered theres a fetchmailrc in /etc. Apparently you can put each user config there.
Last edited by m0rl0ck; 08-19-2003 at 07:24 PM.
|
|
|
08-20-2003, 05:34 AM
|
#3
|
Member
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat from 4 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux, and lots of raspberry pi
Posts: 142
Rep:
|
Are you trying to set up a fetchmail script that will collect mail from one external mailbox and then deliver to each of the recipients linux accounts ?
If so, I can help - if not I can try .....
I have a multi-collect fetchmail script that collects mail from one specific external pop box. It then reads the name before the @ sign and delivers to the appropriate linux account.
you would need to make sure you have your sendmail configured too - particularly aliases. If you don't know what this means, I can explain it. You might not even be using sendmail - maybe procmail.
Basically, if you are trying to achieve what I am running, then I can let you know what I did.
|
|
|
All times are GMT -5. The time now is 01:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|