Can not read mail form new users

Discussion in 'Server Operation' started by leen, Apr 12, 2006.

  1. leen

    leen New Member

    Wthout getting any kind of error report, I can not read mail from users I make.

    In Outlook express aswell as eubimiau .

    I have read some topics but could not find the solution.

    Sending mail from teh new accounts is working OK but when someone else sends mail it seems to arrive but In the users account it is not shown.

    Who can help me?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    netstat -tap
    ? What's in the mail log?
    Which distribution do you use?
     
  3. leen

    leen New Member

    Falko,

    I sent You pm
     
  4. leen

    leen New Member

    Ok the netstat -tap and logfile were OK.
    Just checking,... the checkbox is empty
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Is this your server's public IP address? 84.245.3.38
     
  6. leen

    leen New Member

    Yes, it is a registered IP adress.
    I do get to see the mail that is sent to the admin user, but not the new user I make.
    I didn't mention this yet. Maybe it helps
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Can you post an excerpt of the mail log when you send an email to the admin and another email to another user?
     
  8. leen

    leen New Member

    Sorry, but what is an excerpt.

    Do you mean the sourcecode of the message
     
  9. falko

    falko Super Moderator Howtoforge Staff

    No, relevant snippets from the mail log.
     
  10. leen

    leen New Member

    Is this what you are looking for?

    Apr 14 09:16:10 www ipop3d[5016]: pop3 service init from 84.245.14.192
    Apr 14 09:16:11 www ipop3d[5016]: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
    Apr 14 09:16:11 www ipop3d[5016]: Login user=romano host=84-245-14-192.dsl.cambrium.nl [84.245.14.192] nmsgs=0/0
    Apr 14 09:16:11 www ipop3d[5016]: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
    Apr 14 09:16:11 www ipop3d[5016]: Logout user=romano host=84-245-14-192.dsl.cambrium.nl [84.245.14.192] nmsgs=0 ndele=0
    Apr 14 09:16:11 www ipop3d[5017]: pop3 service init from 84.245.14.192
    Apr 14 09:16:12 www ipop3d[5017]: Login user=webmaster host=84-245-14-192.dsl.cambrium.nl [84.245.14.192] nmsgs=0/0
    Apr 14 09:16:12 www ipop3d[5017]: Logout user=webmaster host=84-245-14-192.dsl.cambrium.nl [84.245.14.192] nmsgs=0 ndele=0
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Please run
    Code:
    chmod 1777 /var/spool/mail
     
  12. leen

    leen New Member

    I did this but still not working.

    I tried something.
    I added a new user but this time I gave him webspace aswell.
    This time it did work and the user is getting mail.

    So I deleted the webmaster account and empty'd the trashcan.
    And made the same account again this time with webspace.
    But again it didn't work.
     
    Last edited: Apr 14, 2006
  13. leen

    leen New Member

    Finally I got it working.

    Again I deleted the account and set it it again.
    But this time I gave the emailadres an new username and password.

    Then it worked.

    So now myquestion is, could there be a bug when deleting users and then making a new user with the same name and password as before.
    Because as far as I can see this is what happened
     
  14. falko

    falko Super Moderator Howtoforge Staff

    I've tested so much, and never seen something like this. When you delete a user, it's completely deleted (from /etc/passwd, /etc/shadow, ...), so I don't know how it can conflict with a new user which happens to have the same password. :confused:
     
  15. leen

    leen New Member

    Well, then it's probably just a glitsh in my system.

    Anyway , Thanks for your help.
     

Share This Page