[vchkpw] vchkpw-smtp problems...

2002-12-19 Thread lup
Hello, I got some problems with STMP authentication. POP auth works
fine, but smtp does not.


Dec 19 23:18:20 ns1 vpopmail[12906]: vchkpw-pop3: (PLAIN) login
success [EMAIL PROTECTED]:200.150.195.240
Dec 19 23:18:56 ns1 vpopmail[12912]: vchkpw-smtp: vpopmail user not
found [EMAIL PROTECTED]:200.150.195.240

Follow my qmail-smtpd run script:

#!/bin/sh
#QMAILDUID=`id -u qmaild`
#NOFILESGID=`id -g qmaild`
QMAILDUID=89
NOFILESGID=89

# tcp server parameters
# -c : max num of simultaneous connections
#

exec /usr/local/bin/softlimit -m 300 \
/usr/bin/tcpserver -v -x /etc/tcp.smtp.cdb -c 30 -R \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/usr/bin/rblsmtpd -b -C \
-r 'relays.ordb.org:Your message was rejected because the mail server
you use is configured to allow OPEN RELAY - More detailed information
regarding this problem is available from
http://www.ordb.org/lookup/?%IP% - Please forward this error through
to your email server support staff for easy resolution.' \
-r 'inputs.relays.osirusoft.com:Your message was rejected because the
mail server you use is either configured to allow OPEN RELAY - More
information regarding this problems is available at
http://relays.osirusoft.com/cgi-bin/rbcheck.cgi?addr=%IP% - Please
forward this error to your email server support staff for resolution.' \
-r 'proxies.relays.monkeys.com:Your message was rejected because the
message was sent from an OPEN PROXY (%IP%) - More information
regarding this problems is available at
http://www.monkeys.com/anti-spam/filtering/proxies.html - Please
forward this error to your email server support staff for resolution.' \
/var/qmail/bin/qmail-smtpd localhost.localdomain \ 
/var/qmail/vpopmail/bin/vchkpw /bin/true 2>&1

As you can see... I am running it in vpopmail user. Some people had
this problem because they are not doint it, i am doing.

What can be happen? (I am storing domain mails in user's home folder)
(vadddomain -u user -g usergrp web.com.br)

Some help?

Thanks you!

Luciano Greiner






[vchkpw] Re: vchkpw-smtp problems...

2002-12-20 Thread lup
Hi...

   Sucess... My SMTP auth + rblsmtp is working right now. I am still
using user's folder to store mails, but i recreate them to user
vpopmail user and pass. I tryed to chown mail dir to vpomail user and
group in the users home folders, but i could not get mails, so as i
strill had few domains, i recreate them to use:

./vadddomain -d /home/user web.com

Once vpopmail user cannot list /home/user, but it is allright.

Thank you!

Luciano Greiner

-- Cabeçalho inicial  ---

De: Peter Palmreuther <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED]
Cópia: lup <[EMAIL PROTECTED]>
Data: Fri, 20 Dec 2002 09:21:57 +0100
Assunto: Re: vchkpw-smtp problems...

> Hello lup,
> 
> On Friday, December 20, 2002 at 6:34:54 AM you wrote:
> 
> > What can be happen? (I am storing domain mails in user's home folder)
> > (vadddomain -u user -g usergrp web.com.br)
> 
> ls -ld ~vpopmail \
>~vpopmail/domains \
>~vpopmail/domains/web.com.br \
>~vpopmail/domains/web.com.br/vpasswd.cdb
> 
> If _ANY_ of these deny user vpopmail to read (or execute if it's a
> directory) you can't run qmail-smtpd as UID(vpopmail) _AND_
> authenticate this domain.
> 
> Simply do a
> 
> su vpopmail -
> 
> and try
> 
> ls ~vpopmail/domains/web.com.br/vpasswd.cdb
> 
> If you get an 'Access denied' you simply have a permission problem,
> because you're running 'web.com.br' not as UID(vpopmail).
> You'll have to start qmail-smtpd as root to get out of this.
> -- 
> Best regards
> Peter Palmreuther
> 
> 
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: VirusScan / Atualizado em 18/12/2002 / Versão: 1.3.13
> Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/
> 
>





[vchkpw] Running Shell Commands...

2002-12-25 Thread lup
Hello!

   How to setup a mail account to a shell command, as in sendmail:

test: "|/some/path/program" 

I would like to do that in vpopmail? Is it possible? Can i use suexec? Can i forward 
an e-mail to a shell pipe?

Thank you

Luciano Greiner





[vchkpw] SpamAssassin

2003-01-01 Thread lup
Hello!

How to install SpamAssassin with VPopmail? I would like install it
inside the mailboxes so that i can enable or disable it in a specific
account. Anyone can help?

Thank you!

 Luciano Greiner