Relaying- Denied

I have Linux 2.0, and I use some virtual Domains, I can Recive emails using de virtual domains, but I can´t send a email using the virtual domian. The error is 550 Relaying Denied.
 I need Help.
netmontAsked:
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.

marko020397Commented:
You could look in the /etc/sendmail.cf file and find the line
where it says "Relaying denied". You can then comment
this line by putting # in the first column. Your sendmail
will now relay all mail. This solution is not good, because
anyone could now relay through your machine and sooner
or later some guys will show up who will use your relay to
send spam mail through your mail server.

The other solution is to allow relaying only to domains on
your computer. You will have to write the domains in
/etc/sendmail.cw. Then you will have to specifiy from which
IP addresses relaying is allowed. I have RedHat Linux 6.0
and I will write where I have to specify. It is possible that
you will have to find it somewhere else on your Linux.
In /etc/mail/access I specify IPs. When I make changes
in /etc/mail I have to run make in this directory to make
map files. You will find your access file somwhere close to
the file where you write in virtual email adresses.
0

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
9116kbCommented:
I have the same problem but on XP, what do I do?
0
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
Linux

From novice to tech pro — start learning today.