[vchkpw] pop3 be4 smtp vs smtp-auth

2003-03-02 Thread made
Hi Guys,
can anyone give me some obviusly explanation on how vpopmail(qmail) works if i
applied pop3 before smtp and smtp-auth on qmail stuff!!

-- 
mad-e <[EMAIL PROTECTED]>



 Ikuti polling TELKOM Memo 166 di www.plasa.com dan menangkan hadiah masing-masing Rp 
250.000 tunai
 



[vchkpw] vpopmail and spamassassin

2003-03-02 Thread Jasper Metselaar
Hi,

I am trying to get Spamassassin working with Vpopmail, but I am not
succeeding so far...
Right now I am using version: vpopmail 5.3.12

Spamd (the spamassassin daemon) is running.
I tried to do something with Ifspamh
(www.gbnet.net/~jrg/qmail/ifspamh/) but this didn't work so far.

Does anyone have a good solution to use Spamassasin with vpopmail.


Thanks,
Jasper





[vchkpw] Re: pop3 be4 smtp vs smtp-auth

2003-03-02 Thread Peter Palmreuther
Hello Made,

On Sunday, March 2, 2003 at 4:21:21 AM you wrote (at least in part):

> can anyone give me some obviusly explanation on how vpopmail(qmail)
> works if i applied pop3 before smtp and smtp-auth on qmail stuff!!

Yes.
It works very well.
-- 
Best regards
Peter Palmreuther

A bit of tolerance is worth a megabyte of flaming. -- Henry Spencer




[vchkpw] Re: vpopmail and spamassassin

2003-03-02 Thread Peter Palmreuther
Hello Jasper,

On Sunday, March 2, 2003 at 12:18:24 PM you wrote (at least in part):

> Does anyone have a good solution to use Spamassasin with vpopmail.

Yes. And the archive [1] knows about it.

[1] http://bluedot.net/mail/archive/list.php?f=2
-- 
Best regards
Peter Palmreuther

You're one to tell me what I can and can't sense.




Re: [vchkpw] Re: vpopmail and spamassassin

2003-03-02 Thread Jasper Metselaar
>> Does anyone have a good solution to use Spamassasin with vpopmail.

> Yes. And the archive [1] knows about it.
> [1] http://bluedot.net/mail/archive/list.php?f=2

I searched in the archive, but could not quite find what I was looking
for. Could you point me in the correct direction?

Thanks!

- Jasper





[vchkpw] Re: vpopmail and spamassassin

2003-03-02 Thread Peter Palmreuther
Hello Jasper,

On Sunday, March 2, 2003 at 2:31:08 PM you wrote (at least in part):

>>> Does anyone have a good solution to use Spamassasin with vpopmail.

>> Yes. And the archive [1] knows about it.
>> [1] http://bluedot.net/mail/archive/list.php?f=2

> I searched in the archive, but could not quite find what I was looking
> for. Could you point me in the correct direction?

*hmmm* I don't know how you searched but

http://bluedot.net/mail/archive/search.php?f=2&search=spamassassin&match=1&date=0&fldsubject=1&fldbody=1

gives some quite satisfying results. Of course this list is open for
further questions, if you need more detailed information on one of the
already named solutions, but for redundancy the archive is the first
place.

P.S.: _PLEASE_ don't CC me on your replies. The "Reply-To:" header is
set _intentionally_ (who'd have guessed). +R or +
should be sufficient when using The Bat!, if your template adds the
original From as additional recipient please adjust it, at least for
this list.
-- 
Best regards
Peter Palmreuther

Being generous is inborn; being altruistic is a learned perversity.




[vchkpw] .qmailadmin-limits missing

2003-03-02 Thread Anders Brander
Hi,

Is it really true, that vpopmail should complain in the logs if
.qmailadmin-limits is missing?

"vlimits:_failed_to_open_limits_file_(2)" gets logged for every delivery
to a domain without .qmailadmin-limits.

Please look at this one line diff.
http://fmail.dk/stuff/vpopmail-5.3.18-vlimits-domainquota.diff

-- 
Anders Brander - http://anders.brander.dk/





Re: [vchkpw] SMTP-Auth

2003-03-02 Thread Roland Schmid
Rob G <[EMAIL PROTECTED]> wrote on Saturday, March 1, 2003 at 10:23:09 PM:

> Does anyone have a patch for Qmail/vpopmail that will allow
> SMTP-Authentication instead of Pop before SMTP .. or if someone could
> show me how I would do this using the vpopmail database that would be
> greatly appreciated.
 
> Regards,
> Rob G
> [EMAIL PROTECTED]

Hi,
try this.
Edit the path to work with your OS.

create /var/qmail/supervise/qmail-smtpd/run
 
#!/bin/sh
VPOPMAILUID=`id -u vpopmail`
VPOPMAILGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
#SOFTLIMIT=200 is enough if a virusscanner isn't configured
SOFTLIMIT=200
#SOFTLIMIT=1800 is known to work with qmail-scanner and ClamAV,
http://clamav.elektrapro.com/
#SOFTLIMIT=1800
FQDN=`cat /var/qmail/control/me`
if [ -z "$VPOPMAILUID" -o -z "$VPOPMAILGID" -o -z "$MAXSMTPD" ]; then
echo 'VPOPMAILUID, VPOPMAILGID, or MAXSMTPD is unset in'
echo '/var/qmail/supervise/qmail-smtpd/run'
exit 1
fi
exec /usr/local/bin/softlimit -m $SOFTLIMIT tcpserver -H -l0 -R -c 512 -x \
  /etc/tcp.smtp.cdb -u $VPOPMAILUID -g $VPOPMAILGID 0 smtp \
/var/qmail/bin/qmail-smtpd  $FQDN /home/vpopmail/bin/vchkpw \
  /bin/true 2>&1

-- 
Best regards,
Roland Schmid
[EMAIL PROTECTED]




Re: [vchkpw] vpopmail and spamassassin

2003-03-02 Thread Dzuy Nguyen
Jasper Metselaar wrote:
Hi,

I am trying to get Spamassassin working with Vpopmail, but I am not
succeeding so far...
Right now I am using version: vpopmail 5.3.12
Spamd (the spamassassin daemon) is running.
I tried to do something with Ifspamh
(www.gbnet.net/~jrg/qmail/ifspamh/) but this didn't work so far.
Does anyone have a good solution to use Spamassasin with vpopmail.

Thanks,
Jasper




You might want to look into maildrop to invoke spamassassin.




[vchkpw] Hello! how I can do the aliasing works with vpopmial?

2003-03-02 Thread Anton - Valqk

I've been looking trought the archives of the mail lists but I didn't find
my suitable answer.
I've found something about that topic but It wasn't completed so I wasn't
able to get it working :(
Soo as it was said before...
I've tryed making alias by using the qmail manual instructions...
making .qmail-info in ~alias dir ot qmail it was working until I didn't
get vpopmail installed...
how can I make [EMAIL PROTECTED] to be redirected(aliases) to
[EMAIL PROTECTED] ?
I've tryed to put &[EMAIL PROTECTED] in the domain lozenetz.net
.qmail-default file but nothing happened...
can anyone help me?

-- 
+++
+ Unix is for people   +
+ which are not luck  +
+  of fantasy. +
+++


-- 
+++
+ Unix is for people   +
+ which are not luck  +
+  of fantasy. +
+++





[vchkpw] vpopmail newbie

2003-03-02 Thread Paul Fischer
Hi,
vpopmail-5.3-16 on my Debian-box
./configure with mysql sends me this error message:

/usr/bin/ld: cannot find -lz

any idea?


  Paul  .~. Fischer 
/V\ 
   /( )\ 
   ^^-^^ 
 [EMAIL PROTECTED] 
 www.fischerpaul.com 




Re: [vchkpw] Suggestions a username problem

2003-03-02 Thread Justin Heesemann
On Friday 28 February 2003 23:48, Júlio Espada Olivares wrote:
> by default u need to use at least 2 chars
>

unless you use the option:
--without-users-big-dir  that's true.
however note that you shouldn't add several thousands of pop3 accounts per 
domain then..

> - Original Message -
> From: "Bryan Ballard" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 28, 2003 10:45 PM
> Subject: [vchkpw] Suggestions a username problem
>
> > I can't seem to get vadduser to add email addresses with only one
> > character. for example:
> >
> > vadduser [EMAIL PROTECTED] test  >
> > vadduser [EMAIL PROTECTED] test <-fails with a illegal username error.
> >
> > I am not sure what is illegal about the username t or any other
> > character a-z but any suggestions would be helpful.
> >
> > --
> > Bryan Ballard
> > Netsolus Consultants
> > http://www.netsolus.com

-- 
Mit internetten Grüßen
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org





[vchkpw] Feature request: Usage of SSLREMOTEIP

2003-03-02 Thread Jonas Pasche
Hi out there,

I have a small feature request for vpopmail. Currently, I'm checking out
if I could successfully use ucspi-ssl instead of ucspi-tcp for accepting
network connections. Things are a lot easier with this tool, because you
can simple set up your SSL certificates and replace "tcpserver" with
"sslserver", and you're done.

For those of you that are unfamiliar with ucspi-ssl yet: You can inform
yourself on the following website.

http://www.superscript.com/ucspi-ssl/intro.html

The drawback is that tcpserver sets (besides others) the environment
variable TCPREMOTEIP, which vchkpw uses for logging and for opening
dynamic relays. sslserver from the ucspi-ssl package set SSLREMOTEIP
instead, which causes vchkpw to stop logging IP addresses as well as its
functionality for roaming users.

What do you think: Should vpopmail read SSLREMOTEIP in addition to
TCPREMOTEIP, using whatever of them is set?

Does anyone know a workaround until either vpopmail reads SSLREMOTEIP or
ucspi-ssl sets TCPREMOTEIP?

Jonas




Re: [vchkpw] vpopmail newbie

2003-03-02 Thread Jonas Pasche
Hi Paul,

> vpopmail-5.3-16 on my Debian-box
> ./configure with mysql sends me this error message:
> 
> /usr/bin/ld: cannot find -lz
> 
> any idea?

Yes, the "z" library is missing. It's a standard compression library
found on most systems.

On Debian, you should install the zlib1g[-dev] package.

Jonas




Re: [vchkpw] Feature request: Usage of SSLREMOTEIP

2003-03-02 Thread Anders Brander
Hi,

On Monday 03 March 2003 00:44, Jonas Pasche wrote:
> Does anyone know a workaround until either vpopmail reads SSLREMOTEIP
> or ucspi-ssl sets TCPREMOTEIP?

How about something like (untested):
"(env TCPREMOTEIP=$SSLREMOTEIP /home/vpopmail/bin/vchkpw)"
in your startup script instead of just "/home/vpopmail/bin/vchkpw" ?

-- 
Anders Brander - http://anders.brander.dk/




Re: [vchkpw] Feature request: Usage of SSLREMOTEIP

2003-03-02 Thread Charles Sprickman
On 3 Mar 2003, Jonas Pasche wrote:

> The drawback is that tcpserver sets (besides others) the environment
> variable TCPREMOTEIP, which vchkpw uses for logging and for opening
> dynamic relays. sslserver from the ucspi-ssl package set SSLREMOTEIP
> instead, which causes vchkpw to stop logging IP addresses as well as its
> functionality for roaming users.

I'm no C hacker, but if I'm reading things correctly, something like this
would solve the problem without adding another weird hack to vpopmail:

*** sslserver.c.0rigSun Mar  2 20:42:25 2003
--- sslserver.c Sun Mar  2 20:42:30 2003
***
*** 208,213 
--- 208,214 
}
}
env("SSLREMOTEIP",remoteipstr);
+   env("TCPREMOTEIP",remoteipstr);
env("SSLREMOTEPORT",remoteportstr);
env("SSLREMOTEHOST",remotehost);

What would be the drawbacks to modifying sslserver?

Thanks,

Charles

> What do you think: Should vpopmail read SSLREMOTEIP in addition to
> TCPREMOTEIP, using whatever of them is set?
>
> Does anyone know a workaround until either vpopmail reads SSLREMOTEIP or
> ucspi-ssl sets TCPREMOTEIP?
>
> Jonas
>
>
>




[vchkpw] vpopmail forwards not working for users with maildrop mailfilters

2003-03-02 Thread robshort
I am using qmail+maildrop+vpopmail.  On domains where maildrop is not 
configured (.qmail-default sends the mail directly to vpopmail) delivery is 
going fine.  But on the domains where maildrop is configured (.qmail-default 
sends the mail to maildrop which sends it to vpopmail) valiases pointing to 
remote addresses aren't working.  I'm not getting a lot of debugging back from 
vdeliver.  Can someone give me a way to make vdeliver debug more?  Or does 
someone have ideas about why it isn't working? 
 
Here is a message log: 

@40003e62df611c27060c delivery 13198: success: 
Message_start_at_0_bytes,_envelope_sender=vpopmail/maildrop:_Attempting_mailfilt
er/mailfilter(1):_Opening_logfile_/var/log/maildrop/maildrop.log/mailfilter
(2):_VPOP="|_/home/vpopmail/bin/vdelivermail_''_bounce-no-
mailbox"/maildrop:_Filtering_through_`/home/vpopmail/bin/vuserinfo_-
[EMAIL PROTECTED]/mailfilter
(3):_VHOME="/home/vpopmail/domains/2/venturenet.net/jim"/maildrop:_Filtering_thr
ough_`/home/vpopmail/check_subscription.php_$EXT_$HOST`/mailfilter
(4):_DOMAIN_EVAL="0"/maildrop:_Filtering_through_`/home/vpopmail/check_v_subscri
ption.php_$EXT_$HOST`/mailfilter(5):_VIRUS_EVAL="0"/mailfilter
(7):_Evaluating_IF_condition./mailfilter(7):_IF_evaluated,_result=0/mailfilter
(15):_Evaluating_IF_condition./mailfilter(15):_IF_evaluated,_result=0/mailfilter
(23):_Evaluating_IF_condition./Matching_/^X-Spam-Flag:_*YES/_against_Received:_
(qmail_10236_invoked_from_network);_3_Mar_2003_04:51:02_-
/Not_matched./Matching_/^X-Spam-Flag:_*YES/_against_Received:_from_unknown_
(HELO_lycos.com)_(148.208.235.2)
__by_neptune.venturenet.net_with_SMTP;_3_Mar_2003_04:51:02_-
/Not_matched./Matching_/^X-Spam-Flag:_*YES/_against_Message-
ID:_<[EMAIL PROTECTED]>/Not_matched./Matching_/^X-
Spam-Flag:_*YES/_against_From:_<[EMAIL PROTECTED]>/Not_matched./Matching_/^X-
Spam-Flag:_*YES/_against_To:_Soraya/Not_matched./Matching_/^X-Spam-
Flag:_*YES/_against_Subject:_FAST_GROWING_COMPANY_SEEKS_MANAGERS/LEADERS!/Not_ma
tched./Matching_/^X-Spam-
Flag:_*YES/_against_Date:_Sun,_02_Mar_2003_23:21:31_+0500/Not_matched./Matching_
/^X-Spam-Flag:_*YES/_against_MIME-Version:_1.0/Not_matched./Matching_/^X-Spam-
Flag:_*YES/_against_Content-Type:_multipart/alternative;_boundary="
=_NextPart_796_2EF4_793577A7.E9876EDD"/Not_matched./Matching_/^X-Spam-
Flag:_*YES/_against_X-Priority:_3/Not_matched./Matching_/^X-Spam-
Flag:_*YES/_against_X-MSMail-Priority:_Normal/Not_matched./Matching_/^X-Spam-
Flag:_*YES/_against_X-
Mailer:_Microsoft_Outlook_Express_6.00.2600./Not_matched./mailfilter
(23):_Search_of_^X-Spam-Flag:_*YES_=_0/mailfilter
(23):_IF_evaluated,_result=0/mailfilter(41):_Trapping_exceptions./mailfilter
(42):_Opening_include_file_/home/vpopmail/domains/2/venturenet.net/jim/Maildir/.
mailfilter/mailfilter(41):_Trapped_exception./mailfilter
(44):_Trapping_exceptions./maildrop:_Delivering_to_|_/home/vpopmail/bin/vdeliver
mail_''_bounce-no-mailbox/maildrop:_Delivery_complete./did_0+0+1/
@40003e62df611c2d8234 status: local 0/10 remote 0/20

What I don't get is that maildrop is basically saying that it delivered the 
message, but I never get it at the machine that it is forwarded to.

 
And my maildrop config: 

logfile "/var/log/maildrop/maildrop.log"
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
DOMAIN_EVAL=`/home/vpopmail/check_subscription.php $EXT $HOST` 
#script to check database for spam filter subscription - returns 1 if yes.
VIRUS_EVAL=`/home/vpopmail/check_v_subscription.php $EXT $HOST` 
#script to check database for virus filter subscription - returns 1 if yes.

 
if ( $SIZE < 262144 && $DOMAIN_EVAL == 1 )
{
exception {
xfilter "/usr/bin/spamc -f -u [EMAIL PROTECTED]"
}
}


if ($VIRUS_EVAL == 1)
{
xfilter "/usr/sbin/amavis $SENDER [EMAIL PROTECTED]"
echo "WE HAVE NOW PASSED AMAVIS AND ARE SENDING THE MESSAGE TO A MAILBOX"
}



if (/^X-Spam-Flag: *YES/)
{
# try filtering it using user-defined rules
exception {
include $VHOME/Maildir/.mailfilter
}
# then try delivering it to a Spam folder
exception {
# to "$VPOP"
to "$VHOME/Maildir/.Spam/"
}
# ah well, I guess they'll just have to live with disappointment
exception {
to "$VPOP"
}
}
else
{
exception {
include $VHOME/Maildir/.mailfilter
}
exception {
to "$VPOP"
}
}


Thanks.




[vchkpw] authentication of default and virtual domain users

2003-03-02 Thread zafar rizvi
hi ppl
 i am using qmail on redhat linux.i have one default domain of linux and
other 2 domain as virtual domains through vpopmail.
qmail-pop3d authenticatet the only virtual domain users.
Before installing vpopmail and configuring virtual domains ,it work the
default domain users.
so i want to authenticate both user through qmail-pop3d.
but how...
bcz now after virtual domains ,i have that type of qmail-pop3d run file
***
#!/bin/sh

# Dave Sill, 2001-11-06
# For use with The qmail Handbook, ISBN 1893115402

MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3`
if [ -z "$MAXPOP3D" ]; then
echo MAXPOP3D is unset in
echo $0
exit 1
fi
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.pop3.cdb -c
"$MAXPOP3D" \
   0 110 /var/qmail/bin/qmail-popup FQDN /home/vpopmail/bin/vchkpw  \
/var/qmail/bin/qmail-pop3d Maildir 2>&1

***
so how can i authenticte both users through pop3 and also with courier-imap
too.

thanks
zafar




[vchkpw] Hello! how I can do the aliasing works with vpopmial?

2003-03-02 Thread Anton - Valqk

I've been looking trought the archives of the mail lists but I didn't find
my suitable answer.
I've found something about that topic but It wasn't completed so I wasn't
able to get it working :(
Soo as it was said before...
I've tryed making alias by using the qmail manual instructions...
making .qmail-info in ~alias dir ot qmail it was working until I didn't
get vpopmail installed...
how can I make [EMAIL PROTECTED] to be redirected(aliases) to
[EMAIL PROTECTED] ?
I've tryed to put &[EMAIL PROTECTED] in the domain lozenetz.net
.qmail-default file but nothing happened...
can anyone help me?


-- 
+++
+ Unix is for people   +
+ which are not luck  +
+  of fantasy. +
+++