Need Help With MAILSERVICES on CENTOS4

Hey Experts.

I want to get email working on my server.
However, everything I try is bombing out.

Right now I have DOVECOT running with POSTFIX.

I have tried installing a myriad of other mail programs etc...
Some didn't have uninstallers etc...
So now I am feeling a bit awkward.

I tried to fall back on dovecot with postfix.
(which still works)

However, I created a new user
% adduser webmaster
% passwd webmaster

^ to create the "webmaster@xxx.com" email address

That worked great.
Previously any emails to "webmaster@xxx.com" were rejected with a 550 error.
Now they are accepted.
BUT - they get delivered to "root".

Why is this happening?
The EXISTING users get their emails just fine!
Thanks!

- Chris
LVL 11
neesterAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

neesterAuthor Commented:
As it turns out the problem is ONLY with the one user:

"webmaster"

I have added/removed that user.
deleted the /var/spool/mail file.
I have deleted the /home/webmaster/ folder

I have added NEW users and they work fine!

for some reason "webmaster" doesnt get a: ".mail" folder inside the home directory.

This is the header from an email to "webmaster@xxx.com"

The headers all say:

From: someuser@xxxx.com
X-Original-To: webmaster@xxxx.com
Delivered-To: root@xxxx.com
From: root@xxxxx.com (Cron Daemon)
To: webmaster@xxxx.com
Subject: YYYYYYY

A note: this email is from a CRON JOB run by "someuser", with the MAILTO set to deliver to "webmaster"
thats why its a little odd, but that is exactly how ALL emails appear.

They always have: "delivered-to"

(this is interesting, because I would LOVE to have some alias's, like: webmaster@xxx.com and chris@xxxx.com goto the same mailbox [i dont want a catch all]. But cant work out how to configure this email system :S)
neesterAuthor Commented:
Ok Found a very silly file:

/etc/aliases

It has mail aliases for a TONNE of things.
Stupid if you ask me.

Anyway, thats the fix!
GranModCommented:
PAQed with points refunded (500)

GranMod
Community Support Moderator

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
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.