Re: Setting up mail server


Subject: Re: Setting up mail server
From: Greg Jetter (greg@lazymountain.com)
Date: Wed Dec 26 2001 - 14:59:48 AKST


On Wednesday 26 December 2001 09:01 am, 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

You need to change the config file and regenerate it , the easy way is with
linuxconfig program . What you need to do is set sendmail to accept mail
addressed to "@techalaska.com" this will accept any mail addressed to your
domain , what you now have is sendmail set to accept mail only to
"hostname.techalaska.com" where hostname is the name you gave your machine
when you installed the O/S. I had the same problem when I set up mine a few
weeks ago . Also to get around the reversal DNS look up that some mail
systems require befor they will accept your mail you can just masqurade your
outgoing mail by setting up send mail to masqurade as a known mail server .
I use smpt.gci.net for mine because I have a dilaup account there.

You could also edit the sendmail.mc yourself and generate the new
sendmail.cf by using the m4 macro processor if you realy want to get your
hands dirty , but the easy way is to let linuxconfig program handel that for
you all you got to do is anaser a few questions....

hope that help a little

Greg Jetter



This archive was generated by hypermail 2a23 : Wed Dec 26 2001 - 14:55:13 AKST