Hi Kevin,

removing softlimit is not a good idea as it is one of the security features around qmail. Please rather try setting the softlimit higher than before in order to find the limit you need to run stuff. The limit you have looks too low to me. Just compiling the source package with '--with fedora_1164 ' on its own is not the recommended way, I guess. What you need is the download and install scripts in their x64 version. As far as I recall, the x86_64 version sets a higher softlimit by default. I am unsure if there are other differences (e.g. in the code for instance), but that may well be. At any rate, if it works without softlimit, it will also work with a sufficiently high softlimit, which I recommend.

Martin

-----Ursprüngliche Nachricht----- From: Kevin Qiu
Sent: Thursday, November 18, 2010 11:37 AM
To: [email protected]
Subject: Re: [qmailtoaster] Re: POP3 Authentication on CentOS 5.5 64Bit

Hello Martin,

I removed the softlimit, it works.

#exec /usr/bin/softlimit -m 48000000 \
exec /usr/bin/tcpserver -v -R -c 200 0 110 \
/var/qmail/bin/qmail-popup $HOSTNAME \
$PASSPROG /var/qmail/bin/qmail-pop3d Maildir 2>&1

Kevin

于 2010年11月18日 17:25, Kevin Qiu 写道:
Hello Martin,

I used 'rpmbuild --rebuild --with fedora_1164 packages*'

I compared run scripts of pop3 and pop3-ssl , they are different. The pop-ssl script doesn't include 'PASSPROG="/home/vpopmail/bin/vchkpw"'; and so dose imap and imap-ssl.

And the smtp which it works, its scripts include 'REQUIRE_AUTH=0', but smtp-ssl and submisson doesn't work, their scripts include 'REQUIRE_AUTH=1'

pop3/run
#!/bin/sh
PASSPROG="/home/vpopmail/bin/vchkpw"
HOSTNAME=`hostname --fqdn`
exec /usr/bin/softlimit -m 48000000 \
/usr/bin/tcpserver -v -R -c 200 0 110 \
/var/qmail/bin/qmail-popup $HOSTNAME \
$PASSPROG /var/qmail/bin/qmail-pop3d Maildir 2>&1


#!/bin/sh
HOSTNAME=`hostname --fqdn`
rm -rf "./env/*";
cat /etc/courier/pop3d-ssl | /usr/bin/envconv
exec /usr/bin/envdir ./env/ \
/usr/bin/softlimit -m 48000000 \
/usr/bin/tcpserver -v -R -H -l $HOSTNAME 0 995 \
/usr/bin/couriertls -server -tcpd \
/usr/sbin/pop3login \
/usr/bin/pop3d Maildir 2>&1




于 2010年11月18日 16:56, Martin Waschbüsch 写道:
Ps: did you use the 64bit specific packages to install the toaster?

Von meinem iPhone gesendet

Am 18.11.2010 um 09:00 schrieb Kevin Qiu<[email protected]>:

Hello Erik,

I had built the version 5.4.32 of vpopmail, and upgraded it. It has same errors with pop3. I don't know how to fix them.

I'd like to work on 64bit Linux. But it doesn't work well. There are some errors below.

telnet localhost 587

@400000004ce4d4cb1b7f67e4 tcpserver: ok 18614 mail.foxitsoftware.com:127.0.0.1:587 :127.0.0.1::52021 @400000004ce4d4cb1b962c04 /var/qmail/bin/qmail-smtpd: error while loading shared libraries: libselinux.so.1: failed to map segment from shared object: Cannot allocate memory

cat /var/qmail/supervise/submission/run |grep softlimit
exec /usr/bin/softlimit -m 48000000 \

It looks same error when telnet localhost 465, but 25 work fine.

@400000004ce4c31b390f4eb4 tcpserver: ok 17788 mail.foxitsoftware.com:127.0.0.1:465 :127.0.0.1::36508 @400000004ce4c31b3918fb44 /var/qmail/bin/qmail-smtpd: error while loading shared libraries: libmysqlclient.so.16: failed to map segment from shared object: Cannot allocate memory

cat /var/qmail/supervise/smtp-ssl/run |grep softlimit
exec /usr/bin/softlimit -m 64000000 \

free -m
total used free shared buffers cached Mem: 7997 1409 6587 0 47 824
-/+ buffers/cache:        537       7459
Swap:        10239          0      10239

When I use mail client to connect pop3, there is an error. It can not be found in the logs.

/home/vpopmail/bin/vchkpw:error while loading shared libraries:libselinux.so.1:failed to map segment from shared object:
cannot allocate memory

The others ports (25, 143, 993, 995) look well. I can send and receive email.

Kevin

于 2010年11月18日 14:16, Kevin Qiu 写道:
Hello Erik,

I'd like try the new package. The old version doesn't work under 64bit Linux. Where could I download it?

Kevin

于 2010年11月12日 18:58, Eric Shubert 写道:
TTBOMK the plan is presently to jump to vpopmail 5.5 with QMTv2.

Going from 5.4.32 from 5.4.17 would be nice. It involves a database change, which qtp-convert is already able to handle.

I believe that Jake's too busy to take this on. If someone would like to update the spec file and package an SRPM, I expect that Jake would entertain putting it up on the site if/when people have tested it out.

Anyone care to take this on?

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

Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------

Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]


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

Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------

Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]


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

Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations.
       If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------

Please visit qmailtoaster.com for the latest news, updates, and packages.

To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]



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

Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------

Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]



---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.

     To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to