Email not received in squirrelmail inbox

Discussion in 'Email Discussions' started by whdashboard, Apr 21, 2013.

  1. whdashboard

    whdashboard New Email

    Joined:
    Apr 20, 2013
    Messages:
    3
    Likes Received:
    0
    Hello,

    I have configured the squirrelmail on the server with sendmail and dovecot. I am able to send mail but when any one reply me or send me mail, I am not able to received that mails in "squirrelmail INBOX". The mail display in "/var/spool/mail" directory. I am not able to understand where I am wrong.

    Please help me how to resolve this issue.

    Thanks and regards,
     


  2. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,983
    Likes Received:
    120
    Hello,

    In this file:

    /etc/dovecot/conf.d/10-mail.conf

    Try setting:

    mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u

    That should be all that's needed for dovecot to see the mail in /var/spool/mail

    :welcome: to Email Questions!
     

  3. whdashboard

    whdashboard New Email

    Joined:
    Apr 20, 2013
    Messages:
    3
    Likes Received:
    0
    Hello,

    When I place a mail_location in " /etc/dovecot/conf.d/10-mail.conf" file.

    mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u

    I am getting this error :

    ERROR: Could not complete request.
    Query: SELECT "INBOX"
    Reason Given: [SERVERBUG] Internal error occurred. Refer to server log for more information. [2013-04-21 05:05:23]


    Please tell me how to resolve it.

    Thanks and regards,
     
  4. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,983
    Likes Received:
    120
    What do your logs say?
     
  5. whdashboard

    whdashboard New Email

    Joined:
    Apr 20, 2013
    Messages:
    3
    Likes Received:
    0
    Hello,

    Thank you popowich,

    Issue has been fixed. there are some errors like :

    Apr 21 05:34:23 server dovecot: imap(promotions): Error: mkdir(/home/promotions/mail/.imap/INBOX) failed: Operation not permitted

    Apr 21 05:44:24 server dovecot: imap(promotions): Error: chown(/home/promotions/mail/.imap/INBOX

    I have just made changes :

    [root@server .imap]# mdkir INBOX
    [root@server .imap]# chown promotions.promotions INBOX/
    [root@server .imap]# cd INBOX/

    and the issue has been fixed.
    Thank you very much
     
  6. Koodli

    Koodli New Email

    Joined:
    Sep 3, 2015
    Messages:
    1
    Likes Received:
    0
    Hello,
    I actually triedwhat you have mentioned above and it works, thanks! but I have more than 200 users and 20 groups, It will be very difficult for me to create INBOX for each and everyone. Please suggest if I can solve this by any other way!
     
  7. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,983
    Likes Received:
    120
    Hi @Koodli

    It should be easy to create the INBOX and permissions with a simple shell script.

    Do you know how to make a script with bash or perl?

    If not, this is an excellent task to start learning how to program loops against a text file full of data such as usernames and reading the rest of the needed info from /etc/passwd
     
  8. jorge juarez

    jorge juarez New Email

    Joined:
    Oct 26, 2015
    Messages:
    1
    Likes Received:
    0
    ERROR: Could not complete request.
    Query: SELECT "INBOX"
    Reason Given: [SERVERBUG] Internal error occurred. Refer to server log for more information.

    hello I keep getting this when i log on and I keep looking for ways to fix it but i really can't could you help me please
     

Want to reply or ask your own question?

It only takes a minute to sign up (and it's free!). Click the orange sign up button to choose a username and then you can ask your own questions on the forum.
Loading...