Mail is rejected for a new user
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Topics > Mail is rejected for a new user




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Mail is rejected for a new user  
Mark Healey


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-04 01:45 AM

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





[ Post a follow-up to this message ]



    Re: Mail is rejected for a new user  
Paul Lutus


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-04 01:45 AM

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






[ Post a follow-up to this message ]



    Re: Mail is rejected for a new user  
Mark Healey


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-04 07: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, becaus
e
> of specific characters in the name.

markAB


--
Mark Heaely
marknews(at)healeyonline(dot)com





[ Post a follow-up to this message ]



    Re: Mail is rejected for a new user  
Paul Lutus


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-04 07: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






[ Post a follow-up to this message ]



    Re: Mail is rejected for a new user  
Mark Healey


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-04 10: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 goin
g
> 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





[ Post a follow-up to this message ]



    Re: Mail is rejected for a new user  
Paul Lutus


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-04 10: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






[ Post a follow-up to this message ]



    Re: Mail is rejected for a new user  
Mark Healey


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-04 10: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





[ Post a follow-up to this message ]



    Re: Mail is rejected for a new user  
Aussie Fred


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-25-04 12:45 PM

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?







[ Post a follow-up to this message ]



    Re: Mail is rejected for a new user  
Mark Healey


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-27-04 07: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:18 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register