[Webinar] Learn how to a build a cloud-first strategyRegister Now



Posted on 2006-04-25
Medium Priority
Last Modified: 2013-12-16
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!

- Chris
Question by:neester
  • 2
LVL 11

Author Comment

ID: 16534042
As it turns out the problem is ONLY with the one user:


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)
LVL 11

Author Comment

ID: 16534311
Ok Found a very silly file:


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

Anyway, thats the fix!

Accepted Solution

GranMod earned 0 total points
ID: 16767689
PAQed with points refunded (500)

Community Support Moderator

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month20 days, 12 hours left to enroll

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question