LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-19-2003, 06:04 PM   #1
somethingorathr
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
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.
 
Old 08-19-2003, 07:17 PM   #2
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
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.
 
Old 08-20-2003, 05:34 AM   #3
mazzo
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: Reputation: 15
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.
 
  


Reply



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
Please Help Me with Fetchmail... JawzofDETH Fedora 2 04-22-2005 05:03 AM
Fetchmail qub333 Linux - Software 4 10-27-2004 10:09 PM
fetchmail Red Squirrel Linux - Software 0 04-15-2004 12:36 PM
Using Fetchmail! RKris Linux - Software 2 08-25-2002 04:14 AM
fetchmail wonderpun Linux - General 1 08-21-2002 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:50 PM.

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