Re: [vchkpw] Quota problems

2003-10-13 Thread Franck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 `rm user/Maildir/maildirsize`

 after you have changed the quota.

 send that user an email, then check if the quota is fixed.

 If yes, then vqadmin is not deleting the old maildirsize file when changing
 quotas, which it should.

Works fine, thanks :)

Regards

  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Hello all,
 
  I have problem with quota on vqadmin 2.3.4 and vpopmail 5.3.9
 
  The domain name my_domain.com have 1 bytes (~100 Mo) for quota
  In this domain, i have 5 users who are 1 bytes too. I have
  updated all
  users from 10 Mo to 100 Mo.
 
  But, when i'm logging in sqwebmail with one of user account, sqwebmail
  tell me
  that's the account have 49%.
 
  df -h  ~vpopmail/domians/my_domain.com/my_user = 7.7 Mo :(
 
  What's the solution ?
 
  Regards
  - --
  Franck
 
  http://www.linuxpourtous.com
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.2.3 (GNU/Linux)
 
  iD8DBQE/iZkK1zwfep5k9qERAr82AKCpWs11BzcqFnzXXZHl2uvEOv9pFwCfUOUc
  n/f+X6UmfZUdAkbRh1k0TMs=
  =DjZN
  -END PGP SIGNATURE-

- -- 
Franck

http://www.linuxpourtous.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/imD71zwfep5k9qERAu3jAJ42jY5JFZBX216Qhr/a8tJaulrIJgCgqJMh
PXGYpzl5+bhDO1F3rRGmxNI=
=7s1G
-END PGP SIGNATURE-




Re: [vchkpw] lib_deps and voadmin

2003-10-13 Thread Eitarou Kamo
Hi, Tom

Thanks for your solution.
  I could make it. I will go to the next process.

 As I recall, the older versions of vpopmail built lib_deps during the
 configure process.  If the ~vpopmail directory didn't exist, it's
 possible that it couldn't create the file.

 Go into your vpopmail source directory and run:

 ./config.status --recheck

 And see if that solves the problem.

Eitarou





[vchkpw] [Problem] Learn passwords with Courier IMAP

2003-10-13 Thread Diego Linke - GAMK
Hi all,

I have an problem with learn passwords + Courier IMAP.

I use:
- vpopmail-5.3.25
- Courier IMAP 2.1.2

Learn password work fine with qmail-pop3d, but with Courier IMAP this valid any 
password and not write this password on vpopmail.

Somebody have an idea ?

Thanks

--
[ Diego Linke - GAMK ]
System/Network/Security Administrator
E-Mail/Site: [EMAIL PROTECTED] - http://www.gamk.com.br
Public Key: http://www.gamk.com.br/gamk.asc
Phone Number: (+5541) 9967-3464




Re: [vchkpw] [Problem] Learn passwords with Courier IMAP

2003-10-13 Thread Michael Bowe
 I have an problem with learn passwords + Courier IMAP.

 I use:
 - vpopmail-5.3.25
 - Courier IMAP 2.1.2

 Learn password work fine with qmail-pop3d, but with Courier IMAP this
valid any password and not write this password on vpopmail.

As far as I know, Courier-IMAP uses it's own functions to auth the password,
therefore the vpopmail's learn password functionality will not be available

Michael.




[vchkpw] Re: Learn passwords with Courier IMAP

2003-10-13 Thread Paul L. Allen

Michael Bowe writes:

 As far as I know, Courier-IMAP uses it's own functions to auth the
 password,

Yes and no.  Courier-IMAP and the Courier POP3 server do have their
own authentication routines which are effectively wrappers calling
whatever authentication method you actually use.  So if you tell Courier
to use vchkpw authentication than it does end up using the vpopmail
stuff.

 therefore the vpopmail's learn password functionality will not be
 available

I haven't examined the vpopmail authentication code in detail, but I would 
guess that it gets handed a username and password, if it is not in
learning mode then it does a standard validation, if it is in learning
mode then it sets the password and returns that the login was valid.  If
it does work that way then it should be transparent to Courier.

-- 
Paul Allen
Softflare Support




[vchkpw] Re: clearopensmtp fatal

2003-10-13 Thread Paul L. Allen

J. Kendzorra writes:

 Not really your fault - ./configure --help shows:
 --enable-tcpserver-file=~vpopmail/etc/tcp.smtp  File where tcpserver -x 
 relay information is stored.

I remember being bitten by this one, long ago.
 
 I already sent mail to someone some time before (don't remember anything 
 anymore ;), that this should be changed. Maybe a bugreport would work 
 better?

I don't know which reporting mechanism would work better, but I
would prefer a configure script that would happily accept ~vpopmail.
I do not think that vpopmail ought to look up ~vpopmail at run-time
because of the overhead but I think it is reasonable for the
configure script to be a little smarter.

Although, having said that, I can see problems with making the configure
script smarter.  I can see people posting here saying that they
moved the vpopmail home directory and changed /etc/password and things
broke even though they used ~vpopmail in the configure rather than
a full path.

On balance, fixing the help is probably the best that can be done.

-- 
Paul Allen
Softflare Support




[vchkpw] Qmail + vpopmail + Spamassassin

2003-10-13 Thread Neo Wee Teck
I tried to setup spammassassin with spamd/spamc but seems it doesn't work

/var/qmail/rc

#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH=/var/qmail/bin:$PATH \
qmail-start `cat /var/qmail/control/defaultdelivery`

---

/var/qmail/control/defaultdelivery

| spamc | maildir ./Maildir/

---

I only would like to filter mail sent to local mailboxes

Any help?





Re: [vchkpw] Qmail + vpopmail + Spamassassin

2003-10-13 Thread Júlio Espada Olivares
Your solution will never work.
I recommend you to install procmail and do something like this:

.qmail-default:
|preline procmail -p -m /etc/procmailrules


/etc/procmailrules:

0fw
*  25
| spamc

:0:
*^X-Spam-Flag: YES
/home/spam

:0w
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox


This works fine for me.




- Original Message - 
From: Neo Wee Teck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 4:31 PM
Subject: [vchkpw] Qmail + vpopmail + Spamassassin


 I tried to setup spammassassin with spamd/spamc but seems it doesn't work
 
 /var/qmail/rc
 
 #!/bin/sh
 
 # Using splogger to send the log through syslog.
 # Using qmail-local to deliver messages to ~/Mailbox by default.
 
 exec env - PATH=/var/qmail/bin:$PATH \
 qmail-start `cat /var/qmail/control/defaultdelivery`
 
 ---
 
 /var/qmail/control/defaultdelivery
 
 | spamc | maildir ./Maildir/
 
 ---
 
 I only would like to filter mail sent to local mailboxes
 
 Any help?
 
 
 
 




RE: [vchkpw] Qmail + vpopmail + Spamassassin

2003-10-13 Thread Neo Wee Teck
Does procmail support support virtual domains like vpopmail? 

Never tried procmail before and have no intention to migrate 

Thanks anyway, is there any alternatives?


-Original Message-
From: Júlio Espada Olivares [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 13, 2003 11:43 PM
To: Neo Wee Teck; [EMAIL PROTECTED]
Subject: Re: [vchkpw] Qmail + vpopmail + Spamassassin

Your solution will never work.
I recommend you to install procmail and do something like this:

.qmail-default:
|preline procmail -p -m /etc/procmailrules


/etc/procmailrules:

0fw
*  25
| spamc

:0:
*^X-Spam-Flag: YES
/home/spam

:0w
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox


This works fine for me.




- Original Message - 
From: Neo Wee Teck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 4:31 PM
Subject: [vchkpw] Qmail + vpopmail + Spamassassin


 I tried to setup spammassassin with spamd/spamc but seems it doesn't work
 
 /var/qmail/rc
 
 #!/bin/sh
 
 # Using splogger to send the log through syslog.
 # Using qmail-local to deliver messages to ~/Mailbox by default.
 
 exec env - PATH=/var/qmail/bin:$PATH \
 qmail-start `cat /var/qmail/control/defaultdelivery`
 
 ---
 
 /var/qmail/control/defaultdelivery
 
 | spamc | maildir ./Maildir/
 
 ---
 
 I only would like to filter mail sent to local mailboxes
 
 Any help?
 
 
 
 







Re: [vchkpw] Qmail + vpopmail + Spamassassin

2003-10-13 Thread Júlio Espada Olivares
procmail is a mail filter, not a replacement for vpopmail, so just install
procmail and you will not need to migrate anything.



- Original Message - 
From: Neo Wee Teck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 4:53 PM
Subject: RE: [vchkpw] Qmail + vpopmail + Spamassassin


Does procmail support support virtual domains like vpopmail?

Never tried procmail before and have no intention to migrate

Thanks anyway, is there any alternatives?


-Original Message-
From: Júlio Espada Olivares [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 11:43 PM
To: Neo Wee Teck; [EMAIL PROTECTED]
Subject: Re: [vchkpw] Qmail + vpopmail + Spamassassin

Your solution will never work.
I recommend you to install procmail and do something like this:

.qmail-default:
|preline procmail -p -m /etc/procmailrules


/etc/procmailrules:

0fw
*  25
| spamc

:0:
*^X-Spam-Flag: YES
/home/spam

:0w
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox


This works fine for me.




- Original Message - 
From: Neo Wee Teck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 4:31 PM
Subject: [vchkpw] Qmail + vpopmail + Spamassassin


 I tried to setup spammassassin with spamd/spamc but seems it doesn't work

 /var/qmail/rc

 #!/bin/sh

 # Using splogger to send the log through syslog.
 # Using qmail-local to deliver messages to ~/Mailbox by default.

 exec env - PATH=/var/qmail/bin:$PATH \
 qmail-start `cat /var/qmail/control/defaultdelivery`

 ---

 /var/qmail/control/defaultdelivery

 | spamc | maildir ./Maildir/

 ---

 I only would like to filter mail sent to local mailboxes

 Any help?














[vchkpw] Vqadmin+Vpopmail

2003-10-13 Thread Joao Rechena








Greetings, Im having a weird problem with those two
tools on the subject:



Im using those tools for almost 2 years without any
problems but by some unknown reason it started to look funny.



I have several domains in my Vpopmail and every one work
fine, except for this one that When I access to the option Show users in the vqadmin

It appears incomplete, what I mean is it only shows the Users,
it doesnt show the link to the main Menu, or the mailing lists, or the
alias/forwards, etc

Ive been googling and couldnt find anything.



Qmailadmin still works fine.



Can anyone help me please?



Best Regards



rech








Re: [vchkpw] Urgent help! Users deleted

2003-10-13 Thread Sergey
Andrej wrote:

Puuhhh,
I've found a vpasswd file, on the same machine, 2 weeks old...
But still can't explain how could happen this!
going home now...
I had the same problem. vpasswd got truncated after a user being over 
system quota tryed to add mailbox via qmailadmin

Justin Heesemann wrote:

On Tuesday 07 October 2003 14:32, Andrej wrote:

Hi List,

I have a big big problem. I'm using vpopmail 5.2.1 with qmail-1.03
and a domain with over 7000 accounts.
The problem is that the there are only 77 accounts in the vpasswd
file. How comes, and how to get all the passwords back


what size is the vpasswd file?
do you have any backups of that file?
when did this occur (after you did ..) ?
one way to recover (if your original vpasswd is completly gone..) 
would be to vpopmail with password learning mode enabled and then to 
readd the users with an empty password.





Re: [vchkpw] Re: Learn passwords with Courier IMAP

2003-10-13 Thread Michael Bowe
- Original Message - 
From: Paul L. Allen [EMAIL PROTECTED]
To: Michael Bowe [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 10:52 PM
Subject: [vchkpw] Re: Learn passwords with Courier IMAP


 
 Michael Bowe writes:
 
  As far as I know, Courier-IMAP uses it's own functions to auth the
  password,
 
 Yes and no.  Courier-IMAP and the Courier POP3 server do have their
 own authentication routines which are effectively wrappers calling
 whatever authentication method you actually use.  So if you tell Courier
 to use vchkpw authentication than it does end up using the vpopmail
 stuff.

To auth a username/password, Courier-IMAP takes the supplied username 
and runs vpopmail's vauth_getpw() to retrieve the user's passwd entry.

Courier-IMAP then crypts the supplied password and compares this against
the (crypted) pw entry supplied by vauth_getpw()

If the passwords match then the auth is declared a success

Password learning is all done in the vpopmail's vchkpw() function,
which Courier-IMAP doesnt use

Michael.



[vchkpw] Re: Learn passwords with Courier IMAP

2003-10-13 Thread Paul L. Allen

Michael Bowe writes:

 To auth a username/password, Courier-IMAP takes the supplied username 
 and runs vpopmail's vauth_getpw() to retrieve the user's passwd entry.
 
 Courier-IMAP then crypts the supplied password and compares this against
 the (crypted) pw entry supplied by vauth_getpw()

Sigh.  That means vpopmail might support forms of crypt that
sqwebmail has never heard of.

 Password learning is all done in the vpopmail's vchkpw() function,
 which Courier-IMAP doesnt use

Nor does there seem any way of kludging it without Mr Sam's co-operation.
You could make vauth_getpw a wrapper around vchkpw which returns the
crypted password but since he does not supply the plain password it still
wouldn't work.

Ah-ha!  But what does qmailadmin call?  It allows ordinary users to login
to set certain preferences.  So if qmailadmin calls the right thing then
you're laughing.  Unless you don't want users to have qmailadmin
functions available to them.

-- 
Paul Allen
Softflare Support




[vchkpw] qmail/vpopmail: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1.)

2003-10-13 Thread Sigmund Gudvangen
Hi,

I have just done a fresh install of qmail and vpopmail, on Mandrake 9.1, 
following Dave Sill, http://web.infoave.net/~dsill/lwq.html for the qmail 
installation. qmail is running fine; i.e. all four daemons are running and 
inst_check reports that all is well.

I also managed to install vpopmail and add domains and users. Booth messages 
injected locally (using qmail-inject) and incomming messages via smtp (from 
KMail on another machine) duely arrive in the appropriate Maildir/new.

However, when I attempt to send to an extern email-address (from KMail) qmail 
responds with the error message: sorry, that domain isn't in my list of 
allowed rcpthosts (#5.7.1.).

OK, the messaage is from qmail, but I think it is related to vpopmail, as I 
also have qmail (without vpopmail) running on another PC, and on with that 
machine I have no problems sending to external addresses.

I installed vpopmail as follows:
./configure --enable-file-sync=y --enable-roaming-users=y
make
make install-strip

and put

10.0.0.:allow,RELAYCLIENT
192.168.2.:allow,RELAYCLIENT

into /etc/tcp.smtp and added

40 * * * * /home/vpopmail/bin/clearopensmtp 21 /dev/null

to crontab.

The last response to
[vchkpw] smtp;553 sorry, sorry, that domain isn't allowed relay (#5.7.1)
i.e
http://www.mail-archive.com/[EMAIL PROTECTED]/msg14771.html
suggest putting
127.:allow,RELAYCLIENT
into /etc/tcp.smtp
I have also tried that, but it didn't make any difference.

Booth the above response and the vpopmail install instructions mention 
/etc/tcp.smtp,
but I can find anything about /home/vpopmail/etc/tcp.smtp
What's the latter for?

Any ideas what's wrong?

Regards
Sigmund.



In case it helps, here is the output from /var/qmail/bin/qmail-showctl:

qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 502, 504, 505, 0, 506, 507, 508, 509.
group ids: 502, 503.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is mydomain.net.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is mydomain.net.

defaulthost: (Default.) Default host name is mydomain.net.

doublebouncehost: (Default.) 2B recipient host: mydomain.net.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is mydomain.net.

helohost: (Default.) SMTP client HELO host name is mydomain.net.

idhost: (Default.) Message-ID host name is mydomain.net.

localiphost: (Default.) Local IP address becomes mydomain.net.

locals:

me: My name is mydomain.net.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is mydomain.net.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at mydomain.net.
SMTP clients may send messages to recipients at amotherdomain.net.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 mydomain.net.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains:
Virtual domain: mydomain.net:mydomain.net
Virtual domain: anotherdomain.net:anotherdomain.net

concurrencyincoming: I have no idea what this file does.

rcpthosts.lock: I have no idea what this file does.

defaultdelivery: I have no idea what this file does.

virtualdomains.lock: I have no idea what this file does.



Re: [vchkpw] qmail/vpopmail: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1.)

2003-10-13 Thread W.D. McKinney
On Mon, 2003-10-13 at 14:41, Sigmund Gudvangen wrote:
 Hi,
 
 I have just done a fresh install of qmail and vpopmail, on Mandrake 9.1, 
 following Dave Sill, http://web.infoave.net/~dsill/lwq.html for the qmail 
 installation. qmail is running fine; i.e. all four daemons are running and 
 inst_check reports that all is well.
 
 I also managed to install vpopmail and add domains and users. Booth messages 
 injected locally (using qmail-inject) and incomming messages via smtp (from 
 KMail on another machine) duely arrive in the appropriate Maildir/new.
 
 However, when I attempt to send to an extern email-address (from KMail) qmail 
 responds with the error message: sorry, that domain isn't in my list of 
 allowed rcpthosts (#5.7.1.).
 
 OK, the messaage is from qmail, but I think it is related to vpopmail, as I 
 also have qmail (without vpopmail) running on another PC, and on with that 
 machine I have no problems sending to external addresses.
 
 I installed vpopmail as follows:
 ./configure --enable-file-sync=y --enable-roaming-users=y
 make
 make install-strip
 
 and put
 
 10.0.0.:allow,RELAYCLIENT
 192.168.2.:allow,RELAYCLIENT
 
 into /etc/tcp.smtp and added
 
 40 * * * * /home/vpopmail/bin/clearopensmtp 21 /dev/null
 
 to crontab.
 
 The last response to
 [vchkpw] smtp;553 sorry, sorry, that domain isn't allowed relay (#5.7.1)
 i.e
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg14771.html
 suggest putting
 127.:allow,RELAYCLIENT
 into /etc/tcp.smtp
 I have also tried that, but it didn't make any difference.
 
 Booth the above response and the vpopmail install instructions mention 
 /etc/tcp.smtp,
 but I can find anything about /home/vpopmail/etc/tcp.smtp
 What's the latter for?
 
 Any ideas what's wrong?
 
 Regards
 Sigmund.
 
 

edit /etc/tcp.smtp and add   127.:allow,RELAYCLIENT=
then issue 'qmailctl cdb'
Then issue 'qmailctl stop'
then '/home/vpopmail/bin/clearopensmtp'
now issue 'qmailctl start'

Try sending to remote users now and let us know.

Dee








 
 In case it helps, here is the output from /var/qmail/bin/qmail-showctl:
 
 qmail home directory: /var/qmail.
 user-ext delimiter: -.
 paternalism (in decimal): 2.
 silent concurrency limit: 120.
 subdirectory split: 23.
 user ids: 502, 504, 505, 0, 506, 507, 508, 509.
 group ids: 502, 503.
 
 badmailfrom: (Default.) Any MAIL FROM is allowed.
 
 bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
 
 bouncehost: (Default.) Bounce host name is mydomain.net.
 
 concurrencylocal: (Default.) Local concurrency is 10.
 
 concurrencyremote: Remote concurrency is 20.
 
 databytes: (Default.) SMTP DATA limit is 0 bytes.
 
 defaultdomain: Default domain name is mydomain.net.
 
 defaulthost: (Default.) Default host name is mydomain.net.
 
 doublebouncehost: (Default.) 2B recipient host: mydomain.net.
 
 doublebounceto: (Default.) 2B recipient user: postmaster.
 
 envnoathost: (Default.) Presumed domain name is mydomain.net.
 
 helohost: (Default.) SMTP client HELO host name is mydomain.net.
 
 idhost: (Default.) Message-ID host name is mydomain.net.
 
 localiphost: (Default.) Local IP address becomes mydomain.net.
 
 locals:
 
 me: My name is mydomain.net.
 
 percenthack: (Default.) The percent hack is not allowed.
 
 plusdomain: Plus domain name is mydomain.net.
 
 qmqpservers: (Default.) No QMQP servers.
 
 queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
 
 rcpthosts:
 SMTP clients may send messages to recipients at mydomain.net.
 SMTP clients may send messages to recipients at amotherdomain.net.
 
 morercpthosts: (Default.) No effect.
 
 morercpthosts.cdb: (Default.) No effect.
 
 smtpgreeting: (Default.) SMTP greeting: 220 mydomain.net.
 
 smtproutes: (Default.) No artificial SMTP routes.
 
 timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
 
 timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
 
 timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
 
 virtualdomains:
 Virtual domain: mydomain.net:mydomain.net
 Virtual domain: anotherdomain.net:anotherdomain.net
 
 concurrencyincoming: I have no idea what this file does.
 
 rcpthosts.lock: I have no idea what this file does.
 
 defaultdelivery: I have no idea what this file does.
 
 virtualdomains.lock: I have no idea what this file does.
-- 
W.D.McKinney (Dee)  | Affordable E-Mail and Internet Solutions
Alaska Wireless Systems | for Schools, Libraries, Clinics  Business'
http://www.akwireless.net   | Call 1-907-349-4308   




Re: [vchkpw] qmail/vpopmail: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1.)

2003-10-13 Thread VeNoMouS
did you run tcprules??
- Original Message - 
From: Sigmund Gudvangen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 11:41 AM
Subject: [vchkpw] qmail/vpopmail: sorry, that domain isn't in my list of
allowed rcpthosts (#5.7.1.)


 Hi,

 I have just done a fresh install of qmail and vpopmail, on Mandrake 9.1,
 following Dave Sill, http://web.infoave.net/~dsill/lwq.html for the qmail
 installation. qmail is running fine; i.e. all four daemons are running and
 inst_check reports that all is well.

 I also managed to install vpopmail and add domains and users. Booth
messages
 injected locally (using qmail-inject) and incomming messages via smtp
(from
 KMail on another machine) duely arrive in the appropriate Maildir/new.

 However, when I attempt to send to an extern email-address (from KMail)
qmail
 responds with the error message: sorry, that domain isn't in my list of
 allowed rcpthosts (#5.7.1.).

 OK, the messaage is from qmail, but I think it is related to vpopmail, as
I
 also have qmail (without vpopmail) running on another PC, and on with that
 machine I have no problems sending to external addresses.

 I installed vpopmail as follows:
 ./configure --enable-file-sync=y --enable-roaming-users=y
 make
 make install-strip

 and put

 10.0.0.:allow,RELAYCLIENT
 192.168.2.:allow,RELAYCLIENT

 into /etc/tcp.smtp and added

 40 * * * * /home/vpopmail/bin/clearopensmtp 21 /dev/null

 to crontab.

 The last response to
 [vchkpw] smtp;553 sorry, sorry, that domain isn't allowed relay (#5.7.1)
 i.e
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg14771.html
 suggest putting
 127.:allow,RELAYCLIENT
 into /etc/tcp.smtp
 I have also tried that, but it didn't make any difference.

 Booth the above response and the vpopmail install instructions mention
 /etc/tcp.smtp,
 but I can find anything about /home/vpopmail/etc/tcp.smtp
 What's the latter for?

 Any ideas what's wrong?

 Regards
 Sigmund.



 In case it helps, here is the output from /var/qmail/bin/qmail-showctl:

 qmail home directory: /var/qmail.
 user-ext delimiter: -.
 paternalism (in decimal): 2.
 silent concurrency limit: 120.
 subdirectory split: 23.
 user ids: 502, 504, 505, 0, 506, 507, 508, 509.
 group ids: 502, 503.

 badmailfrom: (Default.) Any MAIL FROM is allowed.

 bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

 bouncehost: (Default.) Bounce host name is mydomain.net.

 concurrencylocal: (Default.) Local concurrency is 10.

 concurrencyremote: Remote concurrency is 20.

 databytes: (Default.) SMTP DATA limit is 0 bytes.

 defaultdomain: Default domain name is mydomain.net.

 defaulthost: (Default.) Default host name is mydomain.net.

 doublebouncehost: (Default.) 2B recipient host: mydomain.net.

 doublebounceto: (Default.) 2B recipient user: postmaster.

 envnoathost: (Default.) Presumed domain name is mydomain.net.

 helohost: (Default.) SMTP client HELO host name is mydomain.net.

 idhost: (Default.) Message-ID host name is mydomain.net.

 localiphost: (Default.) Local IP address becomes mydomain.net.

 locals:

 me: My name is mydomain.net.

 percenthack: (Default.) The percent hack is not allowed.

 plusdomain: Plus domain name is mydomain.net.

 qmqpservers: (Default.) No QMQP servers.

 queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

 rcpthosts:
 SMTP clients may send messages to recipients at mydomain.net.
 SMTP clients may send messages to recipients at amotherdomain.net.

 morercpthosts: (Default.) No effect.

 morercpthosts.cdb: (Default.) No effect.

 smtpgreeting: (Default.) SMTP greeting: 220 mydomain.net.

 smtproutes: (Default.) No artificial SMTP routes.

 timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

 timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

 timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

 virtualdomains:
 Virtual domain: mydomain.net:mydomain.net
 Virtual domain: anotherdomain.net:anotherdomain.net

 concurrencyincoming: I have no idea what this file does.

 rcpthosts.lock: I have no idea what this file does.

 defaultdelivery: I have no idea what this file does.

 virtualdomains.lock: I have no idea what this file does.






[vchkpw] digascii and auth fail

2003-10-13 Thread ParkerArts Admin
Anyone...

I'm using an qmail-smtp auth patch (auth-jms1.3.patch) and  
vpopmail-5.3.28.
I can pop3 authorize just fine. but a test of smtp auth produces the  
following:

--
[EMAIL PROTECTED]:etc # telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mydomain.com ESMTP
auth login
334 VXNlcm5hbWU6
my base64 user account on the form [EMAIL PROTECTED]
334 UGFzc3dvcmQ6
my base64 passwd
vchkpw: smtp auth
digascii: 9c816a55b58cd6a6c0bd7f746939008c, response: 235 ok, go ahead  
(#2.0.0)

502 unimplemented (#5.5.1)
quit
221 mydomain.com
Connection closed by foreign host.
 

The server is OSX. Apparently the digascii text causes my email client  
to assume failure on the os even though success is indicated. The SMTP  
log states success. A grep of digascii shows it is in the vchkpw.c  
file.
Any ideas or pointers on how to deal with this?

Interestingly I have another installation with the same patch and  
vpopmail version on FreeBSD that produces this correct output  
(abbreviated):

my base64 passwd
vchkpw: smtp auth
235 ok, go ahead (#2.0.0)

However if I cause an auth failure on the same server it produces  
digascii text while failing:
...
vchkpw: smtp auth
digascii: 3a459a2f3843b4d2d670bc93a2bd2956, response: 535 authorization  
failed (#5.7.0)
...

TIA
-jason
Jason Parker




Re: [vchkpw] digascii and auth fail

2003-10-13 Thread Tom Collins
On Monday, October 13, 2003, at 08:00  PM, ParkerArts Admin wrote:
Anyone...

I'm using an qmail-smtp auth patch (auth-jms1.3.patch) and  
vpopmail-5.3.28.
I can pop3 authorize just fine. but a test of smtp auth produces the  
following:

--
[EMAIL PROTECTED]:etc # telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mydomain.com ESMTP
auth login
334 VXNlcm5hbWU6
my base64 user account on the form [EMAIL PROTECTED]
334 UGFzc3dvcmQ6
my base64 passwd
vchkpw: smtp auth
digascii: 9c816a55b58cd6a6c0bd7f746939008c, response: 235 ok, go ahead  
(#2.0.0)

502 unimplemented (#5.5.1)
quit
221 mydomain.com
Connection closed by foreign host.
--- 
-
The current CVS version (to be released as 5.3.29) does not dump the  
vchkpw: smtp auth and digascii... lines to the SMTP session, which  
should take care of the problem.  The CVS version also does a better  
job of figuring out that it's a SMTP session when running on a  
non-standard port.

You can either pull the latest vchkpw from the CVS repository on  
SourceForge, or just comment out those two printfs in the source and  
rebuild vchkpw.

Give it a shot, and let us all know how it turns out.

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] digascii and auth fail

2003-10-13 Thread ParkerArts Admin
Thanks Tom.

Commenting out the printf (only one) seems to have done the trick.

I'm still at a loss why on the other installation there was not the  
digascii text unless an actual auth fail occured...

Anyway, thanks again...
-jason
On Monday, October 13, 2003, at 10:41 PM, Tom Collins wrote:

On Monday, October 13, 2003, at 08:00  PM, ParkerArts Admin wrote:
Anyone...

I'm using an qmail-smtp auth patch (auth-jms1.3.patch) and  
vpopmail-5.3.28.
I can pop3 authorize just fine. but a test of smtp auth produces the  
following:

--
[EMAIL PROTECTED]:etc # telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mydomain.com ESMTP
auth login
334 VXNlcm5hbWU6
my base64 user account on the form [EMAIL PROTECTED]
334 UGFzc3dvcmQ6
my base64 passwd
vchkpw: smtp auth
digascii: 9c816a55b58cd6a6c0bd7f746939008c, response: 235 ok, go  
ahead (#2.0.0)

502 unimplemented (#5.5.1)
quit
221 mydomain.com
Connection closed by foreign host.
-- 
--
The current CVS version (to be released as 5.3.29) does not dump the  
vchkpw: smtp auth and digascii... lines to the SMTP session, which  
should take care of the problem.  The CVS version also does a better  
job of figuring out that it's a SMTP session when running on a  
non-standard port.

You can either pull the latest vchkpw from the CVS repository on  
SourceForge, or just comment out those two printfs in the source and  
rebuild vchkpw.

Give it a shot, and let us all know how it turns out.

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail:  
http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/