Linux email problem

I installed a inux mail server on my server

Usinf Fedora 4

I had problems sending email from an outside address which seems to be taking care of but now when I try

to send a reply to the out side address I get

Your message did not reach some or all of the intended recipients.

      Subject:      RE:
      Sent:      4/2/2006 10:14 AM

The following recipient(s) could not be reached:

      'Andrew Renolds' on 4/2/2006 10:14 AM
            554 <>: Relay access denied

I am using postfix any ideas
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

you need to ask the admin of the SMTP relay you configured how to use that server, probably you need to authenticate or the relay needs to allow access from your server
arahmingAuthor Commented:
I'm confused I had exchange set up last week and everything worked fine. I installed linux and now the box recieves but will not send...

I am a Linux novice....

How are you sending that email? is their a user connecting in remotly and sending it? what mail server are you using?
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

You must have mail relying enabled in your server configuration. For most servers it is off by default. Write what is the name of your server. It it's postfix I can give my configuration file for checkout.
In postfix, there are various way to allow users to use your email server for sending.  The most common is permit_mynetworks.  Where any network declared in the mynetworks parameter are allowed.  If your IP isn't in one of those approved networks, then you must be allowed another way.  I use permit_sasl_authenticated as my secondary authentication.  This means  you need to setup server authentication on the client as well.  If you wish to use SMTP AUTH as an approval mechanism you need to setup a few items

cd /etc/postfix
mkdir sasl
vi smtpd.conf

smtpd.conf contents
mech_list:         plain login
pwcheck_method:    saslauthd
log_level:      3
You can have other auth mechanisms listed, but for Outlook you need those two. Other would be cram-md5 and digest-md5 etc.
Now you need to make sure that saslauthd daemon is installed and running.
Now in /etc/sysconfig/saslauthd, you should have
# $Id: saslauthd.sysconfig,v 1.1 2001/05/02 10:55:48 wiget Exp $
# Authentications mechanism (for list see saslauthd -v)

# Hostname for remote IMAP server (if rimap auth mech is used)
# Ldap configuration file (if ldap auth mech is used)

# Extra options (for list see saslauthd -h)
the SASL_AUTHMECH needs to be shadow.  This mech just makes it easier because it will use the system shadow file for authentication.
So long as your /var/spool and the /var/lib directories are on the same partition this will work.  saslauthd creates a hard link file for postfix to use to check with saslauthd different credentials.  hard links cannot be created cross partition so thus won't work.

If this isn't the way you want to go let us know.  But for remote users, this is what I recommend.  And once you get that working you should configure SSL usage

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
arahmingAuthor Commented:
Anyway I attempted whats listed above to no avail I am still getting the error was going to try pop before smtp but that doesn't seem to work either web mail works great. I am starting to understnad why you pay so much for exchange take 1/2hour to confiure this is going on two weeks
try add the domain into your access database, normally it's in /etc/mail

edit the access file as below         relay

after add the above line run makemap hash access.db<access.   <----- this will write what you add into the access database

after that try again.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.