Webmail problems with only one domain?

Discussion in 'Installation/Configuration' started by compner, Feb 22, 2007.

  1. compner

    compner New Member

    Hello,

    I am running ispconfig on centos 4.4 with postfix and dovecot. I currently am hosting 16 domains and everything is working nicely, except for one single domain. I cannot get webmail to work with this one domain. I have tried squirrelmail, roundcube, and uebimiau. All of these packages work just fine for all of my domains, but none of these will work properly for this one domain.
    I have also tried openwebmail, which actually does work for everybody including this problem domain, except that I cannot get any icons to show?? (i have followed threads for that problem but none solved that problem for me)

    Anyways back to this one domain. The mail account itself works fine, I can connect with thunderbird and send/receive no problem. Also openwebmail it works fine, apart from the icons.

    When I log in using Squirrelmail, it shows this error:

    ERROR: Connection dropped by IMAP server.
    Query: CAPABILITY

    Not one of my other domains has this problem with Squirrelmail.

    When I log in with Uebimiau, it will not display the inbox. I can send mail no problem through uebimiau, but it will not display any messages in the inbox. Again, not one of my other domains has this problem.

    When I log in with roundcube, all I get is a blank page. Other domains work fine.

    I have deleted and recreated this domain 3 times now, and always have the same issue. I can add another domain and it will work fine. Php scripts and mysql are enabled, just like the other accounts. What's driving me nuts is that the domain's email account works fine, but why these errors on only this domain even after wiping and recreating it? I will try and figure out the openwebmail icon problem and get them using that, but there is obviously an underlying issue here that I need to resolve to prevent future problems.

    Help?
     
  2. falko

    falko Super Moderator

    Any errors in the mail log and Apache's error log?
    What's the domain name? Can you post the vhost configuration here?
     
  3. compner

    compner New Member

    Actually the problem has now progressed, this morning I went to check my email with thunderbird and was unable to log in, seems all my domains now have a new problem!

    I am getting this error in the logs:


    dovecot: chroot directory no included in valid_chroot_dirs: /var/www/web2

    I have not touched my dovecot.conf file, it has this line commented out:

    #valid_chroot_dirs =

    but until yesterday things were working fine. Should I now set this value to something? Googling did not help, I tried setting this to /var/mail and /var/www and restarting dovecot but that did not help either.

    I got openwebmail working yesterday (got the icons to finally show) but now the dovecot problem, only I did not change this. Help?
     
  4. till

    till Super Moderator

    Never seen this problem before. Can you disable chrooting in dovecot.conf file?
     
  5. Chip

    Chip New Member

    I have a simmilar problem, error: capability when trying to use squirrelmail, I don't quite know what to do or where to start looking for errors.
     
  6. falko

    falko Super Moderator

    Any errors in your mail log (in /var/log)?
     
  7. Chip

    Chip New Member

    The following error shows up when I try to login via sentimail:



    Code:
    Feb  5 16:29:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:29:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:29:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:29:28 server last message repeated 2 times
    Feb  5 16:29:28 server dovecot: child 29165 (login) returned error 127
    Feb  5 16:29:28 server dovecot: child 29166 (login) returned error 127
    Feb  5 16:29:28 server dovecot: child 29167 (login) returned error 127
    Feb  5 16:29:28 server dovecot: child 29168 (login) returned error 127
    Feb  5 16:29:28 server dovecot: child 29169 (login) returned error 127
    Feb  5 16:29:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:29:28 server dovecot: child 29170 (login) returned error 127
    Feb  5 16:30:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:30:28 server last message repeated 2 times
    Feb  5 16:30:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:30:28 server last message repeated 2 times
    Feb  5 16:30:28 server dovecot: child 29286 (login) returned error 127
    Feb  5 16:30:28 server dovecot: child 29287 (login) returned error 127
    Feb  5 16:30:28 server dovecot: child 29288 (login) returned error 127
    Feb  5 16:30:28 server dovecot: child 29289 (login) returned error 127
    Feb  5 16:30:28 server dovecot: child 29290 (login) returned error 127
    Feb  5 16:30:28 server dovecot: child 29291 (login) returned error 127
    
    
    Feb  5 16:31:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:31:28 server last message repeated 2 times
    Feb  5 16:31:28 server dovecot: child 29343 (login) returned error 127
    Feb  5 16:31:28 server dovecot: child 29344 (login) returned error 127
    Feb  5 16:31:28 server dovecot: child 29345 (login) returned error 127
    Feb  5 16:31:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:31:28 server dovecot: child 29346 (login) returned error 127
    Feb  5 16:31:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:31:28 server dovecot: child 29348 (login) returned error 127
    Feb  5 16:31:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:31:28 server dovecot: child 29347 (login) returned error 127
    
    
    And when I try to use squirrelmail:

    Code:
    Feb  5 16:35:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:35:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:35:28 server dovecot: child 29713 (login) returned error 127
    Feb  5 16:35:28 server dovecot: child 29714 (login) returned error 127
    Feb  5 16:35:28 server dovecot: child 29716 (login) returned error 127
    Feb  5 16:35:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:35:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:35:28 server dovecot: child 29715 (login) returned error 127
    Feb  5 16:35:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:35:28 server dovecot: child 29717 (login) returned error 127
    Feb  5 16:35:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:35:28 server dovecot: child 29718 (login) returned error 127
    
    Feb  5 16:36:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:36:28 server last message repeated 2 times
    Feb  5 16:36:28 server dovecot: child 29841 (login) returned error 127
    Feb  5 16:36:28 server dovecot: child 29842 (login) returned error 127
    Feb  5 16:36:28 server dovecot: child 29843 (login) returned error 127
    Feb  5 16:36:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:36:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:36:28 server dovecot: child 29844 (login) returned error 127
    Feb  5 16:36:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:36:28 server dovecot: child 29846 (login) returned error 127
    Feb  5 16:36:28 server dovecot: child 29845 (login) returned error 127
    
    
    Feb  5 16:37:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:37:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:37:28 server last message repeated 2 times
    Feb  5 16:37:28 server dovecot: child 29972 (login) returned error 127
    Feb  5 16:37:28 server dovecot: child 29973 (login) returned error 127
    Feb  5 16:37:28 server dovecot: child 29974 (login) returned error 127
    Feb  5 16:37:28 server dovecot: child 29975 (login) returned error 127
    Feb  5 16:37:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:37:28 server dovecot: child 29976 (login) returned error 127
    Feb  5 16:37:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
    Feb  5 16:37:28 server dovecot: child 29977 (login) returned error 127
    
    

    If required I can attach a longer maillog message.
     
  8. till

    till Super Moderator

    Is this a virtual server? If yes, ask your ISP to add more memory to your server.
     
  9. Chip

    Chip New Member

    Hi,

    No, it is a dedicated server, maintained by us, with 4GB ram

    -bash-3.1$ free
    total used free shared buffers cached
    Mem: 4031828 3781196 250632 0 43292 2406028
    -/+ buffers/cache: 1331876 2699952
    Swap: 2031608 3568 2028040

    from ISPConfig

    Cached: 2396416 kB
    SwapCached: 388 kB
    Active: 2671696 kB
    Inactive: 688704 kB
    HighTotal: 0 kB
    HighFree: 0 kB
    LowTotal: 4031828 kB
    LowFree: 486636 kB
    SwapTotal: 2031608 kB
    SwapFree: 2028040 kB
    Dirty: 9392 kB
    Writeback: 0 kB
    AnonPages: 921036 kB
    Mapped: 51276 kB
    Slab: 85876 kB
    PageTables: 70132 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    CommitLimit: 4047520 kB
    Committed_AS: 2158268 kB
    VmallocTotal: 34359738367 kB
    VmallocUsed: 263860 kB
    VmallocChunk: 34359474327 kB
    HugePages_Total: 0
    HugePages_Free: 0
    HugePages_Rsvd: 0
    Hugepagesize: 2048 kB
     
  10. till

    till Super Moderator

  11. Chip

    Chip New Member

    Thanks for the not useful but rather extremely useful post!

    It solved the issue.
     
  12. thomas.jensen

    thomas.jensen New Member

    Hi Chip,

    Could you make a short "how to" on how you installed openwebmail ?
    And did you use mbox or maildir format for you mail system ?
     
  13. ega364

    ega364 New Member

    where should i put my own spam filter program on postfix

    Hi,
    hi everybody, i am beginner in this forums, just get to the point i would like to ask question regarding the spam filter programs on postfix, i am trying to write the spam filter program that enable me to filter all the incoming mails to my server the program is almost done but now i'm facing a problem i have no idea on how to embed the program into postfix? i'm using extmail as my webmail and freeBsd operating system.. looking forwards for the helps..
    thank you..
     
  14. falko

    falko Super Moderator

  15. ega364

    ega364 New Member

    hi

    thanks falko..
    i will try it..
     

Share This Page