Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-15-2010, 12:02 AM   #1
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Fetchmail for something similar to download messages from remote server.

Hello all,

Back again. I need to deploy a mail server internally in one of the sites where there are around 100 employs. And this is not going to be for outside world and it wont be used to send emails outside my network. I am finalizing on Zimbra community.
We have our site hosted outside and have one enmail from them. I want everyone to share this email id for communicating with outside world. So everyone will have their mails sent on this email id and I will fetch it from there. Fetchmail can do this.
But here is the catch. What I want is that in some way want Fetchmail to decide which mail to be sent to internal id.
Like say I have on external email And have internal mails like user1@internaldom.local, user2@internaldom.local and so on. Can fetchmail decide which mail to send to user1 and which to user2?

Also can Zimbra mta be configured to relay emails from external server for external email addresses?
Old 01-15-2010, 07:30 PM   #2
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
I think what you want is Procmail. In conjunction with Fetchmail. At one time I used these two programs with Spamassassin to combat spam when it was really bad. Now all I use it Alpine, but I only have a small home network working with a simple hub. But try Procmail with Fetchmail. The documentation is lengthy but I think you'll accomplish what you need with those.

Last edited by SharpyWarpy; 01-15-2010 at 07:35 PM.
Old 01-15-2010, 11:40 PM   #3
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
I have not worked too aggressively with mail servers. A bit of here and there with Zimbra and sendmail. But never got to work with Fetchmail. But as I said, there is a catch. From what I have read, I need fetchmail in rc file in every user home directory. Whereas, I need to download mails from only one user. And once the mails have been downloaded, want fetchmail to make decisions as to which mail to be forwarded to which internal mailbox. And as far as I could understand, fetchmail will not do this. I want fetchmail to read the subject of the mail and then send it accordingly.
There is getmail that can read some headers. I am looking into it now.


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
How to download a file to my PC from a remote server? Atwin General 4 09-03-2008 05:37 AM
fetchmail new messages aral SUSE / openSUSE 10 07-04-2008 05:17 AM
loging syslog messages to a Remote Server nevxille Linux - Newbie 1 10-18-2006 06:12 AM
Fetchmail messages into the void goldenratiophi Linux - General 0 05-01-2005 04:47 PM
Where does fetchmail save the messages gubak Linux - Networking 1 08-04-2004 06:12 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:13 AM.

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