Mail server in home network and without domain name


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Mail server in home network and without domain name
# 1  
Old 02-01-2007
Mail server in home network and without domain name

Hi peeps,

I want to learn how to configure mail servers, I am in private network, I am running debian 4.0, practically I have tried courier-mta, courier-imap, postfix, and sendmail.
sometimes I am able to send mail and not able to connect to my imap server which is localhost, sometimes I am able to connect to imap but not able to send mail, etc.
I dont have a domain name and i could not have it. So my question is "is it neccessary to have a domain name to configure mail server? I know i cant recieve mails from internet coz of that.
I am doing this because i want to learn things grounds up. I mean if I am able to do this in home net than i can go on doing this on a static ip and a domain name.
but for the sac of practicing and time being, is there any way to do it ??? I have configured dns on the same machine with a fake and unique domain name which nobody else on the internet have.
I think it will be a good idea for peoples who like to write articles on Howtos and guides.
I am not asking you to spoon feed me, I am asking this because I am confused. I have read and tried a lot of things in very small amount of time,
because of that the information stored in my mind is not linked properly.
so it would be great if you could just clear up things a bit for me.

any links to tutorials will be appriciated.
Thanks for reading my ramblings Smilie
# 2  
Old 02-01-2007
I don't know your configuration so it's hard to troubleshoot the problem. What sorts of errors are you receiving when you can't log in to your imap server and what errors are you receiving when you are not able to send mail. Your server logs should have details on what the problem is.

For sendmail and other MTA's, there may be a few issues to consider.

1. Your ISP may be blocking port 25 for all but their own mail servers. It doesn't sound like that's your problem since it seems to be working some of the time.

2. Due to spam, other MTA's will check to see if you have a valid domain and will automatically reject your mail if your IP is not matched to a host name.

3. Again, due to spam, other MTA's automatically block e-mail from general user space such as the Comcast range. Per Comcast (and this is an example; your ISP may have different policies), you're not allowed to run servers on your home cable connection. Since Comcast doesn't block server ports at their firewall, you can get away with it but your mail may be generally blocked.

Why can't you get a domain though? There are lots available at pretty cheap prices. You can hit http://www.dyndns.com to register and manage a DHCP IP address. Their DNS servers accept input from your server as to its true IP and will reconfigure the IP for your domain to point to your server again. It's pretty quick. I used it until I started using a colocated server.

As to your request for howto's, a very fast google search turned up:

Linux Home Server HOWTO

You might want to consider searching for the information next time. Try searching on "howto +sendmail". In this case, that was one of the first items that popped up. It doesn't have imap info but I'm sure another seach would turn up an informative howto.

Carl
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Configure sendmail to Only send mail to one domain

On both Solaris 10 and RHEL, we would like to configure sendmail in such a way that the email sent from the server should only go to a particular domain. For eg. We want our server to ONLY send the mail to <user_name>@abc.com. All other domains should be blocked/restricted. The server should not... (0 Replies)
Discussion started by: sk2code
0 Replies

2. UNIX and Linux Applications

Copy mail traffic to several server for a domain

Hello, everybody! I have a MX server (sendmail) and old pop3 server, I installed a zimbra server and I want to receive mail traffic to several mail server (old and Zimbra). How I do it on Postfix(Zimbra if will be a MX for my domain) or Sendmail? (0 Replies)
Discussion started by: Rezonans
0 Replies

3. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

4. HP-UX

[Solved] How do I configure Unix Mail Server to use another Mail Exchange Server

We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Discussion started by: Tenyhwa
4 Replies

5. AIX

I Need to send mail to 2 domain

Hi, I need to send alert mail from AIX to mail server. My mail server IP is 192.168.0.10 so I've add /etc/hosts as below 192.168.0.10 mydomain1.com the I try to send mail to myname@mydomain1.com it's OK Then I need to send mail to myname@mydomain2.com too. so I've... (1 Reply)
Discussion started by: oakmojo
1 Replies

6. Shell Programming and Scripting

Sendmail: Remove domain name from From mail id

While sending mails using sendmail, the domain name is getting appended to the from id. My requirement is not to have that domain name in the From mail id. Could anyone help me on this? I am using the below command: cat t|/usr/lib/sendmail -f"Admin" user1@domain1.com (0 Replies)
Discussion started by: skar_a
0 Replies

7. UNIX for Dummies Questions & Answers

displaying network domain name in tru64

Hello: does anyone of you know how can I get the network domain name that my tru64 server belongs to??? Thanks alot (5 Replies)
Discussion started by: aladdin
5 Replies

8. UNIX for Dummies Questions & Answers

block certain domain from sending mail to server

hi currently i have a server that is able to send out and receive mail. is there a way to configure the server such that mails can be sent to a certain domail like abc@yahoo.com but block mails from this domain abc@yahoo.com. the server is running on solaris 10. thanks in advance :) (2 Replies)
Discussion started by: legato
2 Replies

9. AIX

Problem sending mail to an external domain

On one of our AIX servers, I'm having problems sending email to an external domain. I'm not a SYSADM and not sure how to troubleshoot this issue. Any help will be greatly appreciated. The following mail components are installed on the server $ lslpp -l bos.mh Fileset ... (2 Replies)
Discussion started by: voorkey
2 Replies

10. UNIX for Dummies Questions & Answers

home network - can you have a primary name server, or only a caching-only name server

i'm setting up a solaris 9 box to be my home network's DNS server. actually it's up and running, but it's set as a caching-only name server. can i set it up to be the primary name server? what are the advantages if i can set it up to be a primary name server vs. a caching only name server? (3 Replies)
Discussion started by: xyyz
3 Replies
Login or Register to Ask a Question