LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 06-23-2012, 12:35 AM   #1
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Rep: Reputation: 15
Exclamation Not getting mails in INBOX, postfix with squirrelmail in rhel6.1


Hi,

I have configured postfix with squirrelmail on rhel6.1.

Using squirrelmail I can send mails but can't get mails in inbox. Even in sent folder, I can see the sent mails.Maildir is the mail format.
User is getting authenticate by openldap.

Your valuable suggestion is required to resolve this issue.

Thanks-
Shankar
 
Old 06-24-2012, 12:34 AM   #2
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Original Poster
Rep: Reputation: 15
Hello Experts,

Can anyone help me to get it resolve.

Thanks-
Shankar
 
Old 06-24-2012, 12:57 AM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 12,663

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
was it ever working ?

if this is a NEW install then is there a MUST use need for the old RHEL6.1 ,
RHEL6.3 was just released .

if new install on the older 6.1
how did you install "squirrelmail" & "postfix" ?
using the RHN and/or other third party repos and yum ?
or some other way ?
 
Old 06-24-2012, 05:04 AM   #4
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Original Poster
Rep: Reputation: 15
Hi john,

Thanks for the reply.

currently environment is running on rhel3 and we want to migrate on rhel6.
We have used RHEL6.1_64 bit and squirrelmail from squirrelmail site. since this is not coming with rhel6 bundled.
First we have tested using imap and it was working but when complied courrier-imap with squirrelmail mail+postfix is not comming in INBOX.
Maildir is the format and might be some where we need to related this but no idea.

Thanks-
Shankar
 
Old 06-24-2012, 10:39 AM   #5
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Original Poster
Rep: Reputation: 15
Now I can able to send and receive mail in INBOX.

I have recompile courier-imap.

But Now getting error:

ERROR: Could not complete request.
Query: CREATE INBOXINBOX.Sent"
Reason Given: Invalid mailbox name

previous there was inbox, draft and sent folder was there.

any clue.

Thanks-
Jata Shankar
 
Old 06-24-2012, 04:55 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 12,663

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
rhel 3 to rhel6
that's a jump

your BEST and first option with RHEL is to use the tech support you ARE paying for
a RHEL server can be upwards of $6,500/ year for the required license

from the last post
a guess is that there is a bit something off with the postfix install

is postfix up and running ?
how was it installed , the correct way with yum
Code:
su -
yum install postfix
and is it set up ?
-- from cent5 but should be fine as a starting point for rhel6
http://wiki.centos.org/HowTos/postfix

BUT
the red hat knowledge base is a WAY better place to start
https://access.redhat.com/knowledge/search

are all the prerequisites for squirrelmail installed AND configured ?
Things like
- apache, it needs
1)register_globals off
2)magic_quotes_{runtime, gpc, sybase} off

and how did you install the prerequisites like Apache, php ,
both of those are in the RHN repo
Code:
yum install apache php
-- or --
yum groupinstall " web server"
/* Now i DO prefer that people manually install Apache( and all prerequisites) from source for the first 12 or so installs
that way they LEARN how to set it up an CONFIGURE it then use the repo to save the extra 45 Min. */

squirrelmail install guide
http://squirrelmail.org/docs/admin/admin-3.html
it IS BEST to use the RHN repo for almost EVERYTHING if possible

and on RHEL6 there is also SELinux to configure
ask your RHEL support for that and writing the needed rules from the error logs
LEAVE SELINUX SET TO ENFORCING !!!

Also on RHEL did you uninstall the default installed sendmail?
Code:
su -
yum uninstall sendmail
 
Old 06-25-2012, 10:03 AM   #7
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Original Poster
Rep: Reputation: 15
Hi John,

Yes I have used local yum for rpms.

http://www.flatmtn.com/article/setting-courier-imap

Thanks for the support.
Regards,
Shankar
 
Old 06-25-2012, 10:37 AM   #8
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Original Poster
Rep: Reputation: 15
Hi John,

Still I need to configure courier-authlib(courier-authlib-0.63.0) and create service, need some doc for the same.


Thanks-
Shankar
 
Old 06-25-2012, 03:57 PM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 12,663

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
I do not use RHEL6 ( I use scientificlinux 6)
nor squirrelmail so for more than just the normal basics , i can not help more
BUT
this is RHEL6 on a server so you ARE paying red hat $700 to $6500 per year for support
have you asked red hat
seeing as you ARE paying then you might want to use the support that you paid for .
 
Old 06-26-2012, 09:25 AM   #10
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Original Poster
Rep: Reputation: 15
Yes, I am paying and also opened a case but didn't get any solution from last 5 days.
That's why we are discussing and provided the solution and concept in forum.

Thanks,
Shankar
 
Old 06-27-2012, 03:26 AM   #11
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Original Poster
Rep: Reputation: 15
Hi,
After rebooting the server, now I am not able to open squirrel-mail and getting below error.

Bad request: The IMAP server is reporting that plain text logins are disabled. Using CRAM-MD5 or DIGEST-MD5 authentication instead may work. Also, the use of TLS may allow SquirrelMail to login. Please contact your system administrator and report this error

But in squirrelmaillain login is enabled.

Thanks,
Shankar
 
Old 07-16-2012, 04:36 AM   #12
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Original Poster
Rep: Reputation: 15
Hello Friends,

I have configured postfix+dovecot+squirrelmail with user authentication on openldap.

I can login with ldapuser on squirrelmail and also able to send mails but not getting mails in INBOX either on send items.

/mailslice is the NFS mountpoint from NAS and I can create and delete dirs in it, so there seems not an issue with storage.

[root@mail ~]# tailf /var/log/maillog
Jul 16 14:59:16 mail postfix/qmgr[25715]: CF4A83000921: removed
Jul 16 14:59:18 mail dovecot: imap-login: Login: user=<rajveer>, method=PLAIN, rip=172.16.23.31, lip=172.16.23.30, mpid=26301, TLS
Jul 16 14:59:18 mail dovecot: imap(rajveer): Error: rename(/mailslice/rajveer/Maildir/.INBOX.Sent/tmp/1342430958.M380932P26301.mail.cseb.gov.in, /mailslice/rajveer/Maildir/.INBOX.Sent/cur/1342430958.M380932P26301.mail.cseb.gov.in,S=629,W=649:2,S) failed: Input/output error
Jul 16 14:59:18 mail dovecot: imap(rajveer): Disconnected: Logged out bytes=729/517
Jul 16 14:59:20 mail dovecot: imap-login: Login: user=<rajveer>, method=PLAIN, rip=172.16.23.31, lip=172.16.23.30, mpid=26461, TLS
Jul 16 14:59:20 mail dovecot: imap(rajveer): Disconnected: Logged out bytes=117/1395
Jul 16 14:59:25 mail dovecot: imap-login: Login: user=<rajveer>, method=PLAIN, rip=172.16.23.31, lip=172.16.23.30, mpid=26472, TLS
Jul 16 14:59:25 mail dovecot: imap(rajveer): Disconnected: Logged out bytes=132/1395
Jul 16 14:59:29 mail dovecot: imap-login: Login: user=<rajveer>, method=PLAIN, rip=172.16.23.31, lip=172.16.23.30, mpid=26476, TLS
Jul 16 14:59:29 mail dovecot: imap(rajveer): Disconnected: Logged out bytes=117/1395
^C


Kindly suggest!!

Thanks,
Shankar
 
Old 07-17-2012, 12:59 AM   #13
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Original Poster
Rep: Reputation: 15
Hi,

Now mail is getting delivered but still not getting mails in INBOX or in sent folder.


Jul 17 11:26:00 mail postfix/smtpd[25509]: connect from web.cseb.gov.in[172.16.23.31]
Jul 17 11:26:00 mail postfix/smtpd[25509]: 5A57733800901: client=web.cseb.gov.in[172.16.23.31]
Jul 17 11:26:00 mail postfix/cleanup[25513]: 5A57733800901: message-id=<e4bbd96388fda06e264ea02d6f1a5cee.squirrel@172.16.23.31>
Jul 17 11:26:00 mail postfix/cleanup[25513]: warning: file system clock is 10 seconds ahead of local clock
Jul 17 11:26:00 mail postfix/cleanup[25513]: warning: resetting file time stamps - this hurts performance
Jul 17 11:26:00 mail postfix/cleanup[25513]: warning: resetting file time stamps - this hurts performance
Jul 17 11:26:00 mail postfix/smtpd[25509]: disconnect from web.cseb.gov.in[172.16.23.31]
Jul 17 11:26:00 mail postfix/qmgr[14105]: 5A57733800901: from=<rajveer@cseb.gov.in>, size=704, nrcpt=1 (queue active)
Jul 17 11:26:00 mail postfix/virtual[25515]: 5A57733800901: to=<rajveer@cseb.gov.in>, relay=virtual, delay=0.11, delays=0.06/0.05/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Jul 17 11:26:00 mail postfix/qmgr[14105]: 5A57733800901: removed
Jul 17 11:26:02 mail dovecot: imap-login: Login: user=<rajveer>, method=PLAIN, rip=172.16.23.31, lip=172.16.23.30, mpid=25640, TLS
Jul 17 11:26:02 mail dovecot: imap(rajveer): Error: rename(/mailslice/rajveer/Maildir/.INBOX.Sent/tmp/1342504562.M610132P25640.mail.cseb.gov.in, /mailslice/rajveer/Maildir/.INBOX.Sent/cur/1342504562.M610132P25640.mail.cseb.gov.in,S=494,W=511:2,S) failed: Input/output error
Jul 17 11:26:02 mail dovecot: imap(rajveer): Disconnected: Logged out bytes=591/517
Jul 17 11:26:05 mail dovecot: imap-login: Login: user=<rajveer>, method=PLAIN, rip=172.16.23.31, lip=172.16.23.30, mpid=25651, TLS
Jul 17 11:26:05 mail dovecot: imap(rajveer): Disconnected: Logged out bytes=117/1395


Kindly suggest!!

Thanks,
Shankar
 
Old 07-18-2012, 06:09 AM   #14
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Original Poster
Rep: Reputation: 15
Hi,

Now mails are coming and sending but still error are coming continuously.
/mailslice is the NFS mount point from HP NAS storage and this is in cluster.

I have given mount options as rw,intr,hard during cluster configuration.

Jul 18 16:25:41 mail dovecot: imap(user2): Error: rename(/mailslice/user2/Maildir/new/1342607060.V18I18009a5M694699.mail.cseb.gov.in, /mailslice/user2/Maildir/cur/1342607060.V18I18009a5M694699.mail.cseb.gov.in:2,) failed: Input/output error
Jul 18 16:25:41 mail dovecot: imap(user2): Error: rename(/mailslice/user2/Maildir/new/1342607060.V18I20009a0M685378.mail.cseb.gov.in, /mailslice/user2/Maildir/cur/1342607060.V18I20009a0M685378.mail.cseb.gov.in:2,) failed: Input/output error
Jul 18 16:25:41 mail dovecot: imap(user2): Error: rename(/mailslice/user2/Maildir/new/1342607121.V18I10009aaM414787.mail.cseb.gov.in, /mailslice/user2/Maildir/cur/1342607121.V18I10009aaM414787.mail.cseb.gov.in:2,) failed: Input/output error
Jul 18 16:25:41 mail dovecot: imap(user2): Error: rename(/mailslice/user2/Maildir/new/1342607121.V18I18009a9M410752.mail.cseb.gov.in, /mailslice/user2/Maildir/cur/1342607121.V18I18009a9M410752.mail.cseb.gov.in:2,) failed: Input/output error
Jul 18 16:25:41 mail dovecot: imap(user2): Error: rename(/mailslice/user2/Maildir/new/1342607121.V18I28009a7M399227.mail.cseb.gov.in, /mailslice/user2/Maildir/cur/1342607121.V18I28009a7M399227.mail.cseb.gov.in:2,) failed: Input/output error
Jul 18 16:25:41 mail dovecot: imap(user2): Error: rename(/mailslice/user2/Maildir/new/1342607121.V18I28009a8M401728.mail.cseb.gov.in, /mailslice/user2/Maildir/cur/1342607121.V18I28009a8M401728.mail.cseb.gov.in:2,) failed: Input/output error
Jul 18 16:25:41 mail dovecot: imap(user2): Error: rename(/mailslice/user2/Maildir/new/1342608631.V18I10009b0M805305.mail.cseb.gov.in, /mailslice/user2/Maildir/cur/1342608631.V18I10009b0M805305.mail.cseb.gov.in:2,) failed: Input/output error
Jul 18 16:25:41 mail dovecot: imap(user2): Error: rename(/mailslice/user2/Maildir/new/1342608931.V18I18009abM982701.mail.cseb.gov.in, /mailslice/user2/Maildir/cur/1342608931.V18I18009abM982701.mail.cseb.gov.in:2,) failed: Input/output error
Jul 18 16:25:41 mail dovecot: imap(user2): Error: rename(/mailslice/user2/Maildir/new/1342608932.V18I10009b1M26905.mail.cseb.gov.in, /mailslice/user2/Maildir/cur/1342608932.V18I10009b1M26905.mail.cseb.gov.in:2,) failed: Input/output error
Jul 18 16:25:41 mail dovecot: imap(user2): Disconnected: Logged out bytes=311/7985

Need expert advice!!

Thanks,
Shankar
 
Old 08-01-2012, 02:00 AM   #15
JATA01
Member
 
Registered: Nov 2007
Posts: 197

Original Poster
Rep: Reputation: 15
Hello Friend,

This issue has been resolved.

This was due to NFS filesystem, throuhing I/O errors.

I have moved on iscsi and it get resolved.

Thanks,
Shankar

---------- Post added 08-01-12 at 12:31 PM ----------

Hello Friend,

This issue has been resolved.

This was due to NFS filesystem, throuhing I/O errors.

I have moved on iscsi and it get resolved.

Thanks,
Shankar
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How postfix works with squirrelmail in RHEL6 ?? iftikhar.tutul Linux - Newbie 3 12-05-2011 01:35 PM
Squirrelmail only have Inbox Folder Nana Linux - Software 2 01-23-2008 06:20 AM
Squirrelmail no mail received in INBOX antanas Linux - Software 7 04-24-2007 05:13 AM
No mails in inbox + Courier-imap kiranbyk Linux - Server 3 01-08-2007 04:22 AM
How to get incoming e-mails to go to IMAP inbox? capitalista Linux - Networking 1 12-11-2005 09:50 PM


All times are GMT -5. The time now is 01:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration