LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2006, 06:26 PM   #1
johnnyv
LQ Newbie
 
Registered: Nov 2003
Location: New Zealand
Posts: 4

Rep: Reputation: 0
Fetchmail problem [RESOLVED]


Hello,
I have multiple accounts on a isp for multiple user but also a few accounts that need to be delivered to serveral different local users.

For example there is an "enquiries" account that i want delivered to 3 different local users (robin, don, julie), it is not a multidrop account all mail would be addressed to enquiries and i would like the to: address kept as enquiries but delivered to the local users mailbox.

I have been searching for an example of this functionality and have had no luck, any ideas on how to do this?.

Last edited by johnnyv; 05-23-2006 at 08:13 PM.
 
Old 05-23-2006, 07:58 PM   #2
Russell Griffiths
LQ Newbie
 
Registered: May 2006
Location: Sydney, Australia
Distribution: Red Hat 7.3
Posts: 27

Rep: Reputation: 15
John, Hi

I've set up such a facility as you describe (mine was 'engineering', but same concept.

The functionality needs to be set up in your Mail server, not Fetchmail.

On your Linux box, set up Sendmail (or Postfix) and then in /etc/aliases,
(The file which controls who gets mail addressed in certain ways),
set up an alias for enquiries as ..
enquiries : robin, don, julie

Then, when you send Fetchmail off to pick up the mail at the ISP,
mail for enquiries@youraddress.com will be delivered to each of those three local addresses, still addressed to 'enquiries'

But replies will show as from John or Julie@yourdomain
unless you set a rule in Sendmail.cf to change that to enquiries@yourdomain before sending out. That's easy too, but you may want ongoing email streams to continue to the same person who started the conversation with the client.

You mention more than 1 ISP, and therefore Fetchmail will have multiple lines like

poll pop3.ispnumber1.com nodns with proto POP3
localdomains yourdomain1 yourdomain2
user 'accountname' there with password 'yourpassword' to * here

one for each ISP

and let your MTA (I use Sendmail)split all the individual addresses out
ie mail for john@yourisp.com goes to john julie@yourisp goes to julie

and the mail clients (we use outlook Express) on each host gets their mail from the Linux server.

Hope this helps

Griffo
 
Old 05-23-2006, 08:10 PM   #3
johnnyv
LQ Newbie
 
Registered: Nov 2003
Location: New Zealand
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you, that will work great!
Looking in the wrong place again (fetchmail instead of postfix)
 
  


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
fetchmail problem ash_great Linux - Software 0 07-01-2005 07:08 AM
fetchmail problem kelper Linux - Software 0 05-29-2004 10:58 AM
Problem with fetchmail shaggystyle Linux - Networking 3 03-25-2004 05:11 PM
Fetchmail problem NSKL Linux - Software 2 11-19-2003 05:32 PM
Fetchmail problem Config Linux - Networking 10 09-09-2002 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:06 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