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?
 
GranModCommented:
PAQed with points refunded (500)

GranMod
Community Support Moderator
0
 
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)
0
 
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!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.