Re: [vchkpw] PHP extension for vpopmail

2004-03-02 Thread Thomas Madej
Assuming you use Apache of course : 

Thomas Madej
Furi Enterprises
http://furi.ca/
On 1-Mar-04, at 4:07 AM, [EMAIL PROTECTED] wrote:



Eduardo M. Bragatto wrote:
Rick Widmer wrote:

There are two ways to run the extension that I know of.

o Start a separate instance of Apache on its own port or IP address,
running as the mail user.  This instance should only serve mail 
related
pages.  This is very easy to do.

o Don't allow any web sites on the mail server.  Only run QmailAdmin
and
sqWebmail on the mail server, and don't allow anyone but mail system
administrators to login on the machine.  (This is the one I use.)


I've got a question.

If one runs such a dedicated apache-instance (uid=vpopmail) on a more 
or
less random port bound to localhost - would it be possible to
reverse-proxy your script through the main instance on port 80/443 ?
Generally, this works best when the site uses no JavaScript and only
relative links.
That would keep the single system image to end-users and 
administrators.



cheers,
Rainer



[vchkpw] Can not open new e-mail file

2004-03-02 Thread Alexandre Barbosa
Does anybody knows how to correct this problem ?


[EMAIL PROTECTED]:

user does not exist, but will deliver to
/home/vpopmail/domains/dom.com.br//Maildir/
can not open new email file errno=2
file=/home/vpopmail/domains/dom.com.br//Maildir/tmp/1078227523.13324.zzz
.bbb.com.br,S=5562
system error




Re: [vchkpw] Can not open new e-mail file

2004-03-02 Thread Tom Collins
On Mar 2, 2004, at 6:44 AM, Alexandre Barbosa wrote:
user does not exist, but will deliver to
/home/vpopmail/domains/dom.com.br//Maildir/
can not open new email file errno=2
file=/home/vpopmail/domains/dom.com.br//Maildir/tmp/ 
1078227523.13324.zzz
.bbb.com.br,S=5562
system error
Does the directory  
/home/vpopmail/domains/dom.com.br//Maildir/tmp/ exist, and can it  
be written to by the user qmail runs as?  (I think this would be the  
user/group as indicated in the /var/qmail/users/assign file).

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


[vchkpw] Re: strange behaviour in local delivery

2004-03-02 Thread Maurice Snellen
On Thursday, February 26, 2004 at 11:46 Jan Reilink wrote:

 /var/vpopmail/domains/example.com# cat .qmail-default
 | /var/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

 /var/vpopmail/domains/example2.com# cat .qmail-default
 | /var/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

 Is this a known issue, is there a solution?

The problem is that you are setting the catchall for example.com to a
postmaster address.

As you are probably aware, upon creating a domain with vadddomain,
there is one e-mail account which is always created and cannot be
deleted with qmailadmin: postmaster.

What you need to be aware of, is that the catch-all only works for
e-mail sent to addresses within a domain that are _NOT_ already
defined as forwards or regular accounts. Thus, your setup will always
fail as the postmaster account is always there.

You could remedy this by setting the catch-all address of example.com
to an non-existant address in example2.com, such as
[EMAIL PROTECTED]

-- 
Greetings,
Maurice