But how do you propose to check aliases or forwards? They are valid
mailboxes as well, it wouldn't be wise to deny receipt to these boxes.
Aliases are very popular.
When vpopmail uses mysql, there are no .qmail-* files for aliases, they are
all kept in the mysql database.
I don't know of a command line util that shows aliases for users besides
valias -s [EMAIL PROTECTED] but this does not seem to work for me with
vpopmail-mysql.
Aric
"Bryan Scott" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Although this will work with vpop/mysql installations, it would break
under
> those who use vpopmail with flat files (userdb, /etc/passwd) or other
database
> engines (Sybase).
>
> I would *think* that it something that calls vuserinfo or uses the
vpopmail
> authentication libraries would be more generic and therefore support all
> vpopmail installations... vpopmail's libraries are all in C.. (which would
mean
> writing a perl program/module to interface with the C libraries.... hmmm).
>
> -- Bryan
>
> Skaag Argonius wrote:
>
> > I'm currently writing a plugin that checks vpopmail users via mysql.
> > I initially wrote it in php, but that does not work because of some
issue
> > with setuid.
> > (I'm much more comfortable with the C like syntax of php).
> >
> > Anyway, i'm currently porting the php version to perl. I will post it
here
> > as soon as it's ready.
> >
> > Aric
> >
> >
>