Re: [vchkpw] Re: Log/back up all in/out msgs on a unique virtualdomain

2002-12-16 Thread Peter Palmreuther
Hi Luis,

On Mon, 16 Dec 2002 03:08:33 -0200
Luis Marcelo Nogueira [EMAIL PROTECTED] wrote:

 except maybe making use of QMAILQUEUE patch, which is in the above

 Eventually, it's worked! Thank you very much. I had some problems
 (Unable_to_chdir_to_maildir), but now it's solved.
 
 Now I have to find a script or program, that checks if the message is
 from or to this particular domain...  Do you have any suggestion?

MANPATH=/var/qmail/man man 8 qmail-command

Read this, set up a script that writes the environment to a file (e.g.
'set /tmp/xyz.test') and call that test-script from a dot-qmail file.
Now decide which variable(s) (I'd recommend $HOST as a starting point)
you want to check. For outgoing mails you'll have to check $SENDER, I
guess.

HTH, and sorry, I don't know if there's a ready to use script anywhere
out there. Chances are you'll have to write it yourself.

-- 
Peter




[vchkpw] poppasswd backwards compatibility

2002-12-16 Thread [EMAIL PROTECTED]
My users are are stored in the /var/qmail/user/poppasswd style
database.  This is using crypted passwords generated similarily
to the script on Paul Gregg's site below:

http://www.pgregg.com/projects/qmail/mkpasswd.php

These passwords do not appear compatible with the md5 crypted
passwords used with vpopmail and mysql. Is their a way to change
the encryption used by vpopmail so I can use the old poppaswd
usernames and passwords on my new server running vpopmail
(Matt's toaster recipe)?

I would like to simply migrate the data in poppasswd to the
vpopmail mysql database.

I did try to replace the password in the vpopmail database with
password in poppasswd, but that obviously didn't work.

Thanks,

Joe
CedarNet LLC





[vchkpw] Auth failing on HP-UX

2002-12-16 Thread Howard Miller
Hi,

I'm having some problems with vpopmail. I have a working Qmail installation, 
and have just installed vpopmail on a HP-UX (11) server. I have installed the 
pop3 service exactly as per the installation instructions using ucsp-tcp. 

I have done a number of installations before on Linux and it has always worked 
first time.

However, I am now installing on HP-UX and am having problems. I tried to test 
pop3 using telnet localhost 110. I get the correct prompts but I always get 
an ERR Authorisation Failed, and I'm sure my user/pass combination is 
correct.

I'm really stuck, what is the best way to debug this, or does anybody have a 
bright idea??

Thanks
-- 
Howard Miller
GUIDE
University of Glasgow
T: +44 (0)141 330 3269




Re: [vchkpw] Auth failing on HP-UX

2002-12-16 Thread Bill Shupp
On Monday, December 16, 2002, at 01:08  AM, Howard Miller wrote:


Hi,

I'm having some problems with vpopmail. I have a working Qmail 
installation,
and have just installed vpopmail on a HP-UX (11) server. I have 
installed the
pop3 service exactly as per the installation instructions using 
ucsp-tcp.

I have done a number of installations before on Linux and it has 
always worked
first time.

However, I am now installing on HP-UX and am having problems. I tried 
to test
pop3 using telnet localhost 110. I get the correct prompts but I 
always get
an ERR Authorisation Failed, and I'm sure my user/pass combination is
correct.

I'm really stuck, what is the best way to debug this, or does anybody 
have a
bright idea??

Try compiling with --enable-logging=v and then check your mail logs.

Bill





Re: [vchkpw] Auth failing on HP-UX

2002-12-16 Thread Howard Miller
Stupid question time:

I did that but I can't find any logs! Where is it supposed to log the data 
to?

HM

On Monday 16 December 2002 09:12, Bill Shupp wrote:
 On Monday, December 16, 2002, at 01:08  AM, Howard Miller wrote:
  Hi,
 
  I'm having some problems with vpopmail. I have a working Qmail
  installation,
  and have just installed vpopmail on a HP-UX (11) server. I have
  installed the
  pop3 service exactly as per the installation instructions using
  ucsp-tcp.
 
  I have done a number of installations before on Linux and it has
  always worked
  first time.
 
  However, I am now installing on HP-UX and am having problems. I tried
  to test
  pop3 using telnet localhost 110. I get the correct prompts but I
  always get
  an ERR Authorisation Failed, and I'm sure my user/pass combination is
  correct.
 
  I'm really stuck, what is the best way to debug this, or does anybody
  have a
  bright idea??

 Try compiling with --enable-logging=v and then check your mail logs.

 Bill

-- 
Howard Miller
GUIDE
University of Glasgow
T: +44 (0)141 330 3269




Re: [vchkpw] poppasswd backwards compatibility

2002-12-16 Thread Peter Palmreuther
Hi [EMAIL PROTECTED],

 My users are are stored in the /var/qmail/user/poppasswd style
 database.  This is using crypted passwords generated similarily
 to the script on Paul Gregg's site below:
 
 http://www.pgregg.com/projects/qmail/mkpasswd.php
 
 These passwords do not appear compatible with the md5 crypted
 passwords used with vpopmail and mysql.

Simpyl because CRAM-MD5 authentication only works with clear text
passwords stored in password DB.

 Is their a way to change the encryption used by vpopmail so I can use
 the old poppaswd usernames and passwords on my new server running
 vpopmail (Matt's toaster recipe)?

No. You can't convert crypted passwords back to plain text ones.

 I would like to simply migrate the data in poppasswd to the
 vpopmail mysql database.

I've managed it to keep the encrypted passwords in an old vpopmail
password cdb file and let vpopmail add the encrypted password to the cdb
file by compiling vpopmail with '--enable-learn-passwords=y' switch in
configure.
This requires your users to login once _NOT_ using CRAM-MD5, for vchkpw
being able to successfully authenticate and write the received
clear test password to database.
I don't know if this works with a MySQL backend for user management too,
I've only tested it with cdb files.

HTH
-- 
Peter




[vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!

2002-12-16 Thread Andrea Russo
Hi,

do you have idea about why I cannot see vpasswd and wpassvd.cdb under
domains dirs?

Everything is working fine but still cannot authenticate virtual users using
vchkpw.

Thansk in advance for any help.





Re: [vchkpw] Auth failing on HP-UX

2002-12-16 Thread Howard Miller
After much searching, I cannot find any logging for vpopmail. The syslog file 
has nothing from vpopmail in it. I did read a note on the inter7 website that 
says logging only works with the MySql option.

So I am stuck again. I have no idea why vchkpw is failing to authorise my 
users, and I'm not at all sure how to track the problem down.

Any further help appreciated.

HM

On Monday 16 December 2002 09:12, Bill Shupp wrote:
 On Monday, December 16, 2002, at 01:08  AM, Howard Miller wrote:
  Hi,
 
  I'm having some problems with vpopmail. I have a working Qmail
  installation,
  and have just installed vpopmail on a HP-UX (11) server. I have
  installed the
  pop3 service exactly as per the installation instructions using
  ucsp-tcp.
 
  I have done a number of installations before on Linux and it has
  always worked
  first time.
 
  However, I am now installing on HP-UX and am having problems. I tried
  to test
  pop3 using telnet localhost 110. I get the correct prompts but I
  always get
  an ERR Authorisation Failed, and I'm sure my user/pass combination is
  correct.
 
  I'm really stuck, what is the best way to debug this, or does anybody
  have a
  bright idea??

 Try compiling with --enable-logging=v and then check your mail logs.

 Bill

-- 
Howard Miller
GUIDE
University of Glasgow
T: +44 (0)141 330 3269




Re: [vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!

2002-12-16 Thread Peter Palmreuther
Hi Andrea,

On Mon, 16 Dec 2002 11:18:52 +0100
Andrea Russo [EMAIL PROTECTED] wrote:

 do you have idea about why I cannot see vpasswd and wpassvd.cdb under
 domains dirs?

No. Except the guess you're not root and not user vpopmail when trying
to see the files.

 Everything is working fine but still cannot authenticate virtual users
 using vchkpw.

What is 'everything'? 

Please post all necessary details.
For example: what's your configure options for vpopmail, what the
complete invocation of vchkpw, IOW how do you start POP3 daemon, what's
logged to syslog when authentication failed?
-- 
Peter




[vchkpw] qmail-pop3d

2002-12-16 Thread zafar




hello ppl
i want to know that how my pop authenticate 
both vpopmail user (virtual users ) and default domain.
bcz i change the authentication file path in 

/var/qmail/supervise/qmail-pop3d/run
#!/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 
\ 
FQDN /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 
21

bcz default users are not authenticate through pop 
but virtual user are authenticated.

thanks
zafar



[vchkpw] anonymous user mail

2002-12-16 Thread zafar




hello sir
i am using qmail on redhat with 
vpopmail.
i want to know that my qmail is sending a mail 
after some time to postmaster from [EMAIL PROTECTED]
i can't understand why he do this.
why he send this mail from anonymous user to 
postmaster..
so plz guide me little.

thanks
zafar


Re: [vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!

2002-12-16 Thread Howard Miller
Lets have a copy of the script you are using to start POP3 server.

On Monday 16 December 2002 14:09, Andrea Russo wrote:
 For everything I mean that on 'telnet localhost 110' command I can see the
 server responding me, I can type 'user [EMAIL PROTECTED]' and 'pass test', but
 after enter I see the message authentication failed.

 Taking a look to the mail log I see: user not found [EMAIL PROTECTED] ...
 Dont't ask me why.

 Thanks a lot for your help ... Any suggestion will be really appreciated.

 Andre

 -Original Message-
 From: Peter Palmreuther [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 16, 2002 1:32 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!


 Hi Andrea,

 On Mon, 16 Dec 2002 11:18:52 +0100

 Andrea Russo [EMAIL PROTECTED] wrote:
  do you have idea about why I cannot see vpasswd and wpassvd.cdb under
  domains dirs?

 No. Except the guess you're not root and not user vpopmail when trying to
 see the files.

  Everything is working fine but still cannot authenticate virtual users
  using vchkpw.

 What is 'everything'?

 Please post all necessary details.
 For example: what's your configure options for vpopmail, what the complete
 invocation of vchkpw, IOW how do you start POP3 daemon, what's logged to
 syslog when authentication failed?

-- 
Howard Miller
GUIDE
University of Glasgow
T: +44 (0)141 330 3269




Re: [vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!

2002-12-16 Thread Peter Palmreuther
Hi Andrea,

On Mon, 16 Dec 2002 15:09:01 +0100
Andrea Russo [EMAIL PROTECTED] wrote (Quoting repaired):

 Please post all necessary details.
 For example: what's your configure options for vpopmail, what the
 complete invocation of vchkpw, IOW how do you start POP3 daemon,
 what's logged to syslog when authentication failed?

 For everything I mean that on 'telnet localhost 110' command I can see
 the server responding me, I can type 'user [EMAIL PROTECTED]' and 'pass
 test', but after enter I see the message authentication failed.
 
 Taking a look to the mail log I see: user not found [EMAIL PROTECTED] ...
 Dont't ask me why.

I don't ask you why this happens, if you'd know you wouldn't ask for
help.
I ask you for _DETAILS_.
I repeat:

Please post all necessary details.
For example: what's your configure options for vpopmail, what the
complete invocation of vchkpw, IOW how do you start POP3 daemon,
what's logged to syslog when authentication failed?

The last question is answered, 2 questions still left unanswered.

This list can't help unless all necessary details are known.
-- 
Peter





RE: [vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!

2002-12-16 Thread Andrea Russo
Well,

options are:

enable roaming users, enable default quota, enable tcpserver
file(/home/vpopmail/etc/tcp.smtp), enable ucspi-dir, enable passwd=y.

That's all.

Hope this is better, sorry but it's a real problem for me...

Thanks,

Andrea

-Original Message-
From: Peter Palmreuther [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 16, 2002 3:45 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!


Hi Andrea,

On Mon, 16 Dec 2002 15:09:01 +0100
Andrea Russo [EMAIL PROTECTED] wrote (Quoting repaired):

 Please post all necessary details.
 For example: what's your configure options for vpopmail, what the 
 complete invocation of vchkpw, IOW how do you start POP3 daemon, 
 what's logged to syslog when authentication failed?

 For everything I mean that on 'telnet localhost 110' command I can see 
 the server responding me, I can type 'user [EMAIL PROTECTED]' and 'pass 
 test', but after enter I see the message authentication failed.
 
 Taking a look to the mail log I see: user not found [EMAIL PROTECTED] ... 
 Dont't ask me why.

I don't ask you why this happens, if you'd know you wouldn't ask for help. I
ask you for _DETAILS_. I repeat:

Please post all necessary details.
For example: what's your configure options for vpopmail, what the complete
invocation of vchkpw, IOW how do you start POP3 daemon, what's logged to
syslog when authentication failed?

The last question is answered, 2 questions still left unanswered.

This list can't help unless all necessary details are known.
-- 
Peter








[vchkpw] Verification of users...

2002-12-16 Thread Anders Norrbring

I gotta ask again..

I have a working setup with qmail, vpopmail w/ MySQL and qmail-pop3.
For verification of incoming smtp users I simply run pop-before-smtp,
but I've seen lots of other systems running other verification, f.x.
smtp-auth.

Anyone who can fill me in regarding what's to prefer?  And where I can
get needed software.  I would like to run with as little patches as
possible to the installed software, so is there any add-on package?

Is it worth the effort to even care?

Regards,
Anders Norrbring
Norrbring Consulting.






RE: [vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!

2002-12-16 Thread Andrea Russo
Peter !!!

Let me say I love you!!!

WRRRKS!!!

It was just a compilation error of qmail.

What I can say is that now under /home/vpopmail/domains/test.com I CAN find
vpasswd and vpasswd.cdb, also it's present another file under ~/vpopmail/etc
lib_deps, never seen before!!!

I thank you so much for all your kind support.

Andrea

-Original Message-
From: Peter Palmreuther [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 16, 2002 3:45 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!


Hi Andrea,

On Mon, 16 Dec 2002 15:09:01 +0100
Andrea Russo [EMAIL PROTECTED] wrote (Quoting repaired):

 Please post all necessary details.
 For example: what's your configure options for vpopmail, what the 
 complete invocation of vchkpw, IOW how do you start POP3 daemon, 
 what's logged to syslog when authentication failed?

 For everything I mean that on 'telnet localhost 110' command I can see 
 the server responding me, I can type 'user [EMAIL PROTECTED]' and 'pass 
 test', but after enter I see the message authentication failed.
 
 Taking a look to the mail log I see: user not found [EMAIL PROTECTED] ... 
 Dont't ask me why.

I don't ask you why this happens, if you'd know you wouldn't ask for help. I
ask you for _DETAILS_. I repeat:

Please post all necessary details.
For example: what's your configure options for vpopmail, what the complete
invocation of vchkpw, IOW how do you start POP3 daemon, what's logged to
syslog when authentication failed?

The last question is answered, 2 questions still left unanswered.

This list can't help unless all necessary details are known.
-- 
Peter






Re: [vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!

2002-12-16 Thread Peter Palmreuther
Hi Andrea,

On Mon, 16 Dec 2002 15:59:53 +0100
Andrea Russo [EMAIL PROTECTED] wrote:

 Hope this is better,

I little bit.

- how do you start POP3 daemon?
  Paste the complete script (when using tcpserver) or inetd-line
- enable ucspi-dir what is that option? What version of vpopmail are
  you using?
- What OS are you using (Linux, BSD, Solaris, etc.)?




Re: [vchkpw] poppasswd backwards compatibility

2002-12-16 Thread [EMAIL PROTECTED]
Thanks Peter.

A question still remains. Is there anyway to tell vpopmail to
not use MD5 and use the older crypt'd format?

Joe
CedarNet LLC

On Mon, 16 Dec 2002, Peter Palmreuther wrote:

 Hi [EMAIL PROTECTED],

  My users are are stored in the /var/qmail/user/poppasswd style
  database.  This is using crypted passwords generated similarily
  to the script on Paul Gregg's site below:
 
  http://www.pgregg.com/projects/qmail/mkpasswd.php
 
  These passwords do not appear compatible with the md5 crypted
  passwords used with vpopmail and mysql.

 Simpyl because CRAM-MD5 authentication only works with clear text
 passwords stored in password DB.

  Is their a way to change the encryption used by vpopmail so I can use
  the old poppaswd usernames and passwords on my new server running
  vpopmail (Matt's toaster recipe)?

 No. You can't convert crypted passwords back to plain text ones.

  I would like to simply migrate the data in poppasswd to the
  vpopmail mysql database.

 I've managed it to keep the encrypted passwords in an old vpopmail
 password cdb file and let vpopmail add the encrypted password to the cdb
 file by compiling vpopmail with '--enable-learn-passwords=y' switch in
 configure.
 This requires your users to login once _NOT_ using CRAM-MD5, for vchkpw
 being able to successfully authenticate and write the received
 clear test password to database.
 I don't know if this works with a MySQL backend for user management too,
 I've only tested it with cdb files.

 HTH
 --
 Peter







RE: [vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!

2002-12-16 Thread Andrea Russo
I'm working onto RH 8.0 and the ucspi-dir is the option that allows to
specify the ucpi-tcp compiled package, I found this onto the italian how-to.
The version I'm using is the 5.2.1

Thanks!

-Original Message-
From: Peter Palmreuther [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 16, 2002 4:55 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Urgent!!! Vchkpw cannot authenticate virtual users!


Hi Andrea,

On Mon, 16 Dec 2002 15:59:53 +0100
Andrea Russo [EMAIL PROTECTED] wrote:

 Hope this is better,

I little bit.

- how do you start POP3 daemon?
  Paste the complete script (when using tcpserver) or inetd-line
- enable ucspi-dir what is that option? What version of vpopmail are
  you using?
- What OS are you using (Linux, BSD, Solaris, etc.)?





[vchkpw] vpopmail bouncing problems (solution)

2002-12-16 Thread nbari
The solution that i have found is this:

make a forward to bounce.mydomain.com for example:

From the vpopmail FAQ:

--
22. How do I forward all email to a different site?

Edit the .qmail-default file and put in:

| /home/vpopmail/bin/vdelivermail '' $[EMAIL PROTECTED]
--

This will forward all non matching emails to [EMAIL PROTECTED] and will
display the correct bouncing messages if user is not found.

now on bounce.mydomain.com i only have one user.


hope this info can help some one.




Does some one has vpopmail with procmail running and getting bouncing
messages fine?

i am using a general filter for all my virtual domain users, puting on the
file .qmail-default the following line:

|preline /usr/local/bin/procmail -p -m /etc/procmailrc

filter works perfect, the problems are when bouncing a message to a sender
that has email someone that is not a valid user.

any ideas?

Regardas



BTW:

This is my actual situation, i am using vpopmail with some virtual domains
and i use procmail so users that have webmail can filter unwanted email,
for that i am using the sqblock.rc file that is a set of rules for the
squirrelmail webmail and they work fine.

on my virtual host i have

~vpopmail/domains/unixmexico.org/.qmail-default

and in that file i have:

|preline /usr/local/bin/procmail -p -m /etc/procmailrc

now, on /etc/procmailrc i have:

INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc
:0w
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox


the sqblock.rc has :

--
# Location of the SquirrelMail user data files
SQDATA=/usr/local/squirrelmail/data

# Location of the user's SM Trash file ($HOME represents the user's home
dir) SQTRASH=/dev/null

# Full, absolute path of the test utility on the system
TESTPATH=/bin/test

# Full, absolute path of the formail utility on the system
FORMAILPATH=/usr/local/bin/formail

# Full, absolute path of the grep utility on the system
GREPPATH=/usr/bin/grep

# Full, absolute path of the sed utility on the system
SEDPATH=/usr/bin/sed
VERBOSE=yes
LOGABSTRACT=yes
LOGFILE=/var/log/procmail.log
LOG=


:0
* ? $TESTPATH -f $SQDATA/$BLOCKLIST
{
   # Get the sender's email address
   :0h
   SENDER=|$FORMAILPATH -IReply-To: -rtzxTo:

   # Grab the domain from the sender
   DOMAIN=\*@`echo $SENDER|sed s/^.*@//`

   :0
   * 1^0 ? $GREPPATH $SENDER $SQDATA/$BLOCKLIST
   * 1^0 ? $GREPPATH $DOMAIN $SQDATA/$BLOCKLIST
   {
  DROPPRIVS=yes
  :0
  $SQTRASH
   }
}

--

now this works fine users can block unwanted email, the filter works Ok.
the problem is that if some one send an email to a user that is not on the
virtualhost, he dont get bounced back

for example if i email to [EMAIL PROTECTED] i wont get a respond from
MAILER-DAEMOND telling me that the user no_user don't exists


this is the output of my log, when sending an email to [EMAIL PROTECTED]

---
procmail: Assigning LOG=


procmail: Executing
/bin/test,-f,[EMAIL PROTECTED]
procmail: Non-zero exitcode (1) from /bin/test
procmail: No match on /bin/test -f
[EMAIL PROTECTED]
procmail: Executing
/usr/local/vpopmail/bin/vdelivermail,,bounce-no-mailbox procmail:
Program failure (100) of /usr/local/vpopmail/bin/vdelivermail procmail:
Assigning LASTFOLDER=/usr/local/vpopmail/bin/vdelivermail
bounce-no-mailboxFrom [EMAIL PROTECTED] Thu Dec 05 05:06:14 2002
 Subject: test
  Folder: **Bounced**
---


now  if i put EXITCODE=100 on the /etc/procmailrc at the end of the rules:

INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc
:0w
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox
EXITCODE=100

bounce works but the bounce messages has something like this:

From: [EMAIL PROTECTED]

Hi. This is the qmail-send program at ns3.unixmexico.net.
I'm afraid I wasn't able to deliver your message to the following
addresses. This is a permanent error; I've given up. Sorry it didn't work
out.

[EMAIL PROTECTED]:
procmail: [74056] Wed Dec  4 23:08:47 2002
procmail: Assigning LOGABSTRACT=yes
procmail: Assigning LOGFILE=/var/log/procmail.log
procmail: Opening /var/log/procmail.log


here instead of getting a message like saying NO MAILBOX FOUND. i get

procmail: [74056] Wed Dec  4 23:08:47 2002
procmail: Assigning LOGABSTRACT=yes
procmail: Assigning LOGFILE=/var/log/procmail.log
procmail: Opening /var/log/procmail.log


now, my questions are

how can i chage this bounce message, or do i have an error on my rules ?


should i use .qmail or .qmail-default under my vhost

should i use:
|preline /usr/local/bin/procmail -p -m /etc/procmailrc
or
|preline /usr/bin/procmail

how can i call or make the  line |/var/qmail/bin/bouncesaying 'Sorry, go
away' to work

what should i modify on my config o what do i am doing wrong ?
why if i just put an EXITCODE=100 bounce start working but sending
procmail lines like logs of procmail instead of a custom message.


regards







Re: [vchkpw] Auth failing on HP-UX

2002-12-16 Thread trell
It would help if you would start with the basic stuff.
1) Post a copy of your supervise/run files
2) Post a copy of your supervise/log/run files also
   This is where you should be getting some error logs also.
3) If your using vpopmail, have you tried using different logins?
   i.e. user1 and [EMAIL PROTECTED] as different logins even though
   there the same account, sometimes this will have an affect due
   to the way you compiled, setting default domain or not.
4) Make sure your using the vpasswd and not the qmail password file.

There are a couple of things that would help narrow this down.
I work at hp and have set this up so I can help but need to know your
basics first. I'm on vacation now and will be checking email on a 
daily basis


Joe
 After much searching, I cannot find any logging for vpopmail. The syslog
 file 
 has nothing from vpopmail in it. I did read a note on the inter7 website
 that 
 says logging only works with the MySql option.
 
 So I am stuck again. I have no idea why vchkpw is failing to authorise
my  
 users, and I'm not at all sure how to track the problem down.
 
 Any further help appreciated.
 
 HM
 
 On Monday 16 December 2002 09:12, Bill Shupp wrote:
  On Monday, December 16, 2002, at 01:08  AM, Howard Miller wrote:
   Hi,
  
   I'm having some problems with vpopmail. I have a working Qmail
   installation,
   and have just installed vpopmail on a HP-UX (11) server. I have
   installed the
   pop3 service exactly as per the installation instructions using
   ucsp-tcp.
  
   I have done a number of installations before on Linux and it has
   always worked
   first time.
  
   However, I am now installing on HP-UX and am having problems. I tried
   to test
   pop3 using telnet localhost 110. I get the correct prompts but I
   always get
   an ERR Authorisation Failed, and I'm sure my user/pass combination
 is
   correct.
  
   I'm really stuck, what is the best way to debug this, or does anybody
   have a
   bright idea??
 
  Try compiling with --enable-logging=v and then check your mail logs.
 
  Bill
 
 -- 
 Howard Miller
 GUIDE
 University of Glasgow
 T: +44 (0)141 330 3269
 
 









[vchkpw] vpopmail+mysql + changing mysql servers

2002-12-16 Thread Kent Ritchie
I might be stupid to ask this, but I have looked online and in
documentation, so I decided to ask here.

I have a qmail+vpopmail setup, that authenticates through a remote mysql
server. When I take the mysql server down and replace it with a
different box, thats has all the data, users, grants etc on it that the
previous box had, it no longer authenticates. I replace the old box, and
it once again works... So, has anyone here ever made replacement like I
am trying and failing to do? 





Re: [vchkpw] vpopmail+mysql + changing mysql servers

2002-12-16 Thread Matthias Trevarthan
This could be from a number of problems, but most likely, the MySQL version has
changed between boxes, or mysql is in a different place on the machine.

vpopmail takes the mysql include and lib files and compiles them into the vpopmail
binaries.

Changing versions may require recompiling vpopmail.

Other issues could be:

connectivity - can the vpopmail user log into mysql? Is the username and password
   correct? Does the mysql user physically have access to the port?

DNS - is the new machine properly set up?

Do you get any errors?

They would be helpful.



On Monday 16 December 2002 04:59, Kent Ritchie wrote:
 I might be stupid to ask this, but I have looked online and in
 documentation, so I decided to ask here.

 I have a qmail+vpopmail setup, that authenticates through a remote mysql
 server. When I take the mysql server down and replace it with a
 different box, thats has all the data, users, grants etc on it that the
 previous box had, it no longer authenticates. I replace the old box, and
 it once again works... So, has anyone here ever made replacement like I
 am trying and failing to do?





Re[2]: [vchkpw] Re: Log/back up all in/out msgs on a unique virtualdomain

2002-12-16 Thread Luis Marcelo Nogueira
Ops! I'm in trouble again. I've just noticed that if the sender fills
the recipient address at BBC instead TO field, the msglog won't show
the recipient. (For all msgs in msglog the Delivered-To: is
msglog@mydomain).

THX for the replay regarding the scripts. I'll work on it soon.


Luís Marcelo Nogueira

InterConnect
www.intermail.com.br
mailto:[EMAIL PROTECTED]

---
Este e-mail é confidencial e de uso exclusivo do destinatário. Seu
conteúdo não deve ser revelado a terceiros. Caso você não seja o
destinatário, favor notificar o remetente e apagar esta mensagem
imediatamente.
Alertamos que esta mensagem transitou por via pública de comunicação,
e seu conteúdo original pode ter sido adulterado.

This e-mail is private and confidential, and of exclusive use of the
addressee only. Its contents should not be revealed to third parties.
If you are not the intended addressee, please notify the sender and
promptly delete this message. 
It should be advised that this correspondence has been transmitted
through a public communication channel, and its original contents may
have suffered alteration.
---

-
Monday, December 16, 2002, 6:28:47 AM:


PP Hi Luis,

PP On Mon, 16 Dec 2002 03:08:33 -0200
PP Luis Marcelo Nogueira [EMAIL PROTECTED] wrote:

 except maybe making use of QMAILQUEUE patch, which is in the above

 Eventually, it's worked! Thank you very much. I had some problems
 (Unable_to_chdir_to_maildir), but now it's solved.
 
 Now I have to find a script or program, that checks if the message is
 from or to this particular domain...  Do you have any suggestion?

PP MANPATH=/var/qmail/man man 8 qmail-command

PP Read this, set up a script that writes the environment to a file (e.g.
'set /tmp/xyz.test') and call that test-script from a dot-qmail file.
PP Now decide which variable(s) (I'd recommend $HOST as a starting point)
PP you want to check. For outgoing mails you'll have to check $SENDER, I
PP guess.

PP HTH, and sorry, I don't know if there's a ready to use script anywhere
PP out there. Chances are you'll have to write it yourself.