[vchkpw] Guidence needed for a vpopmail migration issue.

2003-01-15 Thread Kent Ritchie
I am having some issues with a qmail+vpopmail setup that I moving to
another server. Most of the accounts are working fine, however some of
them give this error when an email is sent to them:

Auto re-creation of maildir failed.  vpopmail (#5.9.9)

So I was hoping someone here could point me to howto, man page, irc
channel or something to help me figure this out. The server that the
data was migrated too works just fine on its own, and most of the
accounts work just fine, but the accounts that give the above error also
do not allow any logins at all. I have tried changing passwords and such
but this has not helped.





Re: [vchkpw] .quotawarn.msg To: field

2003-01-15 Thread Bill Shupp
On Tuesday, January 14, 2003, at 11:11  PM, Michael Bellears wrote:


Quota Warnings are working fine, apart from the To: field not 
containing
the users correct address:

.quotawarn.msg example has
To: Valued Customer:;

Exactly.  It's an *example*.


Just wondering what I could change this to in order to have the users
correct address inserted when the warining is sent?


Change it to something different, or delete it.  There is no 
auto-parsing of this line based on the Delivered-To header.

Regards,

Bill Shupp




Re: [vchkpw] roaming user for imap

2003-01-15 Thread Lars Gustafson
I had the same problem, as a lots of people has according to this list..
the solution, or let's say workaround, i came up with is pretty ugly.
but hey! it works.

First, i got the relay-ctrl package from www.qmail.org somewhere,
installed it by reading the docs shipped with it. made the needed
changes to the imap.rc/imap-ssl.rc (see docs)

What is needed to be modified is the qmails rcscript, making the
tcpserver to use the envdir binary (from the daemontools package, if you
dont use daemontols, download and compile it, and snip the binary from
the compiled sorce tree and put it in some reasonable path).
made the changes to your qmail start script (see the docs).

restart qmail and courier. now you will have a relay that allows roaming
users to realy unitil whatever you set the RELAY_CTRL_EXPIRY variable
to, defaults is 900 seconds i think.

next, the tricky part... i made up a simple shells script looking like
this. I guess it could be possible to add the ipaddresses the script get
into a sql or cdb batabase. anyways, this does the job. 


---

#!/bin/sh
#
# relay-ctrl-imap-tweek
#
# This script should be invoked from within roots crontab 
# instead of the relay-ctrl-age binary shipped with the 
# relay-ctrl package.
# 

# Where do we find the conf files for realy-ctrl?
$RLCDIR=/etc/relay­ctrl

# Enable _ONE_ of these
#PORT=143 # IMAP
PORT=993  # IMAPS

# Check what addreses are configured for relaying. 
# To end up in this list the client need to preform an
# authenticated login on the imap server.
for RELAY in `ls $RLCDIR/allow`; do

# First we need to find out what established conections we 
# have actually have.
# Let's sort them, and make sure we only get a single entry
# form each one, no matter how many connections we have from
# a single host, we just want it once.
NETS=`netstat --protocol=inet -n 2/dev/null \
| grep :$PORT | grep $RELAY \
| grep ESTABLISHED \
| awk '{print $5}' \
| awk -F: '{print $1}' \
| sort \
| uniq`

if [ $RELAY = $NETS ]; then
# _IF_ we have an establised connection on
# the right port, AND the address is configured 
# to allow realying, THEN we touches the file 
# in $RLCDIR/allow/, to increase the time the 
#client should be allowed to use our SMTP.
touch /var/qmail/relay-ctrl/allow/$NETS

# It might be handy to set some sane ownership
# and permissions on the file, making it possible 
# for the imap daemon to owerwrite them, if the 
# same ip conects again with another client. 
# Masquerading firewalls comes in mind here...
chown vpopmail.vchkpw /var/qmail/relay-ctrl/allow/$NETS
chmod 666 /var/qmail/relay-ctrl/allow/$NETS
fi

done

# Since this script is run every minute, it updates the 
# allowed relayhost just as often, we can safely set
# the value of $RLCDIR/RELAY_CTRL_EXPIRY to 300
# (seconds, 5 minutes). This will make it possible for
# the client host to send mails for 5 more minutes.
# You should not set this value to anything less,
# because some SMTP servers tries to preform auth/ident
# lookups of the sender (which most firewalls, as well 
# as mailservers reject nowadays anyway).
# Anyhow, i have been running this for about 5 mounts now,
# and there is no problem know with this settings, as long
# as the relay-ctrl is set up ok.

# Update the allowed relayhosts.
/usr/local/bin/envdir \
$RCLDIR/conf \
/usr/local/bin/relay-ctrl-age

#EOF
---







On Wed, 2003-01-15 at 00:29, Bill Shupp wrote:
 On Tuesday, January 14, 2003, at 03:25  PM, Andrew Kohlsmith wrote:
 
  That's a good point -- In my particular case authdaemon is not 
  updating the
  tcp.smtp.cdb file at all though.
 
 authdaemon does NOT pass the IP to vpopmail.  That's why you can't use 
 it if you want roaming IMAP users.
 
 Bill
 
 
-- 
i3 micro technology ab
Lars Gustafson
System Administrator
phone: +46(0)850638856
mobile:+46(0)708472037
[EMAIL PROTECTED]





RE: [vchkpw] qmail-newu: fatal: bad format in users/assign

2003-01-15 Thread Clayton Weise
Run a cat -e /var/qmail/users/assign .  If you're not comfortable with
showing me (or the list) your assign file, there's not much we can do to
help.

-Clayton

-Original Message-
From: Rick Phillips [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 6:17 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] qmail-newu: fatal: bad format in users/assign


I have recently upgraded from Mandrake 8.2 to 9.0.  For quite a few months I
have had a smoothly working qmail-vpopmail-ezmlm-qmailadmin set-up working.
The upgrade seemed to have caused no problems.

I have just tried to add a new domain and received the following error.  (I
have changed the domain name to ? and the password has also been mangled
to protect the innocent.)

[root@server bin]# ./vadddomain ???.com 4563??
qmail-newu: fatal: bad format in users/assign
Error: Domain does not exist

After this error, the domain name exists in /home/vpopmail but the domain
folder itself is empty - no postmaster or any other file.

When I open the file /var/qmail/users/assign there seems to be a normal
entry as below -

(snip)
+???.com-:???.com:399:399:/home/vpopmail/domains/???.com:-::

There is one line a white space at the top of the file if this is
significant.

When I try to remove the domain using ./vdeldomain I get

Error: Domain does not exist

I have tried re-installing vpopmail (5.2.1) but no change.

Where should I now look or what should I re-install.  Apart from trying to
add a domain, everything has been wonderfully trouble free.

Many thanks for your help in advance,

Rick Phillips








RE: [vchkpw] Guidence needed for a vpopmail migration issue.

2003-01-15 Thread Clayton Weise
If the user's Maildir doesn't exist, vpopmail will try to auto-create it.
Check the permissions on it, and make sure the path to it matches what
vpopmail has in it's database (run a vuserinfo [EMAIL PROTECTED] and make sure
the paths match).

-Original Message-
From: Kent Ritchie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 12:10 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Guidence needed for a vpopmail migration issue.


I am having some issues with a qmail+vpopmail setup that I moving to
another server. Most of the accounts are working fine, however some of
them give this error when an email is sent to them:

Auto re-creation of maildir failed.  vpopmail (#5.9.9)

So I was hoping someone here could point me to howto, man page, irc
channel or something to help me figure this out. The server that the
data was migrated too works just fine on its own, and most of the
accounts work just fine, but the accounts that give the above error also
do not allow any logins at all. I have tried changing passwords and such
but this has not helped.







[vchkpw] move old mail to new dir layout

2003-01-15 Thread dev
does anyone have or know of a way to cp -R user/Maildir/* to
new/location/user/Maildir/

Is this possible without have to do it manually?

We had a email system up forever using qmail+vpopmail etc. But the old
system used vpasswd files and such.
I made a new system using MySql and spamassassin ...
But I had to add accounts before transferring it over. ALSO I couldn't just
tar the domain's dir because people are always getting emails and tar would
complain saying that a file was being writen to bleh bleh bleh.
So i made a script and just added everyone into the new system from the
vpasswd file. BUT the dirs of the users are not in the same location. SO is
possible or does someone have a way to say read say the old vpasswd and then
find that users dir on the new system and then copy that users old emails to
the new dir layout?

Yes I know there is a vconvert. That will not work because all the accounts
are already added.
I just need to move the users old mail from the old system to the new system
but I just can't tar and untar because directories are not in the same
places now...


Hope that makes sense...


Dev.





Re: [vchkpw] move old mail to new dir layout

2003-01-15 Thread vol
I see what you're trying to do.  I do 99% of the conversions/migrations
between mail systems here at Inter7, so I know your problem.

Try writing a script:
  * Get the next username
  * Look up old directory
  * Look up new directory
  * Copy files

You can get their old directory from the old vpasswd files, and do a
vuserinfo | grep home | awk to get their current directory.

Hope that helps.

dev wrote:
 
 does anyone have or know of a way to cp -R user/Maildir/* to
 new/location/user/Maildir/
 
 Is this possible without have to do it manually?
 
 We had a email system up forever using qmail+vpopmail etc. But the old
 system used vpasswd files and such.
 I made a new system using MySql and spamassassin ...
 But I had to add accounts before transferring it over. ALSO I couldn't just
 tar the domain's dir because people are always getting emails and tar would
 complain saying that a file was being writen to bleh bleh bleh.
 So i made a script and just added everyone into the new system from the
 vpasswd file. BUT the dirs of the users are not in the same location. SO is
 possible or does someone have a way to say read say the old vpasswd and then
 find that users dir on the new system and then copy that users old emails to
 the new dir layout?
 
 Yes I know there is a vconvert. That will not work because all the accounts
 are already added.
 I just need to move the users old mail from the old system to the new system
 but I just can't tar and untar because directories are not in the same
 places now...
 
 Hope that makes sense...
 
 Dev.

-- 
mailto:[EMAIL PROTECTED]
Matt Brookings - Chief Technical Officer
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices




Re: [vchkpw] move old mail to new dir layout

2003-01-15 Thread vol
Ya.  This shouldnt require a lot of tool creation on your part.
vpopmail should have enough information and tools for this type
of work, so you're lucky in that respect.

Just think through it one step at a time, and you shouldnt have
a problem getting it done :)

Good luck!

dev wrote:
 
 Yea it does...
 Hehe forgot about vuserinfo
 
 Over worked does this...
 
 Dev.
 
 - Original Message -
 From: [EMAIL PROTECTED]
 To: dev [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 9:50 AM
 Subject: Re: [vchkpw] move old mail to new dir layout
 
  I see what you're trying to do.  I do 99% of the conversions/migrations
  between mail systems here at Inter7, so I know your problem.
 
  Try writing a script:
* Get the next username
* Look up old directory
* Look up new directory
* Copy files
 
  You can get their old directory from the old vpasswd files, and do a
  vuserinfo | grep home | awk to get their current directory.
 
  Hope that helps.
 
  dev wrote:
  
   does anyone have or know of a way to cp -R user/Maildir/* to
   new/location/user/Maildir/
  
   Is this possible without have to do it manually?
  
   We had a email system up forever using qmail+vpopmail etc. But the old
   system used vpasswd files and such.
   I made a new system using MySql and spamassassin ...
   But I had to add accounts before transferring it over. ALSO I couldn't
 just
   tar the domain's dir because people are always getting emails and tar
 would
   complain saying that a file was being writen to bleh bleh bleh.
   So i made a script and just added everyone into the new system from the
   vpasswd file. BUT the dirs of the users are not in the same location. SO
 is
   possible or does someone have a way to say read say the old vpasswd and
 then
   find that users dir on the new system and then copy that users old
 emails to
   the new dir layout?
  
   Yes I know there is a vconvert. That will not work because all the
 accounts
   are already added.
   I just need to move the users old mail from the old system to the new
 system
   but I just can't tar and untar because directories are not in the same
   places now...
  
   Hope that makes sense...
  
   Dev.
 
  --
  mailto:[EMAIL PROTECTED]
  Matt Brookings - Chief Technical Officer
  Inter7 Internet Technologies, Inc.
  www.inter7.com - 847-492-0470
  Prices at http://www.inter7.com/prices
 
 

-- 
mailto:[EMAIL PROTECTED]
Matt Brookings - Chief Technical Officer
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices




[vchkpw] Restore accounts

2003-01-15 Thread Stefano Borali
Hi to all,

I  know it's a discussed subjects but I can't find any answer.

I need to change the hardware of my qmail/vpopmail server (multidomain).
I setted a new brand one checked and running, but I have to move all the 
account and domains.

I backed up all of my /home/vpopmail/domains directory from the old one 
and put it in the new one.

All the domains and accounts are created but the passwords are not 
recognize and every accounts fail trying to login to check the email. 
When I send an email to the account... does not arrive in the 
Maildir/new/ mailbox

What I need to do ???

Thanks !!

Stefano





Re: [vchkpw] move old mail to new dir layout

2003-01-15 Thread dev
Code here

snip

#!/usr/bin/perl

while() {
chomp;
@f = split /\:/;

open(VPOP, /home/vpopmail/bin/vuserinfo -d $f[0]\@bluetruck.net |) || die
cannot execute vuserinfo ($!)\n;
$werd = VPOP;
chop($werd);
if ((-d $f[5])  (-d $werd)) {
`cp -R $f[5]/Maildir/* $werd/Maildir`;
print $f[5] $werd\n;
}
 else {
   if (!-d $f[5]) { print dir does not exist in old email server
f[5]\n;  }
   if (!-d $werd) { print file does not exist in new email server
$werd\n; }
 }
}
snip

First needed to sed old vpasswd file...
I tar'ed it up and put it here so I have to add correct path to the old
vpasswd...
sed -e s/\/home\//\/home\/oldemail\//g vpasswd  vpasswd.new
mkdir /home/oldemail

on old email system..
tar -cf - /home/vpopmail/domains/muhdomain.com | ssh -l root
newmailserver.domain.com cat  /home/oldemail/domain.tar
this will tar and transfer the old email to the new server

new server
cd /home/oldemail
tar -xvf domain.tar
which creates home/vpopmail/domains/muhdomain.com
now it looks like
/home/oldemail/home/vpopmail/domains/muhdomain.com

then I used the perl script above..

Thought I would send this to group just in case someone else needed to do
this



Dev.



- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 9:58 AM
Subject: Re: [vchkpw] move old mail to new dir layout


 Ya.  This shouldnt require a lot of tool creation on your part.
 vpopmail should have enough information and tools for this type
 of work, so you're lucky in that respect.

 Just think through it one step at a time, and you shouldnt have
 a problem getting it done :)

 Good luck!

 dev wrote:
 
  Yea it does...
  Hehe forgot about vuserinfo
 
  Over worked does this...
 
  Dev.
 
  - Original Message -
  From: [EMAIL PROTECTED]
  To: dev [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Wednesday, January 15, 2003 9:50 AM
  Subject: Re: [vchkpw] move old mail to new dir layout
 
   I see what you're trying to do.  I do 99% of the
conversions/migrations
   between mail systems here at Inter7, so I know your problem.
  
   Try writing a script:
 * Get the next username
 * Look up old directory
 * Look up new directory
 * Copy files
  
   You can get their old directory from the old vpasswd files, and do a
   vuserinfo | grep home | awk to get their current directory.
  
   Hope that helps.
  
   dev wrote:
   
does anyone have or know of a way to cp -R user/Maildir/* to
new/location/user/Maildir/
   
Is this possible without have to do it manually?
   
We had a email system up forever using qmail+vpopmail etc. But the
old
system used vpasswd files and such.
I made a new system using MySql and spamassassin ...
But I had to add accounts before transferring it over. ALSO I
couldn't
  just
tar the domain's dir because people are always getting emails and
tar
  would
complain saying that a file was being writen to bleh bleh bleh.
So i made a script and just added everyone into the new system from
the
vpasswd file. BUT the dirs of the users are not in the same
location. SO
  is
possible or does someone have a way to say read say the old vpasswd
and
  then
find that users dir on the new system and then copy that users old
  emails to
the new dir layout?
   
Yes I know there is a vconvert. That will not work because all the
  accounts
are already added.
I just need to move the users old mail from the old system to the
new
  system
but I just can't tar and untar because directories are not in the
same
places now...
   
Hope that makes sense...
   
Dev.
  
   --
   mailto:[EMAIL PROTECTED]
   Matt Brookings - Chief Technical Officer
   Inter7 Internet Technologies, Inc.
   www.inter7.com - 847-492-0470
   Prices at http://www.inter7.com/prices
  
  

 --
 mailto:[EMAIL PROTECTED]
 Matt Brookings - Chief Technical Officer
 Inter7 Internet Technologies, Inc.
 www.inter7.com - 847-492-0470
 Prices at http://www.inter7.com/prices







[vchkpw] Forwards: Errno = 13

2003-01-15 Thread buffalo
Greetings,

I'm testing qmailadmin right now on a RedHat 7.3 system with:

qmail/vpopmail/mysql/qmailadmin/vqadmin/ezmlm/sqwebmail

Accounts created can send and recieve mail without issue, via POP/SMTP or 
via sqwebmail.

However, when setting up a forward for an account to test forwarding, I
got the error:

--
[EMAIL PROTECTED]:
/var/qmail/alias,buffalo,foo.com
can not open new email file errno=13
file=/home/vpopmail/domains/foo.com/buffalo/Maildir/tmp/1042657121.259
46.foo.com,S=649
---

the permissions on the dirs in question are:

---
[root@foo buffalo]# ls -l
total 4
drwx--8 vpopmail vchkpw   4096 Jan 14 16:28 Maildir

and:

[root@foo Maildir]# ls -l
total 48
drwx--2 vpopmail vchkpw   4096 Jan 14 16:28 cur
drwx--2 vpopmail vchkpw   4096 Jan 14 16:28 new
-rw---1 vpopmail vchkpw121 Jan  7 17:28 sqwebmail-config
-rw---1 vpopmail vchkpw  12673 Jan 14 16:28 
sqwebmail-curcache.gdbm
-rw---1 vpopmail vchkpw  4 Jan 14 16:28 sqwebmail-curcnt
-rw---1 vpopmail vchkpw 77 Jan 14 16:28 sqwebmail-ip
-rw---1 vpopmail vchkpw  1 Jan 14 16:28 
sqwebmail-timestamp
-rw---1 vpopmail vchkpw 17 Jan  7 17:36 sqwebmail-token
drwx--2 vpopmail vchkpw   4096 Jan 14 16:28 tmp
---

Qmail's various parts are running as:

-
[root@foo Maildir]# ps -ef | grep qmail
qmaild   22329 1  0 Jan14 ?00:00:00 /usr/local/bin/tcpserver 
-v -H -
root 22330 1  0 Jan14 ?00:00:00 /var/qmail/bin/splogger 
smtpd 3
qmails   22924 1  0 Jan14 ?00:00:00 qmail-send
qmaill   22925 22924  0 Jan14 ?00:00:00 splogger qmail
root 22926 22924  0 Jan14 ?00:00:00 qmail-lspawn ./Mailbox
qmailr   22927 22924  0 Jan14 ?00:00:00 qmail-rspawn
qmailq   22928 22924  0 Jan14 ?00:00:00 qmail-clean
---

Any ideas/pointers suggestions as to why this isn't working would be 
greatly appreciated.

TIA,

--Duncan





[vchkpw] POP3 Help

2003-01-15 Thread Shawn Salyers
Title: Message



I have done this
before, but it has been a long time. I ahve Qmail installed and
functioning. I have vpopmail installed and functioning with sqwebmail
 qmailadmin. I can get to my email accounts through sqwebmail without
a problem. When I try to use Outlook or Outlook Express, I get an invalid
username/password error. I am using [EMAIL PROTECTED] as the username and the
proper password. What am I missing. Any help would be
appreciated.

--Shawn

This message was checked by MailScan.




[vchkpw] qmail-1.03 | vpopmail-5.2.1 | qmail-smtp-auth-.03

2003-01-15 Thread Joe Oaks
Hello guys its been a while.

I have been trying over the past couple of weeks to get smtp-auth working with
no success. I have patched qmail and re-ran make setup check to make the new
binaries. This seems to have worked because my qmail-smtp file is now 32bites
larger :)

I have also installed the recommended cmd5checkpw. I'm still unable to get this
to work, and I'm asking for help as I'm at a lose and really need to get this
working.

The following is my run script for qmail-smtpd...

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
VPOPMAILID=`id -u vpopmail`
VPOPMAILGID=`id -g vchkpw`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ];
 then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 400 /usr/local/bin/tcpserver -H -l0 -R -c
512 -x /etc/tcp.smtp.cdb  -u $VPOPMAILID -g $VPOPMAILGID 0 smtp 
/var/qmail/bin/qmail-smtpd $LOCAL /u2/vpopmail/bin/vchkpw /bin/true 

I am able to send and receive normally if I have my ip address in the tcp.smtp
file but if I take it out I can't send. As far as I can tell it does not know
how or where to authenticate.

Joe

PS please let me know if you need anything else from me.




[vchkpw] tcpserver won't die when started with the -D flag

2003-01-15 Thread erik
Hello all,

I have a strange problem with tcpserver and the pop3 daemon.

The short story:
When I start the pop3 daemon through tcpserver with the -D flag the daemon
refuses to die when I run svc -d /service/qmail-pop3d. Without the -D, the
pop3 server is extremely slow and is serving only 3-4 messages per second.

The long story:
tcpserver refuses to die using svc -d /service/qmail-pop3d when the startup
script looks like this:

#!/bin/sh

tcpserver -H -R -D -lmail.yourplana.com 0 pop3 \
/var/qmail/bin/qmail-popup mail.yourplana.com \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21

If I try to start the pop3 daemon again with svc -u /service/qmail-pop3d I
get the well known tcpserver: fatal: unable to bind: address already used
error message. To kill the tcpserver I have to run 'lsof | grep tcpserver'
and then kill the pid of the tcpserver -OR- just 'killall tcpserver'. Then I
can start the pop3 daemon through tcpserver again.

When I'm using this startup script I' having no start/stop problems, but the
pop3 daemon is terribly slow and hands out only 3-4 messages to the client
per second:

#!/bin/sh

tcpserver -H -R -lmail.yourplana.com 0 pop3 \
/var/qmail/bin/qmail-popup mail.yourplana.com \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21

Please note that the only thing changed here is the tcpserver startup flags.
The first startup script has the extra -D and won't die, the second one is
without the -D flag and is terribly slow but dies nicely.

All the -D flag does is telling the tcpserver not to delay sending data, so
I can't imagine why it becomes a problem when stopping the tcpserver.

Any ideas?

Thanks,

--
Erik





RE: [vchkpw] Guidence needed for a vpopmail migration issue.

2003-01-15 Thread Kent Ritchie
On Wed, 2003-01-15 at 10:34, Clayton Weise wrote:
 If the user's Maildir doesn't exist, vpopmail will try to auto-create it.
 Check the permissions on it, and make sure the path to it matches what
 vpopmail has in it's database (run a vuserinfo [EMAIL PROTECTED] and make sure
 the paths match).

The paths all match, and so do the permissions. I have found that remove
and re-adding the affected accounts will fix the issue. However it is
NOT an elegant solution, and not one I would like to try when I have no
real idea how many email accounts are effected by this.

-- 
Kent Ritchie
Corlink Communications L.L.C
Customer Service 
1-888-727-4305





Re: [vchkpw] POP3 Help

2003-01-15 Thread Ajai Khattri
Shawn Salyers wrote:


I have done this before, but it has been a long time.  I ahve Qmail 
installed and functioning.  I have vpopmail installed and functioning 
with sqwebmail  qmailadmin.  I can get to my email accounts through 
sqwebmail without a problem.  When I try to use Outlook or Outlook 
Express, I get an invalid username/password error.  I am using 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] as the username and the 
proper password.  What am I missing.  Any help would be appreciated.


Have you tried troubleshooting this by telnetting directly to the POP3
server and talking POP3 to it? i.e.

telnet pop3.domain.com 110
Connected to pop3.domain.com.
+OK Hello there.
USER [EMAIL PROTECTED]
+OK Password required.
PASS password
+OK logged in.
QUIT
+OK Bye-bye.
Connection closed by foreign host.

Assuming this works, then the problem lies between your client and the
server. Either the client isn't talking POP3 or maybe port 110 is
blocked by a firewall?

--
Aj.
Systems Administrator / Developer





Re: [vchkpw] tcpserver won't die when started with the -D flag

2003-01-15 Thread Paul Theodoropoulos

what operating system are you running? not all systems support TCP_NODELAY 
equally. If a system has poor TCP_NODELAY support, i would imagine it could 
cause this behavior.

At 12:44 PM 01-15-2003, [EMAIL PROTECTED] wrote:
Hello all,

I have a strange problem with tcpserver and the pop3 daemon.

The short story:
When I start the pop3 daemon through tcpserver with the -D flag the daemon
refuses to die when I run svc -d /service/qmail-pop3d. Without the -D, the
pop3 server is extremely slow and is serving only 3-4 messages per second.

The long story:
tcpserver refuses to die using svc -d /service/qmail-pop3d when the startup
script looks like this:

#!/bin/sh

tcpserver -H -R -D -lmail.yourplana.com 0 pop3 \
/var/qmail/bin/qmail-popup mail.yourplana.com \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21

If I try to start the pop3 daemon again with svc -u /service/qmail-pop3d I
get the well known tcpserver: fatal: unable to bind: address already used
error message. To kill the tcpserver I have to run 'lsof | grep tcpserver'
and then kill the pid of the tcpserver -OR- just 'killall tcpserver'. Then I
can start the pop3 daemon through tcpserver again.

When I'm using this startup script I' having no start/stop problems, but the
pop3 daemon is terribly slow and hands out only 3-4 messages to the client
per second:

#!/bin/sh

tcpserver -H -R -lmail.yourplana.com 0 pop3 \
/var/qmail/bin/qmail-popup mail.yourplana.com \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21

Please note that the only thing changed here is the tcpserver startup flags.
The first startup script has the extra -D and won't die, the second one is
without the -D flag and is terribly slow but dies nicely.

All the -D flag does is telling the tcpserver not to delay sending data, so
I can't imagine why it becomes a problem when stopping the tcpserver.

Any ideas?

Thanks,

--
Erik


Paul Theodoropoulos
http://www.anastrophe.com
http://folding.stanford.edu
The Nicest Misanthrope on the Net 





[vchkpw] open-smtp and tcp.smtp

2003-01-15 Thread Nate Davis
Hello Everyone,

I have a few questions, and I hope we can find some answers.
I installed vpopmail 5.2.1 --enable-roaming-users=y, and qmail 1.03.  
They seem to be running great.  I can log in, retrieve mail.  But when 
I send mail, I can't.  It replies that I am not able to relay.  So, I 
edited my qmailctl file (I installed qmail acording to LWQ 
Instructions) and this is what it says:

tcprules /home/vpopmail/etc/tcp.smtp.cdb 
/home/vpopmail/etc/tcp.smtp.tmp  /home/vpopmail/etc/tcp.smtp
chmod 644 /home/vpopmail/etc/tcp.smtp.cdb
echo Reloaded /home/vpopmail/etc/tcp.smtp.


If I add my dynamic IP to the tcp.smtp then it allows to me send mail 
through my server.  I have verified that my IP is getting written into 
the open-smtp file every time i log in via pop3 to the new IP / time 
stamp.  So, from what I can tell my open-smtp and tcp.smtp are not 
being joined together.  Anyone have any ideas that could help me?

Thanks in Advance!

Nate Davis

[EMAIL PROTECTED]