Re: Setting up mail server


Subject: Re: Setting up mail server
From: James Bagley Jr. (james@thelostnet.net)
Date: Wed Dec 26 2001 - 11:46:40 AKST


sounds like a sendmail config thing. Bummer.

Since I never learned the obscure syntax of the sendmail configuration
file I don't think I can help you other than to say:
http://www.postfix.org/

I've been told that once you figure out how the syntax of the sendmail
config file works that it is very flexible and easy to work with. Maybe
someone else on the list could provide some more insight...

I did feed some SMTP commands to your mail server with some interesting
results:

---
$ nc mail.techalaska.com 25
220 sspeedy.techalaska.com ESMTP Sendmail 8.11.6/8.11.6; Wed, 26 Dec 2001 12:38:52 -0900

HELO akind.arctic.net 250 sspeedy.techalaska.com Hello akind.arctic.net [209.124.141.225], pleased to meet you

MAIL FROM:james@thelostnet.net 250 2.1.0 james@thelostnet.net... Sender ok

RCPT TO:greg@techalaska.com 550 5.7.1 greg@techalaska.com... Relaying denied

RCPT TO:greg@sspeedy.techalaska.com 250 2.1.5 greg@sspeedy.techalaska.com... Recipient ok ---

Clearly, sendmail doesn't realize that it should be the final destination for mail sent to 'techalaska.com'. It is also advertising a host 'sspeedy.techalaska.com' that doesn't exist, this will cause problems when you try to send mail. Your mail server should advertise the hostname resolved by a reverse lookup of your ip address, which is:

cable-186-3-237-24.anchorageak.net

and, your mail server should accept delivery of mail sent to techalaska.com

If you can figure out how to make sendmail do those two things you are in.

hope that helps,

james

On Wed, 26 Dec 2001 fsgkme@newsguy.com wrote:

> > > >That was probably longer than it needed to be. Oh well... > > > Excellent explanation. For a beginner like myself it's nice to see the details > of some of the commands in use. > > Here's my question. I've been trying to setup sendmail to work on my system > with no luck. I have a user setup on the system named greg. Then I try sending > an email to both greg@techalaska.com and root@techalaska.com with the > following replies. > > ----- The following addresses had permanent fatal errors ----- > greg@techalaska.com > > ----- Transcript of session follows ----- > ... while talking to mail.techalaska.com.: > >>> RCPT To:<greg@techalaska.com> > <<< 550 5.7.1 <greg@techalaska.com>... Relaying denied > 550 greg@techalaska.com... User unknown > > > ----- The following addresses had permanent fatal errors ----- > root@techalaska.com > > ----- Transcript of session follows ----- > ... while talking to mail.techalaska.com.: > >>> RCPT To:<root@techalaska.com> > <<< 550 5.7.1 <root@techalaska.com>... Relaying denied > 550 root@techalaska.com... User unknown > > > The sendmail setup is the default that comes with redhat 7.2. Is there > anything I need to change in the config files for sendmail? > > thanks, > Greg > > > >

-- Don't panic.



This archive was generated by hypermail 2a23 : Wed Dec 26 2001 - 12:59:49 AKST