vmailmgr accpect correctuser@incorrectdomain as system-account user.

2001-04-23 Thread Michael Cheung

Hi;
I use checkvpw from vmailmgr package for pop3 authorization.
But it treat all login name correctuser@incorrectdomain as system-account
user.

How to configure the vmailmgr to give an error for such a situation?

Thanks inadvance.

Regards;
Michael




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




vmailmgr treat all correctuser@wrongdomain as system-account user.

2001-04-22 Thread Michael Cheung

Hi;
I use checkvpw from vmailmgr package for authorization.
But it treat all login name correctuser@wrongdomain as system-account user.

How to configure the vmailmgr to give an error for such a situation?

My situation is:
my user has system account(also include pop account), and pop account in
virtual domain, and they usually set the same password on these two account.
so when they login by "user@virtual" and they misspell the virtualdomain
name, they login to system account successfully! And can't recieve the mail
correctlly. And it is hard to realize the problem. So many question occured.

Thanks inadvance.


Regards;
Michael




Re[2]: problem about move to qmail for virtual domain.

2001-04-20 Thread Michael Cheung



On Thu, 19 Apr 2001 23:03:33 -0700
Greg White [EMAIL PROTECTED] wrote:

 On Fri, Apr 20, 2001 at 02:26:21PM +0900, Michael Cheung wrote:
  Hi:
  I move to qmail from sendmail for a virtual domain be added.
  problem is:
  1. can't deliver to user@domain.
  2. can't use qmail-popup to recieve mail.
  
  me:
  develop
 
 I'm not familiar with that TLD -- is this some sort of alternative TLD?
 See below...
 
my qmail server is an internal server on our intranet.
my machine is vividy.develop, and the server is server.develop.
domain "develop" MX record is point to server.develop
it just for internal communication.

  
  locals:
  localhost
  develop
  
  virtual:
  sales
 
 Nor am I familiar with the 'sales' TLD -- where do these come from?
 Unless the internet at large is able to reach your server by looking for
 an MX record [1] that matches _exactly_ what's in these control files,
 you'll be getting no mail whatsoever... Can people really reach
 'joeuser@sales' and 'joeuser@develop' ?
 
 
Now I want to add a sales domain in server.develop.
when I mail to user@localhost or user@develop, server defer the mail, and
following error message in bounced mail:
can't find develop.server.develop.
qmail add the hostname to mail address!

 [1] or an A record, of course.
  
  no rcphost file.
 
 That's 'rcpthosts', I presume. You're not likely to be able to recieve
 any mail whatsoever without something in rcpthosts. Virtual domains go
 in rcpthosts and virtualdomains, system-account domains go in rcpthosts
 and locals. Nothing whatsoever goes in virtualdomains or locals
 _without_ going in rcpthosts.
 
I have deleted the "rcphosts" file, I want the server can relay all mail from
anywhere to anywhere, actually just for our intranet.
  
  Can I still use mailbox after I add a virtual domain?
  I have install vmailmgr and create a domain, it use maildir now.
 
 This is a virtual domain -- why does VSM matter at all? The users have
 no shell accounts -- VSM is even more pointless than usual. :)
 vmailmgr's checkvpw may only support maildir in any case -- check the
 man pages for vmailmgr.
I want to leave the system-account as before, so still in mailbox format.
as you said, I have to transfer all system-account to maildir format?

when I use standard checkpassword in qmail-popup, I can login to my
system-account mailbox, but it said "no %USER/Maildir".
question here: qmail-popup only support maildir?

and when I changed standard "checkpassword" to vmailmgr "checkvpw".
I can't login to mailbox.

 
 SNIP
 
 Afraid that's all I can help you with for now.
I lost myself in too many qmail module and documents, I don't know what is need
toinstall for my purpose.

Thanks.




problem about move to qmail for virtual domain.

2001-04-19 Thread Michael Cheung

Hi:
I move to qmail from sendmail for a virtual domain be added.
problem is:
1. can't deliver to user@domain.
2. can't use qmail-popup to recieve mail.

me:
develop

locals:
localhost
develop

virtual:
sales

no rcphost file.

rc:
#!/bin/sh

# Using splogger to send the log through syslog.
# Using procmail to deliver messages to /var/spool/mail/$USER by default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|preline procmail' splogger qmail

Can I still use mailbox after I add a virtual domain?
I have install vmailmgr and create a domain, it use maildir now.

use setting below in inetd.conf for pop service:
pop-3   stream  tcp nowait  qmaild  /var/qmail/bin/qmail-popup qmail-popup
linux.justware /var/qmail/vmail
mgr/bin/checkvpw /var/qmail/bin/qmail-pop3d

and when I recieve mail from a user which is system user, I got error message:
-ERR authorization failed

Thanks in advance.

Regards;
Michael




problem about move to qmail for virtual domain.

2001-04-19 Thread Michael Cheung

Hi:

another question:
as I want to add virtual domain, which is better vmailmgr and vpopmail or any
other choice?

Thanks in advance.

Regards;
Michael