Re: [vchkpw] Question about .qmail exit codes.

2003-11-29 Thread Michael Bowe
  If a program invoked from a .qmail file returns an exit status of 99 
  (per qmail-command man page) shouldn't it just stop processing the 
  qmail file?  It seems to be deferring the message and trying to 
  redeliver it later.
 
 I just checked the ChangeLog, and that was fixed in 5.3.9.  You might 
 want to look at 5.3.30 as a replacement for 5.3.8.  The next release 
 will probably be 5.4.0-pre1, and currently only includes documentation 
 and build changes from 5.3.30.

vpopmail-5.2.2 also includes that fix

Michael.




Re: [vchkpw] disable_external_relay

2003-11-29 Thread Devendra Singh
At 24/11/03 21:46 (), Tom Collins wrote:

On Monday, November 24, 2003, at 03:37  AM, tonix (Antonio Nati) wrote:
No,it works only for pop-before-SMTP.
I suggested to use it also for SMTP relay, but it wqas preferred to add a 
dedicated bit for SMTP relaying.
Use disable_smtp in the .qmailadmin-limits file to disable SMTP access for 
the domain.

The current version of vpopmail (5.3.30) supports this flag.
Dear Tom,

Thanks for the info.

Do you suggest to upgrade to vpopmail v5.3.30 and qmailadmin v1.0.29. Would 
it change my existing mysql tables w/o any hickups? Any precautions while 
upgrading? Suppose I change any configure options while upgrading, would it 
create any problem? (Sorry, asking too much).

Currently, I am using vpopmail v5.3.20 and qmailadmin v1.0.24. Spam tagging 
is being done by Spamassissin v2.55 and qmail-scanner v1.16.

Vpopmail is configured as:

./configure \
  --enable-roaming-users=n \
  --enable-default-domain=xxx..xxx \
  [EMAIL PROTECTED] \
  --enable-logging=p \
  --enable-defaultquota=20971520S \
  --enable-ip-alias-domains=n \
  --enable-passwd=n \
  --enable-clear-passwd=y \
  --enable-domain-quotas=n \
  --enable-mysql=y \
  --enable-incdir=/usr/include/mysql \
  --enable-libdir=/usr/lib/mysql \
  --enable-many-domains=y \
  --enable-auth-logging=y \
  --enable-mysql-logging=y \
  --enable-valias=y \
  --enable-mysql-limits=n
QmailAdmin is configured as:

./configure \
  --enable-htmldir=/home3/indiamart/public_html/ \
  --enable-cgibindir=/usr/local/apache/cgi-bin/ \
  --enable-imagedir=/home3/indiamart/public_html/qmailadmin_images \
  --enable-imageurl=/qmailadmin_images \
  --enable-maxusersperpage=12 \
  --enable-maxaliasesperpage=12 \
  --enable-modify-quota=n \
  --enable-help=y \
  --enable-modify-spam=y \
  --enable-spam-command=|/var/qmail/bin/preline /usr/local/bin/maildrop 
/home/vpopmail/etc/mailfilter

__
Devendra Singh
IndiaMART InterMESH Limited
(Global Gateway to Indian Market Place)
B-1, Sector 8, Noida, UP - 201301, India
Voice : +91-120-2543945, 2543946, 2543947
Fax: +91-120-2543943
http://www.indiamart.com
http://www.indiangiftsportal.com
http://www.indiantravelportal.com
__ 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/03


[vchkpw] vpopmail smtp-auth struggles

2003-11-29 Thread John-Mason P. Shackelford
Greetings all,

I have been fighting a problem with vpopmail  the smpt-auth patch for
several days now and feel a little lost and beaten down.
I use Netscape 7.1 to connect to my email account ([EMAIL PROTECTED]) and
use 'admin' as the username. I can retreive messages without difficulty.
When I attempt to reply, Netscape prompts me for a password. I supply
the same password I used to retreive email. After some churning, I am
presented with the password dialog again.
I have tried this using an SMTP username of 'admin' as well as of 
'[EMAIL PROTECTED]' and the results are identical.

I also tried using Outlook Express 6, and saw similar behavior.

My provider is not blocking the SMTP port--I use another SMPT server 
without difficulty.

I patched qmail 1.03 with the SMTP auth patch 0.31 from
http://members.elysium.pl/brush/qmail-smtpd-auth/.
I configured vpopmail like so:

./configure
   --enable-logging=p \
   --enable-ip-alias-domains=y  \
   --enable-clear-passwd=y  \
   --enable-mysql=y  \
   --enable-auth-logging=y \
   --enable-mysql-logging=y  \
   --enable-valias=y
(I have tried this with both vpopmail-5.2.1 and vpopmail-5.3.30)

I have used vipmap to associate cono.org with 65.125.228.113.

My supervise/qmail-smtp/run script is:

#!/bin/sh
SMTPDUID=`id -u vpopmail`
SMTPDGID=`id -g vpopmail`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb \
-u $SMTPDUID -g $SMTPDGID 0 smtp \
/var/qmail/bin/qmail-smtpd vps1.digitalfeet.org \
/home/vpopmail/bin/vchkpw /bin/true 21
/etc/tcp.smtp contains:

:allow
127.:allow,RELAYCLIENT=
65.125.228.113:allow,RELAYCLIENT=
The /etc/tcp.smtp.cdb is current.

The qmail-smtpd log doesn't mean much to me:

[EMAIL PROTECTED] root]# tail /var/log/qmail/qmail-smtpd/current
@40003fc9044e09871064 tcpserver: status: 2/40
@40003fc9044e375a6af4 tcpserver: end 28368 status 256
@40003fc9044e375ab914 tcpserver: status: 1/40
@40003fc9045004be031c tcpserver: end 28370 status 256
@40003fc9045004be4d54 tcpserver: status: 0/40
@40003fc9168a38ded0a4 tcpserver: status: 1/40
@40003fc9168a391380ec tcpserver: pid 28714 from 207.191.210.111
@40003fc9168a392cae3c tcpserver: ok 28714 cono.org:65.125.228.113:25
:207.191.210.111::4520
@40003fc9169f336d90c4 tcpserver: end 28714 status 256
@40003fc9169f336ddafc tcpserver: status: 0/40
@40003fc919462012134c tcpserver: status: 1/40
@40003fc919462afc0d1c tcpserver: pid 28743 from 207.191.210.111
@40003fc919462b16922c tcpserver: ok 28743 cono.org:65.125.228.113:25 
:207.191.210.111::4549
@40003fc91950182b281c tcpserver: end 28743 status 256
@40003fc91950182b763c tcpserver: status: 0/40
@40003fc9197b2066559c tcpserver: status: 1/40
@40003fc9197b20912a74 tcpserver: pid 28747 from 207.191.210.111
@40003fc9197b20ace41c tcpserver: ok 28747 cono.org:65.125.228.113:25 
:207.191.210.111::4551

The vlog table in Mysql says:

vchkpw: login success [EMAIL PROTECTED]:207.191.210.111

I'd be grateful for any direction as to how to troubleshoot this problem 
further.

My goal is to install Courier-IMAP and to have my configuration work 
with it as well. I understand that Courier-IMAP needs to be patched to 
handle --enable-ip-alias-domains=y, but I suppose that is my next hurdle 
since I unable even to send messages at this point.

Thanks again,

John-Mason P. Shackelford
--
http://john-mason.shackelford.org







[vchkpw] any interest in a welcome message patch?

2003-11-29 Thread Yermo M. Lamers
It seems to me that when a users email account is created a welcome 
message should automatically be delivered to the account with key 
information like where to get support, etc.

I've hacked up vpopmail.c vadduser() in 5.3.30 to deliver a message 
contained in /home/vpopmail/etc/welcome.msg when an account is added. I 
based it on code in vpopbull.c.

Right now it's a hack, but if there's any interest in the patch I can 
clean it up. It would be cool if it could be included as a configure 
option --with-welcome-msg=...

-- Yermo

-
DTLink Software http://www.dtlink.com
FieldPost Business Email http://www.fieldpost.com
Nuts and Bolts Interactive, Inc. http://www.nbinteractive.com
-



Re: [vchkpw] any interest in a welcome message patch?

2003-11-29 Thread Trey Nolen
I've been interested in this for quite a while, but it has always met a lot
of resistance here.  In the past, this feature has been regarded as
frivolous because it could be accomplished with a wrapper. I disagree with
this and would welcome your patch.

Trey Nolen

- Original Message - 
From: Yermo M. Lamers [EMAIL PROTECTED]
To: vpopmail list [EMAIL PROTECTED]
Sent: Saturday, November 29, 2003 8:43 PM
Subject: [vchkpw] any interest in a welcome message patch?



 It seems to me that when a users email account is created a welcome
 message should automatically be delivered to the account with key
 information like where to get support, etc.

 I've hacked up vpopmail.c vadduser() in 5.3.30 to deliver a message
 contained in /home/vpopmail/etc/welcome.msg when an account is added. I
 based it on code in vpopbull.c.

 Right now it's a hack, but if there's any interest in the patch I can
 clean it up. It would be cool if it could be included as a configure
 option --with-welcome-msg=...

 -- Yermo

 -
 DTLink Software http://www.dtlink.com
 FieldPost Business Email http://www.fieldpost.com
 Nuts and Bolts Interactive, Inc. http://www.nbinteractive.com
 -








Re: [vchkpw] any interest in a welcome message patch?

2003-11-29 Thread Yermo M. Lamers
The problem I see is you have to make sure the welcome message is 
delivered regardless how the account is created. The only way I could 
see to do that was to modify the underlying library.

Ok, list newbie question. How do you guys prefer I submit a patch? Just 
post it here as an attachment or inline? put it someplace else?

-- Yermo

Trey Nolen wrote:
I've been interested in this for quite a while, but it has always met a lot
of resistance here.  In the past, this feature has been regarded as
frivolous because it could be accomplished with a wrapper. I disagree with
this and would welcome your patch.
Trey Nolen

- Original Message - 
From: Yermo M. Lamers [EMAIL PROTECTED]
To: vpopmail list [EMAIL PROTECTED]
Sent: Saturday, November 29, 2003 8:43 PM
Subject: [vchkpw] any interest in a welcome message patch?



It seems to me that when a users email account is created a welcome
message should automatically be delivered to the account with key
information like where to get support, etc.
I've hacked up vpopmail.c vadduser() in 5.3.30 to deliver a message
contained in /home/vpopmail/etc/welcome.msg when an account is added. I
based it on code in vpopbull.c.
Right now it's a hack, but if there's any interest in the patch I can
clean it up. It would be cool if it could be included as a configure
option --with-welcome-msg=...
-- Yermo

-
DTLink Software http://www.dtlink.com
FieldPost Business Email http://www.fieldpost.com
Nuts and Bolts Interactive, Inc. http://www.nbinteractive.com
-





--
-
DTLink Software http://www.dtlink.com
FieldPost Business Email http://www.fieldpost.com
Nuts and Bolts Interactive, Inc. http://www.nbinteractive.com
-