LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-21-2002, 12:19 PM   #1
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Rep: Reputation: 15
Question Best mail solution


Hi,

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 *@mydomain.com to myemail@somwhere.com. 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 joe@mydomain.com 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.

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

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 02:18 PM   #3
ccool
Member
 
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, *@mydomain.com, are fowarded to mymail@isp.com

So, I have, about 15 users who each have an adress like dude@mydomain.com, john@mydomain.com, etc.

ok, so all thoses emails sent to dude@mydomain.com and to john@mydomain.com are going to end up in mymail@isp.com . 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, 10:52 AM   #4
ccool
Member
 
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, 12:29 PM   #5
MadPenguin
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
 
  


Reply


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


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