Micheal
03-06-2002, 03:24 PM
Well I'm starting to think that way now after trying to get it up and running for the past two days.
The problem is simple I think? I can send emails through the server from one user to the next (Localhost) all day long, but I can not send mail to other servers or login and check users email on this server.
When i first got the server sendmail was already installed and worked as stated above, however imap (RPM) was not installed so i installed it and still nothing.
Is there a simple to read users guide on installing and configuring sendmail, or can someone please type down the steps and others things needed.
Thanks
AudiBoy
03-06-2002, 03:31 PM
Sendmail can be a pain when you are first starting out with it, actually now that i think about it - it's always a pain!
To be able to sendmail outside of your server you will need to add an entry to your relay-domains file (either ip address or hostname), located in /etc/mail (if you are using redhat)
This will allow sendmail to relay for this computer, since sendmail by defualt will not relay (atleast the newer versions). another way to do this is to setup some sort of authenication system - but one step at a time....
you will also want to add a entry to local-host-names. Add your domain name in here. This will tell sendmail to accept emails for your domains. If you have more than one domain on this machine, add them all in this file..
Hopefully this will get you started in the right direction!
jay.
Micheal
03-06-2002, 04:27 PM
Well thanks that did start me in the correct direction, I can now sent emails to user using the domain name now.
ie: mike@hisdomain.com
and then go to the users mailbox (mike) and find the email I send.
I inputed the following into the Address Mapping file so I can use anything@hisdomain.com and it now goes to the user mike.
@hisdomain.com mike
but this is local I still can not send or recieve emails from outside of my server, when i send an email outside the server it just goes to the Mail Queue and stays there. however it does show a status (Im using webmin by the way) of:
host map: lookup (hisdomain.com): deferred
Any help would be great
AudiBoy
03-06-2002, 04:37 PM
Sounds like possibly you do not have your name servers setup?
that error message usually appears when it can't resolve the domain names.. Check to make sure you have the proper entries in resolv.conf
Micheal
03-06-2002, 05:11 PM
Well here is what it looks like:
search mymain.server.com
nameserver **.**.**.**
nameserver **.**.***.***
I can http and FTP to all of my site's hosted.
CagedTornado
03-10-2002, 02:03 AM
What errors are getting logged to /var/log/maillog ? Sendmail is usually good at logging stuff.
Dan
jakis
03-10-2002, 12:27 PM
Hey , I love sendmail default installation for single domain.
But when it comes to virtual domains , Go to Postfix, it has bunch of configuration like sendmail . Don't use qmail, It's really inflexible.