Re: [Dovecot] Client got empty email from dovecot

2012-05-09 Thread Lori Seda
It's not dovecot's problem, it's about the vpopmail spam options.
I finilly resolved this problem by rebuilding vpopmail with spam options
removed.
Sorry for botherred everybody.


On Wed, May 9, 2012 at 2:49 PM, Lori Seda  wrote:

> Hi,
>
>  I built a mail server with qmail + vpopmail + dovecot , the qmail and
> vpopmail worked well, until the dovecot was installed.
> Client always get empty email, I have try some solutions from
> google, neither of then can solve the problem.
> Here is the detailed information of logs, version, and output of
> 'dovecot -n', please help, thanks.
>
> Lori
>
> *Log:*
>
> May  9 14:16:23 mail dovecot: pop3-login: Login: user=,
> method=PLAIN, rip=111.14.98.135, lip=10.247.108.189, mpid=23467,
> session=
>  May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error: Cached
> message
> size larger than expected (575 > 61)
> May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error: Maildir
> filename has wrong S value, renamed the file from
> /home/vpopmail/domain_dir/
> site1.com/sunl/Maildir/cur/1336544158.23459.mail.site1.com,S=575:2, to
> /home/vpopmail/domain_dir/
> site1.com/sunl/Maildir/cur/1336544158.23459.mail.site1.com,S=61:2,
>  May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error: Corrupted
> index cache file /home/vpopmail/domain_dir/
> site1.com/sunl/Maildir/dovecot.index.cache: Broken physical size for mail
> UID 1
>  May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error: Cached
> message
> size larger than expected (575 > 61)
> May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error: Corrupted
> index
> cache file /home/vpopmail/domain_dir/
> site1.com/sunl/Maildir/dovecot.index.cache: Broken physical size for mail
> UID 1
>  May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error:
> read(/home/vpopmail/domain_dir/
> site1.com/sunl/Maildir/cur/1336544158.23459.mail.site1.com,S=575:2,)
> failed: Input/output error (uid=1)
>  May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Disconnected: Logged
> out top=0/0, retr=1/78, del=0/1, size=63
>
>
> *Version:*
>
> [root]vpopmail# dovecot --version
> *2.1.6*
>
> dovecot -n:
>
> [root]vpopmail# dovecot -n
> # 2.1.6: /usr/local/etc/dovecot/dovecot.conf
> # OS: Linux 2.6.18-164.el5 x86_64 Red Hat Enterprise Linux Server release
> 5.4 (Tikanga) ext3
> auth_cache_size = 10 M
> auth_default_realm = site1.com
> auth_mechanisms = plain login cram-md5
> auth_socket_path = /usr/local/var/run/dovecot/auth-userdb
> default_internal_user = vpopmail
> default_login_user = vpopmail
> disable_plaintext_auth = no
> first_valid_uid = 516
> hostname = mail.site1.com
> last_valid_uid = 516
> listen = *
> mail_access_groups = 516
> mail_gid = 513
> mail_location = maildir:/home/vpopmail/domain_dir/%d/%n/Maildir/
> mail_privileged_group = 513
> mail_uid = 516
> namespace inbox {
>  inbox = yes
>  location =
>  mailbox Drafts {
>special_use = \Drafts
>  }
>  mailbox Junk {
>special_use = \Junk
>  }
>  mailbox Sent {
>special_use = \Sent
>  }
>  mailbox "Sent Messages" {
>special_use = \Sent
>  }
>  mailbox Trash {
>special_use = \Trash
>  }
>  prefix =
> }
> passdb {
>  args = cache_key=%u webmail=127.0.0.1
>  driver = vpopmail
> }
> postmaster_address = postmas...@site1.com
> protocols = imap pop3
> sendmail_path = /var/qmail/bin/sendmail
> service auth-worker {
>  user = $default_internal_user
> }
> service auth {
>  unix_listener auth-userdb {
>group = vchkpw
>mode = 0666
>user = vpopmail
>  }
>  user = $default_internal_user
> }
> service imap-login {
>  inet_listener imaps {
>ssl = yes
>  }
> }
> service pop3-login {
>  inet_listener pop3s {
>ssl = yes
>  }
> }
> ssl_cert =  ssl_key =  userdb {
>  args = quota_template=quota_rule=*:backend=%q
>  driver = vpopmail
> }
> protocol lda {
>  mail_plugins =
> }
> protocol imap {
>  mail_plugins =
> }
> protocol pop3 {
>  mail_plugins =
> }
>


[Dovecot] Client got empty email from dovecot

2012-05-08 Thread Lori Seda
Hi,

  I built a mail server with qmail + vpopmail + dovecot , the qmail and
vpopmail worked well, until the dovecot was installed.
 Client always get empty email, I have try some solutions from
google, neither of then can solve the problem.
 Here is the detailed information of logs, version, and output of
'dovecot -n', please help, thanks.

 Lori

*Log:*

May  9 14:16:23 mail dovecot: pop3-login: Login: user=,
method=PLAIN, rip=111.14.98.135, lip=10.247.108.189, mpid=23467,
session=
 May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error: Cached message
size larger than expected (575 > 61)
May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error: Maildir
filename has wrong S value, renamed the file from /home/vpopmail/domain_dir/
site1.com/sunl/Maildir/cur/1336544158.23459.mail.site1.com,S=575:2, to
/home/vpopmail/domain_dir/
site1.com/sunl/Maildir/cur/1336544158.23459.mail.site1.com,S=61:2,
 May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error: Corrupted
index cache file /home/vpopmail/domain_dir/
site1.com/sunl/Maildir/dovecot.index.cache: Broken physical size for mail
UID 1
 May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error: Cached message
size larger than expected (575 > 61)
May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error: Corrupted index
cache file /home/vpopmail/domain_dir/
site1.com/sunl/Maildir/dovecot.index.cache: Broken physical size for mail
UID 1
 May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Error:
read(/home/vpopmail/domain_dir/
site1.com/sunl/Maildir/cur/1336544158.23459.mail.site1.com,S=575:2,)
failed: Input/output error (uid=1)
 May  9 14:16:25 mail dovecot: pop3(us...@site1.com): Disconnected: Logged
out top=0/0, retr=1/78, del=0/1, size=63


*Version:*

[root]vpopmail# dovecot --version
*2.1.6*

dovecot -n:

[root]vpopmail# dovecot -n
# 2.1.6: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-164.el5 x86_64 Red Hat Enterprise Linux Server release
5.4 (Tikanga) ext3
auth_cache_size = 10 M
auth_default_realm = site1.com
auth_mechanisms = plain login cram-md5
auth_socket_path = /usr/local/var/run/dovecot/auth-userdb
default_internal_user = vpopmail
default_login_user = vpopmail
disable_plaintext_auth = no
first_valid_uid = 516
hostname = mail.site1.com
last_valid_uid = 516
listen = *
mail_access_groups = 516
mail_gid = 513
mail_location = maildir:/home/vpopmail/domain_dir/%d/%n/Maildir/
mail_privileged_group = 513
mail_uid = 516
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix =
}
passdb {
  args = cache_key=%u webmail=127.0.0.1
  driver = vpopmail
}
postmaster_address = postmas...@site1.com
protocols = imap pop3
sendmail_path = /var/qmail/bin/sendmail
service auth-worker {
  user = $default_internal_user
}
service auth {
  unix_listener auth-userdb {
group = vchkpw
mode = 0666
user = vpopmail
  }
  user = $default_internal_user
}
service imap-login {
  inet_listener imaps {
ssl = yes
  }
}
service pop3-login {
  inet_listener pop3s {
ssl = yes
  }
}
ssl_cert =