|
Home > Archive > Red Hat Topics > September 2004 > Mail is rejected for a new user
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Mail is rejected for a new user
|
|
| Mark Healey 2004-09-23, 8:45 pm |
| I created a new account with "useradd name" on a Redhat 9 box I can
ssh into this account. When I send mail to this account it is bounced
with user unknown.
What's wrong?
--
Mark Heaely
marknews(at)healeyonline(dot)com
| |
| Paul Lutus 2004-09-23, 8:45 pm |
| Mark Healey wrote:
> I created a new account with "useradd name" on a Redhat 9 box I can
> ssh into this account. When I send mail to this account it is bounced
> with user unknown.
>
> What's wrong?
Most likely "useradd" didn't create a user account that includes e-mail.
Look in /var/mail to see if the user has a file. This is not assured, the
file usually doesn't appear until there is some mail.
Which user name? There are some user names that cause mail to fail, because
of specific characters in the name.
--
Paul Lutus
http://www.arachnoid.com
| |
| Mark Healey 2004-09-24, 2:45 am |
| On Fri, 24 Sep 2004 00:54:13 UTC, Paul Lutus <nospam@nosite.zzz>
wrote:
> Mark Healey wrote:
>
>
> Most likely "useradd" didn't create a user account that includes e-mail.
> Look in /var/mail to see if the user has a file. This is not assured, the
> file usually doesn't appear until there is some mail.
It's there.
> Which user name? There are some user names that cause mail to fail, because
> of specific characters in the name.
markAB
--
Mark Heaely
marknews(at)healeyonline(dot)com
| |
| Paul Lutus 2004-09-24, 2:45 am |
| Mark Healey wrote:
> On Fri, 24 Sep 2004 00:54:13 UTC, Paul Lutus <nospam@nosite.zzz>
> wrote:
>
>
> It's there.
>
>
> markAB
Okay. If the user file is in /var/mail, and if the pop3 server is running,
and if the error messages you report is truly what you got, then tell me
exactly how you created the e-mail login account. Also, try this method
(your entries to the pop3 session are marked with ">"):
$ telnet (hostname) 110
Trying (ip address)...
Connected to (hostname) (IP address).
Escape character is '^]'.
+OK QPOP (version 3.1b5) at (server.name) starting.
<session-number@server.name>
> user (user name)
+OK Password required for (user name).
> pass (password)
+OK (user) has 0 visible messages (0 hidden) in 0 octets.
This direct access approach is a good way to find out exactly what is going
on.
--
Paul Lutus
http://www.arachnoid.com
| |
| Mark Healey 2004-09-24, 5:45 pm |
| On Fri, 24 Sep 2004 06:02:14 UTC, Paul Lutus <nospam@nosite.zzz>
wrote:
> Mark Healey wrote:
>
>
> Okay. If the user file is in /var/mail, and if the pop3 server is running,
> and if the error messages you report is truly what you got, then tell me
> exactly how you created the e-mail login account.
useradd markAB
Also, try this method
> (your entries to the pop3 session are marked with ">"):
>
> $ telnet (hostname) 110
> Trying (ip address)...
> Connected to (hostname) (IP address).
> Escape character is '^]'.
> +OK QPOP (version 3.1b5) at (server.name) starting.
> <session-number@server.name>
> +OK Password required for (user name).
> +OK (user) has 0 visible messages (0 hidden) in 0 octets.
>
> This direct access approach is a good way to find out exactly what is going
> on.
That worked as you implied it should. I can send and fetch (of course
nothing is there) from the new account using a remote client with no
problems.
--
Mark Heaely
marknews(at)healeyonline(dot)com
| |
| Paul Lutus 2004-09-24, 5:45 pm |
| Mark Healey wrote:
/ ...
>
> That worked as you implied it should. I can send and fetch (of course
> nothing is there) from the new account using a remote client with no
> problems.
You have just added new information. Now the problem is local access, and
remote access works all right. Yes?
Check the contents of /etc/hosts. Make sure localhost is defined correctly,
and that the machine has a defined hostname and IP other than localhost's
name and IP.
If I am still misinterpreting the problem, please clarify -- exactly what is
not working?
--
Paul Lutus
http://www.arachnoid.com
| |
| Mark Healey 2004-09-24, 5:45 pm |
| On Fri, 24 Sep 2004 16:19:40 UTC, Paul Lutus <nospam@nosite.zzz>
wrote:
> Mark Healey wrote:
>
> / ...
>
>
> You have just added new information. Now the problem is local access, and
> remote access works all right. Yes?
>
> Check the contents of /etc/hosts. Make sure localhost is defined correctly,
> and that the machine has a defined hostname and IP other than localhost's
> name and IP.
>
> If I am still misinterpreting the problem, please clarify -- exactly what is
> not working?
It cannot receive mail for the markAB account.
I logged in to another account and sent a test message. It was
bounced.
I sent a test message to a third user account and it went fine.
For some reason the mail software thinks that the user markAB doesn't
exist.
--
Mark Heaely
marknews(at)healeyonline(dot)com
| |
| Aussie Fred 2004-09-25, 7:45 am |
| In <VP2SpNyJrzMZ-pn2-74p9sdM3u3wu@adsl-63-207-135-60.dsl.sndg02.pacbell.net>
Mark Healey wrote:
> On Fri, 24 Sep 2004 16:19:40 UTC, Paul Lutus <nospam@nosite.zzz>
> wrote:
>
>
> It cannot receive mail for the markAB account.
>
> I logged in to another account and sent a test message. It was
> bounced.
>
> I sent a test message to a third user account and it went fine.
>
> For some reason the mail software thinks that the user markAB doesn't
> exist.
>
Huh? In one sentence you say you can send and fetch mail from the new
account then you say you cannot receive mail for the account as it bounces.
I can't follow!!!!
Anyway do you have the Mbox or maildir setup correctly fo rthe new user?
| |
| Mark Healey 2004-09-27, 2:45 am |
| On Sat, 25 Sep 2004 18:54:16 UTC, Pip <Pip@cwci.TheKinkyUnderwear.com>
wrote:
> Mark Healey wrote:
>
>
>
> Mail doesn't like capital letters in an account. It will try to deliver to
> markab, and find there's no such thing.
Thanks, that fixed it.
--
Mark Heaely
marknews(at)healeyonline(dot)com
|
|
|
|
|