vm-pop3d bugs?

ClayRabbit

Verified User
Joined
Jan 3, 2004
Messages
254
Location
Russia
One of my customers complained about delays with mail delivery. For example, logs shows that message was deliveried yesterday, but customer says it's appeared in his POP3 only today.

After some investigation i found that list and count of messages provided via POP3 is sometimes inaccurate, VERY INNACURATE.

I have checked few mailboxes on server and found such ones:
1# Checking via POP3/UebiMiau - 17 messages, but via IMAP/SquirrelMail - 129 (this mailbox file is attached)
2# Checking via POP3/UebiMiau - 1 message, but via IMAP/SquirrelMail - 250 (!)

So, as I see, vm-pop3d 1.1.7e have some real problems with messages delimitation.
 

Attachments

Last edited:
Odd. Has anyone else experienced this? I'm wondering if it doesn't know how to handle the special characters used in those emails.

John
 
A vm-pop3 bug?

The easy way to test would be to download these messages using a pop client and see if you get all 129 emails.

Have you done that?

Perhaps a UebiMiau bug?

Jeff
 
jlasman said:

The easy way to test would be to download these messages using a pop client and see if you get all 129 emails.

Have you done that?
As I said, when downloading via POP3 I get 17 messages (some of them - several messages wrongly interpreted as one message). When reading with IMAP - it's 129. When importing directly from mailbox file to my mail-program - it's also 129.

Perhaps a UebiMiau bug?
AFAIK, UebiMiau reads messages through POP3.
 
Yes, reading your most recent post, I agree, it seems to be a bug in the pop daemon.

Since I don't know of anyone else with the problem, my guess is it's got something to do with how the pop daemon understands your emails, which are not in English.

True, it shouldn't make any difference, but my guess is that it does.

I'd think John should be willing to look into this; since DA has chosen the pop daemon, they should consider it their responsibility.

Have you written DA support and asked them?

Jeff
 
Hello,

I've found a workaround with a different daemon. Since we had to implement virtualhosts for the imapd, the package will also work with their ipop3d file.

Try this:
Code:
mkdir temp
cd temp
wget http://files.directadmin.com/services/imapback.tar.gz
tar xvzf imapback.tar.gz
cd imap-2002e
./buildit
#press 'y' when it asks to continue
cd ipopd
cp ipop3d /usr/sbin/ipop3d
Next you need to setup xinetd (or inetd) to run ipop3d:

Redhat:
Create /etc/xinetd.d/pop3 with the following:
Code:
# default: on
# description: imapd
service pop3
{
        disable = no
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/sbin/ipop3d
        log_on_success          += DURATION USERID
        log_on_failure          += USERID
        nice                    = 10
}
FreeBSD:
add to the end of /etc/inetd.conf:
Code:
pop3   stream  tcp     nowait  root    /usr/sbin/ipop3d                 pop3d
reload (HUP) the xinetd/inetd program:

stop vm-pop3d through DA.

killall -HUP xinetd
or
killall -HUP inetd

You'll also want to set vm-pop3d to "OFF" in the /usr/local/directadmin/data/admin/services.status file so that DA doesn't go nuts wondering why it's not running.

John
 
John,

Is this a recommended changed to all systems?

Is this a change for new installs of DA?

In short, is this something we should do to all systems to keep them in sync?

Thanks.

Jeff
 
jlasman said:
John,

Is this a recommended changed to all systems?

Is this a change for new installs of DA?

In short, is this something we should do to all systems to keep them in sync?

Thanks.

Jeff

Bump... DA?

Matt
 
I'm seeing vm-pop3d suck 98% CPU of a 2.4Ghz machine...

28206 root 16 0 564 564 540 S 99.0 0.0 71:23 0 vm-pop3d

pop3d-1.1.7f-1
 
jlasman said:
John,

Is this a recommended changed to all systems?

Is this a change for new installs of DA?

In short, is this something we should do to all systems to keep them in sync?

Thanks.

Jeff

Hello,

I recommend updating to this version. The older version had some occasional problems parsing email headers.

We will be changing our installs to this version come the next release.

John
 
More details on the HIGH CPU issue:

High CPU Usage with POP
Ok, the VM POP problem with high CPU usage is getting VERY VERY BAD. I need some help community:

Last login: Fri Jul 23 22:38:24 2004 from cs68203156-215.houston.rr.com
[root@da01 root]# uptime
21:02:55 up 22:29, 1 user, load average: 14.59, 13.45, 13.48
[root@da01 root]# ps -ax | grep pop
4206 ? S 0:02 /usr/local/directadmin/da-popb4smtp
26094 ? S 0:00 vm-pop3d -d 10 -t 120
14245 ? R 33:41 vm-pop3d -d 10 -t 120
14764 ? R 32:31 vm-pop3d -d 10 -t 120
14807 ? R 31:48 vm-pop3d -d 10 -t 120
14866 ? R 31:28 vm-pop3d -d 10 -t 120
14885 ? R 31:13 vm-pop3d -d 10 -t 120
14927 ? R 31:02 vm-pop3d -d 10 -t 120
15369 ? R 30:29 vm-pop3d -d 10 -t 120
15456 ? R 30:20 vm-pop3d -d 10 -t 120
15689 ? R 30:13 vm-pop3d -d 10 -t 120
15913 ? R 30:06 vm-pop3d -d 10 -t 120
[root@da01 root]# rpm -qa | grep pop
da_vm-pop3d-1.1.7f-1
popt-1.8.1-0.30
[root@da01 root]# uname -a
Linux XXXXX 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux
[root@da01 root]#
101 processes: 81 sleeping, 15 running, 5 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
Mem: 1024572k av, 981708k used, 42864k free, 0k shrd, 66696k buff
606456k active, 296196k inactive
Swap: 2096472k av, 28420k used, 2068052k free 254488k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
26094 root 16 0 552 512 492 S 99.2 0.0 314:52 0 vm-pop3d

FYI: I have had to restart pop and/or the entire server about 7 times in the last 3 hours because of this problem.
 
Is vm-pop3d really a keeper? There must be a decent replacement that DA could consider. I've had nothing but problems with vm-pop3d.

Matt
 
Hey all,

I'm getting this problem where email is showing through imap but not pop3 i tried the fix that john posted above but UebiMiau won't work at all then comes up a can't open socket. Any one got any other fixes for it?

I'm running DA 1.24.4 and vm-Pop3d 1.1.7f-T6-DA

Regards

Steve
 
Back
Top