[vchkpw] maildrop problem with vpopmail

2003-03-03 Thread Peter Mikeska
Hi,
I have maildrop, spamassa, avir, and KAV, when I put |maildrop to
.qmail-default for domain I get error
@40003e6399702d9e6dbc status: local 0/10 remote 0/20
@40003e639c712d9618ec starting delivery 51: msg 1623022 to local
[EMAIL PROTECTED]
@40003e639c712d964f9c status: local 1/10 remote 0/20   
   
@40003e639c712e478e9c delivery 51: deferral: 
maildrop:_Changing_to_/home/vpopmail/maildrop:_Invalid_home_directory_permiss
ions_-_world_writable./

but I check all directory has permision 600 for that domain,  and i
dont have dire /home/vpopmail/maildrop , just
/home/vpopmail/domains/...

$cat .qmail-default
|maildrop
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox


where i make mistake ? when I remove |maildrop , everything work fine,
thnx a lot.

Miki

  

-- 
S pozdravom
 Peter  mailto:[EMAIL PROTECTED]




Re: [vchkpw] maildrop problem with vpopmail

2003-03-03 Thread Jasper Metselaar
Hi,

I am experiencing a similar problem:
@40003e63557b04a2b2ec info msg 112465: bytes 2015 from [EMAIL PROTECTED] qp 
17001 uid 0
@40003e63557b04ca20ac starting delivery 335: msg 112465 to local [EMAIL PROTECTED]
@40003e63557b04ca4ba4 status: local 1/10 remote 0/20
@40003e63557b05b43674 delivery 335: deferral: 
maildrop:_Invalid_home_directory_permissions_-_world_writable./
@40003e63557b05b46d24 status: local 0/10 remote 0/20


Any help is welcome!

Thanks,
Jasper


You Wrote:
--

Hi,
I have maildrop, spamassa, avir, and KAV, when I put |maildrop to
.qmail-default for domain I get error
@40003e6399702d9e6dbc status: local 0/10 remote 0/20
@40003e639c712d9618ec starting delivery 51: msg 1623022 to local
[EMAIL PROTECTED]
@40003e639c712d964f9c status: local 1/10 remote 0/20   
   
@40003e639c712e478e9c delivery 51: deferral: 
maildrop:_Changing_to_/home/vpopmail/maildrop:_Invalid_home_directory_permiss
ions_-_world_writable./

but I check all directory has permision 600 for that domain,  and i
dont have dire /home/vpopmail/maildrop , just
/home/vpopmail/domains/...

$cat .qmail-default
|maildrop
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox


where i make mistake ? when I remove |maildrop , everything work fine,
thnx a lot.

Miki

  

-- 
S pozdravom
 Peter  mailto:[EMAIL PROTECTED]









___




[vchkpw] I can not telnet 127.0.0.1 25 .Connection closed by foreign host

2003-03-03 Thread Ihsan Turkmen

Hi..
I am in trouble to run qmail-pop3d by tcpserver, and therefore i use it wit
xinted. At the monent, smtpd servise is locked after I tried to run
qmail-pop3d with tcpserver.

qmailctl stat shows everything normal but I can not get connected to port 25
when I try telnet 127.0.0.1 25 or telnet server.ip.address 25
I need urgent help. qmailsmtpd deamon responds and immediately braks


[EMAIL PROTECTED] qmail-1.03]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.




Re: [vchkpw] I can not telnet 127.0.0.1 25 .Connection closed byforeign hos t

2003-03-03 Thread Peter Palmreuther
Hi Ihsan,

On Mon, 3 Mar 2003 16:59:28 +0200 Ihsan  Turkmen [EMAIL PROTECTED]
wrote:

 I am in trouble to run qmail-pop3d by tcpserver, and therefore i use it wit
 xinted. At the monent, smtpd servise is locked after I tried to run
 qmail-pop3d with tcpserver.

If you now could explain to us uneducated what qmail-pop3d and tcpserver
has to do with a can't connect to SMTP-server problem ...?!?

 qmailctl stat shows everything normal 

So you get a line

/service/qmail-smtpd: up (pid XXX) X seconds

??? _IF_ so you're running qmail-smtpd through tcpserver (which a look
into qmailctrl script would have revealed as it simply calls 'svc' which
only works with tcpserver and _not_ with (x)inetd).

 but I can not get connected to port 25 when I try telnet 127.0.0.1
 25 or telnet server.ip.address 25 I need urgent help. qmailsmtpd
 deamon responds and immediately braks

If you need urgent help you need a good filled wallet, if you need
normal help you need patience.

Nonetheless ... 

1.) Make sure you _KNOW_ (and not only assume) how qmail-smtpd is
  started. A first idea would be

  netstat -tulpen |grep :25

  The last column gives you the PID and process name listeing to port
  25.

  If this is 'tcpserver' do a 

  ps www PID

  and figure out if tcpserver is started with '-x ...'.
  If so: 
  - does the file given as argument to '-x' exist?
  - does it's ancestor-file (usually located in the same location with
the same name, except without '.cdb' as extention) contain a line

127.:allow

???

  In the latter case edit the plain text file (w/o .cdb) and do a 

  tcprules CDB-file tmp  PLAIN TEXT-file

  (e.g. 'tcprules tcp.smtp.cdb tmp  tcp.smtp')

  to create the .cdb file.
  If the file does not even exist make sure the plain text version does
  and execute the same command as mentioned above.


2.) Read Life-with-Qmail [1] and tcpserver documentation [2] to
  understand how your mail system work (in it's basics).

One last advise: _don't_ put your server on a public internet
connection, accessible from anywhere in the world, unless you _KNOW_ how
your qmail, tcpserver and vpopmail works.
Chances are high you run into big trouble if you do nevertheless, e.g.
because your server might be misused as spam-relay for for other
unintended actions. If you don't get into the matter completely: pay
somebody how already did.
Putting a server on the internet is something _completely_ different
from switching on your GameBoy, you are in _responsibility_ if you carry
on a public accessible server.

[1] http://www.lifewithqmail.org/
[2] http://cr.yp.to/ucspi-tcp.html
-- 
Regards,
 Peter

Please don't CC me in replies, I'm reading the list. 



Re: [vchkpw] maildrop problem with vpopmail

2003-03-03 Thread Gregor Lawatscheck
At 12:44 03/03/2003, you wrote:
Hi,
I have maildrop, spamassa, avir, and KAV, when I put |maildrop to
.qmail-default for domain I get error
@40003e6399702d9e6dbc status: local 0/10 remote 0/20
@40003e639c712d9618ec starting delivery 51: msg 1623022 to local
[EMAIL PROTECTED]
@40003e639c712d964f9c status: local 1/10 remote 
0/20
@40003e639c712e478e9c delivery 51: deferral: 
maildrop:_Changing_to_/home/vpopmail/maildrop:_Invalid_home_directory_permiss
ions_-_world_writable./

but I check all directory has permision 600 for that domain,  and i
dont have dire /home/vpopmail/maildrop , just
/home/vpopmail/domains/...
Where's your mailfilter file with the rules and what permissions has it got?
What you probably want to do is to specify the file that holds the 
mailfilter rules on the command line

i.e.
| /usr/local/bin/maildrop /var/vpopmail/domains/mailfilter
Make sure the mailfilter file is owned by vpopmail.vchkpw and has 
permission 600

Not sure if this solves the problem, but it definitely works here (vpopmail 
version 5.3.8)

- Gregor 




[vchkpw] Help adding user 'Service Levels'

2003-03-03 Thread Rick Romero

This is a first attempt at adding user-based Service Levels to my
setup in vpopmail.  I run vpopmail with MySQL, and so far I'm just
trying to change what html templates are displayed by qmailadmin. 
(basically, the same thing that's done for postmaster and quotas)

I've attached two patches to vpopmail-5.3.18 and qmailadmin-1.12, and I
was hoping someone could help me :)

It seems the default 'svclvl' of 0 is always used, and I'm not sure if
it's not pulled from MySQL, or if I've just done something wrong
somewhere else.  

A couple things to note:
1. I'm not a programmer :)  (What my look like good works from me, are
just modifications of other's works ;)
2. I think it's best if I change that char's to int's, but I started
with char because I added the field in MySQL as a char.  I haven't
gotten back to that part yet, afaics, it should work as is.

I'm not sure about:
 if ( row[8] != 0) strncpy(vpw.pw_svclvl, row[8],SMALL_BUFF);
in vmysql.c, row[8] should exist because I do have a clear password
(row[7]).


I haven't even thrown any basic printf's in there for debugging, so I am
REALLY at the beginning of trying to make this work.. (umm, where would
they end up?  syslog?)

So before I really start spending time on it, is anyone else interested
is this, and if so.. is there a better, more 'global' way of doing this?
I'm not very comfortable with assigning 'Service Levels' directly in the
qmailadmin code, but for my own uses it'll work just fine.

And if anyone could comment on the patches, and what I did wrong, I'd
appreciate it :)

I'm not on the qmailadmin list, so I didn't send this there.. I want to
make sure my vpopmail code looks right first :)

Thanks

Rick
--- vpopmail-5.3.18/vauth.h	Sat Apr  6 08:30:31 2002
+++ vpopmail-5.3.18-vfe/vauth.h	Sun Mar  2 19:12:15 2003
@@ -36,6 +36,7 @@
   char *pw_dir;			/* Home directory.  */
   char *pw_shell;		/* Shell program.  */
   char *pw_clear_passwd;	/* Clear password.  */
+  char *pw_svclvl;		/* Service Level */
 };
 
 int vauth_adddomain(char *);
--- vpopmail-5.3.18/vmysql.c	Mon Jan 27 10:29:15 2003
+++ vpopmail-5.3.18-vfe/vmysql.c	Sun Mar  2 19:13:13 2003
@@ -72,6 +72,7 @@
 char IDir[SMALL_BUFF];
 char IShell[SMALL_BUFF];
 char IClearPass[SMALL_BUFF];
+char Isvclvl[SMALL_BUFF];
 
 char EPass[SMALL_BUFF];
 char EGecos[SMALL_BUFF];
@@ -327,7 +328,7 @@
  uid_t myuid;
  uid_t uid;
  gid_t gid;
-
+ 
 vget_assign(domain,NULL,156,uid,gid);
 myuid = geteuid();
 if ( myuid != 0  myuid != uid ) return(NULL);
@@ -382,13 +383,15 @@
 memset(IDir, 0, sizeof(IDir));
 memset(IShell, 0, sizeof(IShell));
 memset(IClearPass, 0, sizeof(IClearPass));
-
+	memset(Isvclvl, 0, sizeof(Isvclvl));
+	
 vpw.pw_name   = IUser;
 vpw.pw_passwd = IPass;
 vpw.pw_gecos  = IGecos;
 vpw.pw_dir= IDir;
 vpw.pw_shell  = IShell;
 vpw.pw_clear_passwd  = IClearPass;
+	vpw.pw_svclvl = Isvclvl;
 
 if((row = mysql_fetch_row(res_read))) {
 strncpy(vpw.pw_name,row[0],SMALL_BUFF);
@@ -401,7 +404,8 @@
 #ifdef CLEAR_PASS
 if ( row[7] != 0 )  strncpy(vpw.pw_clear_passwd, row[7],SMALL_BUFF);
 #endif
-} else {
+		if ( row[8] != 0) strncpy(vpw.pw_svclvl, row[8],SMALL_BUFF);
+	} else {
 mysql_free_result(res_read);
 return(NULL);
 }

--- vpopmail-5.3.18/vmysql.h	Fri Jan 24 02:30:33 2003
+++ vpopmail-5.3.18-vfe/vmysql.h	Mon Mar  3 03:40:41 2003
@@ -45,6 +45,7 @@
 pw_dir char(160), \
 pw_shell char(20), \
 pw_clear_passwd char(16), \
+pw_svclvl char(5), \
 primary key (pw_name, pw_domain ) 
 #else
 #define TABLE_LAYOUT pw_name char(32) not null, \
@@ -54,6 +55,7 @@
 pw_gecos char(48), \
 pw_dir char(160), 
 pw_shell char(20), \
+pw_svclvl char(5), \	
 primary key (pw_name, pw_domain ) 
 #endif
 #else

--- qmailadmin-1.0.12/auth.c	Tue Aug  6 17:04:59 2002
+++ qmailadmin-1.0.12-vfe/auth.c	Mon Mar  3 04:27:46 2003
@@ -143,6 +143,12 @@
 
   vpw = vauth_getpw(Username, Domain);
   AdminType = NO_ADMIN;
+  ServiceLevel = 0;
+  if (strstr(vpw-pw_svclvl, 0)) {ServiceLevel = 0;}
+  if (strstr(vpw-pw_svclvl, 1)) {ServiceLevel = 1;}
+  if (strstr(vpw-pw_svclvl, 5)) {ServiceLevel = 5;}
+  if (strstr(vpw-pw_svclvl, 6)) {ServiceLevel = 6;}
+
   if ( strlen(Domain)  0 ) {
 if ( strcmp(Username,postmaster)==0 ) {
   AdminType = DOMAIN_ADMIN;
--- qmailadmin-1.0.12/qmailadmin.c	Thu Feb 27 14:38:17 2003
+++ qmailadmin-1.0.12-vfe/qmailadmin.c	Sun Mar  2 19:45:31 2003
@@ -63,6 +63,7 @@
 FILE *color_table;
 
 int AdminType;
+int ServiceLevel;
 int MaxPopAccounts;
 int MaxAliases;
 int MaxForwards;
--- qmailadmin-1.0.12/qmailadminx.h	Fri Oct 25 03:33:42 2002
+++ qmailadmin-1.0.12-vfe/qmailadminx.h	Sun Mar  2 19:43:43 2003
@@ -48,6 +48,7 @@
 
 extern int num_of_mailinglist;
 extern int AdminType;
+extern int ServiceLevel;
 extern int MaxPopAccounts;
 extern int MaxAliases;
 extern int MaxForwards;
--- qmailadmin-1.0.12/user.c	Thu Feb 27 18:19:08 2003
+++ qmailadmin-1.0.12-vfe/user.c	Mon Mar  3 04:26:02 2003
@@ -345,10 

[vchkpw] Quotas

2003-03-03 Thread Rick Romero

I wanted to mention that when using qmailadmin-1.12 and vpopmail-5.3.18,
if I set the quota from qmailadmin to 100MB, the quota is set to
100483292.00  (I'm just guessing on the bytes, but you get the idea).

For some reason, I belive the .00 makes vdelivermail bounce email saying
the user is over quota.  Using vsetuserquota to set the actual # of
bytes works fine though.

Rick





[vchkpw] Re: another problem arose

2003-03-03 Thread Peter Palmreuther
Hi Ihsan,

On Mon, 3 Mar 2003 18:48:31 +0200 Ihsan  Turkmen [EMAIL PROTECTED]
wrote:
[full quote because answering to the list to a mail not directed there]

 Peter.
 This time I got the following error
   alert: oh no! lost spawn connection! dying...
 and now 
 
 qmailctl stat
 ---
 /service/qmail-send: up (pid 2132) 147 seconds
 /service/qmail-send/log: up (pid 2334) 1 seconds
 /service/qmail-smtpd: up (pid 2138) 147 seconds
 /service/qmail-smtpd/log: up (pid 2140) 147 seconds
 messages in queue: 0
 messages in queue but not yet preprocessed: 0
 -
 
 /service/qmail-send/log does not seems up more than 1 second. What mistake
 am I doing now?

_WHERE_ exactly do you get this error message? What command was executed
before this message appears?

What's the result (output) of

svc -d /service/qmail-send/log
cd /service/qmail-send/log/
./run

???
-- 
Peter



Re: [vchkpw] I can not telnet 127.0.0.1 25 .Connection closed b yforeign hos t

2003-03-03 Thread Peter Palmreuther
Hi _hsan,

Please don't CC me ... doesn't mean Please don't answer on-list..

On Mon, 3 Mar 2003 18:10:04 +0200 _hsan  Turkmen [EMAIL PROTECTED]
wrote:
[full quote because answering to the list to a mail not directed there]

 Thanks Peter..
 The problem was that I accidentally chaged -x /etc/tcp.smtp.cdb portion of
 the script  as -x /etc/tcp.smtp. It is fixed now by your valuable help.I
 wonder why my ~vpopmail/etc/ folder has many temporary files and 40 * * * *
 /home/vpopmail/bin/clearopensmtp 21  /dev/null line in crontab does not
 clear temporary files. (Another awkward question again). I guess it was
 becouse of the above failure..right?. 
 
 
 
 -rw-r--r--1 vpopmail vchkpw 25 Mar  3 14:54 inc_deps
 -rw-r--r--1 vpopmail vchkpw 32 Mar  3 14:54 lib_deps
 -rw-r--r--1 vpopmail vchkpw 60 Mar  3 17:40 open-smtp
 -rw-r--r--1 root root0 Mar  3 17:52 open-smtp.lock
 -rw-r--r--1 root root0 Mar  3 16:19 open-smtp.tmp.1318
 -rw-r--r--1 root root0 Mar  3 16:30 open-smtp.tmp.1341
 -rw-r--r--1 root root0 Mar  3 16:40 open-smtp.tmp.1660
 -rw-r--r--1 root root0 Mar  3 16:50 open-smtp.tmp.1662
 -rw-r--r--1 root root0 Mar  3 17:00 open-smtp.tmp.1691
 -rw-r--r--1 root root0 Mar  3 17:11 open-smtp.tmp.1717
 -rw-r--r--1 root root0 Mar  3 17:21 open-smtp.tmp.1745
 -rw-r--r--1 root root0 Mar  3 17:31 open-smtp.tmp.1747
 -rw-r--r--1 root root0 Mar  3 17:42 open-smtp.tmp.1860
 -rw-r--r--1 root root0 Mar  3 17:52 open-smtp.tmp.2509
 -rw-r--r--1 vpopmail vchkpw 95 Mar  2 05:12 tcp.smtp
 
 
 
 Thanks for your help..

I don't think a run every 40 minutes cron is the primary reason for
every 10 minutes created files.
But OTOH the file names look like those clearopensmtp uses.

I'd suggest you:

1.) Tell us the _complete_ configure line used for compiling vpopmail,
  for us being able to figure out what .cdb file clearopensmtp tries to
  re-create.

2.) run 'clearopensmtp' on command line and tell us potential output and
  the result of
  'clearopensmtp 21 /dev/null; echo $?'
  for us being able to see if clearopensmtp states it ran successfully.
-- 
Peter



[vchkpw] Link update

2003-03-03 Thread Remo Mattei
The change log for qmailadmin says 1.13 but you cannot download the 1.13
only 1.12
I am looking forward to have the quota fix soon as well.

REMO



RE: [vchkpw] vpopmail and spamassassin

2003-03-03 Thread Remo Mattei
I have is setup and running fine. I have the following in my
.qmail-default


|preline /usr/bin/spamc -f -u [EMAIL PROTECTED] 
|preline maildrop mailfilter

and the mailfilter is like this:

VPOP=| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/italy1.com/postmaster
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]

if ( $SIZE  262144 )
{
exception {
xfilter /usr/bin/spamc -f -u [EMAIL PROTECTED]
}
}

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
}
}

good luck, 

REMO

-Original Message-
From: Jasper Metselaar [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 02, 2003 4:18 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] vpopmail and spamassassin

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







Re: [vchkpw] Quotas

2003-03-03 Thread Rick Romero
On Mon, 2003-03-03 at 09:52, Rick Romero wrote:
 I wanted to mention that when using qmailadmin-1.12 and vpopmail-5.3.18,
 if I set the quota from qmailadmin to 100MB, the quota is set to
 100483292.00  (I'm just guessing on the bytes, but you get the idea).
 
 For some reason, I belive the .00 makes vdelivermail bounce email saying
 the user is over quota.  Using vsetuserquota to set the actual # of
 bytes works fine though.

Ok, so here's the code in vpopmail.c (right at the end):

char *format_maildirquota(const char *q) {
int i;
int per_user_limit;
static chartempquota[500];

/* translate the quota to a number, or leave it */
i = strlen(q) - 1;
tempquota[0] = '\0'; /* make sure tempquota is 0 length */
if(strstr(q, ,) == NULL  q[i] != 'S') {
per_user_limit = atol(q);
for(i=0;q[i]!=0;++i) {
if ( q[i] == 'k' || q[i] == 'K' ) {
per_user_limit = per_user_limit * 1024;
snprintf(tempquota, 500, %dS, per_user_limit);
break;
}
if ( q[i] == 'm' || q[i] == 'M' ) {
per_user_limit = per_user_limit * 1048576;
sprintf(tempquota, %dS, per_user_limit);
break;
}
}



Maybe this isn't the problem... but if per_user_int is initialized as an
int, should atol be atoi?  
Though, supposedly atol() should stop 'converting' at the period
anyways..  Maybe it's crashing?




 Rick
 





Re: [vchkpw] Help adding user 'Service Levels'

2003-03-03 Thread Rick Romero

Whoop.. I'm a dork.  I miscounted columns, and assumed the SELECT in
vmysql.c just grabbed them all.

It's working now :)   (But if anyone is interested in more, or has any
ideas on a better way to do it, let me know)

Rick

On Mon, 2003-03-03 at 09:48, Rick Romero wrote:
 This is a first attempt at adding user-based Service Levels to my
 setup in vpopmail.  I run vpopmail with MySQL, and so far I'm just
 trying to change what html templates are displayed by qmailadmin. 
 (basically, the same thing that's done for postmaster and quotas)
 
 I've attached two patches to vpopmail-5.3.18 and qmailadmin-1.12, and I
 was hoping someone could help me :)
 
 It seems the default 'svclvl' of 0 is always used, and I'm not sure if
 it's not pulled from MySQL, or if I've just done something wrong
 somewhere else.  
 
 A couple things to note:
 1. I'm not a programmer :)  (What my look like good works from me, are
 just modifications of other's works ;)
 2. I think it's best if I change that char's to int's, but I started
 with char because I added the field in MySQL as a char.  I haven't
 gotten back to that part yet, afaics, it should work as is.
 
 I'm not sure about:
  if ( row[8] != 0) strncpy(vpw.pw_svclvl, row[8],SMALL_BUFF);
 in vmysql.c, row[8] should exist because I do have a clear password
 (row[7]).
 
 
 I haven't even thrown any basic printf's in there for debugging, so I am
 REALLY at the beginning of trying to make this work.. (umm, where would
 they end up?  syslog?)
 
 So before I really start spending time on it, is anyone else interested
 is this, and if so.. is there a better, more 'global' way of doing this?
 I'm not very comfortable with assigning 'Service Levels' directly in the
 qmailadmin code, but for my own uses it'll work just fine.
 
 And if anyone could comment on the patches, and what I did wrong, I'd
 appreciate it :)
 
 I'm not on the qmailadmin list, so I didn't send this there.. I want to
 make sure my vpopmail code looks right first :)
 
 Thanks
 
 Rick




[vchkpw] bug?

2003-03-03 Thread Alejandro G. Belluscio
Hello list,
  Doing a ´vadduser --help´ on vpopmail 5.2.1 creates a user --help.
Couldn't ^C out of the password question either (but my ssh client might
be a bit broken).

-- 
Best regards,
 Alejandro Belluscio




Re: [vchkpw] vchkpw instead of checkpassword for SMTP AUTH

2003-03-03 Thread Jeremy Price
K... I did this.   I patched qmail with it (only patch thus far),  make
setup check

changed my tcpserver line to

blah blah /var/qmail/bin/qmail-smtpd mail.mydomain.com
/home/vpopmail/bin/vchkpw /bin/true

and it doesn't wanna auth for me am i missing something?

Tried Plain and Login, no success.

Thanks

-jerm
- Original Message -
From: Clayton Weise [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 10:07 AM
Subject: Re: [vchkpw] vchkpw instead of checkpassword for SMTP AUTH


 Try here instead.  I used this one and it works with vpopmail passwd auth.

 http://members.elysium.pl/brush/qmail-smtpd-auth/

 - Original Message -
 From: Roland Schmid [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, February 21, 2003 6:53 AM
 Subject: [vchkpw] vchkpw instead of checkpassword for SMTP AUTH


 Hello,

 I'm not quite sure whether my question is offtopic to the content of this
 list,
 so sorry for my offtopic.

 I'm running vpopmail with qmail and it works fine, but qmail smtp has no
 SMTP Authentification.
 There is a patch on http://www.nimh.org which enables SMTP AUTH for qmail.
 The patch needs a password tool, can I use /home/vpopmail/bin/chkpw for
the
 SMTP-Authentification,
 or is the checkpassword programm required?
 (http://cr.yp.to/checkpwd.html)


 Best regards,
 Roland









Re: [vchkpw] vchkpw instead of checkpassword for SMTP AUTH

2003-03-03 Thread Jeremy Price
k... more info... i'm getting the following line in my logs

Mar  3 21:41:21 bvbweb vpopmail[16113]: vchkpw: vpopmail user not found
[EMAIL PROTECTED]:24.161.112.141

which stands to reason why i'm not getting authed wassup with the ip
address?

- Original Message -
From: Jeremy Price [EMAIL PROTECTED]
To: Clayton Weise [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 03, 2003 10:15 PM
Subject: Re: [vchkpw] vchkpw instead of checkpassword for SMTP AUTH


 K... I did this.   I patched qmail with it (only patch thus far),  make
 setup check

 changed my tcpserver line to

 blah blah /var/qmail/bin/qmail-smtpd mail.mydomain.com
 /home/vpopmail/bin/vchkpw /bin/true

 and it doesn't wanna auth for me am i missing something?

 Tried Plain and Login, no success.

 Thanks

 -jerm
 - Original Message -
 From: Clayton Weise [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, February 21, 2003 10:07 AM
 Subject: Re: [vchkpw] vchkpw instead of checkpassword for SMTP AUTH


  Try here instead.  I used this one and it works with vpopmail passwd
auth.
 
  http://members.elysium.pl/brush/qmail-smtpd-auth/
 
  - Original Message -
  From: Roland Schmid [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, February 21, 2003 6:53 AM
  Subject: [vchkpw] vchkpw instead of checkpassword for SMTP AUTH
 
 
  Hello,
 
  I'm not quite sure whether my question is offtopic to the content of
this
  list,
  so sorry for my offtopic.
 
  I'm running vpopmail with qmail and it works fine, but qmail smtp has no
  SMTP Authentification.
  There is a patch on http://www.nimh.org which enables SMTP AUTH for
qmail.
  The patch needs a password tool, can I use /home/vpopmail/bin/chkpw for
 the
  SMTP-Authentification,
  or is the checkpassword programm required?
  (http://cr.yp.to/checkpwd.html)
 
 
  Best regards,
  Roland
 
 
 
 
 







[vchkpw] pop before smtp respect tcp.smtp.cdb???

2003-03-03 Thread Jaime Chereau
Hi All..

I have question about the file tcp.smtp.cdb!!!

First, i installed pop before smtp because finally smtp auth don't work 
for me!!

Second, the file tcp.smtp be first transformed in tcp.smtp.cdb, the initial 
configuration it's respected by vpopmail programs


Because in the begining i need add a  :allow,RBLSMTPD=  to verify in 
blacklist a email (i have instaled qmail-scaner-queue and spamassassin) but 
put this RBLSMTPD in the begin help to smtp do not accept mail and save 
process


And last question..

I need back up all my mail, from and to my domains, preferences order by 
domain (in a dir of a domain or a account of then).. Any suggestion???

I probe compile qmail-auditor but fail, i try patch qmail with another 
(dont' remenber name now), but this patch it's not compatible with another 
off my patch, i tested .qmail but only forward the FROM i need the TO 
also...  so..

thanks for all


PD: And REMEMBER set /control/rcpthosts, last saturday i have SPAMMED over 1 
million spam email, luck i have close my output and this save me... anybody 
need email's to SPAM???





[vchkpw] Learn Passwords with LDAP

2003-03-03 Thread Cory Wright
Hello,

Although I have almost no experience using LDAP, I have been presented with
a situation where it seems necessary.  I searched the archives and google,
read the README.ldap file in the source, and have not been able to find the
answer to my question.  Specifically, will the --enable-learn-passwords=y
configuration option work when LDAP is used?

Thanks for your help,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/