Re: [vchkpw] similar functions in libvpopmail

2004-02-02 Thread Rick Widmer


Alejandro Aguilar Sierra wrote:

A way to let final users to do some basic tasks (like change passwords,
forwards, filters) from another application like a squirrelmail plugin
would be fine.
It seems to me the way to handle that is to have the plugin call 
vpopmail functions directly.  I see QmailAdmin as an adapter between the 
CGI interface to a web server and the vpopmail functions.  How would 
another applicaion use it?

Rick



Re: [vchkpw] similar functions in libvpopmail

2004-02-02 Thread Alejandro Aguilar Sierra
On Mon, 2 Feb 2004, Rick Widmer wrote:

> All suggestions and help are welcome!

A way to let final users to do some basic tasks (like change passwords,
forwards, filters) from another application like a squirrelmail plugin
would be fine.

-- 
Alejandro Aguilar Sierra
[EMAIL PROTECTED]


Re: [vchkpw] similar functions in libvpopmail

2004-02-02 Thread Rick Widmer
Sorry, this should have gone to the list the first time...

Ken Jones wrote:
Hi Rick,

Use the ones without the "_" characters. The ones with the "_"
are the lower level functions which encapsulate the details of
each authentication backend. 
OK.


What kind of changes are you planning on putting in the code?
Review the ##tags in templates, some obsolete names should go back in
service.
Review the language file for unused entries.

Move all HTML out to templates.

Remove as many global variables as possible.

Try to create .qmail files by processing a template rather than having
it hard coded in the program.
Allow the system admin  to add delivery methods by adding a template
file in a specific directory.
Make the HTML forms so that if the user makes an error the fields are
presented with all fields filled in as the user left them, with the
errors marked so the user can change the fields and try to enter the
changes again.
I am also considering changing the structure of the program so that when
 you login as a domain administrator you are presented with a list of
all known email addresses in the domain, and can chose any of them to
edit.  For example if you just logged in as [EMAIL PROTECTED] you
might see something like this readonly example:
http://kimberly.developersdesk.com/mailadmin/

Most of the modify buttons work.  Mailing list does not.  You can modify
the domain this viewer is pointed at with the QmailAdmin menu option.
The password for [EMAIL PROTECTED] is password.
When I asked about this on the mailing list recently, I got 3 replies of
"I like it." and 1 from Tom about things it was missing, like tracking
quotas that I have added, and a search option that is not done yet.  (I
need to take some time and build some test domains first.)

Tom Collins said he was going to pass the torch to you. Which
sounds like he will give you administrative privilages on the
source forge project. Is that your understanding too?
I'm not sure about being an admin, but I am a developer, and I have
control of the HEAD branch which is version 1.3.0 (unstable).   Tom has
the stable-1_2 branch and will be adding his valias code to it.
What I have done is in NEWS of cvs:

http://cvs.sourceforge.net/viewcvs.py/*checkout*/qmailadmin/qmailadmin/NEWS?rev=1.8

What I have planned is in TODO of cvs:

http://cvs.sourceforge.net/viewcvs.py/*checkout*/qmailadmin/qmailadmin/TODO?rev=1.3

All suggestions and help are welcome!
Rick




Re: [vchkpw] similar functions in libvpopmail

2004-02-02 Thread Tom Collins
On Feb 2, 2004, at 7:47 PM, Rick Widmer wrote:
In trying to understand vpopmail so I can work on QmailAdmin, I've run 
into some things I don't understand.  Could someone comment on why the 
following functions are almost identical?  Which should I use?

vadddomain   vauth_adddomain
vdeldomain   vauth_deleomain
vadduser vauth_adduser
vdeluser vauth_deluser
vpassowd vauth_password
vsetuserquotavauth_setquota
You should use the functions in the first column.  In my opinion, the 
functions in the second column shouldn't be exposed in libvpopmail, but 
they probably are.  The primary function is responsible for validating 
and sometimes reformatting data before calling the respective vauth_ 
function.

Also, I don't see anything mentioned about domain aliases 
(vaddaliasdomain) in the docs/ for vpopmail.  Where do I find info on  
them?
A domain alias exists as an entry in /var/qmail/users/assign (and 
therefore, /var/qmail/users/cdb).  Most of the time, you will need to 
refer to the domain by it's "real" name instead of its alias.  Calling 
vget_assign() (if I recall correctly) will automatically change an 
alias domain into it's real form.

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


[vchkpw] similar functions in libvpopmail

2004-02-02 Thread Rick Widmer
In trying to understand vpopmail so I can work on QmailAdmin, I've run 
into some things I don't understand.  Could someone comment on why the 
following functions are almost identical?  Which should I use?

vadddomain   vauth_adddomain
vdeldomain   vauth_deleomain
vadduser vauth_adduser
vdeluser vauth_deluser
vpassowd vauth_password
vsetuserquotavauth_setquota
Also, I don't see anything mentioned about domain aliases 
(vaddaliasdomain) in the docs/ for vpopmail.  Where do I find info on  them?

Are there any other things that I should know about, that are not 
mentioned in README.* and docs/* ?

Thanks,
Rick Widmer


Re: [vchkpw] vpopmail 5.4.0-rc2 and sqwebmail-3.6.2 password change not working

2004-02-02 Thread Nick Lomonte
Same results with the new version, still won't change the passwords.

Also, I upgraded to 5.4.0 release of vpopmail.


> I saw a message on the sqwebmail mailing list over the weekend.
> Mr Sam posted a new version that fixed changing passwords.
> 
> Ken Jones
> 
> 



RE: [vchkpw] Re: About open-smtp, tcp.smtp and qmail-scanner

2004-02-02 Thread Andrea Riela
Peter Palmreuther wrote:
> Hello Andrea,

Hi, thanks for support.
Now my tcp.smtp:
# No Qmail-Scanner at all for mail from 127.0.0.1
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-
queue"
# Use Qmail-Scanner without SpamAssassin on any mail from the LAN
192.168.:allow,RELAYCLIENT="",RBLSMTPD="",TCPREMOTEIP="Protected",QMAILQUEUE
="/var/qmail/bin/qmail-queue"
# Use Qmail-Scanner with SpamAssassin on any mail from the rest of the world
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"

Well, how could I use qmail-scanner-queue with emails from pop-before-smtp
users?

Thanks
Andrea



[vchkpw] Quotas over NFS

2004-02-02 Thread Systems Administrator
Will vpopmail quotas ever work with a domains dir mounted as nfs ?





Re: [vchkpw] vpopmail 5.4.0-rc2 and sqwebmail-3.6.2 password change not working

2004-02-02 Thread Ken Jones
On Monday 02 February 2004 9:14 am, Nick Lomonte wrote:
> Ok, it looks like this functionality in sqwebmail 3.6.2 is broken.  (is
> anyone else able to change passwords in 3.6.2?)
>
>
> I installed 3.6.0 with the same configure options and it works fine.
>
> I'd post this message on the sqwebmail list, but it'll just be ignored
> like the rest of my messages.  Hopefully someone working on that project
> will see this and take a look at it.

I saw a message on the sqwebmail mailing list over the weekend.
Mr Sam posted a new version that fixed changing passwords.

Ken Jones



[vchkpw] 5.4.0-rc1 valias not working?

2004-02-02 Thread Kirk Smith
Hello all,

I've search high, low, and in the between places, but haven't been able to
get any help for my present problem at all. But I suppose I should provide
some background first.

I am running qmail 1.03-r13, qmail-scanner 1.16-r2, SpamAssassin 2.62,
maildrop 1.5.3, f-prot 4.3.2, and vpopmail 5.4.0-rc1, all on a Gentoo
server installation. My installation is very very similar (with a few
minor exceptions) to this guide's
(http://forums.gentoo.org/viewtopic.php?t=111817). For the most part,
everything is working as intended, but I do have one very large, prominent
glitch. My aliases are not working.

The log files have been less then helpful in showing me where the problem
is, but from what I can see, so far, I gather things are going something
like this:

 * qmail accepts mail for [EMAIL PROTECTED]
 * qmail acknowledges [EMAIL PROTECTED] as an alias for
[EMAIL PROTECTED]
 * qmail sends the mail to qmail-scanner, which scans the mail
appropriately, and sends it into the queue.
 * qmail-queue happily informs me that the mail for [EMAIL PROTECTED]
could not be delivered because the maildir for user_alias does not exist,
despite the fact that it already told me it knows this mail should go to
real_user.

I'm not really sure where things are going wrong here, it almost appears
like somewhere in the chain it is 'forgetting' that [EMAIL PROTECTED]
is an alias for real_user... In fact, I half suspect that qmail-scanner is
at fault, but have no way to verify this. If anyone can point me at any
relevant information, I'd be ecstatic.

--
Kirk Smith
the Illiji network
http://www.illiji.net/
--


Re: [vchkpw] clamav in .qmail-default

2004-02-02 Thread Raboo Treed
you could pipe it to scanmail.sh

http://www.qmail.nu/files/scanmail.sh.gz

(sorry andy if you got this message twice)
On 2004-01-31 16:52, Andy BIERLAIR wrote:
Hi,

is it possible to use clamav as a pipe in .qmail-default and not with
qmail-scanner.pl.
I would like to use it that way, in order to enable/disable some domains
from virus scanning.
Thanks,

Andy BIERLAIR
root eSolutions sàrl
 





[vchkpw] Re: About open-smtp, tcp.smtp and qmail-scanner

2004-02-02 Thread Peter Palmreuther
Hello Andrea,

On Monday, February 2, 2004 at 10:34:16 AM you wrote (at least in
part):

> The email above is a worm. That is, my qmail-scanner in tcp.smtp
> hasn't checked the email, probably because there's nothing that says
> "the tcp.smtp rules have precedence instead of open-smtp".

Because this kind of "rule" CANNOT exist.
'tcp.smtp' and 'open-smtp' are merged into /ONE/ file.
'tcpserver' chooses /the most appropriate/ entry when it looks up this
.cdb file. So you 'rest of the world' rule will never apply to anybody
who got added with a concrete IP by POP3-b4-SMTP.

> # Use Qmail-Scanner with SpamAssassin on any mail from the rest of the world
> :allow,DENYMAIL="DNSCHECK",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"

Spare this two lines in tcp.smtp. Export 'DENYMAIL' and 'QMAILQUEUE'
with the above mentioned values in your smtpd-startup script. They'll
be applied to all connections than automatically and only if
overwritten by a rule in .cdb file not take effect.

A problem could be your 'DENYMAIL' rule. I don't know what it is good
for, but as vpopmail-roaming does not insert an empty 'DENYMAIL' all
connections will feel it's consequences. Exception: you modify
vpopmail to insert a 'DENYMAIL=""' additionally to already inserted
'RELAYCLIENT=""'.

P.S.: Before anybody cries qmail-scanner will not check on RELAYCLIENT
  enabled connections than: IT WILL!. It only returns immediately
  from 'sub spamassassin' if RELAYCLIENT is set, it does NOT
  refrain from running AV-tests. Please have a look at the sources
  yourself before next time repeating such a wrong statement THAT
  often. Thank you.
-- 
Best regards
Peter Palmreuther

Monday is an awful way to spend one-seventh of your life.



Re: [vchkpw] vpopmail 5.4.0-rc2 and sqwebmail-3.6.2 password change not working

2004-02-02 Thread Nick Lomonte
Ok, it looks like this functionality in sqwebmail 3.6.2 is broken.  (is
anyone else able to change passwords in 3.6.2?)


I installed 3.6.0 with the same configure options and it works fine.

I'd post this message on the sqwebmail list, but it'll just be ignored
like the rest of my messages.  Hopefully someone working on that project
will see this and take a look at it.



[vchkpw] "multimaildir" in .qmail

2004-02-02 Thread Luca Morettoni
I have two server running vpopmail (5.3.27 on the first and 5.3.30 on
the second), some user have a particular .qmail file (with some
command executed with | command) and all work fine.
The problem (on both version) come when I try to put a multiple
maildir delivery command in .qmail file, like this:

./Maildir/
./Maildir2/

the message was put in Maildir/new, but the second delivery get this
error (from qmail-send log):

starting delivery 10826: msg 178327 to local ./Maildir2/@the_host
status: local 1/20 remote 0/40
delivery 10826: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
status: local 0/20 remote 0/40

of course, the problem come only on vpopmail's domains, some hint
about it?

-- 
Luca Morettoni <[EMAIL PROTECTED]> - http://morettoni.net
GPG keys avaiable at: http://morettoni.net/key
Key fingerprint: D69411BB/C329AED4592319826F12 3036B51E664FD69411BB
Current system: FreeBSD 5.2-CURRENT, up 1 day, 23 hrs, 16 mins, 53 secs


[vchkpw] About open-smtp, tcp.smtp and qmail-scanner

2004-02-02 Thread Andrea Riela
Hi folks,

I've a problem. My domain hasn't a catchall account (with qmailadmin I've
used the option bounce all), but this morning I've received an email like
that:

Received: (qmail 16116 invoked from network); 2 Feb 2004 07:59:14 -
Received: from adsl-62-123-116-229.dial.atlanet.it (HELO JERICOMASTER.it)
(62.123.116.229)
  by 0 with SMTP; 2 Feb 2004 07:59:14 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: ups, i've got your mail
Importance: Normal
X-Mailer: Microsoft Outlook Express 4.72.3612.1700
X-MSMail-Priority: Normal
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="JERICOMASTERd6b4f0dded.2672"
This is a multi-part message in MIME format.

Well, 62.123.116.229 is a dialup enabled to use smtp relay with
pop3-before-smtp. The email above is a worm. That is, my qmail-scanner in
tcp.smtp hasn't checked the email, probably because there's nothing that
says "the tcp.smtp rules have precedence instead of open-smtp". I haven't an
[EMAIL PROTECTED] or [EMAIL PROTECTED] account.

That's a problem.
Have you got any idea to solve it?

My tcp.smtp:
# No Qmail-Scanner at all for mail from 127.0.0.1
127.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue
"
# Use Qmail-Scanner without SpamAssassin on any mail from the LAN
192.168.:allow,RELAYCLIENT="",RBLSMTPD="",TCPREMOTEIP="Protected",QMAILQUEUE
="/var/qmail/bin/qmail-queue"
# Use Qmail-Scanner with SpamAssassin on any mail from the rest of the world
:allow,DENYMAIL="DNSCHECK",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl
"

Thanks for all
Regards
Andrea



[vchkpw] qmail install script 1.3.7-rc2

2004-02-02 Thread Franck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello all,

A new version of my installing's script for qmail are released (1.3.7-rc2).
All feedback are welcome please ...

http://www.linuxpourtous.com/download/qmail/releases/
install_qmail-1.3.7-rc2.tar.gz
http://www.linuxpourtous.com/download/qmail/CHANGELOG
http://www.linuxpourtous.com/download/qmail/README

Changelog since 1.3.7-rc1

* Versions of softwares sources updated
* Minor bugs fix

Best regards
- -- 
Franck

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

iD8DBQFAHhhN1zwfep5k9qERAg3YAJ9/gWfLyIy+Ya05xmLQcOIN4l6fZwCeIwvc
H6MPW+3UhiPEFcBoWapSQMk=
=5Hn1
-END PGP SIGNATURE-