Email problems

Darecki_77

New member
Joined
Nov 23, 2011
Messages
3
Hello to all,

I've a problem with my emails.
Situation looks like this.

When I try login by web client RoundCube on my admin acount I can't errors "wrong sesion or sesions end"
when I use squirell I can login, send and receive emails.
When my users want to use one of them sem errors on both.
when I use gmail to emails, I can receive emails but i can't send.
I dont have idea what happened

if somebody have any ideas how to improve this, I will very glad


below log

Nov 23 21:46:30 sserwer dovecot: master: Warning: Killed with signal 15 (by pid=29836 uid=0 code=kill)
Nov 23 21:46:31 sserwer dovecot: master: Dovecot v2.0.16 starting up (core dumps disabled)
Nov 23 21:46:44 sserwer dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=29944, secured
Nov 23 21:46:44 sserwer dovecot: imap([email protected]): Disconnected: Logged out bytes=29/399


thanks a lot for any help

---------------------------
Darecki_77
 
Below my dovecot configuration file


------------------------------------------------------------

## Dovecot 2.0 configuration file

#IPv4
listen = *

#IPv4 and IPv6:
#listen = *, ::

auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@&
auth_verbose = yes
disable_plaintext_auth = no
login_greeting = Dovecot DA ready.
mail_access_groups = mail
default_login_user = dovecot
mail_location = maildir:~/Maildir
passdb {
driver = shadow
}
passdb {
args = username_format=%n /etc/virtual/%d/passwd
driver = passwd-file
}
protocols = imap pop3
service auth {
user = root
}
service imap-login {
process_min_avail = 16
user = dovecot
}
service pop3-login {
process_min_avail = 16
user = dovecot
}
ssl_cert = </etc/httpd/conf/ssl.crt/server.crt
ssl_cipher_list = ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2XP
ssl_key = </etc/httpd/conf/ssl.key/server.key
userdb {
driver = passwd
}
userdb {
args = username_format=%n /etc/virtual/%d/passwd
driver = passwd-file
}
verbose_proctitle = yes
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, bytes=%i/%o
}



---------------------

Darecki_77
 
The session errors are due to cookies left over in your browser. Try clearing out any cookies that contains your domain name or even enable private browsing and see if that allows to to log in.
 
Thanks for advice, but it still doesn't work. last week was ok. but after server restart something happened.

I don't undarstand that squirell works, roundcube not. maybe is related with IMAP?
 
As for using Gmail, sending/receiving emails are two different things. Sending emails, requires that the SMTP server (exim) on DA is working and configured properly. To receive emails, that is the IMAP/POP3 server (Dovecot) on DA servers. The log files to look at for for the sending portion is /var/log/exim/mainlog (at least on RHEL based servers).

I do vaguely remember seeing a similar error with RoundCube a while ago, and I can't for the life of me figure out what I did to get it to work. I might have removed the whole da_roundcube database and recreated it. What does the log file in your roundcube/logs directory say?
 
For the session should be related to this:
Code:
date.timezone

in php.ini file in
Code:
/usr/local/lib/php.ini

Check if you got the correct timezone and restart apache.

Regarding the cant send email, maybe the exim log should be a better thing to check :)

Regards
 
Back
Top