Improve company productivity with a Business Account.Sign Up


Linux mail server

Posted on 2004-10-01
Medium Priority
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 can that be used to email too?

more to follow just keeping it simple for now.

Question by:solodiver
  • 3
  • 2

Expert Comment

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.

Expert Comment

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.


Author Comment

ID: 12218594

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.


Accepted Solution

jacauc earned 1000 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 should point to your server though.

This will then direct any mail for 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.


Assisted Solution

GreatWhiteOne earned 1000 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.

Expert Comment

ID: 12219376
Yip... I fully agree with that!

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

579 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