LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-16-2010, 02:47 AM   #1
marquisor
Member
 
Registered: Sep 2010
Location: Germany
Distribution: Debian
Posts: 53

Rep: Reputation: 3
Question Configure mailserver(s)


hello there!

situation:

private homeserver, dynamic IP with wiki-software running
VPS rootserver, static IP, registered domain name *.com let's say "abc-foobar.com"

what i wanna do is to create email addresses with *@abc-foobar.com or resp. username for the asterisk.

they shall be forwarded to my dynamic IP mailserver.

this dynamic IP mailserver shall send email for members using a private wiki and forum running on dynamic IP yet.

how would i setup this? are there any simple howtos on the web? i'm really confused about all this stuff.


thx in advance!

regards
marquisor
 
Old 10-16-2010, 08:13 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
First let me summarize to make sure I understand your desires correctly. You want to have an existing domain, abc-foobar.com, forward email to your home server, which in turns forwards the message to a mailing list. Is this correct?

If so, the answer is yes, there are ways to accomplish this. The first step would be for you to install your own mail server. Given that you want to create a mailing list application, I would recommend Postfix, which supports this capability. Postfix is an MTA, otherwise known as an SMTP server and it is capable of receiving (and sending) mail. There are lots of tutorials for installing it, the most common of which seems to be the one by Flurdy, here. Personally, I like this one.

Once you get your mail server up and running successfully and get it receiving messages from abc-foobar.com, the next step would be to install the mailing list application. There are a couple of them out there, mailman and majordomo being two popular ones. A google search will provide you with lots of information. Here is a link to get your started. BTW, the postfix.org site contains A LOT of useful information!

There are a couple of problems you may run into. The biggest being your ISP blocking traffic on port 25 (SMTP) and your recipients banning your traffic because you are on a dynamic IP. If this is the case, you will want to relay through your ISP's mail server, though mail will still appear as originating with your server.

Lastly, you will probably need or want a domain for your home server. Since you are on dynamic IP, you will want to use a service such as dyndns, which will automatically redirect to your location when your IP changes. They can also register a domain for you or you can use one of their free sub-domains (yes, free).
 
Old 10-16-2010, 11:09 AM   #3
marquisor
Member
 
Registered: Sep 2010
Location: Germany
Distribution: Debian
Posts: 53

Original Poster
Rep: Reputation: 3
well for some webapplications running on a homeserver here (dynamic IP) i need an automated email server, which would be for automatic sign-up, verification mail delivery etc.
so as i read before very often dynamic IP emails aren't accepted (because of spam etc.) i thought of using my VPS therefore. which has some static IPs and even a domainname *.com

so i will need to setup two mailservers. one forwarding the stuff from dyn-ip to static-ip mailserver.
and the static ip mailserver delivery to the recipients on the WWW
i don't need any mailinglist features. just normal stuff like sign-up and notification emails started by a webserver.

i'm very confused with the exim wikis. they're written for advanced users (like much linux stuff). google'ing and so on brings very very much, too much information. and some information is simply wrong or security is deprecated (to say it in the linux slang).
it annoys me more and more, many solutions but security holes. so i'm still on search for GOOD sources of information.

the dyndns.org can even be handled by my router, yes. but i want a domain forwarded. (other thread)

regards
marquisor

Last edited by marquisor; 10-16-2010 at 11:10 AM.
 
Old 10-17-2010, 06:29 AM   #4
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
If you are looking for a mail server that is easier to setup, I would suggest Zimbra or possibly Citadel. I have seen Zimbra recommended quite often with the comment that it took about 20 minutes to have a mail server up and running. I would consider Postfix to be medium on the difficulty scale and while there is a lot of documentation and it is well supported, it will certainly give you an education in Linux. Postfix can handle the relay aspect and forward between servers, such as from your VPS to your home, though you would need to have it installed on both locations.

If you want to forward web traffic, this might be best accomplished with either a proxy, or even more simply with a rewrite rule.

Overall, I think that if you want to have your home server appear as the 'front end' for your VPS, that you are going to be in for a lot of extra work.
 
  


Reply

Tags
domain, email, forwarding, mailserver



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 do setup and configure the SMTP (mailserver) goonfui_wong Linux - Networking 25 07-17-2005 07:54 AM
how to configure a mailserver ? balki Linux - Networking 4 10-21-2004 07:54 AM
how to configure a linux mailserver with spamfilter ? balki Linux - Networking 3 08-02-2004 03:42 PM
How to configure senmail as mailserver for Redhat Linux 9? learn25 Red Hat 1 02-23-2004 01:13 AM
How to configure a redhat 9.0 mailserver in a graphical interface sunnyvic Red Hat 2 10-18-2003 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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