Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-18-2006, 02:13 PM   #1
Vegetarian Smoker
LQ Newbie
Registered: Dec 2005
Location: St. Louis Area
Distribution: Windoze Vista x64; Debian 4.0r0 server
Posts: 23

Rep: Reputation: 15
Mail Server Issues; Can't Send E-mail (using sendmail)

Hello Everyone,

Currently I'm trying to set up an E-mail server. To keep things simple, I'm using a VMWare virtual machine so the "server" isn't yet serving any useful purpose. I'm doing this so I don't try to set up a useful server until I figure it out. I'm also doing this so I don't yet need to concern myself with spam protection or virus protection for E-mail. Of course I plan to implement these features later, but I figure one step at a time. To me, the first step is getting the E-mail server to work.

Currently my virtual machine is using Debian 3.1, and I plan to use Sendmail and Dovecot. I have managed to install both Sendmail and Dovecot. I've gotten to the point of being able to log in to check messages on the mail server via an E-mail client, and it's worked from both the host machine and two other virtual machines, all of which are on the local network (I haven't yet decided to forward E-mail traffic from my router to the faux E-mail "server," since I figure one step at a time.).

Unfortunately, I cannot seem to be able to send E-mails between different accounts on the server. I've set up a couple of bogus accounts on the server so I could use them for E-mail, but I can't receive E-mail. I've tried and failed at sending E-mail between the accounts locally on the server, logging in as each user to see if the message was received. When I try writing a message on an E-mail client on a seperate machine, I get an error stating that the server is either unavailable or isn't accepting SMTP connections. I know the "server" is available because I make sure the virtual machine is running before I try anything (and I can ping the "server").

The thoughts I have are:

Something in the configuration is bad, but I'm not sure what. I've never set up an E-mail server before so it could be any number of things.

Debian *may* have a firewall turned on by default. I don't know. If this is the problem, how do I disable it? Remember, this "server" is a virtual machine that serves no useful purpose, so security isn't a concern right now.

It could be a combination of the above.

Somehow, if the firewall is causing a problem, I doubt it's just that. Remember I can't send messages between the accounts, even if I try to do so locally on the "server," using the Mail program. I know it's not the firewall on the client side, because two of my "clients," also virtual machines serving no useful purpose, don't have firewall software installed.

I'm also using IP addresses directly (when I set up the E-mail clients). The DNS isn't working on the "server" right now. But is that an issue if I use the IP addresses directly? I'll fix the DNS eventually, but I wonder if that'll cause a problem if I don't try to use DNS names?

Right now, my principle concern is to set up the E-mail "server" so it can send E-mail between PCs on the local network. I'm not yet going to worry about spam protection, virus protection, or even DNS. I figure those are things I can worry about setting up and fixing later.

Any thoughts?

Old 06-18-2006, 02:16 PM   #2
Vegetarian Smoker
LQ Newbie
Registered: Dec 2005
Location: St. Louis Area
Distribution: Windoze Vista x64; Debian 4.0r0 server
Posts: 23

Original Poster
Rep: Reputation: 15
Also, since I'm using a virtual machine, it's easy for me to scrap it and start fresh. Would that be easier?

Any reason why I shouldn't use Sendmail and Dovecot?

Whatever I use, it needs to be something I can secure, because even if all I care about now is getting it to work, I'll want to set up security after I make it work.



debian, dovecot, email, sendmail, server

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
Using sendmail to relay mail to ISP mail server Swift&Smart Linux - Software 26 11-09-2008 03:00 PM
Mail server can no longer send mail. pdeman2 Linux - Networking 22 06-09-2006 09:56 PM
how to send all mail through isp server with sendmail or? dlm4444 Linux - Wireless Networking 1 07-06-2005 04:07 PM
I can't send mail by using local mail server hus Linux - Software 0 05-10-2004 02:18 PM
I cannot send mail using Outlook and sendmail server? tthai01 Linux - Networking 2 02-12-2003 08:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration