Solved

Linux mail server

Posted on 2004-10-01
8
229 Views
Last Modified: 2010-03-18
hi experts,

this questions will likely evolve into more complicated areas so i'm not sure the best way to go about it other than to come right out and ask the first thing first

1. i'm running mandrake 10 on a cable internet with port 110/25 blocked (i believe they block these ports) is it possible to set up my own mail server?

2. I have the domain www.solodiver.net. can that be used to email too?

more to follow just keeping it simple for now.

=mike//h
0
Comment
Question by:solodiver
  • 3
  • 2
8 Comments
 
LVL 1

Expert Comment

by:GreatWhiteOne
ID: 12205360
They probably have port 110 blocked for incoming requests, but they probably do not have 110 blocked for outgoing emails.  They should not be blocking this so that people can retrieve their mail from POP servers.  If this is the case, like it should be, you can use programs like fetch to retrieve your email and basicly download it into your server there.  Then use SMTP to sent it back out to the domain that you have or someplace that is hosting it for you.  You can then set a cron job to retreave the mail and send at a sepecified interval.   That is not exactly hosting your own email, but is emulates it quite well.

Good luck.
0
 
LVL 3

Expert Comment

by:jacauc
ID: 12206851
I agree... 110 should be open for retreiving mail.. You can start by testing whtether you can run a basic fetchamail command like this:

logged on as root: Create a user test on the linux box with the command:
     adduser test
and a password for the user:
     passwd test
(choose a pw and confirm)
Create a file called .fetchmailrc in the /root folder:
    vi .fetchmailrc

type the following in this file

    poll yourserver protocol POP3
    user xxxx password yyyy is user test here

yourserver being the pop mailserver where you want to pull the mail from
xxxx being the username on yourserver and yyyy being the password on yourserver.
save the file and exit back to the shell

set permissions on the file you just created with the following command:
    chmod 600 /root/.fetchmailrc

next, run the following command to download mail from that remote mailbox and put it in the local mailbox of user test
    fetchmail -K

capital "K" that is

Let me know what output you get.
;)


0
 

Author Comment

by:solodiver
ID: 12218594
hi

i';m ready to get started and follow your instructions,

however i just want to make note that i have no email service at all

all i have is a domain and did not buy any service at all for email

my domain is www.solodiver.net

any thoughts before we continue or shall i continue as planned?

mikeaz
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 3

Accepted Solution

by:
jacauc earned 250 total points
ID: 12218866
oh i see, well... in that case youd have to consider running postfix as your domain mailserver.
Your MX (mail Exchanger) record of www.solodiver.net should point to your server though.

This will then direct any mail for @solodiver.net to your server and deliver it there. (with an incoming connection on port 25)

Well... do you have anywhere (maybe another service) where you can download mail from using the instructions above to test whether your isp actually does block port 110?

Very few ISP generally block ports 25 and 110 though.

Well... ya... go ahead with that test and let me know if this has any value for you.

;)
j
0
 
LVL 1

Assisted Solution

by:GreatWhiteOne
GreatWhiteOne earned 250 total points
ID: 12219359
Do you have SMTP installed on your computer yet?  You can test SMTP by having someone you know type telnet x.x.x.x 25 from a command prompt and that will tell you if your port 25 is blocked.  If it is not blocked you can do what he said above and just use SMTP like normal, otherwise you are going to have someone host your mail for you and then use fetch or something to retreave it and bring it to you server.
0
 
LVL 3

Expert Comment

by:jacauc
ID: 12219376
Yip... I fully agree with that!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question