Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-21-2002, 01:19 PM   #1
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Rep: Reputation: 15
Question Best mail solution


I'm looking for the best and easy solution

I have a little server at home where. As my ISP block the port 25, I thought that I could foward all the mails into another email account (like the one on my ISP) and my little server could pop in that account, get the mails and then put them into each user mailbox (so they could pop in there)

So I need
-> Something like fetchmail to go and get the mails
-> Somethings that reads the mails header and distribute them into the right account
-> A pop server

As anyone done something like that ??? I have heard of a few programs like Qmail, procmail, fetchmail, imap (ipop3d), gnu-pop3d, pine, mutt... but I have actually never used any and I don't know what combinaison to choose.

There is going to be about 10-20 users and I would really like to be able to set my dns like foward * to And because of the mail-foward system, I will be able to look at the "to: section" in the mail's header so that everythin wich is adress to will go in joe's account, and everything else wich is not adress to anyone, foward into my account (admin or somethin else).

If anyone has ever done something similar or have seen a similar project on the web, please tell or refer me.

Old 11-21-2002, 02:43 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
well what you're after is perfectly achieveable using the appliactions you suggest. you want something like fetchmail, why not use fetchmail? it does a pretty good job of actually being fetchmail ;-) . you've not really described your potential system that well.. are all these mails going to be sent to the same address? that is what you seem to imply in your -> section, btu then you say you can read the To: header later... if it's jsut from one account per local account, then that's a trivial use of fetchmail, if it's just a single account, then it's a little more complex, and i'd suggest using procmail with fetchmail.
Old 11-21-2002, 03:18 PM   #3
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
sorry if I was not clear...

I'll try to be clearer.

All mail, *, are fowarded to

So, I have, about 15 users who each have an adress like,, etc.

ok, so all thoses emails sent to and to are going to end up in . I wanted to find a way so all the mails on my isp could be retreive and somehow "filtered" so that mails to dude goes in dude's account (on my little server) and mails to john goes to jonh's account... (same thing for the other users)

At last, in the end, each users could "pop" the little server and retreive their mails

So, as I said, I have never used fectchmail or procmail... (I am currently trying to read the docs...) and I wanted to be sure everything was possible...

My goal here is that I can learn and have a cool email in the process I know it is possible and I though that someone must have done it before. I also know it is not very "professionnal" because all mails goes into one account and then are "split" into different ones... But as it is only for a few persons (friends), for fun and to learn and don't really care... Since my port 25 is block, I cannot receve mails directly.

I really hope everythin is clearer.

And if I understand what you said, I could "simply" use fetchmail + procmail + ipop3d (or something like that in the inetd)
Old 11-25-2002, 11:52 AM   #4
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
I tried this solution, but something is REALLY WEIRD... For some reason, sendmail is not able to redirect the mails in the inbox @localhost...

So if I send a mail at my place, I get a bounce from sendmail saying that it could not reach ccool@localhost, same thing with root@localhost.

Anyone has a clue ??? I'd be interested
Old 11-25-2002, 01:29 PM   #5
LQ Newbie
Registered: Oct 2002
Location: NC
Distribution: Mandrake
Posts: 12

Rep: Reputation: 0
i'd check my hosts file and make sure you define mydomain properly, first time i set up mail i made that mistake and it didn't work till i defined it properly in hosts


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 Solution, offering collabrative mail edzvan Linux - Software 0 08-30-2005 11:23 AM
ISP mail server solution evilchild Linux - Networking 2 07-15-2005 08:27 AM
Dual-boot e-mail solution bitpicker Linux - Software 1 05-26-2004 08:11 PM
Best POP3 Mail Server Solution ppuddick Linux - Software 4 10-15-2002 04:54 AM
Mail server - Content Scanning - Antivirus Solution?? Dr Solomon Linux - General 1 02-10-2002 01:42 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration