svc won't shutdown supervised pop3d...

2001-08-14 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello,
I've added supervising of qmail-pop3d and POP3S support via stunnel
and qmail-pop3d to what is a pretty standard LWQ+vpopmail based
setup.

I added the following files to the LWQ setup:

/var/qmail/supervise/qmail-pop3d/run
#!/bin/sh
/usr/local/bin/tcpserver -u `id -u vpopmail` -g `id -g vpopmail` -v
- -R 0 110 /var/qmail/bin/qmail-popup \
`hostname` /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21

/var/qmail/supervise/qmail-pop3d/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
/var/log/qmail/pop3d


/var/qmail/supervise/qmail-spop3d/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
/var/log/qmail/spop3d

/var/qmail/supervise/qmail-spop3d/run
#!/bin/sh
/usr/local/bin/tcpserver -R -H -D -c 50 \\
- -v -u `id -u vpopmail` -g `id -g vpopmail` 0 pop3s
/usr/local/sbin/stunnel -T -p /etc/stunnel.pem -l \
/var/qmail/bin/qmail-popup -- qmail-popup `hostname`
/bin/checkpassword \
/var/qmail/bin/qmail-pop3d Maildir 21


which get started by the following qmailctl extract (which is, AFAIK,
qmailctl-0.68 or something, as for some reason, I can't get to 0.70
to
work but OTOH, I don't mind it as I don't want to pollute / with a
services directory anyway:

 start)
echo -n Starting qmail: svscan
cd /var/qmail/supervise
exec env - PATH=\$PATH svscan 
echo \$!  /var/run/svscan.pid
echo .
;;
  stop)
echo -n Stopping qmail: svscan
kill `cat /var/run/svscan.pid`
echo -n  qmail
svc -dx /var/qmail/supervise/*
echo -n  logging
svc -dx /var/qmail/supervise/*/log
echo .

Now starting the (s)pop3d isn't a problem at all and logging is being
done as it should, but qmailctl stop will only shutdown qmail-send
and
qmail-smtpd but not the tcpservers for (S)POP3 and if one decides
to do qmailctl start then, supervise will eat up all system resources
trying to start new tcpservers which obviously fails cause there
are still the old ones around.

What am I doing wrong?

BTW: In case anyone is interested, I got a Perl script that sets all
this stuff up automatically on FreeBSD systems (basically it should
work
on others too, but it won't install the users as this is done by
the FreeBSD qmail port already), so if you like to have it, drop me a
note (but better wait til this last problem is fixed;-).



Best regards,
 Gabriel


-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO3kF1sZa2WpymlDxAQH10wf/WjF+erPNWAWoA4GGAR1blyFohv4tZVZu
yKKKX/2c9xWaRLin0gqDoKw30pjeK6dZGzkQfJ1ZawSeI3qLQxGSyT2KFbsf/Uco
Ae1y3A4hqLcqSYLZ2MXvCjZDXaNvHh7h89g2R2QIgZhK14AFnO+WXw0KTZatywLR
FEVlbm/RSzwgRzEh1IabodcqfvdcGWNvsvbsPewwNzouBATlqsspKqeheNr2cT9A
LPCPGJ16InKlB2gxmC/jAer6EAjrn2rDwdQo3QSJ+NU4fczvBYsGTZJuVieYd2Lf
r+zkkwDOymbHdRVB7XlP/ngLHIWYuNItlsp9ibXJx6twkDRbM+BT2w==
=n5JO
-END PGP SIGNATURE-




Re: svc won't shutdown supervised pop3d...

2001-08-14 Thread Greg White

On Tue, Aug 14, 2001 at 02:04:51PM +0200, Gabriel Ambuehl wrote:
 -BEGIN PGP SIGNED MESSAGE-
 
 Hello,
 I've added supervising of qmail-pop3d and POP3S support via stunnel
 and qmail-pop3d to what is a pretty standard LWQ+vpopmail based
 setup.
 
 I added the following files to the LWQ setup:
 
 /var/qmail/supervise/qmail-pop3d/run
 #!/bin/sh
 /usr/local/bin/tcpserver -u `id -u vpopmail` -g `id -g vpopmail` -v
 - -R 0 110 /var/qmail/bin/qmail-popup \
 `hostname` /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21

Why not take the example from the Life With qmail document?
I'll give you a hint: the above lines are missing a call that starts all
'run' scripts. The child of 'supervise qmail-pop3d' is '/bin/sh' in your
script, not tcpserver as it should be.

 
 /var/qmail/supervise/qmail-spop3d/run
 #!/bin/sh
 /usr/local/bin/tcpserver -R -H -D -c 50 \\
 - -v -u `id -u vpopmail` -g `id -g vpopmail` 0 pop3s
 /usr/local/sbin/stunnel -T -p /etc/stunnel.pem -l \
 /var/qmail/bin/qmail-popup -- qmail-popup `hostname`
 /bin/checkpassword \
 /var/qmail/bin/qmail-pop3d Maildir 21

This one is missing the same crucial call.

--
Greg White



Re: pop3d question

2001-08-12 Thread Henning Brauer

On Fri, Aug 10, 2001 at 01:42:27PM -0600, Charles Cazabon wrote:
 Good idea.  Wouldn't the simplest way to accomplish this be to wrap
 qmail-pop3d with a shell script that did something like:
 
   qmail-pop3d ./Maildir/
   rm -f ./Maildir/cur/*

That's _very_ dangerous. What about dropped connections before all mail is
retrieved? And AFAIK there are clients connecting once, auth'ing, LIST and
QUIT (our script deletes all Mail then) and reconnecting later to actually
fetch mails (would fetch mails - your script deleted them all then...)
- pop3 webmail clients (IMHO broken by design, but anyway...) come to my mind.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



qmail-pop3d

2001-08-12 Thread qmail

After I test the qmail-smtpd and qmail-send is ok,it seems to me ok.
I try to install qmail-pop3d and start this service.
I add the run script in /var/qmail/supervise/qmail-pop3d
I use the method to test the checkpasswd program, the response is ok.
#!/bin/sh
exec /usr/local/bin/softlimit -m 200 /usr/local/bin/tcpserver -v -R
-H -l 0 0 110 /var/qmail/bin/qmail-popup sbs01.helka.com.hk
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21

but I find a process:
root  8461  0.0  0.0 00 ?Z11:17   0:00
[supervise defunction

is it ok?
I can't check the pop3 with email client.

anything that I should install after enable qmail-pop3d?



Re: qmail-pop3d

2001-08-12 Thread Greg White

On Mon, Aug 13, 2001 at 11:42:25AM -0400, qmail wrote:
 After I test the qmail-smtpd and qmail-send is ok,it seems to me ok.
 I try to install qmail-pop3d and start this service.
 I add the run script in /var/qmail/supervise/qmail-pop3d
 I use the method to test the checkpasswd program, the response is ok.
 #!/bin/sh
 exec /usr/local/bin/softlimit -m 200 /usr/local/bin/tcpserver -v -R
 -H -l 0 0 110 /var/qmail/bin/qmail-popup sbs01.helka.com.hk
 /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21
 
 but I find a process:
 root  8461  0.0  0.0 00 ?Z11:17   0:00
 [supervise defunction
 
 is it ok?
 I can't check the pop3 with email client.
 
 anything that I should install after enable qmail-pop3d?

I have two questions for you:

1. What is the output of 'svstat /service/*' ?
2. Is it just linewrap issues, or is 'run' really multilined without
escape characters like that?

-- 
Greg White



Re: pop3d question

2001-08-10 Thread Peter van Dijk

On Fri, Aug 10, 2001 at 12:46:12PM -0600, Charles Cazabon wrote:
 GARGIULO Eduardo INGDESI [EMAIL PROTECTED] wrote:
  
  Is there any way to configure qmail-pop3d for not allow pop3 users
  to leave messages on server?
 
 Not in the way you're thinking.  Instead, have a cron job run nightly
 which looks in all users' Maildirs and deletes any file older than (say)
 3 days.  Make sure your users know about this in advance.

Better: remove all files in Maildir/cur/ at the end (or start) of a
popsession. This should be quite trivial scripting, and achieves
exactly the desired effect.

Otherwise: patch qmail-pop3d to delete messages instead of moving them
to cur/.

And indeed: make sure your users know, or they will be surprised and
will complain.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



qmail-pop3d inbox messages limit

2001-08-08 Thread Alberto Alonso

I have noticed that if a user has more than about 5500 messages
in their inbox the server dies with the following error:

-ERR unable to scan $HOME/Maildir

I look at qmail-pop3d.c but couldn't see anything that would
explain this.

Any thoughts?

Thanks,

Alberto Alonso

Marlabs Inc. http://www.marlabs.com
Hosting Services http://hosting.marlabs.com



Re: qmail-pop3d inbox messages limit

2001-08-08 Thread Peter van Dijk

On Wed, Aug 08, 2001 at 08:22:14AM -0500, Alberto Alonso wrote:
 I have noticed that if a user has more than about 5500 messages
 in their inbox the server dies with the following error:
 
 -ERR unable to scan $HOME/Maildir
 
 I look at qmail-pop3d.c but couldn't see anything that would
 explain this.
 
 Any thoughts?

It ran out of memory, probably. The fix is in the archive.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: qmail-pop3d inbox messages limit

2001-08-08 Thread Alberto Alonso

Peter van Dijk wrote:
 
 On Wed, Aug 08, 2001 at 08:22:14AM -0500, Alberto Alonso wrote:
  I have noticed that if a user has more than about 5500 messages
  in their inbox the server dies with the following error:
 
  -ERR unable to scan $HOME/Maildir
 
  I look at qmail-pop3d.c but couldn't see anything that would
  explain this.
 
  Any thoughts?
 
 It ran out of memory, probably. The fix is in the archive.
 
 Greetz, Peter
 --
 Against Free Sex!   http://www.dataloss.nl/Megahard_en.html

Thanks, that did it. I keep forgetting that with qmail we
use the softlimit for memory.

Alberto Alonso

Marlabs Inc. http://www.marlabs.com
Hosting Services http://hosting.marlabs.com



qmail-pop3d and /var/spool/mail

2001-08-05 Thread Severin Olloz

I want to migrate my sendmail-server to qmail.

I have to decide to use /var/spool/mail with |/usr/sbin/qmail-procmail to 
store the mails on the server.

But the qmail-pop3-server doesn't work. I use this command-line for the 
server:

tcpserver 0 110 /var/qmail/bin/qmail-popup servername /usr/bin/checkpassword 
/var/qmail/bin/qmail-pop3d /var/spool/mail

But ther's always this error-message when I want to fetch the mails:

-ERR unable to scan $HOME/Maildir

So I try the pop3lite-server and then it works perfectly.

Is this normal that the qmail-pop3d doesn't work with the /var/spool/mail 
directory or must I hack the code?

What's the best solution? Use a other pop3-server!?

Any ideas?

Thnaks!

Severin Olloz




Re: qmail-pop3d and /var/spool/mail

2001-08-05 Thread Lukas Beeler

At 14:28 05.08.2001 +0200, Severin Olloz wrote:
Any ideas?
qmail-pop3d supports only maildir spools.
use gnu-pop3d, qpopper or similar to pop your vms


-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: qmail-pop3d and /var/spool/mail

2001-08-05 Thread Henning Brauer

On Sun, Aug 05, 2001 at 02:28:39PM +0200, Severin Olloz wrote:
 I have to decide to use /var/spool/mail with |/usr/sbin/qmail-procmail to 
 store the mails on the server.
 But the qmail-pop3-server doesn't work. 

qmail-pop3d does not support any mail storage format asifr from Maildir.
Either switch to maildir (you won't regret it) or use another pop3d.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: qmail-pop3d and /var/spool/mail

2001-08-05 Thread Peter van Dijk

On Sun, Aug 05, 2001 at 02:28:39PM +0200, Severin Olloz wrote:
 I want to migrate my sendmail-server to qmail.
 
 I have to decide to use /var/spool/mail with |/usr/sbin/qmail-procmail to 
 store the mails on the server.

mbox or Maildir format? Both are perfectly possible in /var/spool/mail
(we currently do Maildir in /var/spool/mail as well).

If mbox: qmail-pop3d can't do it. If Maildir: get a checkpassword
module that understands /var/spool/mail. I don't know if any are
readily available.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: Slow pop3d

2001-07-30 Thread Dennis Pedersen


- Original Message -
From: Greg White [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 12:27 AM
Subject: Re: Slow pop3d


 On Sun, Jul 29, 2001 at 09:54:17PM +0200, Dennis Pedersen wrote:
   Hi!
  I have installed Qmail 1.03 by following the 'Life With Qmail'.
  My problem is that sometimes the pop3d is very very slow (i can take up
to a
  min before it 'wakes up' and askes for a user auth) this happens when i
try
  telnetting localhost 110 and by using a mail client from my workstation
:(
  Does anyone have an idea what i have missed? (the stranges thing is that
  sometimes it works fine(?!))
 
  OS : FreeBSD 4.2
 
  Regards
  Dennis
 

 Please go read the archives... This is asked at _least_ once a week.
 There are a number of possible causes, and their fixes, all documented
 quite nicely there.

 One source of archives:

 http://marc.theaimsgroup.com/

Uhm okai..
But i am wondering why it is'nt in the FAQ if it a typpical Q.?
(i did try google.com but i didnt fint anything usefull)
But anyways it works not thanx to Ahmad Ridha

/Dennis




pop3d log

2001-07-30 Thread GARGIULO Eduardo INGDESI

Hi all.

I'm using pop3d. I want to know if is possible to configure
pop3d to log the username trying to connect as  and more
information about the connection.

thanks

--ejg:wq!



Re: Slow pop3d

2001-07-30 Thread Greg White

On Mon, Jul 30, 2001 at 12:47:32PM +0200, Dennis Pedersen wrote:
 Uhm okai..
 But i am wondering why it is'nt in the FAQ if it a typpical Q.?
 (i did try google.com but i didnt fint anything usefull)
 But anyways it works not thanx to Ahmad Ridha

Dan's FAQ included in the distribution was written long before qmail was
as widely deployed as it is now. Dan's FAQ likely covered what were the
most common questions asked on his list at the time. Life With qmail
(LWQ) is currently (IMHO) the best source of information/FAQs/FGAs for
qmail at this point.

http://www.lifewithqmail.org/

This problem is in section G.10 of LWQ.

-- 
Greg White



Re: pop3d log

2001-07-30 Thread Henning Brauer

On Mon, Jul 30, 2001 at 11:23:20AM -0300, GARGIULO Eduardo INGDESI wrote:
 Hi all.
 
 I'm using pop3d. I want to know if is possible to configure
 pop3d to log the username trying to connect as  and more
 information about the connection.

spend a few seconds in the archives and on qmail.org. Search for pop3 and
logging or so. There _are_ patches, I'm nearly sure at least one is linked
from qmail.org.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Slow pop3d

2001-07-29 Thread Dennis Pedersen

 Hi!
I have installed Qmail 1.03 by following the 'Life With Qmail'.
My problem is that sometimes the pop3d is very very slow (i can take up to a
min before it 'wakes up' and askes for a user auth) this happens when i try
telnetting localhost 110 and by using a mail client from my workstation :(
Does anyone have an idea what i have missed? (the stranges thing is that
sometimes it works fine(?!))

OS : FreeBSD 4.2

Regards
Dennis




Re: Slow pop3d

2001-07-29 Thread Mike Maxwell

try running your pop3 daemon with tcpserver...ex:

tcpserver -R -u0 -g0 0 pop3 /usr/sbin/ipop3d

this took care of the problem for use.


Dennis Pedersen wrote:

  Hi!
 I have installed Qmail 1.03 by following the 'Life With Qmail'.
 My problem is that sometimes the pop3d is very very slow (i can take up to a
 min before it 'wakes up' and askes for a user auth) this happens when i try
 telnetting localhost 110 and by using a mail client from my workstation :(
 Does anyone have an idea what i have missed? (the stranges thing is that
 sometimes it works fine(?!))

 OS : FreeBSD 4.2

 Regards
 Dennis

--
Mike Maxwell
System Manager--Green Mountain Access
[EMAIL PROTECTED]
802.496.8542





Re: Slow pop3d

2001-07-29 Thread Dennis Pedersen

Uhm do i have delete the tcpserver thing from my 'run' file or just use the
tcpserver options or what?

cat run
#!/bin/sh
env - PATH=/var/qmail/bin:/usr/local/bin tcpserver -H -R  -v -c100 0 110
/var/qmail/bin/qmail-popup mydomain.dk /usr/mail/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir 

Regards
Dennis

- Original Message -
From: Mike Maxwell [EMAIL PROTECTED]
To: Dennis Pedersen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, July 29, 2001 11:00 PM
Subject: Re: Slow pop3d


 try running your pop3 daemon with tcpserver...ex:

 tcpserver -R -u0 -g0 0 pop3 /usr/sbin/ipop3d

 this took care of the problem for use.


 Dennis Pedersen wrote:

   Hi!
  I have installed Qmail 1.03 by following the 'Life With Qmail'.
  My problem is that sometimes the pop3d is very very slow (i can take up
to a
  min before it 'wakes up' and askes for a user auth) this happens when i
try
  telnetting localhost 110 and by using a mail client from my workstation
:(
  Does anyone have an idea what i have missed? (the stranges thing is that
  sometimes it works fine(?!))
 
  OS : FreeBSD 4.2
 
  Regards
  Dennis

 --
 Mike Maxwell
 System Manager--Green Mountain Access
 [EMAIL PROTECTED]
 802.496.8542







Re: Slow pop3d

2001-07-29 Thread Greg White

On Sun, Jul 29, 2001 at 09:54:17PM +0200, Dennis Pedersen wrote:
  Hi!
 I have installed Qmail 1.03 by following the 'Life With Qmail'.
 My problem is that sometimes the pop3d is very very slow (i can take up to a
 min before it 'wakes up' and askes for a user auth) this happens when i try
 telnetting localhost 110 and by using a mail client from my workstation :(
 Does anyone have an idea what i have missed? (the stranges thing is that
 sometimes it works fine(?!))
 
 OS : FreeBSD 4.2
 
 Regards
 Dennis
 

Please go read the archives... This is asked at _least_ once a week.
There are a number of possible causes, and their fixes, all documented
quite nicely there.

One source of archives:

http://marc.theaimsgroup.com/

and search the qmail list.

-- 
Greg White



Re: Slow pop3d

2001-07-29 Thread Ahmad Ridha

Dennis Pedersen writes: 

 Uhm do i have delete the tcpserver thing from my 'run' file or just use the
 tcpserver options or what? 
 
 cat run
 #!/bin/sh
 env - PATH=/var/qmail/bin:/usr/local/bin tcpserver -H -R  -v -c100 0 110
 /var/qmail/bin/qmail-popup mydomain.dk /usr/mail/vpopmail/bin/vchkpw
 /var/qmail/bin/qmail-pop3d Maildir  
 

Try inserting -l0 option to tcpserver. 

#!/bin/sh
env - PATH=/var/qmail/bin:/usr/local/bin tcpserver -H -R -l0 -v -c100 0 \
110 /var/qmail/bin/qmail-popup mydomain.dk /usr/mail/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d Maildir  

Regards, 

Ahmad Ridha



Re: pop3d

2001-07-27 Thread Chris Johnson

On Fri, Jul 27, 2001 at 02:18:34PM +1000, Vivian Doherty wrote:
 exec tcpserver -v -R -H -l -c $concurrency \
  ^^
-l needs an argument. See http://cr.yp.to/ucspi-tcp/tcpserver.html.

Chris

 PGP signature


qmail-pop3d

2001-07-26 Thread Joel Aasma

Hi!
I have a little problem with qmail-pop3d...I've been trying to set
qmail-pop3d to work with supervise. Everything else works fine but
qmail-pop3d.

when i try to telnet:
 Trying 127.0.0.1...
Connected to homer.rixtele.com.
Escape character is '^]'.
Connection closed by foreign host.

This is my /var/qmail/supervise/qmail-pop3d/run script:
#!/bin/sh
QMAILDUID=`/usr/bin/id -u qmaild`
NOFILESGID=`/usr/bin/id -g qmaild`
MAXPOP3=`cat /var/qmail/control/pop3concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 -c $MAXPOP3 -u $QMAILDUID -g
$NOFILESGID 0 pop3 \
/var/qmail/bin/qmail-popup homer.rixtele.com \
/usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21

What could possible be wrong?

Joel




qmail-pop3d strange?

2001-07-26 Thread vlad

Hello tveryone. last four months, i have a very strange problem with
qmail. every one/two week i look at server this situation:
---ps auxw--extract
root  8093  0.0  0.1  1056  280 ?SJul24   0:00 
/var/qmail/bin/qmail-popup ratel.ru /home/vpop
mail/bin/vchkpw /var/qm
  
root  8094  0.0  0.3  1728  896 ?SJul24   0:00 
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail
-pop3d Maildir 
  
root  8097  0.0  0.1  1056  280 ?SJul24   0:00 
/var/qmail/bin/qmail-popup ratel.ru /home/vpop
mail/bin/vchkpw /var/qm
  
root  8098  0.0  0.3  1728  896 ?SJul24   0:00 
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail
-pop3d Maildir 
  
root  8102  0.0  0.1  1056  280 ?SJul24   0:00 
/var/qmail/bin/qmail-popup ratel.ru /home/vpop
mail/bin/vchkpw /var/qm
  
root  8103  0.0  0.1  1056  280 ?SJul24   0:00 
/var/qmail/bin/qmail-popup ratel.ru /home/vpop
mail/bin/vchkpw /var/qm
  
root  8104  0.0  0.3  1728  896 ?SJul24   0:00 
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail
-pop3d Maildir 
  
root  8105  0.0  0.3  1728  896 ?SJul24   0:00 
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail
-pop3d Maildir
---
i.e. lot of this process. (great than in list, about 20-30 pair). in
this state, server did not answer on the ping, and all services do not
work propertly (timeout). ps auxw snap, got via crontab script. after
5/10 minits, system going in normal mode, and number of qmail process
return to normal.. anybody has this bug? or plz, help, how i can
diagnostic source of problem. qmail-pop3 log, does not contain any
error message.

  

-- 
Best regards,
 vlad  mailto:[EMAIL PROTECTED]





Re: qmail-pop3d

2001-07-26 Thread Dushyanth Harinath

what does the logs say..


 
 when i try to telnet:
 Trying 127.0.0.1...
 Connected to homer.rixtele.com.
 Escape character is '^]'.
 Connection closed by foreign host.


-- 
Dushyanth Harinath
Archean Infotech Limited
Ph No:091-040-3228666,6570704,3228674
http://www.archeanit.com



-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://squirrelmail.org/





Re: qmail-pop3d

2001-07-26 Thread Joel Aasma

Hi
They does'nt say anything, /var/log/qmail/qmail-pop3d/current is empty...

- Original Message - 
From: Dushyanth Harinath [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 11:05 AM
Subject: Re: qmail-pop3d


 what does the logs say..
 
 
  
  when i try to telnet:
  Trying 127.0.0.1...
  Connected to homer.rixtele.com.
  Escape character is '^]'.
  Connection closed by foreign host.
 
 
 -- 
 Dushyanth Harinath
 Archean Infotech Limited
 Ph No:091-040-3228666,6570704,3228674
 http://www.archeanit.com
 
 
 
 -
 This email was sent using SquirrelMail.
Webmail for nuts!
 http://squirrelmail.org/
 




Re: qmail-pop3d

2001-07-26 Thread Dushyanth Harinath

did u follow lifewithqmail.org ..there must be something wrong in the start
up script of qmail-pop3d

regards
dushyanth

 Hi
 They does'nt say anything, /var/log/qmail/qmail-pop3d/current is
 empty...
 
 - Original Message - 
 From: Dushyanth Harinath [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, July 26, 2001 11:05 AM
 Subject: Re: qmail-pop3d
 
 
 what does the logs say..
 
 
  
  when i try to telnet:
  Trying 127.0.0.1...
  Connected to homer.rixtele.com.
  Escape character is '^]'.
  Connection closed by foreign host.
 
 
 -- 
 Dushyanth Harinath
 Archean Infotech Limited
 Ph No:091-040-3228666,6570704,3228674
 http://www.archeanit.com
 
 
 
 -
 This email was sent using SquirrelMail.
Webmail for nuts!
 http://squirrelmail.org/
 


-- 
Dushyanth Harinath
Archean Infotech Limited
Ph No:091-040-3228666,6570704,3228674
http://www.archeanit.com



-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://squirrelmail.org/





RE: qmail-pop3d

2001-07-26 Thread Per-fredrik Pollnow (EPK)

Hi,

It looks like you are trying to use the /var/qmail/supervise/qmail-smtpd/run script ? 
tray this instead.

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
homer.rixtele.com /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d 
Maildir 21


-Original Message-
From: Joel Aasma [mailto:[EMAIL PROTECTED]]
Sent: den 26 juli 2001 09:55
To: [EMAIL PROTECTED]
Subject: qmail-pop3d


Hi!
I have a little problem with qmail-pop3d...I've been trying to set
qmail-pop3d to work with supervise. Everything else works fine but
qmail-pop3d.

when i try to telnet:
 Trying 127.0.0.1...
Connected to homer.rixtele.com.
Escape character is '^]'.
Connection closed by foreign host.

This is my /var/qmail/supervise/qmail-pop3d/run script:
#!/bin/sh
QMAILDUID=`/usr/bin/id -u qmaild`
NOFILESGID=`/usr/bin/id -g qmaild`
MAXPOP3=`cat /var/qmail/control/pop3concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 -c $MAXPOP3 -u $QMAILDUID -g
$NOFILESGID 0 pop3 \
/var/qmail/bin/qmail-popup homer.rixtele.com \
/usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21

What could possible be wrong?

Joel



Re: qmail-pop3d

2001-07-26 Thread Joel Aasma

worked fine!
thanks alot!
Regards
Joel
- Original Message -
From: Per-fredrik Pollnow (EPK) [EMAIL PROTECTED]
To: 'Joel Aasma' [EMAIL PROTECTED]
Cc: Qmail Mailing list (E-mail) [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 12:55 PM
Subject: RE: qmail-pop3d


 Hi,

 It looks like you are trying to use the
/var/qmail/supervise/qmail-smtpd/run script ? tray this instead.

 #!/bin/sh
 exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -H -l 0 0 110
/var/qmail/bin/qmail-popup \
 homer.rixtele.com /usr/local/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir 21


 -Original Message-
 From: Joel Aasma [mailto:[EMAIL PROTECTED]]
 Sent: den 26 juli 2001 09:55
 To: [EMAIL PROTECTED]
 Subject: qmail-pop3d


 Hi!
 I have a little problem with qmail-pop3d...I've been trying to set
 qmail-pop3d to work with supervise. Everything else works fine but
 qmail-pop3d.

 when i try to telnet:
  Trying 127.0.0.1...
 Connected to homer.rixtele.com.
 Escape character is '^]'.
 Connection closed by foreign host.

 This is my /var/qmail/supervise/qmail-pop3d/run script:
 #!/bin/sh
 QMAILDUID=`/usr/bin/id -u qmaild`
 NOFILESGID=`/usr/bin/id -g qmaild`
 MAXPOP3=`cat /var/qmail/control/pop3concurrencyincoming`
 exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -H -l 0 -c $MAXPOP3 -u $QMAILDUID -g
 $NOFILESGID 0 pop3 \
 /var/qmail/bin/qmail-popup homer.rixtele.com \
 /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21

 What could possible be wrong?

 Joel




Re: qmail-pop3d

2001-07-26 Thread Joel Aasma

hi again
darn! it almost worked fine :/
The only thing is that when i do a /etc/init.d/qmail stop , pop3 is'nt
stopped.

here is my /etc/init.d/qmail script:
#!/bin/sh

# For Red Hat chkconfig
# chkconfig: - 30 80
# description: the qmail MTA

PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin
export PATH

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`

case $1 in
  start)
echo Starting qmail
if svok /service/qmail-send ; then
  svc -u /service/qmail-send
else
  echo qmail-send service not running
fi
if svok /service/qmail-smtpd ; then
  svc -u /service/qmail-smtpd
else
  echo qmail-smtpd service not running
fi
if svok /service/qmail-pop3d ; then
  svc -u /service/qmail-pop3d
else
  echo qmail-pop3d service not running
fi
if [ -d /var/lock/subsys ]; then
  touch /var/lock/subsys/qmail
fi
;;
  stop)
echo Stopping qmail...
echo   qmail-smtpd
svc -d /service/qmail-smtpd
echo   qmail-send
svc -d /service/qmail-send
echo   qmail-pop3d
svc -d /service/qmail-pop3d
if [ -f /var/lock/subsys/qmail ]; then
  rm /var/lock/subsys/qmail
fi
;;
  stat)
svstat /service/qmail-send
svstat /service/qmail-send/log
svstat /service/qmail-smtpd
svstat /service/qmail-smtpd/log
svstat /service/qmail-pop3d
svstat /service/qmail-pop3d/log
qmail-qstat
;;
  doqueue|alrm|flush)
echo Sending ALRM signal to qmail-send.
svc -a /service/qmail-send
;;
  queue)
qmail-qstat
qmail-qread
;;
  reload|hup)
echo Sending HUP signal to qmail-send.
svc -h /service/qmail-send
;;
  pause)
echo Pausing qmail-send
svc -p /service/qmail-send
echo Pausing qmail-smtpd
svc -p /service/qmail-smtpd
echo Pausing qmail-pop3d
svc -p /service/qmail-pop3d
;;
  cont)
echo Continuing qmail-send
svc -c /service/qmail-send
echo Continuing qmail-smtpd
svc -c /service/qmail-smtpd
echo Continuing qmail-pop3d
svc -c /service/qmail-pop3d
;;
  restart)
echo Restarting qmail:
echo * Stopping qmail-smtpd.
svc -d /service/qmail-smtpd
echo * Stopping qmail-pop3d.
svc -d /service/qmail-pop3d
echo * Sending qmail-send SIGTERM and restarting.
svc -t /service/qmail-send
echo * Restarting qmail-smtpd.
svc -u /service/qmail-smtpd
echo * Restartng qmail-pop3d.
;;
  cdb)
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
chmod 644 /etc/tcp.smtp.cdb
echo Reloaded /etc/tcp.smtp.
;;
  help)
cat HELP
   stop -- stops mail service (smtp connections refused, nothing goes out)
  start -- starts mail service (smtp connection accepted, mail can go out)
  pause -- temporarily stops mail service (connections accepted, nothing
leaves)
   cont -- continues paused mail service
   stat -- displays status of mail service
cdb -- rebuild the tcpserver cdb file for smtp
restart -- stops and restarts smtp, sends qmail-send a TERM  restarts it
doqueue -- sends qmail-send ALRM, scheduling queued messages for delivery
 reload -- sends qmail-send HUP, rereading locals and virtualdomains
  queue -- shows status of queue
   alrm -- same as doqueue
  flush -- same as doqueue
hup -- same as reload
HELP
;;
  *)
echo Usage: $0
{start|stop|restart|doqueue|flush|reload|stat|pause|cont|cdb|queue|help}
exit 1
;;
esac

exit 0

and the /var/qmail/supervise/qmail-pop3d/run is the one you posted

regards
joel




pop3d maildir problems...

2001-07-26 Thread tony

Hi all,

It's a fairly straight forward problem (I think I have written the list 
about it before, and I believe someone posted last night that is having a 
similar / same problem) 

Client connects to pop
They start to download
they get a few messages (somewhere between 1 and 5)
It will just hang popping out at this point.  it will time out and claim the 
pop3 server is not responding. 

This is happening with people with both outlook express and Netscape mail.  
Some have virus scanners some don't.  The problem started appearing about 2 
to 2.5 weeks ago.  Not everyone runs into this issue - but we have been 
getting more and more complaints. 

qmail-popup is being started from xinetd. 

Any suggestions / help would be appreciated. 

 -Tony 

A safe place for Apple ]['s...
http://www.a2haven.org 

 ---
Ugh - You mean I have to do that AGAIN?? 



Re: pop3d maildir problems...

2001-07-26 Thread erasor

I posted this problem  yesterday. Same problem, but using tcpserver instead of inetd.
(guessing we can possibly rule out either of these 2 being the cause?)

/usr/local/bin/tcpserver -R -H -l 0 0 110 \
  /var/qmail/bin/qmail-popup mail \ 
 /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 

the message number in which they get stuck on is random.
both email programs are affected.
dialup users (connected @26000 - 44000+)
bad phone lines in the area

Only thing noticed is that all their messages would be in cur/, yet they didn't 
download them yet.

good pings across the ethernet interfaces.
load on the mail server is 1.39, 0.66, 0.59
not bad.

So im lost as well :c(



- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 9:22 AM
Subject: pop3d maildir problems...


: Hi all,
: 
: It's a fairly straight forward problem (I think I have written the list 
: about it before, and I believe someone posted last night that is having a 
: similar / same problem) 
: 
: Client connects to pop
: They start to download
: they get a few messages (somewhere between 1 and 5)
: It will just hang popping out at this point.  it will time out and claim the 
: pop3 server is not responding. 
: 
: This is happening with people with both outlook express and Netscape mail.  
: Some have virus scanners some don't.  The problem started appearing about 2 
: to 2.5 weeks ago.  Not everyone runs into this issue - but we have been 
: getting more and more complaints. 
: 
: qmail-popup is being started from xinetd. 
: 
: Any suggestions / help would be appreciated. 
: 
:  -Tony 
: 
: A safe place for Apple ]['s...
: http://www.a2haven.org 
: 
:  ---
: Ugh - You mean I have to do that AGAIN?? 
: 




RE: pop3d

2001-07-26 Thread Vivian Doherty

I was able to get 45/50 connections using telnet, so I don't think this is
the problem.  I tried to put the -l option into the pop3d run script, all
users starting getting error messages and could not connect to the server.
I am running Redhat7 with qmail and vmailmgr.  This only happens every so
often, the network slows to a crawl and everybody has problems connecting to
the mail server receiving time-out errors. Even the internal network slows
down.  Any help would be appreciated.

Vivian

 -Original Message-
 From: MarkD [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, 26 July 2001 3:26 pm
 To: [EMAIL PROTECTED]
 Subject: Re: pop3d


 On Thu, Jul 26, 2001 at 02:39:18PM +1000, Vivian Doherty allegedly wrote:
  We have a problem with the qmail-pop3d, when the status is 7/50 we start
  having network problems, users cannot connect and receive
 timeout errors, it
  only happens about once a month.  Any help would be appreciated.
 
  Can anyone tell me what is going on and how I fix the problem, why would
  there be 7 undelivered for pop3d mail accounts?

 You're getting confused. tcpserver has nothing to do with delivered or
 undelivered mails. What this log entry is saying is that 7 out of a
 maximum of 50 concurrent pop sessions are active. You no doubt have a
 -c 50 in your tcpserver script for pop.

 You can conduct a simple experiment to help find out what's going
 on. Establish lots of pop sessions using telnet, eg:

 telnet popserver.host.name 110

 Wait until you get the banner then background the telnet with ^Z.

 Keep doing this and watch the pop logs. Can you get more than 7/50 or
 do the telnets start to fail? If they start to fail before you have 50
 of them, show us the error you get back from telnet.

 Oh, and at the end of the test, don't forget to kill all those telnets.

 My suspicion is that tcpserver is started with a kernel imposed limit
 on the number of children it can fork concurrently and that that limit
 is much less than 50 that you want it to use.


 Regards.




 
  Part of the maillog below.
  Jul 25 13:26:45 mail pop3d: 996031605.921791 tcpserver: status: 7/50
  Jul 25 13:26:45 mail pop3d: 996031605.922774 tcpserver: pid 6106 from
  202.7.178.138
  Jul 25 13:27:09 mail smtpd: 996031629.717653 tcpserver: end
 26591 status 0
  Jul 25 13:27:09 mail smtpd: 996031629.717786 tcpserver: status: 0/50
  Jul 25 13:27:19 mail pop3d: 996031639.938243 tcpserver: ok 1923
  :192.168.0.111:110 :192.168.0.19::1035
  Jul 25 13:27:19 mail pop3d: 996031639.962696 tcpserver: end
 1923 status 256
  Jul 25 13:27:19 mail pop3d: 996031639.962939 tcpserver: status: 6/50
  Jul 25 13:27:24 mail pop3d: 996031644.263336 tcpserver: status: 7/50
  Jul 25 13:27:24 mail pop3d: 996031644.264508 tcpserver: pid 7991 from
  192.168.0.33
  Jul 25 13:27:33 mail pop3d: 996031653.305314 tcpserver: ok 2611
  :192.168.0.111:110 :192.168.0.7::1053
  Jul 25 13:27:33 mail pop3d: 996031653.305460 tcpserver: end
 2611 status 256
  Jul 25 13:27:33 mail pop3d: 996031653.305520 tcpserver: status: 6/50
  Jul 25 13:27:38 mail pop3d: 996031658.739339 tcpserver: status: 7/50
  Jul 25 13:27:38 mail pop3d: 996031658.740334 tcpserver: pid 8681 from
  202.7.178.138
 
  Regards
 
 
  Vivian Doherty
  IT Consultant
  James Walker Australia Pty Ltd
  32 Clapham Rd
  Regents Park NSW 2143
  Ph: 9644 9755
  Mailto:[EMAIL PROTECTED]
 







Re: pop3d

2001-07-26 Thread MarkD

On Fri, Jul 27, 2001 at 09:19:43AM +1000, Vivian Doherty allegedly wrote:
 I was able to get 45/50 connections using telnet, so I don't think this is
 the problem.

Good. It's a process of elimination. So your concurrency does not
appear to be limited by system resources.

  I tried to put the -l option into the pop3d run script, all
 users starting getting error messages and could not connect to the server.

What -l option on what command, where? What exactly does the startup
script look like.


 I am running Redhat7 with qmail and vmailmgr.  This only happens every so
 often, the network slows to a crawl and everybody has problems connecting to

At the time that the problem occurs, can you connect to the pop server
with telnet? Can you do this from the pop server and from another
system on the LAN?

 the mail server receiving time-out errors. Even the internal network slows
 down.  Any help would be appreciated.

Sounds like you have other issues going on here that aren't related to
qmail.


Regards.



RE: pop3d

2001-07-26 Thread Vivian Doherty



 -Original Message-
 From: MarkD [mailto:[EMAIL PROTECTED]]
 Sent: Friday, 27 July 2001 12:02 pm
 To: [EMAIL PROTECTED]
 Subject: Re: pop3d


 On Fri, Jul 27, 2001 at 09:19:43AM +1000, Vivian Doherty allegedly wrote:
  I was able to get 45/50 connections using telnet, so I don't
 think this is
  the problem.

 Good. It's a process of elimination. So your concurrency does not
 appear to be limited by system resources.

   I tried to put the -l option into the pop3d run script, all
  users starting getting error messages and could not connect to
 the server.

 What -l option on what command, where? What exactly does the startup
 script look like.

pop3d run script

#!/bin/sh
service=pop3d
. /usr/share/qmail/run-functions hostname=`hostname`
readdefault concurrency concurrencypop3d 40 readdefault checkpass
checkpassword checkpassword do_ulimits
exec tcpserver -v -R -H -l -c $concurrency \
-x /etc/tcpcontrol/pop-3.cdb 0 pop-3 \ qmail-popup $hostname \
$checkpass \
qmail-pop3d Maildir/


  I am running Redhat7 with qmail and vmailmgr.  This only
 happens every so
  often, the network slows to a crawl and everybody has problems
 connecting to

 At the time that the problem occurs, can you connect to the pop server
 with telnet? Can you do this from the pop server and from another
 system on the LAN?


Yes, both pop server and from another system on the LAN you can connect, but
the connection is slow.

  the mail server receiving time-out errors. Even the internal
 network slows
  down.  Any help would be appreciated.

 Sounds like you have other issues going on here that aren't related to
 qmail.

Yes I was thinking that myself, we are connected to other branches using
ISDN and go through a ISP company, whenever there is a problem with their
routers we start having problems with the mail server, yesterday we shut
down the mail server to see if it made any difference to the network, as
soon as the mail server was turned off the network went back to normal.  I
found that there was a problem with a router in Melbourne (ISP problem) and
today everything is working fine again with the mail server and the network.
This is driving me nuts.


 Regards.





qmail-pop3d || tcpserver (sometimes timing out?)

2001-07-25 Thread erasor

Howdy,

searching the archives i had not come across anything that seem'd to match my problem 
(sorry if i missed it)

I've been using qmail with tcpserver for sometime now, and have came across a problem 
that is puzzeling me concerning users
(dialups) not being able to get past a certain number of emails when receiving. 
Instead getting a timeout message.

These users sometimes would have a lot of mail in the $HOME/Maildir/cur even when they 
claim they haven't been able to download it
yet.
We have ran across users who have had this problem, without having a large quantity of 
mail in cur/ or new/ as well, but not as
frequent.
Users who have a lot of mail, do not have any messages over 5k. (which is what i first 
thought)

This happens sparatically, and I have been unable to recreate the error myself. But 
co-workers claimed they too have had it happen
to them, as well as an above-average # of complaints.

rc.qmail:  /usr/local/bin/tcpserver -R -H 0 110 /var/qmail/bin/qmail-popup mail 
/bin/checkpassword /var/qmail/bin/qmail-pop3d
Maildir 

I have checked, and rechecked the portmasters which users connect to.
3ms ping across the network.

The area does have bad phone lines (thanks sprint), but I can't see how this would 
affect a user who is connected@46000

Would dirty phone-lines cause this much problems?
Does this sound familiar to anyone?




pop3d problem

2001-07-25 Thread Vivian Doherty


We have a problem with the qmail-pop3d, when the status is 7/50 we start
having network problems, users cannot connect and receive timeout errors, it
only happens about once a month.  Any help would be appreciated.

Can anyone tell me what is going on and how I fix the problem, why would
there be 7 undelivered for pop3d mail accounts?

Part of the maillog below.
Jul 25 13:26:45 mail pop3d: 996031605.921791 tcpserver: status: 7/50
Jul 25 13:26:45 mail pop3d: 996031605.922774 tcpserver: pid 6106 from
202.7.178.138
Jul 25 13:27:09 mail smtpd: 996031629.717653 tcpserver: end 26591 status 0
Jul 25 13:27:09 mail smtpd: 996031629.717786 tcpserver: status: 0/50
Jul 25 13:27:19 mail pop3d: 996031639.938243 tcpserver: ok 1923
:192.168.0.111:110 :192.168.0.19::1035
Jul 25 13:27:19 mail pop3d: 996031639.962696 tcpserver: end 1923 status 256
Jul 25 13:27:19 mail pop3d: 996031639.962939 tcpserver: status: 6/50
Jul 25 13:27:24 mail pop3d: 996031644.263336 tcpserver: status: 7/50
Jul 25 13:27:24 mail pop3d: 996031644.264508 tcpserver: pid 7991 from
192.168.0.33
Jul 25 13:27:33 mail pop3d: 996031653.305314 tcpserver: ok 2611
:192.168.0.111:110 :192.168.0.7::1053
Jul 25 13:27:33 mail pop3d: 996031653.305460 tcpserver: end 2611 status 256
Jul 25 13:27:33 mail pop3d: 996031653.305520 tcpserver: status: 6/50
Jul 25 13:27:38 mail pop3d: 996031658.739339 tcpserver: status: 7/50
Jul 25 13:27:38 mail pop3d: 996031658.740334 tcpserver: pid 8681 from
202.7.178.138

Regards


Vivian Doherty
IT Consultant
James Walker Australia Pty Ltd
32 Clapham Rd
Regents Park NSW 2143
Ph: 9644 9755
Mailto:[EMAIL PROTECTED]


 winmail.dat


Re: qmail-pop3d || tcpserver (sometimes timing out?)

2001-07-25 Thread Kman

 rc.qmail:  /usr/local/bin/tcpserver -R -H 0 110
/var/qmail/bin/qmail-popup mail /bin/checkpassword
/var/qmail/bin/qmail-pop3d


Try using tcpserver -l -R -H ...

It might help.

-Kittiwat




pop3d

2001-07-25 Thread Vivian Doherty

We have a problem with the qmail-pop3d, when the status is 7/50 we start
having network problems, users cannot connect and receive timeout errors, it
only happens about once a month.  Any help would be appreciated.

Can anyone tell me what is going on and how I fix the problem, why would
there be 7 undelivered for pop3d mail accounts?

Part of the maillog below.
Jul 25 13:26:45 mail pop3d: 996031605.921791 tcpserver: status: 7/50
Jul 25 13:26:45 mail pop3d: 996031605.922774 tcpserver: pid 6106 from
202.7.178.138
Jul 25 13:27:09 mail smtpd: 996031629.717653 tcpserver: end 26591 status 0
Jul 25 13:27:09 mail smtpd: 996031629.717786 tcpserver: status: 0/50
Jul 25 13:27:19 mail pop3d: 996031639.938243 tcpserver: ok 1923
:192.168.0.111:110 :192.168.0.19::1035
Jul 25 13:27:19 mail pop3d: 996031639.962696 tcpserver: end 1923 status 256
Jul 25 13:27:19 mail pop3d: 996031639.962939 tcpserver: status: 6/50
Jul 25 13:27:24 mail pop3d: 996031644.263336 tcpserver: status: 7/50
Jul 25 13:27:24 mail pop3d: 996031644.264508 tcpserver: pid 7991 from
192.168.0.33
Jul 25 13:27:33 mail pop3d: 996031653.305314 tcpserver: ok 2611
:192.168.0.111:110 :192.168.0.7::1053
Jul 25 13:27:33 mail pop3d: 996031653.305460 tcpserver: end 2611 status 256
Jul 25 13:27:33 mail pop3d: 996031653.305520 tcpserver: status: 6/50
Jul 25 13:27:38 mail pop3d: 996031658.739339 tcpserver: status: 7/50
Jul 25 13:27:38 mail pop3d: 996031658.740334 tcpserver: pid 8681 from
202.7.178.138

Regards


Vivian Doherty
IT Consultant
James Walker Australia Pty Ltd
32 Clapham Rd
Regents Park NSW 2143
Ph: 9644 9755
Mailto:[EMAIL PROTECTED]


 winmail.dat


Re: pop3d

2001-07-25 Thread Kman

 We have a problem with the qmail-pop3d, when the status is 7/50 we
start
 having network problems, users cannot connect and receive timeout
errors, it
 only happens about once a month.  Any help would be appreciated.


There are a lot of these problems arising. Mostly by adding -H -R -l
(letter L) to the tcpserver the problems go away.

Cheers,
-Kittiwat





Re: pop3d

2001-07-25 Thread MarkD

On Thu, Jul 26, 2001 at 02:39:18PM +1000, Vivian Doherty allegedly wrote:
 We have a problem with the qmail-pop3d, when the status is 7/50 we start
 having network problems, users cannot connect and receive timeout errors, it
 only happens about once a month.  Any help would be appreciated.
 
 Can anyone tell me what is going on and how I fix the problem, why would
 there be 7 undelivered for pop3d mail accounts?

You're getting confused. tcpserver has nothing to do with delivered or
undelivered mails. What this log entry is saying is that 7 out of a
maximum of 50 concurrent pop sessions are active. You no doubt have a
-c 50 in your tcpserver script for pop.

You can conduct a simple experiment to help find out what's going
on. Establish lots of pop sessions using telnet, eg:

telnet popserver.host.name 110

Wait until you get the banner then background the telnet with ^Z.

Keep doing this and watch the pop logs. Can you get more than 7/50 or
do the telnets start to fail? If they start to fail before you have 50
of them, show us the error you get back from telnet.

Oh, and at the end of the test, don't forget to kill all those telnets.

My suspicion is that tcpserver is started with a kernel imposed limit
on the number of children it can fork concurrently and that that limit
is much less than 50 that you want it to use.


Regards.




 
 Part of the maillog below.
 Jul 25 13:26:45 mail pop3d:   996031605.921791 tcpserver: status: 7/50
 Jul 25 13:26:45 mail pop3d:   996031605.922774 tcpserver: pid 6106 from
 202.7.178.138
 Jul 25 13:27:09 mail smtpd:   996031629.717653 tcpserver: end 26591 status 0
 Jul 25 13:27:09 mail smtpd:   996031629.717786 tcpserver: status: 0/50
 Jul 25 13:27:19 mail pop3d:   996031639.938243 tcpserver: ok 1923
 :192.168.0.111:110 :192.168.0.19::1035
 Jul 25 13:27:19 mail pop3d:   996031639.962696 tcpserver: end 1923 status 256
 Jul 25 13:27:19 mail pop3d:   996031639.962939 tcpserver: status: 6/50
 Jul 25 13:27:24 mail pop3d:   996031644.263336 tcpserver: status: 7/50
 Jul 25 13:27:24 mail pop3d:   996031644.264508 tcpserver: pid 7991 from
 192.168.0.33
 Jul 25 13:27:33 mail pop3d:   996031653.305314 tcpserver: ok 2611
 :192.168.0.111:110 :192.168.0.7::1053
 Jul 25 13:27:33 mail pop3d:   996031653.305460 tcpserver: end 2611 status 256
 Jul 25 13:27:33 mail pop3d:   996031653.305520 tcpserver: status: 6/50
 Jul 25 13:27:38 mail pop3d:   996031658.739339 tcpserver: status: 7/50
 Jul 25 13:27:38 mail pop3d:   996031658.740334 tcpserver: pid 8681 from
 202.7.178.138
 
 Regards
 
 
 Vivian Doherty
 IT Consultant
 James Walker Australia Pty Ltd
 32 Clapham Rd
 Regents Park NSW 2143
 Ph: 9644 9755
 Mailto:[EMAIL PROTECTED]
 





gnu-pop3d[7685]: Incoming connection opened

2001-07-17 Thread David J Jackson

Is this incomming mail from qmail list:

David Jackson

nslookup:

Name:msfe10.onebox.com
Address:  64.68.76.141
Aliases:  141.76.68.64.in-addr.arpa

/var/adm/messages:

Jul 17 11:12:46 mail gnu-pop3d[7685]: connect from 64.68.76.141
Jul 17 11:12:46 mail gnu-pop3d[7685]: Incoming connection opened
Jul 17 11:12:48 mail gnu-pop3d[7685]: Session ended for no user



Re: gnu-pop3d[7685]: Incoming connection opened

2001-07-17 Thread Lukas Beeler

At 11:16 17.07.2001 -0600, David J Jackson wrote:
Is this incomming mail from qmail list:

David Jackson

nslookup:

Name:msfe10.onebox.com
Address:  64.68.76.141
Aliases:  141.76.68.64.in-addr.arpa

djb mailing lists are @lists.cr.yp.to

/var/adm/messages:

Jul 17 11:12:46 mail gnu-pop3d[7685]: connect from 64.68.76.141
Jul 17 11:12:46 mail gnu-pop3d[7685]: Incoming connection opened
Jul 17 11:12:48 mail gnu-pop3d[7685]: Session ended for no user
ever seen an smtp client connecting to a pop3 server ?
this is something other, probably a connect() portscan or something like this..
but definitivly nothing related to qmail
-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




qmail-pop3d hanging email retrieval

2001-07-06 Thread Brian Lane

  This is going to be a long message, but please stick with me. This problem
is driving me nuts!

  In summary, I am having problems with emails getting stuck when fetched
from qmail-pop3d. They are almost always attached MS Word documents. They
aren't necessarily long, I've got 32k messages that do it and 1M messages.

  I'm running on kernel 2.0.39, qmail 1.03, daemontools 0.70, ucspi-tcp 0.88
and a slightly modified checkpassword to handle pop accounts in my virtual
domains. This system has been in place since 1999 and has always had an
occasional problem but recently I am getting 1 or 2 messages a week that are
sticking.

  I have 2 different cases where this happens. The first is when my home
system, using fetchmail, is downloading messages. If the home machine's
MTU/MRU is set to 1500 or 1480 the messages in question will hang. If I
change the MRU to 576 then they pass through. I don't know if any messages
hang using 576, but I haven't seen any. My MTU/MRU has to be set to 1500 so
that we can get to certain webpages, so leaving it at 576 is not an option.
This is all via a dialup diald/ppp session to my ISP (the same one that the
webserver is colocated at).

  The other case is from work. I handle all their email and webhosting. They
are connected to the net via direcPC, a win95 machine running winRoute Pro
and the local lan. The upstream side is a modem connection to the same ISP
where the webserver is located. In this case I cannot change the MTU/MRU and
who knows what direcPC is doing as packets pass through their system. To fix
this case I move the mail to the web directory and download it using
Explorer. When we use Agent 1.8 on the lan to download messages from the
webserver it will exhibit the same 'hanging' that I see with the home
system.

  In both cases I can watch the connection with 'snort -v -i eth0 port 110'
and the connection just stops cold partway through the message. I've
upgraded the system's kernel from 2.0.36 to 2.0.29 and updated all the qmail
related software but it is still happening. I'm running the qmail services
using the methods described in 'Life with Qmail'.

  I've only found a few references to similar problems when searching and no
solutions. Someone else must have run into this before!

  Thanks for any help,

  Brian

-- 
Brian C. Lane - Linux Programmer/Consultant/Writer www.brianlane.com
  www.nexuscomputing.com
Liberty  Privacy 'zine Editor   www.libertynews.org

I made wine out of raisins so I wouldn't have to wait for it to age.
-- Stephen Wright



Re: qmail-pop3d hanging email retrieval

2001-07-06 Thread Charles Cazabon

Brian Lane [EMAIL PROTECTED] wrote:
 
   In summary, I am having problems with emails getting stuck when fetched
 from qmail-pop3d. They are almost always attached MS Word documents. They
 aren't necessarily long, I've got 32k messages that do it and 1M messages.
 
   I'm running on kernel 2.0.39, qmail 1.03, daemontools 0.70, ucspi-tcp 0.88
 and a slightly modified checkpassword to handle pop accounts in my virtual
 domains. This system has been in place since 1999 and has always had an
 occasional problem but recently I am getting 1 or 2 messages a week that are
 sticking.

I assume you mean Linux kernel 2.0.39?  What patches?  What vendor's kernel?
Or did you compile from a Linus tarball?

   I have 2 different cases where this happens. The first is when my home
 system, using fetchmail, is downloading messages. If the home machine's
 MTU/MRU is set to 1500 or 1480 the messages in question will hang. If I
 change the MRU to 576 then they pass through. I don't know if any messages
 hang using 576, but I haven't seen any.

This smells strongly of a kernel TCP/IP bug.  qmail-pop3d knows nothing of
packets or MTU -- it just sees a couple of fds.  Linux has had a couple of real
bad bugs like this in the past; a long-standing one wasn't fixed until very
recently in 2.2.19.  You could be running into this bug.

   I've only found a few references to similar problems when searching and no
 solutions. Someone else must have run into this before!

Linux 2.0.3x (where x  6) doesn't get tested nearly as widely as older or
newer versions.  Is there any reason you can't upgrade this system to 2.2.19
or better?

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: qmail-pop3d hanging email retrieval

2001-07-06 Thread Brian Lane

On Fri, Jul 06, 2001 at 09:34:39PM -0600, Charles Cazabon wrote:
 Brian Lane [EMAIL PROTECTED] wrote:
  
In summary, I am having problems with emails getting stuck when fetched
  from qmail-pop3d. They are almost always attached MS Word documents. They
  aren't necessarily long, I've got 32k messages that do it and 1M messages.
  
I'm running on kernel 2.0.39, qmail 1.03, daemontools 0.70, ucspi-tcp 0.88
  and a slightly modified checkpassword to handle pop accounts in my virtual
  domains. This system has been in place since 1999 and has always had an
  occasional problem but recently I am getting 1 or 2 messages a week that are
  sticking.
 
 I assume you mean Linux kernel 2.0.39?  What patches?  What vendor's kernel?
 Or did you compile from a Linus tarball?

  Sorry, Linux 2.0.39 on what used to be a RH 5.2 system but has been
heavily upgraded over the years. The kernel itself is from an un-patched
tarball.

 
I have 2 different cases where this happens. The first is when my home
  system, using fetchmail, is downloading messages. If the home machine's
  MTU/MRU is set to 1500 or 1480 the messages in question will hang. If I
  change the MRU to 576 then they pass through. I don't know if any messages
  hang using 576, but I haven't seen any.
 
 This smells strongly of a kernel TCP/IP bug.  qmail-pop3d knows nothing of
 packets or MTU -- it just sees a couple of fds.  Linux has had a couple of real
 bad bugs like this in the past; a long-standing one wasn't fixed until very
 recently in 2.2.19.  You could be running into this bug.

  I'm afraid that its something like that. I was hoping my upgrade to 2.0.39
would fix any odd kernel bugs. I've been avoiding a complete upgrade because
it means a total system rebuild and I really hate doing that. It looks like
a rebuild is probably in the future, unless anyone has a better suggestion.

  Thanks,

  Brian

-- 
Brian C. Lane - Linux Programmer/Consultant/Writer www.brianlane.com
  www.nexuscomputing.com
Liberty  Privacy 'zine Editor   www.libertynews.org

In every country and in every age, the priest has been hostile to
liberty. He is always in alliance with the despot, abetting his abuses
in return for protection to his own.
-- Thomas Jefferson, 1814



qmail pop3d startup

2001-07-03 Thread David Dahl


-- 
Hello all:

I followed LWQ's directions for setting up qmail-pop3d:

it wont start up and i get this in my messages log:


Jul  3 10:37:44 mckenna qmail: Starting qmail: done
Jul  3 10:37:44 mckenna qmail: qmail-pop3d service not running
Jul  3 10:37:44 mckenna qmail: /etc/rc3.d/S80qmail: svok: command not found
Jul  3 10:37:44 mckenna rc: Starting qmail:  succeeded
Ju


==end of log==


here are the directions for adding to the qmail startup script:

(btw: i have zero shell-scripting experience)

7. Add the following to qmailctl's start section:
if svok /service/qmail*pop3d ; then
svc *u /service/qmail*pop3d
else
echo qmail*pop3d service not running
fi

i am stumped... did i spell something wrong?


TIA,

david



Re: qmail pop3d startup

2001-07-03 Thread David Dahl

i think my problem is that i did not install daemontools...

whoops...

so when i try to make daemontools:

[root@mckenna daemontools-0.70]# make
./compile tai64nlocal.c
tai64nlocal.c: In function `main':
tai64nlocal.c:54: warning: assignment makes pointer from integer without a cast
tai64nlocal.c:55: dereferencing pointer to incomplete type
tai64nlocal.c:56: dereferencing pointer to incomplete type
tai64nlocal.c:57: dereferencing pointer to incomplete type
tai64nlocal.c:58: dereferencing pointer to incomplete type
tai64nlocal.c:59: dereferencing pointer to incomplete type
tai64nlocal.c:60: dereferencing pointer to incomplete type
make: *** [tai64nlocal.o] Error 1

should i nuke this install?

if so how do i?

david


--
Hello all:

I followed LWQ's directions for setting up qmail-pop3d:

it wont start up and i get this in my messages log:


Jul  3 10:37:44 mckenna qmail: Starting qmail: done
Jul  3 10:37:44 mckenna qmail: qmail-pop3d service not running
Jul  3 10:37:44 mckenna qmail: /etc/rc3.d/S80qmail: svok: command not found
Jul  3 10:37:44 mckenna rc: Starting qmail:  succeeded
Ju


==end of log==


here are the directions for adding to the qmail startup script:

(btw: i have zero shell-scripting experience)

7. Add the following to qmailctl's start section:
if svok /service/qmail*pop3d ; then
svc *u /service/qmail*pop3d
else
echo qmail*pop3d service not running
fi

i am stumped... did i spell something wrong?


TIA,

david


-- 



Re: qmail pop3d startup

2001-07-03 Thread Paul Farber

I got the same thing... it *probibly* a header problem (not sure...
looked
good to me).

just comment out the lines and recompile... its not a critical program.
Just edit the tai64nlocal.c and put a double hash '//' (no quotes) on the
lines listed and it will compile install.



-- 
Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Wed, 4 Jul 2001, David Dahl wrote:

 i think my problem is that i did not install daemontools...

 whoops...

 so when i try to make daemontools:

 [root@mckenna daemontools-0.70]# make
 ./compile tai64nlocal.c
 tai64nlocal.c: In function `main':
 tai64nlocal.c:54: warning: assignment makes pointer from integer without a cast
 tai64nlocal.c:55: dereferencing pointer to incomplete type
 tai64nlocal.c:56: dereferencing pointer to incomplete type
 tai64nlocal.c:57: dereferencing pointer to incomplete type
 tai64nlocal.c:58: dereferencing pointer to incomplete type
 tai64nlocal.c:59: dereferencing pointer to incomplete type
 tai64nlocal.c:60: dereferencing pointer to incomplete type
 make: *** [tai64nlocal.o] Error 1

 should i nuke this install?

 if so how do i?

 david


 --
 Hello all:
 
 I followed LWQ's directions for setting up qmail-pop3d:
 
 it wont start up and i get this in my messages log:
 
 
 Jul  3 10:37:44 mckenna qmail: Starting qmail: done
 Jul  3 10:37:44 mckenna qmail: qmail-pop3d service not running
 Jul  3 10:37:44 mckenna qmail: /etc/rc3.d/S80qmail: svok: command not found
 Jul  3 10:37:44 mckenna rc: Starting qmail:  succeeded
 Ju
 
 
 ==end of log==
 
 
 here are the directions for adding to the qmail startup script:
 
 (btw: i have zero shell-scripting experience)
 
 7. Add the following to qmailctl's start section:
 if svok /service/qmail*pop3d ; then
 svc *u /service/qmail*pop3d
 else
 echo qmail*pop3d service not running
 fi
 
 i am stumped... did i spell something wrong?
 
 
 TIA,
 
 david







Re: qmail pop3d startup

2001-07-03 Thread David Dahl
Title: Re: qmail pop3d startup


i am a moron!

i am talking to myself...


from the qmail list archives==



Mike Jackson wrote:

Hi,
 Box is Mandrake 8.0 final, kernel 2.4.3-20mdk. I get the
following
error when trying to compile daemontools. It also happened to me
on a
Redhat 7.1 box. I think it's something gcc version 2.96
2731
related. Somebody please help me patch this file so it will
compile.

Mr. Jackson - this apparently affects Linux 2.4.x kernels. The
fix
(also applicable to a similar error when compiling the clockspeed
package) is to change sys/time.h on line 2 of the problem file
to
time.h.

Hope this helps. -d


- --
David Talkington
http://www.spotnet.org





i think my problem is that i did not
install daemontools...

whoops...

so when i try to make daemontools:

[root@mckenna daemontools-0.70]# make
./compile tai64nlocal.c
tai64nlocal.c: In function `main':
tai64nlocal.c:54: warning: assignment makes pointer from integer
without a cast
tai64nlocal.c:55: dereferencing pointer to incomplete type
tai64nlocal.c:56: dereferencing pointer to incomplete type
tai64nlocal.c:57: dereferencing pointer to incomplete type
tai64nlocal.c:58: dereferencing pointer to incomplete type
tai64nlocal.c:59: dereferencing pointer to incomplete type
tai64nlocal.c:60: dereferencing pointer to incomplete type
make: *** [tai64nlocal.o] Error 1

should i nuke this install?

if so how do i?

david
--
Hello all:

I followed LWQ's directions for setting up qmail-pop3d:

it wont start up and i get this in my messages log:


Jul 3 10:37:44 mckenna qmail: Starting qmail: done
Jul 3 10:37:44 mckenna qmail: qmail-pop3d service not
running
Jul 3 10:37:44 mckenna qmail: /etc/rc3.d/S80qmail: svok: command
not found
Jul 3 10:37:44 mckenna rc: Starting qmail: succeeded
Ju


==end of log==


here are the directions for adding to the qmail startup script:

(btw: i have zero shell-scripting experience)

7. Add the following to qmailctl's start section:
if svok /service/qmail*pop3d ; then
svc *u /service/qmail*pop3d
else
echo qmail*pop3d service not running
fi

i am stumped... did i spell something
wrong?


TIA,

david



--


-- 




Is it possible to use qmail-pop3d with mailbox format

2001-06-25 Thread lkhanna

Hi all,

I am using qmail-1.03-30 and its working fine as far as SMTP connection is
concern.
But i am using ipop3d for for pop daemon, which is very slow.
Is it possible to use qmail-pop3d with Mailbox format ???

Regards

Lokesh





Re: Is it possible to use qmail-pop3d with mailbox format

2001-06-25 Thread Russell Nelson

[EMAIL PROTECTED] writes:
  Hi all,
  
  I am using qmail-1.03-30 and its working fine as far as SMTP connection is
  concern.
  But i am using ipop3d for for pop daemon, which is very slow.
  Is it possible to use qmail-pop3d with Mailbox format ???

No.  Switch to Maildir format.  It's much more managable.  You can
remove unwanted emails from a user's mailbox (My email download is
taking forever.  Do I have a multi-megabyte email?  Could you delete
it?).  You can insert bulletins just by symlinking to them.  You can
delete emails which haven't been read for a certain period of time.
And it's reliable over NFS, which Mailbox isn't.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude windows.h
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



qmail-pop3d

2001-05-31 Thread Deen

Hi.

I am new in qmail. Can anyone help me ?

Problem: I could not access my email dir using Outlook Express (OE) 
via pop3 port. (110)

I have installed and configured qmail smtpd successfully. I (or 
anyone else) can send and received e-mail locally and remotely. No 
problemo. I run qmail under tcpserver.

I also tried to run its /var/qmail/bin/qmail-pop3d using xinetd. 
Below is my configuration:-

$ vi /etc/xinetd.d/ipop3 

  6 service pop3
  7 {
  8 disable = no
  9 socket_type = stream
 10 wait= no
 11 user= root
 12 server  = /usr/local/bin/tcpserver 0 
110 \
 13 /var/qmail/bin/qmail-popup mail.my-
domainname \
 14 /bin/checkpassword /var/qmail/bin/qmail-pop3d 
Maildir 
 15 log_on_success  += USERID
 16 log_on_failure  += USERID
 17 }


my-domainname is a valid domain (with another name).

The defaultdelivery is ./Maildir, which means that my email 
directories are located in:-
/home/mail/poptest100/Maildir/

Below is the out of /var/log/messages:-

May 31 11:23:52 mail xinetd[26929]: Exiting...
May 31 11:23:52 mail xinetd: xinetd shutdown succeeded
May 31 11:23:53 mail xinetd[27013]: attribute server expects 1 values 
and 4 values were specified [line=12]
May 31 11:23:53 mail xinetd[27013]: Bad operator for 
attribute: /var/qmail/bin/qmail-popup [line=13]
May 31 11:23:53 mail xinetd[27013]: finger disabled, removing
May 31 11:23:53 mail xinetd[27013]: imap disabled, removing
May 31 11:23:53 mail xinetd[27013]: imaps disabled, removing
May 31 11:23:53 mail xinetd[27013]: swat disabled, removing
May 31 11:23:53 mail xinetd[27013]: pop3s disabled, removing
May 31 11:23:53 mail xinetd[27013]: linuxconf disabled, removing
May 31 11:23:53 mail xinetd[27013]: pop2 disabled, removing
May 31 11:23:53 mail xinetd[27013]: xinetd Version 2.1.8.9pre9 
started with
May 31 11:23:53 mail xinetd[27013]: libwrap
May 31 11:23:53 mail xinetd[27013]: options compiled in.
May 31 11:23:53 mail xinetd[27013]: Started working: 2 available 
services
May 31 11:23:56 mail xinetd: xinetd startup succeeded
May 31 11:24:54 mail spop3d[27532]: user poptest100 authenticated
May 31 11:24:54 mail spop3d[27532]: session ended for user poptest100
--

When I used my OE, I can send email to my other remote account. But 
my OE could not received email from my mail.my-domainname.

I think the problem is either in:-
a) accessing the email directory (./Maildir) itself. I have checked 
the permission and found it is okay. Owner (poptest100) can read and 
execute directories and subdirectories under its own home directory.

or
b) my xinetd.d/ipop3 account setup is not right. I do not know about 
this one. I am also new in xinetd.

Can anyone give me any suggestion ? I think I do not have to 
reinstall my redhat 7.0 and qmail from stratch. I am nearly finishing 
my qmail installation.

Just FYI, before this I am using sendmail and I have no problem using 
my OE to access my email via pop3.

Thank you in advance




Re: qmail-pop3d

2001-05-31 Thread Arjen van Drie

On Thu, May 31, 2001 at 06:19:22AM -, Deen wrote:
Hi.

I am new in qmail. Can anyone help me ?


 12 server  = /usr/local/bin/tcpserver 0 
110 \
 13 /var/qmail/bin/qmail-popup mail.my-
domainname \
 14 /bin/checkpassword /var/qmail/bin/qmail-pop3d 
Maildir 
 15 log_on_success  += USERID
 16 log_on_failure  += USERID
 17 }



Here you start one tcpwrapper (tcpserver) by another. No can do that!
Use tcpserver _or_ xinetd. Not both.


-- 

Grtz, 

Arjen.




Re: qmail-pop3d

2001-05-31 Thread Jörgen Persson

On Thu, May 31, 2001 at 06:19:22AM -, Deen wrote:
 Hi.
 
 I am new in qmail. Can anyone help me ?
 
 Problem: I could not access my email dir using Outlook Express (OE) 
 via pop3 port. (110)
 
 I have installed and configured qmail smtpd successfully. I (or 
 anyone else) can send and received e-mail locally and remotely. No 
 problemo. I run qmail under tcpserver.
 
 I also tried to run its /var/qmail/bin/qmail-pop3d using xinetd. 
 Below is my configuration:-

tcpserver is a replacement for inetd, xinetd  CO. Which means you
shouldn't run both tcpserver and xinetd. Choose one of them and things
will probably work much better -- I recommend tcpserver.

Jörgen



Re: qmail-pop3d - thanks

2001-05-31 Thread Deen

Hi Arjen van Drie, J=F6rgen_Perss

Thanks to both of you. I have used the tcpserver instead. However, I 
am still not satisfied. (no offence to both of you).

Last time, when I was using sendmail, I used aliases as forwarding, 
so that I do not have to create home dir for each pop users.

I found a doc written by Paul Gregg title Single-UID based POP3 box 
HOWTO. (I don't remember the URL coz' I got a hard copy).

Has anyone successfully implemented his HOWTO yet ? There are things 
that I do not understand in his HOWTO.




Re: qmail-pop3d - thanks

2001-05-31 Thread Deen

Thank you Arjen van Drie  J=F6rgen_Perss.

I have successfully access the pop3 under tcpserver. I don't know 
much about tcpserver tough.





Re: qmail-pop3d - thanks

2001-05-31 Thread Deen

Thank you Arjen van Drie  J=F6rgen_Perss.

I have successfully access the pop3 under tcpserver. I don't know 
much about tcpserver tough.





Re: qmail-pop3d - thanks

2001-05-31 Thread Deen

Thank you Arjen van Drie  J=F6rgen_Perss.

I have successfully access the pop3 under tcpserver. I don't know 
much about tcpserver tough.





Re: qmail-pop3d - thanks

2001-05-31 Thread Jörgen Persson

On Thu, May 31, 2001 at 08:11:19AM -, Deen wrote:
 Hi Arjen van Drie, J=F6rgen_Perss
 
 Thanks to both of you. I have used the tcpserver instead. However, I 
 am still not satisfied. (no offence to both of you).
 
 Last time, when I was using sendmail, I used aliases as forwarding, 
 so that I do not have to create home dir for each pop users.

Forwarding mail has nothing to do with pop3d nor with tcpserver. Anyway, 
there are many ways to forward mail under qmail. Take a look at
fastforward[1], it might be what you are looking for.

Jörgen

[1] http://cr.yp.to/fastforward.html



Re: qmail-pop3d - thanks

2001-05-31 Thread Charles Cazabon

Deen [EMAIL PROTECTED] wrote:
 
 I found a doc written by Paul Gregg title Single-UID based POP3 box 
 HOWTO. (I don't remember the URL coz' I got a hard copy).
 
 Has anyone successfully implemented his HOWTO yet ? There are things 
 that I do not understand in his HOWTO.

Various people have implemented single-UID POP3/IMAP virtual domains for
qmail.  vmailmgr does this.  I'm not sure if that's quite what you mean.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



vmailmgr pop pop3d logging with multilog

2001-05-31 Thread Joe Janitor

I have qmail + vmailmgr set up and working, qmail pop accesses are 
being logged via daemontools and multilog and end up in 
/var/log/qmail/pop3d/current. 
i can get  /etc/vmailmgr/checkvpw-postexec
to write to a file (/tmp/vm), but I can't make its output show up in 
the pop3d
logs via multilog (by changing the  /tmp/vm to 2 as suggested in 
the archives of the vmailmgr list see below). 

I expect lines like this:

Thu May 31 12:19:43 EDT 2001 /etc/vmailmgr/checkvpw-postexec u:janitors 
v:joe m:./users/joe
h:/home/janitors

to show up in /var/log/qmail/pop3d/current ... am i looking in the 
wrong place?

Here are what my files look like:

/etc/vmailmgr/checkvpw-postexec :
#!/bin/sh
echo `date` $0 $1 $2 u:$USER v:$VUSER m:$MAILDIR h:$HOME 2
echo `date` $0 $1 $2 u:$USER v:$VUSER m:$MAILDIR h:$HOME  /tmp/vm

/var/qmail/supervise/qmail-pop3d/run :
#!/bin/sh
/usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R 0 110 /var/qmail/bin/qmail-popup \
FQDN /usr/local/bin/checkvpw /var/qmail/bin/qmail-pop3d  
Mailbox/ 21

/var/qmail/supervise/qmail-pop3d/log :
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t 
/var/log/qmail/pop3d



__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Re: qmail-pop3d and /var/spool/mail or NO /HOME/$USER

2001-05-22 Thread Charles Cazabon

Charles Olds [EMAIL PROTECTED] wrote:
 My goal is:
 Install qmail to work with virtual users. (i.e. No account in
 /etc/passwd.  No /home/user.  Mail delivered to /var/spool/mail.)

You're limiting your options here by insisting on mbox format and
/var/spool/mail.  Much of the better software intended to be used with qmail
uses Maildir format, and storage outside of /var/spool/mail .

 I have downloaded and installed qmail, tcpserver, qmailadmin, etc..
 Everything looks good and runs except qmail-pop3d does not work with
 virtual users.  When trying to retrieve mail I get the message No
 /HOME/$USER directory...
 
 Please recommend a POP3 server that will work with qmail and allow mail
 to be retrieved from /var/spool/mail.

I'd personally recommend vmailmgr for virtual domain setups.  However, it does
necessitate Maildir storage (well, mostly) and at least one system account per
virtual domain.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



qmail-pop3d advice ( migrate to vpopmail ? )

2001-05-22 Thread Renato


Hi all,

I have a server which has about 50.000 e-mail accounts. POP3 concurrency is 
set to 150 and timeout to 90 seconds. A couple of days ago, my users 
started to feel a huge delay in getting their messages via POP and 
sometimes, they even cannot connect. I checked the number of simultaneous 
number of connections and is not close to 150. Of course, concurrency 
increased a little bit ( around 100 ) in the past few days, but it didn't 
reach the limit yet. 

I think my machine is on its knees right now :((, but I cannot afford to 
have a better hardware at this moment. What can I do to improve 
performance ? ( I mean software performance... ). The migrating to vpopmail 
would help ? What about mysql to authenticate users ? 

Thanks
Renato - Brazil

P.S. I'm using qmail+vmailmgr, so I have thousands of passwd.cdb files...




Re: qmail-pop3d advice ( migrate to vpopmail ? )

2001-05-22 Thread Charles Cazabon

Renato [EMAIL PROTECTED] wrote:
 
 Hi all,

Don't post a new question by replying to an existing thread.  This messes up
the threading in our MUAs and in the list archives.

As for your problem:  it's the absolute #1 most frequently asked question.
It's in the FAQs, it's in the list archives hundreds of times, and its even in
one mailing list member's .sig.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



qmail-pop3d and /var/spool/mail or NO /HOME/$USER

2001-05-19 Thread Charles Olds

My goal is:
Install qmail to work with virtual users. (i.e. No account in
/etc/passwd.  No /home/user.  Mail delivered to /var/spool/mail.)

I have downloaded and installed qmail, tcpserver, qmailadmin, etc..
Everything looks good and runs except qmail-pop3d does not work with
virtual users.  When trying to retrieve mail I get the message No
/HOME/$USER directory...

Please recommend a POP3 server that will work with qmail and allow mail
to be retrieved from /var/spool/mail.

Many thanks in advance.

Charles Olds




Re: qmail-pop3d and /var/spool/mail or NO /HOME/$USER

2001-05-19 Thread Tim Hunter

I can certainly understand not using /etc/passwd but Why not maildirs??
I would really recommend vpopmail or vwhatever the name of that package I
can't seem to remember right now ?

qmail-pop3d only is used for Maildirs (not the virtual user problem)

other poppers are availible, check the qmail page.

- Original Message -
From: Charles Olds [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 20, 2001 8:44 AM
Subject: qmail-pop3d and /var/spool/mail or NO /HOME/$USER


 My goal is:
 Install qmail to work with virtual users. (i.e. No account in
 /etc/passwd.  No /home/user.  Mail delivered to /var/spool/mail.)

 I have downloaded and installed qmail, tcpserver, qmailadmin, etc..
 Everything looks good and runs except qmail-pop3d does not work with
 virtual users.  When trying to retrieve mail I get the message No
 /HOME/$USER directory...

 Please recommend a POP3 server that will work with qmail and allow mail
 to be retrieved from /var/spool/mail.

 Many thanks in advance.

 Charles Olds






Re: qmail-pop3d and /var/spool/mail or NO /HOME/$USER

2001-05-19 Thread Dean Staff

On 20 May 2001, at 20:44, Charles Olds wrote:

[...] 
 Please recommend a POP3 server that will work with qmail and allow
 mail to be retrieved from /var/spool/mail.
 

Try qpopper.
http://www.eudora.com/qpopper/

It's actually mentioned in 'Life with qmail .

Dean

 



Dean Staff
Protus IP Solutions
210 - 2379 Holly Lane
Ottawa, ON K1V 7P2 Canada
613-733- ex 546 Fax 613-248-4553
e-mail: [EMAIL PROTECTED] Web: http://www.protus.com




Re: Using vchkpw (vpopmail) with qmail-pop3d?

2001-05-15 Thread Dave Sill

Steven Katz [EMAIL PROTECTED] wrote:

I'm trying to get the smtp after pop authentication part of vpopmail 
to work. I followed the LWQ instructions to install qmail and I'm 
using qmail-pop3d. Where should the below startup line for vchkpw be 
placed?

In qmail-pop3d/run. See:

http://www.faqts.com/knowledge_base/view.phtml/aid/8225/fid/223

-Dave



Using vchkpw (vpopmail) with qmail-pop3d?

2001-05-11 Thread Steven Katz

Excellent list people,

I'm trying to get the smtp after pop authentication part of vpopmail 
to work. I followed the LWQ instructions to install qmail and I'm 
using qmail-pop3d. Where should the below startup line for vchkpw be 
placed?

Thanks!
Steven


12. How to use vchkpw with qmail-pop3d server

Here is a sample startup line for qmail-pop3d and vchkpw

env - PATH=/var/qmail/bin:/usr/local/bin \
tcpserver -H -R 0 pop-3 \
/var/qmail/bin/qmail-popup your.domain.com \
/home-dir-of-vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 




RE: qmail-pop3d not working?

2001-04-27 Thread Steven Katz

Thanks, Rick. I did 'cd /var/qmail/supervise; svstat * */log' (while 
pop was working) and got:

qmail-pop3d: up (pid 598) 1420 seconds
qmail-send: up (pid 594) 1420 seconds
qmail-smtpd: up (pid 595) 1420 seconds
qmail-pop3d/log: up (pid 28975) 0 seconds
qmail-send/log: up (pid 596) 1420 seconds
qmail-smtpd/log: up (pid 599) 1420 seconds

Then I did it again (when pop stopped working) and got:

qmail-pop3d: up (pid 598) 1678 seconds
qmail-send: up (pid 594) 1678 seconds
qmail-smtpd: up (pid 595) 1678 seconds
qmail-pop3d/log: up (pid 26225) 0 seconds
qmail-send/log: up (pid 596) 1678 seconds
qmail-smtpd/log: up (pid 599) 1678 seconds

Although qmail-pop3d/log stayed at 0 seconds, qmail-pop3d keeps 
increasing, even after it stops working. 

However, doing 'ps auxw | grep pop3' while pop is working (up to 15 
minutes after rebooting) gives me:

root   591  0.0  0.4  1272  344 ?S09:06   0:00 
supervise qmail-pop3d
root   596  0.0  0.6  1344  512 ?S09:06   0:00 
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma

But doing it again when pop stops working gives me:

root   591  0.0  0.4  1272  344 ?S09:06   0:00 
supervise qmail-pop3d
root   596  0.0  0.6  1344  512 ?S09:06   0:00 
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
root  4454  0.0  0.6  1344  516 ?S09:17   0:00 
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma

There does seem to be a connection to the second instance of tcpserver. 
How can I find why and where the second tcpserver instance is being 
initiated?

Thanks again, everyone.

Steven


-Original Message-
From: Rick Updegrove [EMAIL PROTECTED]
Sent: Wednesday, April 25, 2001 10:22 AM
To: [EMAIL PROTECTED]
Subject: Re: qmail-pop3d not working?


Charles Cazabon  said,
 You have two tcpserver instances, both trying to bind to the same 
 interface(s) and port.  At least one of those _has_ to be failing, 
 and it should be showing up in your logs.

Steve said,
At which point, doing 'sh -x /var/qmail/supervise/qmail-pop3d/run'
 gives me:

I use this to check for status on supervised processes.

bash-2.04# cd /var/qmail/supervise; svstat * */log

qmail-pop3d: up (pid 658) 178697 seconds
qmail-send: up (pid 9480) 178696 seconds
qmail-smtpd: up (pid 3846) 178697 seconds
qmail-pop3d/log: up (pid 11946) 178697 seconds
qmail-send/log: up (pid 7901) 178697 seconds
qmail-smtpd/log: up (pid 13335) 178697 seconds

When you supervise, and one of the seconds columns stays at 0 
seconds, you definitely have a problem.  After you reboot, or better 
yet, when your pop stops working, try that and see what happens.

Also, do not start pop3d from the command line if you are starting it 
in your boot scripts, even if pop3 is not working properly.

Hope that helped

Rick Up





Re: qmail-pop3d not working?

2001-04-27 Thread Mark Delany

The zero seconds for qmail-pop3d/log is your problem. The logging
output of qmail-pop3d is ultimately filling up the pipe buffer and
then wedging since the pipe is never drained by qmail-pop3d/log.

The zero seconds is telling you that qmail-pop3d/log is repeatedly
being started and is exiting immediately. You need to work out why
that is.

1. Is qmail-pop3d/log/run executable?
2. What does it have in it exactly? Is the script correct?
3. What happens if you run it manually - what output do you get?


Regards.




On Fri, Apr 27, 2001 at 10:23:56AM -0700, Steven Katz wrote:
 Thanks, Rick. I did 'cd /var/qmail/supervise; svstat * */log' (while 
 pop was working) and got:
 
 qmail-pop3d: up (pid 598) 1420 seconds
 qmail-send: up (pid 594) 1420 seconds
 qmail-smtpd: up (pid 595) 1420 seconds
 qmail-pop3d/log: up (pid 28975) 0 seconds
 qmail-send/log: up (pid 596) 1420 seconds
 qmail-smtpd/log: up (pid 599) 1420 seconds
 
 Then I did it again (when pop stopped working) and got:
 
 qmail-pop3d: up (pid 598) 1678 seconds
 qmail-send: up (pid 594) 1678 seconds
 qmail-smtpd: up (pid 595) 1678 seconds
 qmail-pop3d/log: up (pid 26225) 0 seconds
 qmail-send/log: up (pid 596) 1678 seconds
 qmail-smtpd/log: up (pid 599) 1678 seconds
 
 Although qmail-pop3d/log stayed at 0 seconds, qmail-pop3d keeps 
 increasing, even after it stops working. 
 
 However, doing 'ps auxw | grep pop3' while pop is working (up to 15 
 minutes after rebooting) gives me:
 
 root   591  0.0  0.4  1272  344 ?S09:06   0:00 
 supervise qmail-pop3d
 root   596  0.0  0.6  1344  512 ?S09:06   0:00 
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
 
 But doing it again when pop stops working gives me:
 
 root   591  0.0  0.4  1272  344 ?S09:06   0:00 
 supervise qmail-pop3d
 root   596  0.0  0.6  1344  512 ?S09:06   0:00 
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
 root  4454  0.0  0.6  1344  516 ?S09:17   0:00 
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
 
 There does seem to be a connection to the second instance of tcpserver. 
 How can I find why and where the second tcpserver instance is being 
 initiated?
 
 Thanks again, everyone.
 
 Steven
 
 
 -Original Message-
 From: Rick Updegrove [EMAIL PROTECTED]
 Sent: Wednesday, April 25, 2001 10:22 AM
 To: [EMAIL PROTECTED]
 Subject: Re: qmail-pop3d not working?
 
 
 Charles Cazabon  said,
  You have two tcpserver instances, both trying to bind to the same 
  interface(s) and port.  At least one of those _has_ to be failing, 
  and it should be showing up in your logs.
 
 Steve said,
 At which point, doing 'sh -x /var/qmail/supervise/qmail-pop3d/run'
  gives me:
 
 I use this to check for status on supervised processes.
 
 bash-2.04# cd /var/qmail/supervise; svstat * */log
 
 qmail-pop3d: up (pid 658) 178697 seconds
 qmail-send: up (pid 9480) 178696 seconds
 qmail-smtpd: up (pid 3846) 178697 seconds
 qmail-pop3d/log: up (pid 11946) 178697 seconds
 qmail-send/log: up (pid 7901) 178697 seconds
 qmail-smtpd/log: up (pid 13335) 178697 seconds
 
 When you supervise, and one of the seconds columns stays at 0 
 seconds, you definitely have a problem.  After you reboot, or better 
 yet, when your pop stops working, try that and see what happens.
 
 Also, do not start pop3d from the command line if you are starting it 
 in your boot scripts, even if pop3 is not working properly.
 
 Hope that helped
 
 Rick Up
 
 



RE: qmail-pop3d not working?

2001-04-27 Thread Steven Katz

Sorry, I do have /var/qmail/supervise/qmail-pop3d/log/run (with 
permissions: -rw-rw-r--). I'll fix that and see what happens.

It looks like:

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
  /var/log/qmail/pop3d

Steven


-Original Message-
From: Steven Katz [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 10:24 AM
To: [EMAIL PROTECTED]
Subject: RE: qmail-pop3d not working?


Thanks, Rick. I did 'cd /var/qmail/supervise; svstat * */log' (while 
pop was working) and got:

qmail-pop3d: up (pid 598) 1420 seconds
qmail-send: up (pid 594) 1420 seconds
qmail-smtpd: up (pid 595) 1420 seconds
qmail-pop3d/log: up (pid 28975) 0 seconds
qmail-send/log: up (pid 596) 1420 seconds
qmail-smtpd/log: up (pid 599) 1420 seconds

Then I did it again (when pop stopped working) and got:

qmail-pop3d: up (pid 598) 1678 seconds
qmail-send: up (pid 594) 1678 seconds
qmail-smtpd: up (pid 595) 1678 seconds
qmail-pop3d/log: up (pid 26225) 0 seconds
qmail-send/log: up (pid 596) 1678 seconds
qmail-smtpd/log: up (pid 599) 1678 seconds

Although qmail-pop3d/log stayed at 0 seconds, qmail-pop3d keeps 
increasing, even after it stops working. 

However, doing 'ps auxw | grep pop3' while pop is working (up to 15 
minutes after rebooting) gives me:

root   591  0.0  0.4  1272  344 ?S09:06   0:00 
supervise qmail-pop3d
root   596  0.0  0.6  1344  512 ?S09:06   0:00 
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma

But doing it again when pop stops working gives me:

root   591  0.0  0.4  1272  344 ?S09:06   0:00 
supervise qmail-pop3d
root   596  0.0  0.6  1344  512 ?S09:06   0:00 
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
root  4454  0.0  0.6  1344  516 ?S09:17   0:00 
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma

There does seem to be a connection to the second instance of tcpserver. 
How can I find why and where the second tcpserver instance is being 
initiated?

Thanks again, everyone.

Steven


-Original Message-
From: Rick Updegrove [EMAIL PROTECTED]
Sent: Wednesday, April 25, 2001 10:22 AM
To: [EMAIL PROTECTED]
Subject: Re: qmail-pop3d not working?


Charles Cazabon  said,
 You have two tcpserver instances, both trying to bind to the same 
 interface(s) and port.  At least one of those _has_ to be failing, 
 and it should be showing up in your logs.

Steve said,
At which point, doing 'sh -x /var/qmail/supervise/qmail-pop3d/run'
 gives me:

I use this to check for status on supervised processes.

bash-2.04# cd /var/qmail/supervise; svstat * */log

qmail-pop3d: up (pid 658) 178697 seconds
qmail-send: up (pid 9480) 178696 seconds
qmail-smtpd: up (pid 3846) 178697 seconds
qmail-pop3d/log: up (pid 11946) 178697 seconds
qmail-send/log: up (pid 7901) 178697 seconds
qmail-smtpd/log: up (pid 13335) 178697 seconds

When you supervise, and one of the seconds columns stays at 0 
seconds, you definitely have a problem.  After you reboot, or better 
yet, when your pop stops working, try that and see what happens.

Also, do not start pop3d from the command line if you are starting it 
in your boot scripts, even if pop3 is not working properly.

Hope that helped

Rick Up





RE: qmail-pop3d not working?

2001-04-27 Thread Steven Katz

POP instantly started working once I fixed the perms! Thanks!

Steven


-Original Message-
From: Steven Katz [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 11:08 AM
To: [EMAIL PROTECTED]
Subject: RE: qmail-pop3d not working?


Sorry, I do have /var/qmail/supervise/qmail-pop3d/log/run (with 
permissions: -rw-rw-r--). I'll fix that and see what happens.

It looks like:

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
  /var/log/qmail/pop3d

Steven


-Original Message-
From: Mark Delany [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 10:29 AM
To: [EMAIL PROTECTED]
Subject: Re: qmail-pop3d not working?


The zero seconds for qmail-pop3d/log is your problem. The logging
output of qmail-pop3d is ultimately filling up the pipe buffer and
then wedging since the pipe is never drained by qmail-pop3d/log.

The zero seconds is telling you that qmail-pop3d/log is repeatedly
being started and is exiting immediately. You need to work out why
that is.

1. Is qmail-pop3d/log/run executable?
2. What does it have in it exactly? Is the script correct?
3. What happens if you run it manually - what output do you get?


Regards.



On Fri, Apr 27, 2001 at 10:23:56AM -0700, Steven Katz wrote:
 Thanks, Rick. I did 'cd /var/qmail/supervise; svstat * */log' (while 
 pop was working) and got:
 
 qmail-pop3d: up (pid 598) 1420 seconds
 qmail-send: up (pid 594) 1420 seconds
 qmail-smtpd: up (pid 595) 1420 seconds
 qmail-pop3d/log: up (pid 28975) 0 seconds
 qmail-send/log: up (pid 596) 1420 seconds
 qmail-smtpd/log: up (pid 599) 1420 seconds
 
 Then I did it again (when pop stopped working) and got:
 
 qmail-pop3d: up (pid 598) 1678 seconds
 qmail-send: up (pid 594) 1678 seconds
 qmail-smtpd: up (pid 595) 1678 seconds
 qmail-pop3d/log: up (pid 26225) 0 seconds
 qmail-send/log: up (pid 596) 1678 seconds
 qmail-smtpd/log: up (pid 599) 1678 seconds
 
 Although qmail-pop3d/log stayed at 0 seconds, qmail-pop3d keeps 
 increasing, even after it stops working. 
 
 However, doing 'ps auxw | grep pop3' while pop is working (up to 15 
 minutes after rebooting) gives me:
 
 root   591  0.0  0.4  1272  344 ?S09:06   0:00 
 supervise qmail-pop3d
 root   596  0.0  0.6  1344  512 ?S09:06   0:00 
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
 
 But doing it again when pop stops working gives me:
 
 root   591  0.0  0.4  1272  344 ?S09:06   0:00 
 supervise qmail-pop3d
 root   596  0.0  0.6  1344  512 ?S09:06   0:00 
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
 root  4454  0.0  0.6  1344  516 ?S09:17   0:00 
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
 
 There does seem to be a connection to the second instance of tcpserver. 
 How can I find why and where the second tcpserver instance is being 
 initiated?
 
 Thanks again, everyone.
 
 Steven
 
 
 -Original Message-
 From: Rick Updegrove [EMAIL PROTECTED]
 Sent: Wednesday, April 25, 2001 10:22 AM
 To: [EMAIL PROTECTED]
 Subject: Re: qmail-pop3d not working?
 
 
 Charles Cazabon  said,
  You have two tcpserver instances, both trying to bind to the same 
  interface(s) and port.  At least one of those _has_ to be failing, 
  and it should be showing up in your logs.
 
 Steve said,
 At which point, doing 'sh -x /var/qmail/supervise/qmail-pop3d/run'
  gives me:
 
 I use this to check for status on supervised processes.
 
 bash-2.04# cd /var/qmail/supervise; svstat * */log
 
 qmail-pop3d: up (pid 658) 178697 seconds
 qmail-send: up (pid 9480) 178696 seconds
 qmail-smtpd: up (pid 3846) 178697 seconds
 qmail-pop3d/log: up (pid 11946) 178697 seconds
 qmail-send/log: up (pid 7901) 178697 seconds
 qmail-smtpd/log: up (pid 13335) 178697 seconds
 
 When you supervise, and one of the seconds columns stays at 0 
 seconds, you definitely have a problem.  After you reboot, or better 
 yet, when your pop stops working, try that and see what happens.
 
 Also, do not start pop3d from the command line if you are starting it 
 in your boot scripts, even if pop3 is not working properly.
 
 Hope that helped
 
 Rick Up
 
 




RE: qmail-pop3d not working?

2001-04-27 Thread Steven Katz

I don't have qmail-pop3d/log/run, but I do have 
/var/qmail/supervise/qmail-pop3d/run (with permissions: -rwxr-xr-x).

It looks like:

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
  /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup \
idma.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21

I also have /var/log/qmail/pop3d, which is empty, as you might've guessed.

The output of running 'qmail-pop3d/run' manually is:
tcpserver: fatal: unable to bind: address already used


-Original Message-
From: Mark Delany [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 10:29 AM
To: [EMAIL PROTECTED]
Subject: Re: qmail-pop3d not working?


The zero seconds for qmail-pop3d/log is your problem. The logging
output of qmail-pop3d is ultimately filling up the pipe buffer and
then wedging since the pipe is never drained by qmail-pop3d/log.

The zero seconds is telling you that qmail-pop3d/log is repeatedly
being started and is exiting immediately. You need to work out why
that is.

1. Is qmail-pop3d/log/run executable?
2. What does it have in it exactly? Is the script correct?
3. What happens if you run it manually - what output do you get?


Regards.



On Fri, Apr 27, 2001 at 10:23:56AM -0700, Steven Katz wrote:
 Thanks, Rick. I did 'cd /var/qmail/supervise; svstat * */log' (while 
 pop was working) and got:
 
 qmail-pop3d: up (pid 598) 1420 seconds
 qmail-send: up (pid 594) 1420 seconds
 qmail-smtpd: up (pid 595) 1420 seconds
 qmail-pop3d/log: up (pid 28975) 0 seconds
 qmail-send/log: up (pid 596) 1420 seconds
 qmail-smtpd/log: up (pid 599) 1420 seconds
 
 Then I did it again (when pop stopped working) and got:
 
 qmail-pop3d: up (pid 598) 1678 seconds
 qmail-send: up (pid 594) 1678 seconds
 qmail-smtpd: up (pid 595) 1678 seconds
 qmail-pop3d/log: up (pid 26225) 0 seconds
 qmail-send/log: up (pid 596) 1678 seconds
 qmail-smtpd/log: up (pid 599) 1678 seconds
 
 Although qmail-pop3d/log stayed at 0 seconds, qmail-pop3d keeps 
 increasing, even after it stops working. 
 
 However, doing 'ps auxw | grep pop3' while pop is working (up to 15 
 minutes after rebooting) gives me:
 
 root   591  0.0  0.4  1272  344 ?S09:06   0:00 
 supervise qmail-pop3d
 root   596  0.0  0.6  1344  512 ?S09:06   0:00 
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
 
 But doing it again when pop stops working gives me:
 
 root   591  0.0  0.4  1272  344 ?S09:06   0:00 
 supervise qmail-pop3d
 root   596  0.0  0.6  1344  512 ?S09:06   0:00 
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
 root  4454  0.0  0.6  1344  516 ?S09:17   0:00 
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
 
 There does seem to be a connection to the second instance of tcpserver. 
 How can I find why and where the second tcpserver instance is being 
 initiated?
 
 Thanks again, everyone.
 
 Steven
 
 
 -Original Message-
 From: Rick Updegrove [EMAIL PROTECTED]
 Sent: Wednesday, April 25, 2001 10:22 AM
 To: [EMAIL PROTECTED]
 Subject: Re: qmail-pop3d not working?
 
 
 Charles Cazabon  said,
  You have two tcpserver instances, both trying to bind to the same 
  interface(s) and port.  At least one of those _has_ to be failing, 
  and it should be showing up in your logs.
 
 Steve said,
 At which point, doing 'sh -x /var/qmail/supervise/qmail-pop3d/run'
  gives me:
 
 I use this to check for status on supervised processes.
 
 bash-2.04# cd /var/qmail/supervise; svstat * */log
 
 qmail-pop3d: up (pid 658) 178697 seconds
 qmail-send: up (pid 9480) 178696 seconds
 qmail-smtpd: up (pid 3846) 178697 seconds
 qmail-pop3d/log: up (pid 11946) 178697 seconds
 qmail-send/log: up (pid 7901) 178697 seconds
 qmail-smtpd/log: up (pid 13335) 178697 seconds
 
 When you supervise, and one of the seconds columns stays at 0 
 seconds, you definitely have a problem.  After you reboot, or better 
 yet, when your pop stops working, try that and see what happens.
 
 Also, do not start pop3d from the command line if you are starting it 
 in your boot scripts, even if pop3 is not working properly.
 
 Hope that helped
 
 Rick Up
 
 




qmail-pop3d not handling enough messages

2001-04-24 Thread Thomas Ackermann

hy!
i've gat a qmail-system with vpopmail, using the qmail-pop3d as popper.
my problem is, that the number of messages in my cur grew up to 23240
and now i cant get them anymore, the pop3d gives out an error like cant
change to $Home/Maildir..

anyone help?
thx
thomas




RE: qmail-pop3d not working?

2001-04-24 Thread Steven Katz

Does anyone have any idea why pop would stop delivering 15 minutes 
after rebooting? I've provided my findings below.

Thanks again for any help you may provide. You're a great list!

Steven


 -Original Message-
 From: Steven Katz [EMAIL PROTECTED]
 Sent: Monday, April 23, 2001 10:19 AM
 To: [EMAIL PROTECTED]
 Subject: RE: qmail-pop3d not working?
 
 
 It seems to be only pop that stops working after 15 minutes, as 
 messages are piling up in the Maildirs. My mail client reports:
 
 A timeout occurred while communicating with the server. (Account: 
 '[EMAIL PROTECTED]', POP3 Server: 'mail.idma.com', Error Number: 
 0x800ccc19).
 
 At which point, doing 'sh -x /var/qmail/supervise/qmail-pop3d/run' 
 gives me: 
 
 tcpserver: fatal: unable to bind: address already used
 
 My /qmail-pop3d/run file looks like:
 
 #!/bin/sh
 exec /usr/local/bin/softlimit -m 200 \
   /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup \
 idma.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21
 
 Doing 'ps auxw | grep pop3' gives me:
 
 root   593  0.0  0.4  1272  344 ?SN   08:06   0:00 
 supervise qmail-pop3d
 root   601  0.0  0.6  1344  512 ?SN   08:06   0:00 
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
 root 10162  0.0  0.6  1344  516 ?SN   08:24   0:00 
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
 root 31977  0.0  0.7  1556  616 pts/0S08:38   0:00 
 grep pop3
 
 Doing 'cd /var/qmail/supervise  svstat qmail-smtpd' gives me:
 
 qmail-smtpd: up (pid 596) 1962 seconds
 
 Doing 'ls -l ~/* | grep Maildir --after-context=4' gives me:
 
 /home/steven/Maildir:
 total 16
 drwxrwxr-x2 steven   steven   4096 Apr 21 23:22 cur
 drwxrwxr-x2 steven   steven   8192 Apr 23 08:36 new
 drwxrwxr-x2 steven   steven   4096 Apr 23 08:36 tmp
 
 
  -Original Message-
  From: Steven Katz [EMAIL PROTECTED]
  Sent: Monday, April 23, 2001 9:32 AM
  To: [EMAIL PROTECTED]
  Subject: RE: qmail-pop3d not working?
  
  
  Uh oh-- I may have celebrated too soon. For some reason, I can send 
  but can't receive 15 minutes after rebooting. Does that sound familiar 
  to anyone?
  
  Steven
  
 
 



Re: qmail-pop3d not working?

2001-04-24 Thread Charles Cazabon

Steven Katz [EMAIL PROTECTED] wrote:
 Does anyone have any idea why pop would stop delivering 15 minutes 
 after rebooting?

It sounds odd.  I can't think of a reason offhand which would cause this.
However, something else odd struck me:

  Doing 'ps auxw | grep pop3' gives me:
[...]
  /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
  root 10162  0.0  0.6  1344  516 ?SN   08:24   0:00 
  /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
  root 31977  0.0  0.7  1556  616 pts/0S08:38   0:00 

You have two tcpserver instances, both trying to bind to the same interface(s)
and port.  At least one of those _has_ to be failing, and it should be showing
up in your logs.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: qmail-pop3d not handling enough messages

2001-04-24 Thread Uwe Ohse

On Tue, Apr 24, 2001 at 01:44:32PM +, Thomas Ackermann wrote:

 i've gat a qmail-system with vpopmail, using the qmail-pop3d as popper.
 my problem is, that the number of messages in my cur grew up to 23240
 and now i cant get them anymore, the pop3d gives out an error like cant
 change to $Home/Maildir..

You mean -ERR unable to scan $HOME/Maildir, right?

Oh, well. It's been a year, so i might just repeat it completely. See
below.

I don't remember getting feedback whether the suggested change to
prioq.c really made a difference.

the adjust your resource limit is done with softlimit, if you
use daemontools.

Regards, Uwe

Date: Tue, 28 Mar 2000 18:20:01 +
From: Uwe Ohse [EMAIL PROTECTED]
To: Gary Richardson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: qmail-pop3 problems with 'large' accounts
Message-ID: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]; from 
[EMAIL PROTECTED] on Tue, Mar 28, 2000 at 09:25:26AM -0800

On Tue, Mar 28, 2000 at 09:25:26AM -0800, Gary Richardson wrote:

   I'm having problems with a pop user checking their. There are around
 12000 emails in their MailDir directory and I get the following error when I
 try to download them:

 -ERR unable to scan $HOME/Maildir
 Connection closed by foreign host.

out of memory. qmail-pop3d needs space for 12000 filenames, with maybe
30 characters each (depending on the length of the hostname part of
the file name), plus 5 (new/\0), plus another 8 bytes for meta
information, accounting for about 50 bytes of memory, plus
whatever your C library needs, plus whatever the kernel needs.

Unfortunately qmail-pop3d suffers from memory fragmentation, so
the actual memory usage is somewhat higher.

You might get a far better behaviour if you change the number 100 in the
line
GEN_ALLOC_readyplus(prioq,struct prioq_elt,p,len,a,i,n,x,100,prioq_readyplus)
in prioq.c to, say, 5000, and recompile qmail-pop3d, and install that
and only that - the change will eat 5000*8 bytes in qmail-send.

Or: Adjust your resource limits.

Or: clean up your mail dir. pop3 wasn't designed to deal with that
number of messages anyway (as wasn't maildir).

Regards, Uwe



Re: qmail-pop3d not working?

2001-04-24 Thread Rick Updegrove

Charles Cazabon  said,
 You have two tcpserver instances, both trying to bind to the same interface(s)
 and port.  At least one of those _has_ to be failing, and it should be showing
 up in your logs.

Steve said,
At which point, doing 'sh -x /var/qmail/supervise/qmail-pop3d/run'
 gives me:

I use this to check for status on supervised processes.

bash-2.04# cd /var/qmail/supervise; svstat * */log

qmail-pop3d: up (pid 658) 178697 seconds
qmail-send: up (pid 9480) 178696 seconds
qmail-smtpd: up (pid 3846) 178697 seconds
qmail-pop3d/log: up (pid 11946) 178697 seconds
qmail-send/log: up (pid 7901) 178697 seconds
qmail-smtpd/log: up (pid 13335) 178697 seconds

When you supervise, and one of the seconds columns stays at 0 seconds, you 
definitely have a
problem.  After you reboot, or better yet, when your pop stops working, try that and 
see what
happens.

Also, do not start pop3d from the command line if you are starting it in your boot 
scripts, even if
pop3 is not working properly.

Hope that helped

Rick Up




RE: qmail-pop3d not working?

2001-04-23 Thread Steven Katz

How strange-- now my mail client is giving me the following error when 
I try to send mail from this account (or send mail to this account 
from somewhere else):

   The message could not be sent because one of the recipients was 
   rejected by the server. Server Response: '550 relaying to 
   [EMAIL PROTECTED] prohibited by administrator'. (Account: 
   '[EMAIL PROTECTED]', SMTP Server: 'mail.idma.com', Error Number: 
   0x800ccc79).

I haven't started installing relay-ctrl (smtp after pop auth) yet. 
In fact, as unbelievable as it sounds, I hadn't done anything since I 
was finally able to send and receive after changing POP3 to pop3..

Steven


 -Original Message-
 From: Mark Delany [EMAIL PROTECTED]
 Sent: Sunday, April 22, 2001 10:38 PM
 To: [EMAIL PROTECTED]
 Subject: Re: qmail-pop3d not working?
 
 
   Now change POP3 to pop3 and run it again. Go on... humor me. It's
   only the third time I've told you what your problem is.
   
  Yes, that did it! Just received 200+ messages. Thanks for all your 
  help, everyone.
 
 You might want to feed this back to the faqts people. Let's others
 benefit from what you've learnt.
 
 
 Regards.
 



Re: qmail-pop3d not working?

2001-04-23 Thread Rick Updegrove

From: Steven Katz [EMAIL PROTECTED]

The message could not be sent because one of the recipients was
rejected by the server. Server Response: '550 relaying to
[EMAIL PROTECTED] prohibited by administrator'. (Account:
'[EMAIL PROTECTED]', SMTP Server: 'mail.idma.com', Error Number:
0x800ccc79).

I am not an expert, but I don't think that is qmail talking because I have caused 
every possible
error every step of the way, so check for yourself.  I think you are running Exim An 
Internet mailer
for Unix systems. http://www.exim.org

[root@ns2 /root]# telnet 208.25.75.162 25
Trying 208.25.75.162...
Connected to 208.25.75.162.
Escape character is '^]'.
220 shasta.idma.com ESMTP Exim 3.13 #1 Mon, 23 Apr 2001 00:08:04 -0700

Hope that helped

Rick Up






Re: qmail-pop3d not working?

2001-04-23 Thread Brett Randall

 Steven == Steven Katz [EMAIL PROTECTED] writes:

The message could not be sent because one of the recipients was 
rejected by the server. Server Response: '550 relaying to 
[EMAIL PROTECTED] prohibited by administrator'. (Account: 
'[EMAIL PROTECTED]', SMTP Server: 'mail.idma.com', Error Number: 
0x800ccc79).

This error isn't a qmail one. (Try `cd ~/qmail-1.03  grep
prohibited by administrator *'). In fact, the word `administrator'
would appear to display evidence of a lowly MS Winblowz machine
somewhere running an SMTP server, and your DNS settings are directing
mail to that server rather than your nice, shiny, spanking brand new
one. Try pinging mail.idma.com and see what mail server you are REALLY
getting (and maybe try deleting any other mail servers that you
previously had running on your *nix box).

B.
-- 
I had a fortune cookie the other day and it said: 'Outlook not so
good'. I said: 'Sure, but Microsoft ships it anyway'.



RE: qmail-pop3d not working?

2001-04-23 Thread Steven Katz

Sure enough, Exim is running, but I didn't realize this would cause 
problems. When I try to remove it, I get the following:

# rpm -e exim
error: removing these packages would break dependencies:
smtpdaemon is needed by fetchmail-5.5.0-2
smtpdaemon is needed by mutt-1.2.5i-8.

I understand mutt is recommended for Maildirs. Does this mean I'll be 
unable to use it?

Steven


 -Original Message-
 From: Rick Updegrove [EMAIL PROTECTED]
 Sent: Monday, April 23, 2001 1:21 AM
 To: Steven Katz; [EMAIL PROTECTED]
 Subject: Re: qmail-pop3d not working?
 
 
 From: Steven Katz [EMAIL PROTECTED]
 
 The message could not be sent because one of the recipients was
 rejected by the server. Server Response: '550 relaying to
 [EMAIL PROTECTED] prohibited by administrator'. (Account:
 '[EMAIL PROTECTED]', SMTP Server: 'mail.idma.com', Error Number:
 0x800ccc79).
 
 I am not an expert, but I don't think that is qmail talking 
 because I have caused every possible
 error every step of the way, so check for yourself.  I think you 
 are running Exim An Internet mailer
 for Unix systems. http://www.exim.org
 
 [root@ns2 /root]# telnet 208.25.75.162 25
 Trying 208.25.75.162...
 Connected to 208.25.75.162.
 Escape character is '^]'.
 220 shasta.idma.com ESMTP Exim 3.13 #1 Mon, 23 Apr 2001 00:08:04 -0700
 
 Hope that helped
 
 Rick Up
 
 
 
 



Re: qmail-pop3d not working?

2001-04-23 Thread Brett Randall

Just type:

# rpm -e --nodeps exim

And be happy! You don't need it...

 Steven == Steven Katz [EMAIL PROTECTED] writes:

 Sure enough, Exim is running, but I didn't realize this would cause 
 problems. When I try to remove it, I get the following:

 # rpm -e exim
 error: removing these packages would break dependencies:
 smtpdaemon is needed by fetchmail-5.5.0-2
 smtpdaemon is needed by mutt-1.2.5i-8.

 I understand mutt is recommended for Maildirs. Does this mean I'll be 
 unable to use it?

 Steven


 -Original Message-
 From: Rick Updegrove [EMAIL PROTECTED]
 Sent: Monday, April 23, 2001 1:21 AM
 To: Steven Katz; [EMAIL PROTECTED]
 Subject: Re: qmail-pop3d not working?
 
 
 From: Steven Katz [EMAIL PROTECTED]
 
 The message could not be sent because one of the recipients was
 rejected by the server. Server Response: '550 relaying to
 [EMAIL PROTECTED] prohibited by administrator'. (Account:
 '[EMAIL PROTECTED]', SMTP Server: 'mail.idma.com', Error Number:
 0x800ccc79).
 
 I am not an expert, but I don't think that is qmail talking 
 because I have caused every possible
 error every step of the way, so check for yourself.  I think you 
 are running Exim An Internet mailer
 for Unix systems. http://www.exim.org
 
 [root@ns2 /root]# telnet 208.25.75.162 25
 Trying 208.25.75.162...
 Connected to 208.25.75.162.
 Escape character is '^]'.
 220 shasta.idma.com ESMTP Exim 3.13 #1 Mon, 23 Apr 2001 00:08:04 -0700
 
 Hope that helped
 
 Rick Up
 
 
 
 

-- 
Hardware, n.: The parts of a computer system that can be kicked.

- The Devil's Dictionary to Computer Studies 



RE: qmail-pop3d not working?

2001-04-23 Thread Steven Katz

You're right, I removed it and I am happy! Note to archive 
archeologists: Running Exim and qmail simultaneously will cause 
intermittent problems. There's my contribution to the time capsule. 

Thanks again, everyone.

Steven


 -Original Message-
 From: Brett Randall [EMAIL PROTECTED]
 Sent: Monday, April 23, 2001 3:08 AM
 To: Steven Katz
 Cc: [EMAIL PROTECTED]
 Subject: Re: qmail-pop3d not working?
 
 
 Just type:
 
 # rpm -e --nodeps exim
 
 And be happy! You don't need it...
 
  Steven == Steven Katz [EMAIL PROTECTED] writes:
 
  Sure enough, Exim is running, but I didn't realize this would cause 
  problems. When I try to remove it, I get the following:
 
  # rpm -e exim
  error: removing these packages would break dependencies:
  smtpdaemon is needed by fetchmail-5.5.0-2
  smtpdaemon is needed by mutt-1.2.5i-8.
 
  I understand mutt is recommended for Maildirs. Does this mean I'll be 
  unable to use it?
 
  Steven
 
 
  -Original Message-
  From: Rick Updegrove [EMAIL PROTECTED]
  Sent: Monday, April 23, 2001 1:21 AM
  To: Steven Katz; [EMAIL PROTECTED]
  Subject: Re: qmail-pop3d not working?
  
  
  From: Steven Katz [EMAIL PROTECTED]
  
  The message could not be sent because one of the recipients was
  rejected by the server. Server Response: '550 relaying to
  [EMAIL PROTECTED] prohibited by administrator'. (Account:
  '[EMAIL PROTECTED]', SMTP Server: 'mail.idma.com', Error Number:
  0x800ccc79).
  
  I am not an expert, but I don't think that is qmail talking 
  because I have caused every possible
  error every step of the way, so check for yourself.  I think you 
  are running Exim An Internet mailer
  for Unix systems. http://www.exim.org
  
  [root@ns2 /root]# telnet 208.25.75.162 25
  Trying 208.25.75.162...
  Connected to 208.25.75.162.
  Escape character is '^]'.
  220 shasta.idma.com ESMTP Exim 3.13 #1 Mon, 23 Apr 2001 00:08:04 -0700
  
  Hope that helped
  
  Rick Up
  
  
  
  
 
 -- 
 Hardware, n.: The parts of a computer system that can be kicked.
 
 - The Devil's Dictionary to Computer Studies 
 



Re: qmail-pop3d not working?

2001-04-23 Thread Michael T. Babcock

On some systems, it can be helpful to do a grep -i pop /etc/services to
find out what the nomenclature is as well.

FYI (to the original poster), that POP3 you misspelt (un*x is usually case
sensitive) is just looked up in a file like /etc/services and the port
substituted in.

- Original Message -

 It means change the POP3 to pop3 and try the command again. If you
 get the same error, try pop-3. If none of those work, substitute 110
 instead. It's not necessary to include the quotes.





Re: qmail-pop3d not working?

2001-04-23 Thread Michael T. Babcock

 4. Oh, and you haven't told us whether you followed instructions
exactly when setting up qmail-pop3d/run. Do the instructions really
say to use POP3 in uppercase?

The page he referenced at
http://www.faqts.com/knowledge_base/view.phtml/aid/8225/fid/223 does indeed
have POP3 in uppercase.  Dave Sill may wish to update that with a comment or
two.




Re: qmail-pop3d not working?

2001-04-23 Thread Dave Sill

Mark Delany [EMAIL PROTECTED] wrote:

You might want to feed this back to the faqts people. Let's others
benefit from what you've learnt.

It's fixed.

-Dave



Re: Can I use qmail-pop3d for both mbox and maildir format?

2001-04-23 Thread Dave Sill

Michael Cheung [EMAIL PROTECTED] wrote:

   Can I use qmail-pop3d for both mbox and maildir format?

No, but SolidPOP handles both:

  http://solidpop3d.pld.org.pl/

-Dave



RE: qmail-pop3d not working?

2001-04-23 Thread Steven Katz

Uh oh-- I may have celebrated too soon. For some reason, I can send 
but can't receive 15 minutes after rebooting. Does that sound familiar 
to anyone?

Steven


 -Original Message-
 From: Brett Randall [EMAIL PROTECTED]
 Sent: Monday, April 23, 2001 3:08 AM
 To: Steven Katz
 Cc: [EMAIL PROTECTED]
 Subject: Re: qmail-pop3d not working?
 
 
 Just type:
 
 # rpm -e --nodeps exim
 
 And be happy! You don't need it...
 
  Steven == Steven Katz [EMAIL PROTECTED] writes:
 
  Sure enough, Exim is running, but I didn't realize this would cause 
  problems. When I try to remove it, I get the following:
 
  # rpm -e exim
  error: removing these packages would break dependencies:
  smtpdaemon is needed by fetchmail-5.5.0-2
  smtpdaemon is needed by mutt-1.2.5i-8.
 
  I understand mutt is recommended for Maildirs. Does this mean I'll be 
  unable to use it?
 
  Steven
 
 
  -Original Message-
  From: Rick Updegrove [EMAIL PROTECTED]
  Sent: Monday, April 23, 2001 1:21 AM
  To: Steven Katz; [EMAIL PROTECTED]
  Subject: Re: qmail-pop3d not working?
  
  
  From: Steven Katz [EMAIL PROTECTED]
  
  The message could not be sent because one of the recipients was
  rejected by the server. Server Response: '550 relaying to
  [EMAIL PROTECTED] prohibited by administrator'. (Account:
  '[EMAIL PROTECTED]', SMTP Server: 'mail.idma.com', Error Number:
  0x800ccc79).
  
  I am not an expert, but I don't think that is qmail talking 
  because I have caused every possible
  error every step of the way, so check for yourself.  I think you 
  are running Exim An Internet mailer
  for Unix systems. http://www.exim.org
  
  [root@ns2 /root]# telnet 208.25.75.162 25
  Trying 208.25.75.162...
  Connected to 208.25.75.162.
  Escape character is '^]'.
  220 shasta.idma.com ESMTP Exim 3.13 #1 Mon, 23 Apr 2001 00:08:04 -0700
  
  Hope that helped
  
  Rick Up
  
  
  
  
 
 -- 
 Hardware, n.: The parts of a computer system that can be kicked.
 
 - The Devil's Dictionary to Computer Studies 
 



RE: qmail-pop3d not working?

2001-04-23 Thread Steven Katz

It seems to be only pop that stops working after 15 minutes, as 
messages are piling up in the Maildirs. My mail client reports:

A timeout occurred while communicating with the server. (Account: 
'[EMAIL PROTECTED]', POP3 Server: 'mail.idma.com', Error Number: 
0x800ccc19).

At which point, doing 'sh -x /var/qmail/supervise/qmail-pop3d/run' 
gives me: 

tcpserver: fatal: unable to bind: address already used

My /qmail-pop3d/run file looks like:

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
  /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup \
idma.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21

Doing 'ps auxw | grep pop3' gives me:

root   593  0.0  0.4  1272  344 ?SN   08:06   0:00 
supervise qmail-pop3d
root   601  0.0  0.6  1344  512 ?SN   08:06   0:00 
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
root 10162  0.0  0.6  1344  516 ?SN   08:24   0:00 
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup idma
root 31977  0.0  0.7  1556  616 pts/0S08:38   0:00 
grep pop3

Doing 'cd /var/qmail/supervise  svstat qmail-smtpd' gives me:

qmail-smtpd: up (pid 596) 1962 seconds

Doing 'ls -l ~/* | grep Maildir --after-context=4' gives me:

/home/steven/Maildir:
total 16
drwxrwxr-x2 steven   steven   4096 Apr 21 23:22 cur
drwxrwxr-x2 steven   steven   8192 Apr 23 08:36 new
drwxrwxr-x2 steven   steven   4096 Apr 23 08:36 tmp


 -Original Message-
 From: Steven Katz [EMAIL PROTECTED]
 Sent: Monday, April 23, 2001 9:32 AM
 To: [EMAIL PROTECTED]
 Subject: RE: qmail-pop3d not working?
 
 
 Uh oh-- I may have celebrated too soon. For some reason, I can send 
 but can't receive 15 minutes after rebooting. Does that sound familiar 
 to anyone?
 
 Steven
 




qmail-pop3d not working?

2001-04-22 Thread Steven Katz

I've installed qmail according to the LWQ instructions, and 
qmail-pop3d according to faqts instructions 
(http://www.faqts.com/knowledge_base/view.phtml/aid/8225/fid/223).
At this point, I'm able to send mail only from the clients listed in 
tcp.smtp. However, I'm unable to receive mail at any of the clients 
(though I can see messages piling up in the Maildirs). 

My /qmail-pop3d/run file:

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
  /usr/local/bin/tcpserver -v -R 0 POP3 /var/qmail/bin/qmail-popup \
idma.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21

The FQDN (idma.com) is the same name that appears in /control/me, 
locals, and rcpthosts. Is it acceptable for this to just be the domain 
name, or do I need to include the hostname? Is that 'Maildir' that 
follows the invocation of qmail-pop3d supposed to an absolute path?

Thanks for any assistance you can offer.

Steven




Re: qmail-pop3d not working?

2001-04-22 Thread Mark Delany

On Sun, Apr 22, 2001 at 12:08:54PM -0700, Steven Katz wrote:
 I've installed qmail according to the LWQ instructions, and 
 qmail-pop3d according to faqts instructions 
 (http://www.faqts.com/knowledge_base/view.phtml/aid/8225/fid/223).
 At this point, I'm able to send mail only from the clients listed in 
 tcp.smtp. However, I'm unable to receive mail at any of the clients 
 (though I can see messages piling up in the Maildirs). 
 
 My /qmail-pop3d/run file:
 
 #!/bin/sh
 exec /usr/local/bin/softlimit -m 200 \
   /usr/local/bin/tcpserver -v -R 0 POP3 /var/qmail/bin/qmail-popup \
 idma.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21
 
 The FQDN (idma.com) is the same name that appears in /control/me, 
 locals, and rcpthosts. Is it acceptable for this to just be the domain 
 name, or do I need to include the hostname? Is that 'Maildir' that 
 follows the invocation of qmail-pop3d supposed to an absolute path?
 
 Thanks for any assistance you can offer.

You need to give us a *lot* more information than "I'm unable to
receive mail..."

For example:

1. You haven't told us whether the tcpserver in your qmail-pop3d/run
   is running. Is it?

2. You haven't told us what happens when you try and connect to the
   POP port. What does happen?

3. You haven't shown us what gets logged. What is logged?


4. Oh, and you haven't told us whether you followed instructions
   exactly when setting up qmail-pop3d/run. Do the instructions really
   say to use POP3 in uppercase?


Regards.



RE: qmail-pop3d not working?

2001-04-22 Thread Steven Katz

 -Original Message-
 From: Mark Delany [EMAIL PROTECTED]
 Sent: Sunday, April 22, 2001 12:28 PM
 To: [EMAIL PROTECTED]
 Subject: Re: qmail-pop3d not working?
 
 
 On Sun, Apr 22, 2001 at 12:08:54PM -0700, Steven Katz wrote:
  I've installed qmail according to the LWQ instructions, and 
  qmail-pop3d according to faqts instructions 
  (http://www.faqts.com/knowledge_base/view.phtml/aid/8225/fid/223).
  At this point, I'm able to send mail only from the clients listed in 
  tcp.smtp. However, I'm unable to receive mail at any of the clients 
  (though I can see messages piling up in the Maildirs). 
  
  My /qmail-pop3d/run file:
  
  #!/bin/sh
  exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R 0 POP3 /var/qmail/bin/qmail-popup \
  idma.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21
  
  The FQDN (idma.com) is the same name that appears in /control/me, 
  locals, and rcpthosts. Is it acceptable for this to just be the domain 
  name, or do I need to include the hostname? Is that 'Maildir' that 
  follows the invocation of qmail-pop3d supposed to an absolute path?
  
  Thanks for any assistance you can offer.
 
 You need to give us a *lot* more information than "I'm unable to
 receive mail..."
 
 For example:
 
 1. You haven't told us whether the tcpserver in your qmail-pop3d/run
is running. Is it?
 
According to ps it is. Is there anything else I can use to verify that 
it's running properly?

 2. You haven't told us what happens when you try and connect to the
POP port. What does happen?
 
My mail client reports the following:
  Unable to connect to the server. (Account: '[EMAIL PROTECTED]', POP3 
  Server: 'mail.idma.com', Error Number: 0x800ccc0e).

 3. You haven't shown us what gets logged. What is logged?
 
Log files are being created in log/qmail/smtpd, but not in 
log/qmail/pop3d. Does that provide a good clue?

 
 4. Oh, and you haven't told us whether you followed instructions
exactly when setting up qmail-pop3d/run. Do the instructions really
say to use POP3 in uppercase?
 
I followed both the LWQ and the above mentioned faqts instructions 
exactly, and double checked.

Thanks again.

Steven

 
 Regards.
 



Re: qmail-pop3d not working?

2001-04-22 Thread Mark Delany

   exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R 0 POP3 /var/qmail/bin/qmail-popup \
   idma.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21

  4. Oh, and you haven't told us whether you followed instructions
 exactly when setting up qmail-pop3d/run. Do the instructions really
 say to use POP3 in uppercase?
  
 I followed both the LWQ and the above mentioned faqts instructions 
 exactly, and double checked.

Hmm. On FreeBSD, Linux *and* Solaris using "POP3" in uppercase fails,
while in lowercase it succeeds. With all due respect to faqts, can I
suggest that you try the qmail-pop3/run file with a lowercase "pop3"?

Also of course, you can run the service manually, by:

# sh -x qmail-po3d/run

And show us the output.



Regards.



Can I use qmail-pop3d for both mbox and maildir format?

2001-04-22 Thread Michael Cheung

Hi;
I move mail system from sendmail to qmail.
so I won't to change the former mbox format.
But I add a virtualdomain, it seems I have to use maildir format for the
virtualdomain.

Can I use qmail-pop3d for both mbox and maildir format?

Thanks inadvance.


Regards;
Michael




Re: qmail-pop3d not working?

2001-04-22 Thread Brett Randall

 "Steven" == Steven Katz [EMAIL PROTECTED] writes:

 -Original Message-
 From: Mark Delany [EMAIL PROTECTED]

snip

 You need to give us a *lot* more information than "I'm unable to
 receive mail..."
 
 For example:
 
 1. You haven't told us whether the tcpserver in your qmail-pop3d/run
 is running. Is it?
 
 According to ps it is. Is there anything else I can use to verify that 
 it's running properly?

What is the output of `ps auxw | grep pop3'?
What is the output of `cd /var/qmail/supervise  svstat qmail-smtpd'?

 2. You haven't told us what happens when you try and connect to the
 POP port. What does happen?
 
 My mail client reports the following:
   Unable to connect to the server. (Account: '[EMAIL PROTECTED]', POP3 
   Server: 'mail.idma.com', Error Number: 0x800ccc0e).

Outlook Expectless sucks butt cheek. Telnet to port 110 and do:

USER yourusername
PASS yourpassword

And give us the error message. Then give us `ls -l ~/* | grep Maildir
--after-context=4' when logged in as yourself. Then give us `ls -l
~/.. | grep yourusername'

 3. You haven't shown us what gets logged. What is logged?
 
 Log files are being created in log/qmail/smtpd, but not in 
 log/qmail/pop3d. Does that provide a good clue?

Depends. Is multilog running as part of the sv scripts in
pop3d/log/run? This should appear in `ps auxw | grep pop3'.

 4. Oh, and you haven't told us whether you followed instructions
 exactly when setting up qmail-pop3d/run. Do the instructions really
 say to use POP3 in uppercase?
 
 I followed both the LWQ and the above mentioned faqts instructions 
 exactly, and double checked.
-- 
"Bubble Memory, n.: A derogatory term, usually referring to a person's
intelligence. See also vacuum tube."

- The Devil's Dictionary to Computer Studies



Re: qmail-pop3d not working?

2001-04-22 Thread Brett Randall

 "Mark" == Mark Delany [EMAIL PROTECTED] writes:

 # sh -x qmail-po3d/run

qmail-pop3d even (just in case he takes it literally ;)
-- 
"SOFTWARE, n.: Formal evening attire for female computer analysts."

- The Devil's Dictionary to Computer Studies 



  1   2   3   4   5   6   7   >