[vchkpw] -help

2013-05-16 Thread Postmaster

-help

!DSPAM:5194c15a34121991596309!



Re: [vchkpw] help porting qmail to auto-tools

2009-04-01 Thread aledr
On Wed, Apr 1, 2009 at 2:43 PM, Manvendra Bhangui  wrote:
> On Wed, Apr 1, 2009 at 10:47 PM, aledr  wrote:
>>
>> I'm already packaging vpopmail on my home repo on openSUSE Build
>> Service, you can check the spec file there at home:aledr.
>>
> Just took a look at it. Looks like a good starting point. I also see that
> you have netqmail. Why don't you include netqmail and vpopmail
> 

I'm working on both, but at my local instance of OBS yet. I'll just
send after finish the tests on the 5.5.0 branch.

--
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"

!DSPAM:49d3aa7532689510816570!



Re: [vchkpw] help porting qmail to auto-tools

2009-04-01 Thread Manvendra Bhangui
On Wed, Apr 1, 2009 at 10:47 PM, aledr  wrote:

> I'm already packaging vpopmail on my home repo on openSUSE Build
> Service, you can check the spec file there at home:aledr.
>
> Just took a look at it. Looks like a good starting point. I also see that
you have netqmail. Why don't you include netqmail and vpopmail


!DSPAM:49d3a7a732687394575787!


Re: [vchkpw] help porting qmail to auto-tools

2009-04-01 Thread Itamar Reis Peixoto
why package vpopmail without qmail  ?




I'm already packaging vpopmail on my home repo on openSUSE Build

> Service, you can check the spec file there at home:aledr.
>
> --
> [ ]'s
> Aledr - Alexandre
>
>


-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599


!DSPAM:49d3a26e32682127872492!


Re: [vchkpw] help porting qmail to auto-tools

2009-04-01 Thread aledr
On Wed, Apr 1, 2009 at 2:10 PM, Itamar Reis Peixoto
 wrote:
> qmail is not FHS
>
>
>
> On Wed, Apr 1, 2009 at 2:04 PM, Manvendra Bhangui 
> wrote:
>>
>> On Wed, Apr 1, 2009 at 10:05 PM, Itamar Reis Peixoto
>>  wrote:
>>>
>>> Hi
>>>
>>> I want to create rpm for qmal and vpopmail.
>>>
>>> anyone can help me porting qmail build system to gnu auto-tools ?
>>
>> There are few who have already built rpm for qmail. Why reinvent the
>> wheel? or do you have some different thoughts on this.
>>
>>
>> http://www.google.co.in/search?q=qmail+rpm&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
>>
>> For vpopmail, we can do it. We need to build a spec file. I have a spec
>> file which can be modified for vpopmail. I can send it to you offline. Post
>> that we can use openSUSE build service to build the RPM for the major linux
>> distros.

I'm already packaging vpopmail on my home repo on openSUSE Build
Service, you can check the spec file there at home:aledr.

--
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"

!DSPAM:49d3a1a232681588712695!



Re: [vchkpw] help porting qmail to auto-tools

2009-04-01 Thread Manvendra Bhangui
On Wed, Apr 1, 2009 at 10:40 PM, Itamar Reis Peixoto <
ita...@ispbrasil.com.br> wrote:

> qmail is not FHS
>
hmm. Looks like a difficult task (but not impossible). The equivalent of
prefix is is the file conf-qmail
then you have the following directories

alias
control
queue
users
boot

where should the above be present?


!DSPAM:49d3a18632681232314807!


Re: [vchkpw] help porting qmail to auto-tools

2009-04-01 Thread Itamar Reis Peixoto
qmail is not FHS



On Wed, Apr 1, 2009 at 2:04 PM, Manvendra Bhangui wrote:

> On Wed, Apr 1, 2009 at 10:05 PM, Itamar Reis Peixoto <
> ita...@ispbrasil.com.br> wrote:
>
>> Hi
>>
>> I want to create rpm for qmal and vpopmail.
>>
>> anyone can help me porting qmail build system to gnu auto-tools ?
>>
>
> There are few who have already built rpm for qmail. Why reinvent the wheel?
> or do you have some different thoughts on this.
>
>
> http://www.google.co.in/search?q=qmail+rpm&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
>
> For vpopmail, we can do it. We need to build a spec file. I have a spec
> file which can be modified for vpopmail. I can send it to you offline. Post
> that we can use openSUSE build service to build the RPM for the major linux
> distros.
>
> Let me know. You can mail me at mbhan...@gmail.com
> 




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599


!DSPAM:49d3a00332687054314454!


Re: [vchkpw] help porting qmail to auto-tools

2009-04-01 Thread Manvendra Bhangui
On Wed, Apr 1, 2009 at 10:05 PM, Itamar Reis Peixoto <
ita...@ispbrasil.com.br> wrote:

> Hi
>
> I want to create rpm for qmal and vpopmail.
>
> anyone can help me porting qmail build system to gnu auto-tools ?
>

There are few who have already built rpm for qmail. Why reinvent the wheel?
or do you have some different thoughts on this.

http://www.google.co.in/search?q=qmail+rpm&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

For vpopmail, we can do it. We need to build a spec file. I have a spec file
which can be modified for vpopmail. I can send it to you offline. Post that
we can use openSUSE build service to build the RPM for the major linux
distros.

Let me know. You can mail me at mbhan...@gmail.com


!DSPAM:49d39eb132685804324027!


[vchkpw] help porting qmail to auto-tools

2009-04-01 Thread Itamar Reis Peixoto
Hi

I want to create rpm for qmal and vpopmail.

anyone can help me porting qmail build system to gnu auto-tools ?

-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599


!DSPAM:49d397e832683249013837!


Re: [vchkpw] Help with java using vpopmail database

2007-12-14 Thread Rick Widmer



Luciano Bolonheis wrote:

Hi Rick... its mysql, but after java connected to the database, how do
i compare the passwords ?


It depends on the ./configure options you used when building vpopmail. 
If you have clear text passwords enabled, just look at them.  If not 
then  --enable-md5-passwords controls the format of the password.  If 
set, I believe md5( clear_password ) will give you a value you can 
compare against, if not then crypt( clear_password ) should do the trick.



Since I don't use --enable-md5-passwords to insure compatibility between 
my email passwords and my system passwords I would use something like 
this (PHP code).



$Tablename depends on the --disable-many-domains option.  One way all 
domains are stored in a single table - 'users'.  The other way each 
domain has its own table, named after the domain.  (I prefer the first, 
and hope to remove the option from vpopmail some day.)


$Encrypted = crypt( $ClearPassword );

$Query = "

SELECT pw_name, pw_domain, pw_...
FROM $TableName
WHERE pw_name = '$UserName'
  AND pw_passwd = '$Encrypted'

";

If this query is successful, the password is valid.



!DSPAM:4762e73232001542014209!



Re: [vchkpw] Help with java using vpopmail database

2007-12-14 Thread Luciano Bolonheis
Hi Rick... its mysql, but after java connected to the database, how do
i compare the passwords ?
Thanks again :)
Luciano

On Dec 13, 2007 9:34 PM, Rick Widmer <[EMAIL PROTECTED]> wrote:
>
>
> Luciano Bolonheis wrote:
> > Hi,
> > i installed vpopmail on a server and now other person wants to
> > authenticate a software he is developing in the vpopmail database. He
> > is coding in Java.
> > Can anyone tell me how can he do it ? The function to use, or the
> > method used by vpopmail...
>
> It depends on which back end you are using.  If it is a sql database
> like mysql or posgresql use Java to connect to the database.  If you are
> using the cdb back end use Class Cdb:
>
> http://www.strangegizmo.com/products/sg-cdb/doc/com/strangegizmo/cdb/Cdb.html
>
> In general idea is to just access the database directly and check the
> password either in the query, or looking at the returned data.
>
>
> 
>
>

!DSPAM:47626d5d32001503715948!



Re: [vchkpw] Help with java using vpopmail database

2007-12-14 Thread Hartmut Wernisch
On 13 Dec 07, Rick Widmer wrote:
> 
> 
> Luciano Bolonheis wrote:
> >Hi,
> >i installed vpopmail on a server and now other person wants to
> >authenticate a software he is developing in the vpopmail database. He
> >is coding in Java.
> >Can anyone tell me how can he do it ? The function to use, or the
> >method used by vpopmail...
> 
> It depends on which back end you are using.  If it is a sql database 
> like mysql or posgresql use Java to connect to the database.  If you are 
> using the cdb back end use Class Cdb:
> 
> http://www.strangegizmo.com/products/sg-cdb/doc/com/strangegizmo/cdb/Cdb.html
> 
> In general idea is to just access the database directly and check the 
> password either in the query, or looking at the returned data.

I would prefer to use password checking from vpopmail like you do with
qmail if it is possible:

 /var/qmail/bin/qmail-smtpd /var/vpopmail/bin/vchkpw /bin/true

So you software will not depend on the backend you are using or any
other changes.

Best,
Hartmut


!DSPAM:47625cd432007811420334!



Re: [vchkpw] Help with java using vpopmail database

2007-12-14 Thread Dvorkin Dmitry

using simple POP, IMAP or SMTP session commands.
for example,

telnet myserv.ee 110

user [EMAIL PROTECTED]
OK
pass mypass
OK


Luciano Bolonheis wrote:

Hi,
i installed vpopmail on a server and now other person wants to
authenticate a software he is developing in the vpopmail database. He
is coding in Java.
Can anyone tell me how can he do it ? The function to use, or the
method used by vpopmail...

Thanks a lot in advance...
Luciano Bolonheis



  


--
С уважением,
Дмитрий Солдатов (Dvorkin)


!DSPAM:4762462032001443814050!



Re: [vchkpw] Help with java using vpopmail database

2007-12-13 Thread Rick Widmer



Luciano Bolonheis wrote:

Hi,
i installed vpopmail on a server and now other person wants to
authenticate a software he is developing in the vpopmail database. He
is coding in Java.
Can anyone tell me how can he do it ? The function to use, or the
method used by vpopmail...


It depends on which back end you are using.  If it is a sql database 
like mysql or posgresql use Java to connect to the database.  If you are 
using the cdb back end use Class Cdb:


http://www.strangegizmo.com/products/sg-cdb/doc/com/strangegizmo/cdb/Cdb.html

In general idea is to just access the database directly and check the 
password either in the query, or looking at the returned data.



!DSPAM:4761c1a032001789512856!



[vchkpw] Help with java using vpopmail database

2007-12-13 Thread Luciano Bolonheis
Hi,
i installed vpopmail on a server and now other person wants to
authenticate a software he is developing in the vpopmail database. He
is coding in Java.
Can anyone tell me how can he do it ? The function to use, or the
method used by vpopmail...

Thanks a lot in advance...
Luciano Bolonheis

!DSPAM:4761b59132001010581532!



Re: [vchkpw] help in new installation

2007-09-02 Thread Samuel Pereira
I cant open that page...

I search for the toaster.

Thanks

Samuel

On 9/1/07, Rick Widmer <[EMAIL PROTECTED]> wrote:
>
>
>
> Bob Hutchinson wrote:
> > On Saturday 01 September 2007 14:44, Samuel Pereira wrote:
> >> Hi,
> >>
> >> First hello, to everybody, i subscribe this ml because i need some help
> in
> >> qmail :)
> >>
> >> i'm using centos 4.5, and have vpopmail-5.4.6.
> >>
> >> i have download qmail-1.03 and chkuser 2.0
> >> i have patch qmail, and compile with default options...
> >
> > This does not answer your question, but
> > have a look at this:
> >
> > http://shupp.org/toaster/
> >
> > a *much* better way to install qmail/vpopmail/qmailadmin etc
>
> Yes, and Bill's toaster is quite a bit more current! Highly recommended,
> not to mention what I use...
>
>
> Rick
>


Re: [vchkpw] help in new installation

2007-09-01 Thread Rick Widmer



Bob Hutchinson wrote:

On Saturday 01 September 2007 14:44, Samuel Pereira wrote:

Hi,

First hello, to everybody, i subscribe this ml because i need some help in
qmail :)

i'm using centos 4.5, and have vpopmail-5.4.6.

i have download qmail-1.03 and chkuser 2.0
i have patch qmail, and compile with default options...


This does not answer your question, but
have a look at this:

http://shupp.org/toaster/

a *much* better way to install qmail/vpopmail/qmailadmin etc


Yes, and Bill's toaster is quite a bit more current! Highly recommended, 
not to mention what I use...



Rick


Re: [vchkpw] help in new installation

2007-09-01 Thread Bob Hutchinson
On Saturday 01 September 2007 14:44, Samuel Pereira wrote:
> Hi,
>
> First hello, to everybody, i subscribe this ml because i need some help in
> qmail :)
>
> i'm using centos 4.5, and have vpopmail-5.4.6.
>
> i have download qmail-1.03 and chkuser 2.0
> i have patch qmail, and compile with default options...

This does not answer your question, but
have a look at this:

http://shupp.org/toaster/

a *much* better way to install qmail/vpopmail/qmailadmin etc

>
> i'm running qmail-smtpd with xinetd
>
> service smtp
> {
> socket_type = stream
> protocol= tcp
> wait= no
> disable = no
> user= root
> instances   = UNLIMITED
> server  = /var/qmail/bin/tcp-env
> server_args = -Rt0 /var/qmail/bin/qmail-smtpd
> }
>
>
> After compile, i do this:
>
> ./qmail-smtpd
> 220 domain.net ESMTP
> helo mail
> 250 domain.net
> mail from [EMAIL PROTECTED]
> CHKUSER accepted sender: from <::> remote  rcpt <> :
> accepted null sender always
> 250 ok
> rcpt to: [EMAIL PROTECTED]
> CHKUSER accepted rcpt: from <::> remote  rcpt <
> [EMAIL PROTECTED]> : found existing recipient
> 250 ok
> rcpt to: [EMAIL PROTECTED]
> CHKUSER rejected rcpt: from <::> remote  rcpt <
> [EMAIL PROTECTED]> : not existing recipient
> 550 5.1.1 sorry, no mailbox here by that name (chkuser)
> quit
> 221 domain.net
>
> ### telnet ip 25
>
> works the same way that ./qmail-smtpd
>
>
>
> ### send mail from other linux box
>
> Sep  1 14:38:14 shell qmail: 1188653894.381107 new msg 17963320
> Sep  1 14:38:14 shell qmail: 1188653894.381152 info msg 17963320: bytes 215
> from <[EMAIL PROTECTED]> qp 22482 uid 500
> Sep  1 14:38:14 shell qmail: 1188653894.433114 starting delivery 3400: msg
> 17963320 to remote [EMAIL PROTECTED]
> Sep  1 14:38:14 shell qmail: 1188653894.433211 status: local 0/10 remote
> 2/20
> Sep  1 14:38:15 shell qmail: 1188653895.866978 delivery 3400: failure:
> Connected_to_PROTECTED_IP1_but_sender_was_rejected./Remote_host_said:_CHKUS
>ER_accepted_sender:_from_<
> [EMAIL PROTECTED]::>_remote_
> >_rcpt_<>_:_sender_accepted/
>
> Always this error; and no mail is received.
>
>
> You can help me on this???
> qmail-smtpd can run in xinetd ?
>
> Thanks
>
> Samuel

-- 
-
Bob Hutchinson
Midwales dot com
-


[vchkpw] help in new installation

2007-09-01 Thread Samuel Pereira
Hi,

First hello, to everybody, i subscribe this ml because i need some help in
qmail :)

i'm using centos 4.5, and have vpopmail-5.4.6.

i have download qmail-1.03 and chkuser 2.0
i have patch qmail, and compile with default options...

i'm running qmail-smtpd with xinetd

service smtp
{
socket_type = stream
protocol= tcp
wait= no
disable = no
user= root
instances   = UNLIMITED
server  = /var/qmail/bin/tcp-env
server_args = -Rt0 /var/qmail/bin/qmail-smtpd
}


After compile, i do this:

./qmail-smtpd
220 domain.net ESMTP
helo mail
250 domain.net
mail from [EMAIL PROTECTED]
CHKUSER accepted sender: from <::> remote  rcpt <> :
accepted null sender always
250 ok
rcpt to: [EMAIL PROTECTED]
CHKUSER accepted rcpt: from <::> remote  rcpt <
[EMAIL PROTECTED]> : found existing recipient
250 ok
rcpt to: [EMAIL PROTECTED]
CHKUSER rejected rcpt: from <::> remote  rcpt <
[EMAIL PROTECTED]> : not existing recipient
550 5.1.1 sorry, no mailbox here by that name (chkuser)
quit
221 domain.net

### telnet ip 25

works the same way that ./qmail-smtpd



### send mail from other linux box

Sep  1 14:38:14 shell qmail: 1188653894.381107 new msg 17963320
Sep  1 14:38:14 shell qmail: 1188653894.381152 info msg 17963320: bytes 215
from <[EMAIL PROTECTED]> qp 22482 uid 500
Sep  1 14:38:14 shell qmail: 1188653894.433114 starting delivery 3400: msg
17963320 to remote [EMAIL PROTECTED]
Sep  1 14:38:14 shell qmail: 1188653894.433211 status: local 0/10 remote
2/20
Sep  1 14:38:15 shell qmail: 1188653895.866978 delivery 3400: failure:
Connected_to_PROTECTED_IP1_but_sender_was_rejected./Remote_host_said:_CHKUSER_accepted_sender:_from_<
[EMAIL PROTECTED]::>_remote__rcpt_<>_:_sender_accepted/


Always this error; and no mail is received.


You can help me on this???
qmail-smtpd can run in xinetd ?

Thanks

Samuel


Re: [vchkpw] help me with vpopmail and ldap

2007-07-11 Thread Ismail YENIGUL
Hi Diego,

First, vpopmail-ldap is completely different than qmail-ldap.

For this reason, you can't use the qmail-ldap schema in vpopmail-ldap
setup.  Many of the attributes in qmail-ldap schema are not available
in vpopmail-ldap.

If you want to use vpopmail-ldap, use the schema in vpopmail tarball.
(vpopmail-version/ldap/qmailUser.schema)

But, if you are using OpenLDAP version >= 2.3, you will also have some
problems with the qmailUser.schema in vpopmail.

qmailUser.schema schema and vpopmail codes should be adapted for the mentioned 
OpenLDAP
versions. Hopefully someone submitted a patch for this issue. (see
https://sourceforge.net/tracker/?func=detail&atid=577800&aid=1609348&group_id=85937
 )

Please see my post to the vpopmail-devel list about this issue at the following 
url:

https://sourceforge.net/mailarchive/forum.php?thread_name=38499.20070710153040%40endersys.com.tr&forum_name=vpopmail-devel


Thanks.

Wednesday, July 11, 2007, 4:24:59 AM, you wrote:

> 
>   
>   
> Hello.
>   
>  
>   
> I have qmail-ldap working, I like work with vpopmail-ldap for
> manager the user, but the schema of vpopmail (qmailUser.schema)
> dosen’t fit with the schema of qmail (qmail.schema) in the
> attributes mailQuota and qmaildomain, try to merge the schemas, but
> I have as strutural problem, since the to attributes are not loaded
> for the objectclass qmailUser. I would like to know what is the
> problem with the schema which I paste below.
>   
>  
>   
> Regards.
>   
>  
>   
> Diego Ramirez
>   
> ---
>   
> #
>   
>  # qmail-ldap (20030901) ldapv3 directory schema
>   
>  #
>   
>  # The offical qmail-ldap OID assigned by IANA is 7914
>   
>  #
>   
>  # Created by: David E. Storey <[EMAIL PROTECTED]>
>   
>  # Modified and included into qmail-ldap by Andre Oppermann <[EMAIL 
> PROTECTED]>
>   
>  # Schema fixes by Mike Jackson <[EMAIL PROTECTED]>
>   
>  # Schema fixes by Christian Zoffoli (XMerlin) <[EMAIL PROTECTED]>
>   
>  #
>   
>  #
>   
>  # This schema depends on:
>   
>  # - core.schema
>   
>  # - cosine.schema
>   
>  # - nis.schema
>   
>  #
>   
>  
>   
>  # Attribute Type Definitions
>   
>  
>   
>  attributetype ( 1.3.6.1.4.1.7914.1.2.1.1 NAME 'qmailUID'
>   
>  DESC 'UID of the user on the mailsystem'
>   
>  EQUALITY integerMatch
>   
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
>   
>  
>   
>  attributetype ( 1.3.6.1.4.1.7914.1.2.1.2 NAME 'qmailGID'
>   
>  DESC 'GID of the user on the mailsystem'
>   
>  EQUALITY integerMatch
>   
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
>   
>  
>   
>  attributetype ( 1.3.6.1.4.1.7914.1.2.1.3 NAME 'mailMessageStore'
>   
>  DESC 'Path to the maildir/mbox on the mail system'
>   
>  EQUALITY caseExactIA5Match
>   
>  SUBSTR caseIgnoreIA5SubstringsMatch
>   
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE )
>   
>  
>   
>  attributetype ( 1.3.6.1.4.1.7914.1.2.1.4 NAME 'mailAlternateAddress'
>   
>  DESC 'Secondary (alias) mailaddresses for the same user'
>   
>  EQUALITY caseIgnoreIA5Match
>   
>  SUBSTR caseIgnoreIA5SubstringsMatch
>   
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
>   
>  
>   
>  #
>   
>  # mailQuota format is no longer supported from qmail-ldap 20030901 on,
>   
>  # user mailQuotaSize and mailQuotaCount instead.
>   
>  #
>   
>  
>   
>  attributetype ( 1.3.6.1.4.1.7914.1.2.1.5 NAME 'mailQuota'
>   
>     DESC 'qmail quota'
>   
>     EQUALITY caseIgnoreIA5Match
>   
>     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100} SINGLE-VALUE )
>   
>  
>   
> # attributetype ( 1.3.6.1.4.1.7914.1.2.1.5 NAME 'mailQuota'
>   
> # DESC 'The amount of space the user can use until all further messages get 
> bounced.'
>   
> # EQUALITY caseIgnoreIA5Match   caseIgnoreIA5Match
>   
> # SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{100} SINGLE-VALUE )
>   
> # EQUALITY caseIgnoreIA5Match
>   
>  
>   
>  
>   
>  attributetype ( 1.3.6.1.4.1.7914.1.2.1.6 NAME 'mailHost'
>   
>  DESC 'On which qmail server the messagestore of this user is located.'
>   
>  EQUALITY caseIgnoreIA5Match
>   
> SUBSTR caseIgnoreIA5SubstringsMatch
>   
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE)
>   
>  
>   
>  attributetype ( 1.3.6.1.4.1.7914.1.2.1.7 NAME 'mailForwardingAddress'
>   
>  DESC 'Address(es) to forward all incoming messages to.'
>   
>  EQUALITY caseIgnoreIA5Match
>   
>  SUBSTR caseIgnoreIA5SubstringsMatch
>   
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
>   
>  
>   
>  attributetype ( 1.3.6.1.4.1.7914.1.2.1.8 NAME 'deliveryProgramPath'
>   
>  DESC 'Program to execute for all incoming mails.'
>   
>  EQUALITY caseExactIA5Match
>   
>  SUBSTR caseIgnoreIA5SubstringsMatch
>   
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
>   
>  
>   
>  attributetype ( 1.3.6.1.4.1.7914.1.2.1.9 NAME 'qmailDotMode'
>   
>  DESC 'Interpretation of .qmail files: both, dotonly, ldaponly, ldapwithprog'
>   
>  EQUALITY caseIgnoreIA

[vchkpw] help me with vpopmail and ldap

2007-07-10 Thread Diego Ramirez Duran
Hello.

 

I have qmail-ldap working, I like work with vpopmail-ldap for manager the
user, but the schema of vpopmail (qmailUser.schema) dosen't fit with the
schema of qmail (qmail.schema) in the attributes mailQuota and qmaildomain,
try to merge the schemas, but I have as strutural problem, since the to
attributes are not loaded for the objectclass qmailUser. I would like to
know what is the problem with the schema which I paste below.

 

Regards.

 

Diego Ramirez


---

#

 # qmail-ldap (20030901) ldapv3 directory schema

 #

 # The offical qmail-ldap OID assigned by IANA is 7914

 #

 # Created by: David E. Storey <[EMAIL PROTECTED]>

 # Modified and included into qmail-ldap by Andre Oppermann <[EMAIL PROTECTED]>

 # Schema fixes by Mike Jackson <[EMAIL PROTECTED]>

 # Schema fixes by Christian Zoffoli (XMerlin) <[EMAIL PROTECTED]>

 #

 #

 # This schema depends on:

 # - core.schema

 # - cosine.schema

 # - nis.schema

 #

 

 # Attribute Type Definitions

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.1 NAME 'qmailUID'

 DESC 'UID of the user on the mailsystem'

 EQUALITY integerMatch

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.2 NAME 'qmailGID'

 DESC 'GID of the user on the mailsystem'

 EQUALITY integerMatch

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.3 NAME 'mailMessageStore'

 DESC 'Path to the maildir/mbox on the mail system'

 EQUALITY caseExactIA5Match

 SUBSTR caseIgnoreIA5SubstringsMatch

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.4 NAME 'mailAlternateAddress'

 DESC 'Secondary (alias) mailaddresses for the same user'

 EQUALITY caseIgnoreIA5Match

 SUBSTR caseIgnoreIA5SubstringsMatch

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

 

 #

 # mailQuota format is no longer supported from qmail-ldap 20030901 on,

 # user mailQuotaSize and mailQuotaCount instead.

 #

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.5 NAME 'mailQuota'

DESC 'qmail quota'

EQUALITY caseIgnoreIA5Match

SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100} SINGLE-VALUE )

 

# attributetype ( 1.3.6.1.4.1.7914.1.2.1.5 NAME 'mailQuota'

# DESC 'The amount of space the user can use until all further messages get
bounced.'

# EQUALITY caseIgnoreIA5Match   caseIgnoreIA5Match

# SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{100} SINGLE-VALUE )

# EQUALITY caseIgnoreIA5Match

 

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.6 NAME 'mailHost'

 DESC 'On which qmail server the messagestore of this user is located.'

 EQUALITY caseIgnoreIA5Match

SUBSTR caseIgnoreIA5SubstringsMatch

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE)

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.7 NAME 'mailForwardingAddress'

 DESC 'Address(es) to forward all incoming messages to.'

 EQUALITY caseIgnoreIA5Match

 SUBSTR caseIgnoreIA5SubstringsMatch

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.8 NAME 'deliveryProgramPath'

 DESC 'Program to execute for all incoming mails.'

 EQUALITY caseExactIA5Match

 SUBSTR caseIgnoreIA5SubstringsMatch

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.9 NAME 'qmailDotMode'

 DESC 'Interpretation of .qmail files: both, dotonly, ldaponly,
ldapwithprog'

 EQUALITY caseIgnoreIA5Match

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.10 NAME 'deliveryMode'

 DESC 'multi field entries of: nolocal, noforward, noprogram, reply'

 EQUALITY caseIgnoreIA5Match

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.11 NAME 'mailReplyText'

 DESC 'A reply text for every incoming message'

 EQUALITY caseIgnoreMatch

 SUBSTR caseIgnoreSubstringsMatch

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{4096} SINGLE-VALUE )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.12 NAME 'accountStatus'

 DESC 'The status of a user account: active, noaccess, disabled, deleted'

 EQUALITY caseIgnoreIA5Match

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.14 NAME 'qmailAccountPurge'

 DESC 'The earliest date when a mailMessageStore will be purged'

 EQUALITY numericStringMatch

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.15 NAME 'mailQuotaSize'

 DESC 'The size of space the user can have until further messages get
bounced.'

 EQUALITY integerMatch

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.16 NAME 'mailQuotaCount'

 DESC 'The number of messages the user can have until further messages get
bounced.'

 EQUALITY integerMatch

 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

 

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.17 NAME 'mailSizeMax'

 DESC 'The maximum s

[vchkpw] help getting tmomail.net MMS messages -- "invalid sender" issues

2007-05-29 Thread Everett F Batey at91


Need some help getting tmomail.net MMS messages into my qmail  
server.  Gmail.com has
apparently overcome the "invalid sender" issues which are blocked by  
chkuser.  Mail to

[EMAIL PROTECTED] also succeeds.

My qmail / vpopmail:  vpopmail-toaster-5.4.13-1.3.3  Uses chkuser:  v. 
2.0.8 for vpopmail > 5.3.x


Email server blocks MMS email from tmomail.net

e.g. # grep -i 'invalid sender address format' Log  |  tai64nlocal
  Log /var/log/qmail/[EMAIL PROTECTED]
Produces "invalid sender address format" for the TMOMAIL MMS email..

2007-05-28 21:31:54.930953500 CHKUSER rejected sender:  from \
  <1805nnn/[EMAIL PROTECTED]::> remote  
 \
  rcpt <> : invalid sender address format***
nnn is substituted for anonimity   ***


Notwithstanding the enormity of RFC's which define left-hand-part  
(user) of To addresses, no

clear case is clarified for sender (from addresses).

Hard to imagine T-mobile changing the sender format issues.  Guessing  
that good SPAM

management needs to block doubtful senders passing in, wholesale.

Any ideas welcome ...


Everett F Batey ([EMAIL PROTECTED]) - [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 CA 805 340-6471 / VA 703 879-6471 /  PA +507 6766-8244




Re: [vchkpw] Help..... server crashed

2005-12-28 Thread Tom Collins

On Dec 28, 2005, at 10:27 PM, gccrowd - crowdness wrote:
The last option, once I do the vadddomain, will I want to do the 
vaddusers or no?  The original vpasswd files are still there, so I 
would assume not?


No need.  Replacing ~vpopmail/domains with your backed up directory 
will replace the vpasswd files.  That's where the user information is 
stored.


After going through those steps, vuserinfo should start working again.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [vchkpw] Help..... server crashed

2005-12-28 Thread gccrowd - crowdness

Tom,

The last option, once I do the vadddomain, will I want to do the 
vaddusers or no?  The original vpasswd files are still there, so I would 
assume not?


I'll give that a go, since there are only 2 domains.

Gary

Tom Collins wrote:


On Dec 28, 2005, at 10:01 PM, gccrowd - crowdness wrote:

Though the /home/vpopmail/domains directory is there with the 
domains, it's not seeing the domains and is looking for the assign 
file.  How do I recreate the assigns file?  Do I do it manually?   
How do I recreate the vpasswd file(s) properly so that I can log in 
and get the mail?



Manually create the assigns file, entry for example.com is as follows:

+example.com-:example.com:89:89:/home/vpopmail/domains/example.com:-::

Replace 89:89 with the uid and gid of the vpopmail user.  Set the 
correct path to example.com as well.


Make sure the last line of users/assign is just a ".".

Run qmail-newu.

You'll also want to make sure that the domains are in rcpthosts (or 
morercpthosts, but you'll have to run qmail-newmrh).  Also put them in 
virtualdomains (format for virtualdomains entries: 
"example.com:example.com").


Restart qmail after making all of those additions, to be sure it's 
re-read the files.


Another option, if have less than 100 domains (where they're all in 
the vpopmail/domains directory, and not in vpopmail/domains/0).  
Rename vpopmail/domains to something else and create an empty domains 
directory.  Use ~vpopmail/bin/vadddomain to add all of the domains.  
Delete the newly created domains directory, and swap your backed up 
directory in its place.


Good luck.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: sniffter.com






Re: [vchkpw] Help..... server crashed

2005-12-28 Thread Tom Collins

On Dec 28, 2005, at 10:01 PM, gccrowd - crowdness wrote:
Though the /home/vpopmail/domains directory is there with the domains, 
it's not seeing the domains and is looking for the assign file.  How 
do I recreate the assigns file?  Do I do it manually?   How do I 
recreate the vpasswd file(s) properly so that I can log in and get the 
mail?


Manually create the assigns file, entry for example.com is as follows:

+example.com-:example.com:89:89:/home/vpopmail/domains/example.com:-::

Replace 89:89 with the uid and gid of the vpopmail user.  Set the 
correct path to example.com as well.


Make sure the last line of users/assign is just a ".".

Run qmail-newu.

You'll also want to make sure that the domains are in rcpthosts (or 
morercpthosts, but you'll have to run qmail-newmrh).  Also put them in 
virtualdomains (format for virtualdomains entries: 
"example.com:example.com").


Restart qmail after making all of those additions, to be sure it's 
re-read the files.


Another option, if have less than 100 domains (where they're all in the 
vpopmail/domains directory, and not in vpopmail/domains/0).  Rename 
vpopmail/domains to something else and create an empty domains 
directory.  Use ~vpopmail/bin/vadddomain to add all of the domains.  
Delete the newly created domains directory, and swap your backed up 
directory in its place.


Good luck.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




[vchkpw] Help..... server crashed

2005-12-28 Thread gccrowd - crowdness
My server crashed and I had been running QMail, vpopmail, courier-imap, 
etc for a couple years now.  I was able to back up the /home/vpopmail 
directory, but didn't get to back up anything else.


I have courier-imap running and I got vpopmail installed (at least I 
think I do).  When I do a bin/vuserinfo , I get the following:


bin/vuserinfo 
Error. Domain  was not found in the assign file
name:   
passwd: 
clear passwd: 
uid:1
gid:0
flags:  0
gecos: 
limits: No user limits set.
dir:   /home/vpopmail/users/
quota: NOQUOTA
usage: NOQUOTA
last auth: Wed Feb 16 07:44:06 2005
last auth ip: 127.0.0.1

Though the /home/vpopmail/domains directory is there with the domains, 
it's not seeing the domains and is looking for the assign file.  How do 
I recreate the assigns file?  Do I do it manually?   How do I recreate 
the vpasswd file(s) properly so that I can log in and get the mail?


Do I need to go and completely reinstall qmail and all the things with 
it?  I just want to get the old mail out so I can save it.  I was using 
squirrelmail and had subfolders, etc.  I would like to be able to get 
all my mail ie. the sent ones and the ones that are in other folders.


Any thoughts, suggestions?

Thanks in advance.




Re: [vchkpw] Help! /var/qmail removed

2005-09-20 Thread Ken Jones

John Simpson wrote:



i've run into the same thing with qmailadmin and vqadmin, and even  went 
so far as to write a patch for vqadmin (which has been ignored  by 
inter7 for two years- maybe mentioning it again here will make  somebody 
look at it? visit http://qmail.jms1.net/ and search for  "vqadmin" to 
see the patch.)


Thanks for the link John. I'm going to attempt, again, to collect
updates to vqadmin and release a new version.

Ken Jones


Re: [vchkpw] Help! /var/qmail removed

2005-09-20 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Simpson wrote:
> is there a reason you couldn't have it recursively run itself using 
> "$0" instead of forcing a fixed name? does it not work this way, or  is
> this a testing version and not meant to be a finished product yet?

Because that wont exist when it goes into a sub directory.

> also, you're hard-coding the numeric uid/gid for the vpopmail user... 
> you can do this at the beginning with

Well, thanks for pointing that out, but the reason I'm releasing the
script is not so people with absolutely no idea what they're doing
can generate the control files, but so that walking the hashed directories
can be shown. :)  Let me rephrase that so it's ultimately clear, I'm not
looking for suggestions and patches that make this the end-all control
file generating script, I just wanted to get the directory tree walking
portion out to people who had asked how.

> i've run into the same thing with qmailadmin and vqadmin, and even  went
> so far as to write a patch for vqadmin (which has been ignored  by
> inter7 for two years- maybe mentioning it again here will make  somebody

It's hardly ignored, as we deal with it on a daily basis, however, our
development efforts, yes, are currently in another direction.
- --
/*
Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key B7B54216
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDMBnNhzYRRre1QhYRAlmLAJsHliz69gwA8i/lZkJNSxl6HUelQQCfYoQs
CAEwyouvaN7JUsU9cSGCB+A=
=Iahj
-END PGP SIGNATURE-


Re: [vchkpw] Help! /var/qmail removed

2005-09-19 Thread John Simpson

On 2005-09-19, at 1406, Matt Brookings wrote:


I just wanted to follow this posting up with a script that handles
hashed domains directories.  It's a little longer the previous one,
and may be a little fishy on older bash shells, but it should work
on any newer systems.  If you use it, let me know how it goes,
or any changes you feel should be made.

As the comment says at the top, you must name this script gen- 
hashed.sh

since it calls itself for recursion through the hashed directories,
and the script should be copied to ~vpopmail/domains and executed  
there.


is there a reason you couldn't have it recursively run itself using  
"$0" instead of forcing a fixed name? does it not work this way, or  
is this a testing version and not meant to be a finished product yet?


also, you're hard-coding the numeric uid/gid for the vpopmail user...  
you can do this at the beginning with


VU=`id -u vpopmail`
VG=`id -g vpopmail`

then use ${VU} and ${VG} instead of 89 when generating the assign file.

i've found it dangerous to make too many assumptions about how and  
where a program is run... i have a queue repair script, and early  
versions made the assumption that the bucket count was 23- somebody  
with a different bucket count ran it on their queue without reading  
the directions, and ended up causing more damage instead of fixing  
anything. i ended up having it call "qmail-showctl | grep split:" to  
use the correct count now...


i've run into the same thing with qmailadmin and vqadmin, and even  
went so far as to write a patch for vqadmin (which has been ignored  
by inter7 for two years- maybe mentioning it again here will make  
somebody look at it? visit http://qmail.jms1.net/ and search for  
"vqadmin" to see the patch.)


--
| John M. Simpson - KG4ZOW - Programmer At Large |
| http://www.jms1.net/   <[EMAIL PROTECTED]> |
--
| Mac OS X proves that it's easier to make UNIX  |
| pretty than it is to make Windows secure.  |
--




PGP.sig
Description: This is a digitally signed message part


Re: [vchkpw] Help! /var/qmail removed

2005-09-19 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jan-Willem Regeer wrote:
> 
> On Aug 8, 2005, at 4:52 PM, Matt Brookings wrote:
> 
> Rick Macdougall wrote:
> | Matt Brookings wrote:
> |> |
> |> | #!/bin/sh
> |> | #
> |> | # 06/21/05
> |> | # <[EMAIL PROTECTED]>
> |> | #
> |> | # Using vpopmail/domains directory, and locals file,
> |> | # generate rcpthosts, virtualdomains, and users/assign
> |> | #
> |> |
> |> | rm -f assign rcpthosts virtualdomains
> |> |
> |> | cat /var/qmail/control/locals > rcpthosts
> |> |
> |> | for i in *; do
> |> | ~if [ ! -d $i ]; then
> |> | ~continue;
> |> | ~fi
> |> |
> |> | ~echo "+$i-:$i:89:89:/home/vpopmail/domains/$i:-::" >>
> assign
> |> | ~echo "$i" >> rcpthosts
> |> | ~echo "$i:$i" >> virtualdomains
> |> | done
> |> |
> |> | echo "." >> assign

I just wanted to follow this posting up with a script that handles
hashed domains directories.  It's a little longer the previous one,
and may be a little fishy on older bash shells, but it should work
on any newer systems.  If you use it, let me know how it goes,
or any changes you feel should be made.

As the comment says at the top, you must name this script gen-hashed.sh
since it calls itself for recursion through the hashed directories,
and the script should be copied to ~vpopmail/domains and executed there.

Again, let me know how it goes!

#!/bin/sh
#
# Generate control files from hashed
# vpopmail domain tree.  Should be run
# from ~vpopmail/domains directory,
# and script should be named gen-hashed.sh
#
# <[EMAIL PROTECTED]>
#

SUB=""

rm -f users.assign control.rcpthosts control.virtualdomains

if [ $# -eq 1 ]; then
CPWD=$PWD
SUB=$1/
cd $1
fi

for i in *; do
if [ ! -d $i ]; then
continue
fi

if [ ${#i} -eq 1 ]; then
~vpopmail/domains/gen-hashed.sh $i
continue
fi


if [ "$CPWD" != "" ]; then
CPWD="${CPWD}/"
fi

echo "+$i-:$i:89:89:$PWD/$i:-::" >> ${CPWD}users.assign
echo "$i:$i" >> ${CPWD}control.virtualdomains
echo "$i" >> ${CPWD}control.rcpthosts
done

if [ "$SUB" != "" ]; then
cd $CPWD
fi

if [ $# -eq 0 ]; then
echo "." >> ${CPWD}users.assign
fi

- --
/*
Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key B7B54216
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDLv4zhzYRRre1QhYRAiRFAJ4nah4+RVzvG9bWJGOLaBD4aj580gCeNtTV
k5cgtP2DJL5DE8+uJaZWmvc=
=Uis0
-END PGP SIGNATURE-


Re: [vchkpw] Help! /var/qmail removed

2005-08-23 Thread Jan-Willem Regeer


On Aug 8, 2005, at 4:52 PM, Matt Brookings wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rick Macdougall wrote:
| Matt Brookings wrote:
|
|> -BEGIN PGP SIGNED MESSAGE-
|> Hash: SHA1
|>
|> Matt Brookings wrote:
|> | Timothy Arnold wrote:
|> | |
|> | |> If you have your qmail source tree cd into it and type
|> | |> make setup check
|> | |>
|> | |> You will probably have to re-install vpopmail and qmailadmin 
as well

|> | |>
|> | |> If not you will have to rebuild from scratch ;-(
|> | |>
|> | |
|> | | Hmm, how do I generate all of the virtualdomains, rcpthosts, 
append,

|> | | assign etc for the vpopmail hosted domains?
|> | |
|> | | Cheers
|> | | Tim.
|> | |
|> | |
|> | |
|> |
|> | #!/bin/sh
|> | #
|> | # 06/21/05
|> | # <[EMAIL PROTECTED]>
|> | #
|> | # Using vpopmail/domains directory, and locals file,
|> | # generate rcpthosts, virtualdomains, and users/assign
|> | #
|> |
|> | rm -f assign rcpthosts virtualdomains
|> |
|> | cat /var/qmail/control/locals > rcpthosts
|> |
|> | for i in *; do
|> | ~if [ ! -d $i ]; then
|> | ~continue;
|> | ~fi
|> |
|> | ~echo "+$i-:$i:89:89:/home/vpopmail/domains/$i:-::" >> 
assign

|> | ~echo "$i" >> rcpthosts
|> | ~echo "$i:$i" >> virtualdomains
|> | done
|> |
|> | echo "." >> assign
|> |
|> |
|> |
|>
|> Change into the vpopmail domains directory, and create
|> this script.  Edit the 89:89 part to proper uid/gid of
|> vpopmail:vchkpw.  Then run the script and move the created
|> control files into your qmail directories.  Run
|> /var/qmail/bin/qmail-newu, and you're all set.
|
|
| Hi,
|
| Except you'll miss domains that are hashed.
|
| Something like
|
| vpopbull -n | cut -d "@" -f 2 | sort | uniq
|
| will work better except you'll have to manually weed out any domain
| aliases.
|
| Regards,
|
| Rick

Of course, but chances someone who wiped their /var/qmail
has enough domains to hash? :)


- --
/*
~Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key B7B54216
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFC93G8hzYRRre1QhYRAom0AJwOW077jG0g+lnGwvjbYqSrfWyoTACfQDJU
+HDkIoh/GWFLtVO1rb3jNWI=
=NMoC
-END PGP SIGNATURE-




Well, i knew a sysadmin with over 1,000 domains who failed to remember 
to add a . to a rm -rf, causing him to wipe out most of his drives 
before he noticed his error. rm -rf /* instead of rm -rf ./*. vpopmail 
would have been hashing at 1,000 domains.


Jan-Willem Regeer

This message is authored under the license which can be found at 
http://x-istence.com/LICENSE


smime.p7s
Description: S/MIME cryptographic signature


Re: [vchkpw] Help! /var/qmail removed

2005-08-09 Thread Timothy Arnold

Matt,

Worked a treat - thanks for that!

Tim


- Original Message - 
From: "Matt Brookings" <[EMAIL PROTECTED]>

To: 
Sent: Monday, August 08, 2005 3:39 PM
Subject: Re: [vchkpw] Help! /var/qmail removed



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matt Brookings wrote:
| Timothy Arnold wrote:
| |
| |> If you have your qmail source tree cd into it and type
| |> make setup check
| |>
| |> You will probably have to re-install vpopmail and qmailadmin as well
| |>
| |> If not you will have to rebuild from scratch ;-(
| |>
| |
| | Hmm, how do I generate all of the virtualdomains, rcpthosts, append,
| | assign etc for the vpopmail hosted domains?
| |
| | Cheers
| | Tim.
| |
| |
| |
|
| #!/bin/sh
| #
| # 06/21/05
| # <[EMAIL PROTECTED]>
| #
| # Using vpopmail/domains directory, and locals file,
| # generate rcpthosts, virtualdomains, and users/assign
| #
|
| rm -f assign rcpthosts virtualdomains
|
| cat /var/qmail/control/locals > rcpthosts
|
| for i in *; do
| ~if [ ! -d $i ]; then
| ~continue;
| ~fi
|
| ~echo "+$i-:$i:89:89:/home/vpopmail/domains/$i:-::" >> assign
| ~echo "$i" >> rcpthosts
| ~echo "$i:$i" >> virtualdomains
| done
|
| echo "." >> assign
|
|
|

Change into the vpopmail domains directory, and create
this script.  Edit the 89:89 part to proper uid/gid of
vpopmail:vchkpw.  Then run the script and move the created
control files into your qmail directories.  Run
/var/qmail/bin/qmail-newu, and you're all set.
- --
/*
~Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key B7B54216
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFC926/hzYRRre1QhYRAh51AJ9aN7sJCYHyQGl/vW32IKqlOGaVPgCfTxW4
vagzr9lafE7Arc9JPLXclZI=
=GJdx
-END PGP SIGNATURE-





Re: [vchkpw] Help! /var/qmail removed

2005-08-08 Thread Matt Brookings

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rick Macdougall wrote:
| Matt Brookings wrote:
|
|> -BEGIN PGP SIGNED MESSAGE-
|> Hash: SHA1
|>
|> Matt Brookings wrote:
|> | Timothy Arnold wrote:
|> | |
|> | |> If you have your qmail source tree cd into it and type
|> | |> make setup check
|> | |>
|> | |> You will probably have to re-install vpopmail and qmailadmin as well
|> | |>
|> | |> If not you will have to rebuild from scratch ;-(
|> | |>
|> | |
|> | | Hmm, how do I generate all of the virtualdomains, rcpthosts, append,
|> | | assign etc for the vpopmail hosted domains?
|> | |
|> | | Cheers
|> | | Tim.
|> | |
|> | |
|> | |
|> |
|> | #!/bin/sh
|> | #
|> | # 06/21/05
|> | # <[EMAIL PROTECTED]>
|> | #
|> | # Using vpopmail/domains directory, and locals file,
|> | # generate rcpthosts, virtualdomains, and users/assign
|> | #
|> |
|> | rm -f assign rcpthosts virtualdomains
|> |
|> | cat /var/qmail/control/locals > rcpthosts
|> |
|> | for i in *; do
|> | ~if [ ! -d $i ]; then
|> | ~continue;
|> | ~fi
|> |
|> | ~echo "+$i-:$i:89:89:/home/vpopmail/domains/$i:-::" >> assign
|> | ~echo "$i" >> rcpthosts
|> | ~echo "$i:$i" >> virtualdomains
|> | done
|> |
|> | echo "." >> assign
|> |
|> |
|> |
|>
|> Change into the vpopmail domains directory, and create
|> this script.  Edit the 89:89 part to proper uid/gid of
|> vpopmail:vchkpw.  Then run the script and move the created
|> control files into your qmail directories.  Run
|> /var/qmail/bin/qmail-newu, and you're all set.
|
|
| Hi,
|
| Except you'll miss domains that are hashed.
|
| Something like
|
| vpopbull -n | cut -d "@" -f 2 | sort | uniq
|
| will work better except you'll have to manually weed out any domain
| aliases.
|
| Regards,
|
| Rick

Of course, but chances someone who wiped their /var/qmail
has enough domains to hash? :)


- --
/*
~Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key B7B54216
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFC93G8hzYRRre1QhYRAom0AJwOW077jG0g+lnGwvjbYqSrfWyoTACfQDJU
+HDkIoh/GWFLtVO1rb3jNWI=
=NMoC
-END PGP SIGNATURE-


Re: [vchkpw] Help! /var/qmail removed

2005-08-08 Thread Rick Macdougall

Matt Brookings wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matt Brookings wrote:
| Timothy Arnold wrote:
| |
| |> If you have your qmail source tree cd into it and type
| |> make setup check
| |>
| |> You will probably have to re-install vpopmail and qmailadmin as well
| |>
| |> If not you will have to rebuild from scratch ;-(
| |>
| |
| | Hmm, how do I generate all of the virtualdomains, rcpthosts, append,
| | assign etc for the vpopmail hosted domains?
| |
| | Cheers
| | Tim.
| |
| |
| |
|
| #!/bin/sh
| #
| # 06/21/05
| # <[EMAIL PROTECTED]>
| #
| # Using vpopmail/domains directory, and locals file,
| # generate rcpthosts, virtualdomains, and users/assign
| #
|
| rm -f assign rcpthosts virtualdomains
|
| cat /var/qmail/control/locals > rcpthosts
|
| for i in *; do
| ~if [ ! -d $i ]; then
| ~continue;
| ~fi
|
| ~echo "+$i-:$i:89:89:/home/vpopmail/domains/$i:-::" >> assign
| ~echo "$i" >> rcpthosts
| ~echo "$i:$i" >> virtualdomains
| done
|
| echo "." >> assign
|
|
|

Change into the vpopmail domains directory, and create
this script.  Edit the 89:89 part to proper uid/gid of
vpopmail:vchkpw.  Then run the script and move the created
control files into your qmail directories.  Run
/var/qmail/bin/qmail-newu, and you're all set.


Hi,

Except you'll miss domains that are hashed.

Something like

vpopbull -n | cut -d "@" -f 2 | sort | uniq

will work better except you'll have to manually weed out any domain aliases.

Regards,

Rick



Re: [vchkpw] Help! /var/qmail removed

2005-08-08 Thread Matt Brookings

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matt Brookings wrote:
| Timothy Arnold wrote:
| |
| |> If you have your qmail source tree cd into it and type
| |> make setup check
| |>
| |> You will probably have to re-install vpopmail and qmailadmin as well
| |>
| |> If not you will have to rebuild from scratch ;-(
| |>
| |
| | Hmm, how do I generate all of the virtualdomains, rcpthosts, append,
| | assign etc for the vpopmail hosted domains?
| |
| | Cheers
| | Tim.
| |
| |
| |
|
| #!/bin/sh
| #
| # 06/21/05
| # <[EMAIL PROTECTED]>
| #
| # Using vpopmail/domains directory, and locals file,
| # generate rcpthosts, virtualdomains, and users/assign
| #
|
| rm -f assign rcpthosts virtualdomains
|
| cat /var/qmail/control/locals > rcpthosts
|
| for i in *; do
| ~if [ ! -d $i ]; then
| ~continue;
| ~fi
|
| ~echo "+$i-:$i:89:89:/home/vpopmail/domains/$i:-::" >> assign
| ~echo "$i" >> rcpthosts
| ~echo "$i:$i" >> virtualdomains
| done
|
| echo "." >> assign
|
|
|

Change into the vpopmail domains directory, and create
this script.  Edit the 89:89 part to proper uid/gid of
vpopmail:vchkpw.  Then run the script and move the created
control files into your qmail directories.  Run
/var/qmail/bin/qmail-newu, and you're all set.
- --
/*
~Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key B7B54216
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFC926/hzYRRre1QhYRAh51AJ9aN7sJCYHyQGl/vW32IKqlOGaVPgCfTxW4
vagzr9lafE7Arc9JPLXclZI=
=GJdx
-END PGP SIGNATURE-


Re: [vchkpw] Help! /var/qmail removed

2005-08-08 Thread Matt Brookings

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Timothy Arnold wrote:
|
|> If you have your qmail source tree cd into it and type
|> make setup check
|>
|> You will probably have to re-install vpopmail and qmailadmin as well
|>
|> If not you will have to rebuild from scratch ;-(
|>
|
| Hmm, how do I generate all of the virtualdomains, rcpthosts, append,
| assign etc for the vpopmail hosted domains?
|
| Cheers
| Tim.
|
|
|

#!/bin/sh
#
# 06/21/05
# <[EMAIL PROTECTED]>
#
# Using vpopmail/domains directory, and locals file,
# generate rcpthosts, virtualdomains, and users/assign
#

rm -f assign rcpthosts virtualdomains

cat /var/qmail/control/locals > rcpthosts

for i in *; do
~if [ ! -d $i ]; then
~continue;
~fi

~echo "+$i-:$i:89:89:/home/vpopmail/domains/$i:-::" >> assign
~echo "$i" >> rcpthosts
~echo "$i:$i" >> virtualdomains
done

echo "." >> assign



- --
/*
~Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key B7B54216
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFC9257hzYRRre1QhYRAibjAJ46T1+8TKMC1RhDFpghdLZOGor7KwCfZ5zA
YM3eS31ZqFR57IVdGfqO3/k=
=0mYG
-END PGP SIGNATURE-


Re: [vchkpw] Help! /var/qmail removed

2005-08-08 Thread Bob Hutchinson
On Monday 08 Aug 2005 13:22, Timothy Arnold wrote:
> > If you have your qmail source tree cd into it and type
> > make setup check
> >
> > You will probably have to re-install vpopmail and qmailadmin as well
> >
> > If not you will have to rebuild from scratch ;-(
>
> Hmm, how do I generate all of the virtualdomains, rcpthosts, append, assign
> etc for the vpopmail hosted domains?

eek
carefully
you should be able to find the info you need in each 
vpopmail/domains//vpasswd

move the existing  out of the way, parse the vpasswd files and use 
vadddomain and vadduser to rebuild the control files, then overwrite the 
newly created  with the original ones

as you will be replacing the new vpasswd files with the old ones you can use a 
dummy password

good luck, and make backups when you are finished!

>
> Cheers
> Tim.

-- 
-
Bob Hutchinson
Midwales dot com
-


Re: [vchkpw] Help! /var/qmail removed

2005-08-08 Thread Rick Widmer



Timothy Arnold wrote:

Hello!

I am in need of some assistance! I have managed to lose /var/qmail and 
all I have left is /home/vpopmail and the mysql database. What is the 
easiest way to recreate all of the required qmail files??


You might want to see if anyone else has suggestions, but if you have a
relatively standard installation...

Move the /home/vpopmail directory somewhere else.  (/home/vpopmail.old)

Move the mysql database (/var/lib/mysql/vpopmail?) somewhere else.

Reinstall qmail and vpopmail following the same toaster you used before.

ls /home/vpopmail.old/domains and execute vadddomain for each domain.

Replace the original /home/vpopmail and database directory.




Re: [vchkpw] Help! /var/qmail removed

2005-08-08 Thread Timothy Arnold





From your backup!?





which I don't have :(very very stupid I know



Re: [vchkpw] Help! /var/qmail removed

2005-08-08 Thread ISP Lists
>
>> If you have your qmail source tree cd into it and type
>> make setup check
>>
>> You will probably have to re-install vpopmail and qmailadmin as well
>>
>> If not you will have to rebuild from scratch ;-(
>>
>
> Hmm, how do I generate all of the virtualdomains, rcpthosts, append,
> assign
> etc for the vpopmail hosted domains?
>
> Cheers
> Tim.
>
>
>
>From your backup!?




Re: [vchkpw] Help! /var/qmail removed

2005-08-08 Thread Timothy Arnold



If you have your qmail source tree cd into it and type
make setup check

You will probably have to re-install vpopmail and qmailadmin as well

If not you will have to rebuild from scratch ;-(



Hmm, how do I generate all of the virtualdomains, rcpthosts, append, assign 
etc for the vpopmail hosted domains?


Cheers
Tim. 





Re: [vchkpw] Help! /var/qmail removed

2005-08-08 Thread Bob Hutchinson
On Monday 08 Aug 2005 12:48, Timothy Arnold wrote:
> Hello!
>
> I am in need of some assistance! I have managed to lose /var/qmail and all
> I have left is /home/vpopmail and the mysql database. What is the easiest
> way to recreate all of the required qmail files??
If you have your qmail source tree cd into it and type
make setup check

You will probably have to re-install vpopmail and qmailadmin as well

If not you will have to rebuild from scratch ;-(



>
> Cheers
> Tim.

-- 
-
Bob Hutchinson
Midwales dot com
-


[vchkpw] Help! /var/qmail removed

2005-08-08 Thread Timothy Arnold

Hello!

I am in need of some assistance! I have managed to lose /var/qmail and all I 
have left is /home/vpopmail and the mysql database. What is the easiest way 
to recreate all of the required qmail files??


Cheers
Tim. 





Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-20 Thread tonix (Antonio Nati)

At 18.36 17/06/2005, you wrote:

Hi Tonino, thanks for answering.


Documentation says it works with ezmlm and mailman.
Please, read the documentation!
Tonino


Dude, let me tell you: I ran a 'find ezmlm' in your whole website and the 
only matches I found were these statements (shown bellow) explaining about 
settings inside chkuser_settings.h file:


http://www.interazioni.it/opensource/chkuser/features.html

Tonino




Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread Casey Allen Shobe
On Friday 17 June 2005 19:56, Casey Allen Shobe wrote:
> On Friday 17 June 2005 15:47, Bruno Negrão wrote:
> > > Documentation is wrong (I'll correct it soon): '.' and '='
> > > are accepted in format controls.
>
> Sorry I didn't read this message before my last reply asking
> about this...
>
> > Guys, with the "valid characters" now being:
> > user=   [a-z0-9_-.=]
> > domain  =   [a-z0-9-.=] with not consecutive "-.", not
> > leading or ending "-."
> >
> > Maybe now they are cover the majority of the real life
> > messages, is that right?
>
> Domains ending with . are perfectly valid (and technically more
> correct as . is the root domain).  I don't know how common it is
> for people to type a trailing dot on email addresses, but I do it
> all the time (and on this message too, just to prove a point).

Actually, let me resend this to the list without the trailing dot, 
in case you might not get it otherwise!!  (yes, this definitely 
needs to be accomodated for, I would say)

Cheers,
-- 
Casey Allen Shobe | http://casey.shobe.info
[EMAIL PROTECTED] | cell 425-443-4653
AIM & Yahoo:  SomeLinuxGuy | ICQ:  1494523
SeattleServer.com, Inc. | http://www.seattleserver.com


Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread Casey Allen Shobe
On Friday 17 June 2005 15:47, Bruno Negrão wrote:
> > Documentation is wrong (I'll correct it soon): '.' and '=' are
> > accepted in format controls.

Sorry I didn't read this message before my last reply asking about 
this...

> Guys, with the "valid characters" now being:
> user=   [a-z0-9_-.=]
> domain  =   [a-z0-9-.=] with not consecutive "-.", not
> leading or ending "-."
>
> Maybe now they are cover the majority of the real life messages,
> is that right?

Domains ending with . are perfectly valid (and technically more 
correct as . is the root domain).  I don't know how common it is 
for people to type a trailing dot on email addresses, but I do it 
all the time (and on this message too, just to prove a point).

Cheers,
-- 
Casey Allen Shobe | http://casey.shobe.info
[EMAIL PROTECTED] | cell 425-443-4653
AIM & Yahoo:  SomeLinuxGuy | ICQ:  1494523
SeattleServer.com, Inc. | http://www.seattleserver.com


Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread Bruno Negrão

No .???  We have many users who opt for addresses like
[EMAIL PROTECTED]
Tonino (chkuser developer) said that "." and "=" are being allowed and the 
documentation is outdated.


But, despite of this, the main function of chkuser, that is, checking user 
existence before accepting any e-mail is perfect and everybody would like to use 
it.


bnegrao 



Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread Casey Allen Shobe
On Friday 17 June 2005 13:43, Bruno Negrão wrote:
>   a.. CHKUSER_SENDER_FORMAT: checks if the SENDER of each message
> has the username part matching [a-z0-9_-]

No .???  We have many users who opt for addresses like 
[EMAIL PROTECTED]

Cheers,
-- 
Casey Allen Shobe | http://casey.shobe.info
[EMAIL PROTECTED] | cell 425-443-4653
AIM & Yahoo:  SomeLinuxGuy | ICQ:  1494523
SeattleServer.com, Inc. | http://www.seattleserver.com


Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread Bruno Negrão

Thanks Matt,

I removed that part from the document. I let this for the experienced 
administrators to try by themselves.


Bruno
- Original Message - 
From: "Matt Brookings" <[EMAIL PROTECTED]>

To: 
Sent: Friday, June 17, 2005 3:52 PM
Subject: Re: [vchkpw] Help with my Chkuser Installation Guide



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


|
| Also, I'm not asking about just ezmlm and mailman lists. Maybe there are
| other mailing lists or mail mechanisms that require not common
| characters on the RCPT and/or SENDER addresses.

If I remember correctly, the RFCs state that any alphanumeric,
non-control character, and any characters not used in message
structure may be used inside the local portion of an address.
This includes characters such as '*', '&', '{', and so on.
While these are not 'common' characters, they certianly should
not be rejected.

- --
/*
~Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key 7D7E5F37
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCsxwD/pZz8n1+XzcRAjHWAJ4yUU5qScnfWDgqFOu1iTWJnBEdAQCdH6Vf
b3mxgZykox8W/PlcG8Gt/MA=
=A4po
-END PGP SIGNATURE-





Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread Matt Brookings

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


|
| Also, I'm not asking about just ezmlm and mailman lists. Maybe there are
| other mailing lists or mail mechanisms that require not common
| characters on the RCPT and/or SENDER addresses.

If I remember correctly, the RFCs state that any alphanumeric,
non-control character, and any characters not used in message
structure may be used inside the local portion of an address.
This includes characters such as '*', '&', '{', and so on.
While these are not 'common' characters, they certianly should
not be rejected.

- --
/*
~Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key 7D7E5F37
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCsxwD/pZz8n1+XzcRAjHWAJ4yUU5qScnfWDgqFOu1iTWJnBEdAQCdH6Vf
b3mxgZykox8W/PlcG8Gt/MA=
=A4po
-END PGP SIGNATURE-


Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread Bruno Negrão

Hi Tonino, thanks for answering.


Documentation says it works with ezmlm and mailman.
Please, read the documentation!
Tonino


Dude, let me tell you: I ran a 'find ezmlm' in your whole website and the only 
matches I found were these statements (shown bellow) explaining about settings 
inside chkuser_settings.h file:


CHKUSER_ENABLE_EZMLM_LISTS 2.0.7defined
   Enables checking of EZMLM mailing lists.
   In versions 2.0.5 and 2.0.6 it was named CHKUSER_ENABLE_LISTS.
CHKUSER_EZMLM_DASH 2.0.5 defined'-'
   Defines the character used to start the extensions of mailing 
lists.

   [must always be defined if  CHKUSER_ENABLE_LISTS is defined]


Are you saying that one that never heard about chkuser before would read all 
that documentation and then find these statements in the middle of > 50 settings 
he never had seen so far and then conclude logically:


[start logic]
"Oh! (exclamation of a logical insight);

IF I read 30 lines above that chkuser has a  CHKUSER_RCPT_FORMAT feature to 
block strange patterns in the mail addresses;


AND now I read that it contains a CHKUSER_ENABLE_EZMLM_LISTS feature to enable 
ezmlm lists;


THEN chkuser's CHKUSER_RCPT_FORMAT won't mess with CHKUSER_ENABLE_EZMLM_LISTS;

It's logical!!";
[end logic]

(are you sure?)

I don't think so. I would never grasp this without asking on the mailing list. I 
think you could and a note on this somewhere close to the CHKUSER_RCPT_FORMAT 
and CHKUSER_SENDER_FORMAT documentation.


Well, it's just my opinion.

Also, I'm not asking about just ezmlm and mailman lists. Maybe there are other 
mailing lists or mail mechanisms that require not common characters on the RCPT 
and/or SENDER addresses.


Do you already know about an issue on this?

Best regards,
bruno 



Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread tonix (Antonio Nati)

At 16.47 17/06/2005, you wrote:

Tonino, are these characters enough even in those cases when somebody 
wants to, for example, send a confirmation reply e-mail to some automatic 
procedure? Like, confirming a subscribe message for a mailing list or 
something like that. How were your tests?


Documentation says it works with ezmlm and mailman.

Please, read the documentation!

Ciao,

Tonino


Regards,
bnegrao





Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread Jeremy Kitchen
On Friday 17 June 2005 08:43 am, Bruno Negrão wrote:
> Hi guys,
>
> I'm editing my Simscan + ClamAV + Chkuser installation guide at:
> http://www.qmailwiki.org/Simscan/Related_Docs/Simscan_ClamAV_Chkuser_Instal
>lation_Guide
>
> And I added a new part where I persuade the reader to enable some of
> chkuser's features that came disabled by default. To persuade the reader, I
> make some comments of the usefulness of each feature.
>
> I'd like you to read and criticize my comments to prevent me teaching
> bullshit to the others.
>
> The text is this bellow:
>
> ---
>
> Enable some nice Chkuser features [OPTIONAL]
>
> Chkuser has disabled by default some of it's nice features:
>
>   a.. CHKUSER_SENDER_FORMAT: checks if the SENDER of each message has the
> username part matching [a-z0-9_-], and the domain part matching [a-z0-9-.]
> with not consecutive "-.", not leading or ending "-." ==> Great for
> identifying spam. a.. CHKUSER_RCPT_FORMAT: Equals to the above checking,
> but for the RCPT of each message. Good to prevent your users to send crap
> to the net.

doesn't this block bounces?  I seem to recall one time where this was enabled 
by default and was blocking all bounce messages, which is a VERY bad thing.

>   a.. CHKUSER_SENDER_MX: Checks if the SENDER domain has a valid MX
> configured for it, thus, discovering fake domain names. Great for
> identifying spam. a.. CHKUSER_RCPT_MX: Checks if the RCPT domain has a
> valid MX configured for it. Good to discover "typos" your users do when
> sending e-mails.

the latter seems less useful than the former, however it shouldn't cause any 
performance problems.

> To enable these features, we have to edit the chkuser_setting.h file and
> uncomment them.
>
> vi chkuser_settings.h

nano? *ducks*  a lot of new users would get stuck in vi, so I would recommend 
saying nano or pico there, advanced users will recognize this as a text 
editor and use their editor of choice.

I know the first time I got in vi by accident I was like "wtf how do i get out 
of this thing!??" :)

> Search and uncomment the line for each feature:
>
> /* #define CHKUSER_RCPT_FORMAT */
> #define CHKUSER_RCPT_FORMAT
> /* #define CHKUSER_RCPT_MX */
> #define CHKUSER_RCPT_MX
> /* #define CHKUSER_SENDER_FORMAT */
> #define CHKUSER_SENDER_FORMAT
> /* #define CHKUSER_SENDER_MX */
> #define CHKUSER_SENDER_MX
> Save the chkuser_settings.h file with the above modifications.

sounds good :)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpQ9uir5OBDj.pgp
Description: PGP signature


Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread =?iso-8859-1?Q?Bruno_Negr=E3o?=
But now I looking closely to this check I'm recalling some of my customers 
like to have e-mails of the format: [EMAIL PROTECTED] I't seems that 
this check would block my usernames with the 'user.lastname' syntax, since it 
doesn't accept a '.' character in the USER part. Is this customizable? If it's 
not, this feature does not work even for me!!


Documentation is wrong (I'll correct it soon): '.' and '=' are accepted in 
format controls.

Tonino
Ahnn, good... Hi tonino. Fix your documentation. You know that it's wrong even 
inside the chkuser_settings.h file, right?


Guys, with the "valid characters" now being:
user=   [a-z0-9_-.=]
domain  =   [a-z0-9-.=] with not consecutive "-.", not leading or ending 
"-."


Maybe now they are cover the majority of the real life messages, is that right?

Tonino, are these characters enough even in those cases when somebody wants to, 
for example, send a confirmation reply e-mail to some automatic procedure? Like, 
confirming a subscribe message for a mailing list or something like that. How 
were your tests?


Regards,
bnegrao



Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread Matt Brookings

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruno Negrão wrote:
| Hi Matt, thanks for answering.
|
|> |  a.. CHKUSER_SENDER_FORMAT: checks if the SENDER of each message has
|> the
|> | username part matching [a-z0-9_-], and the domain part matching
|> | [a-z0-9-.] with not consecutive "-.", not leading or ending "-." ==>
|> | Great for identifying spam.
|>
|> This really doesn't do much to identify spam.  In fact, the only purpose
|> it would tend to serve, is to limit the users on your system to
|> traditional email addresses, which could, ironically, make your system
|> more easily spammed.
|
| When the SENDER is a local user, I have to agree with what you say.
|
| But when the SENDER is a remote user, specially a spammer, this check
| will block all those weird fake addresses the spammers like to use,
| that's why
| I told this feature was good to block spam. Can you comment on this?
| Would this
| case worth to enable this feature?

Basically, you're breaking RFCs with the idea that somehow this will
protect your system from addresses only a spammer would use.  On the
same token, you could also restrict the letter 'x' citing that real
people generally don't have an x in their names.  It really offers
no extra protection, and it breaks RFCs.  If I try to send you a piece
of mail from my non-standard, wacky address containing characters most
people have never seen in an email address, you're going to reject it.

|
| But now I looking closely to this check I'm recalling some of my
| customers like to have e-mails of the format: [EMAIL PROTECTED]
| I't seems that this check would block my usernames with the
| 'user.lastname' syntax, since it doesn't accept a '.' character in the
| USER part. Is this customizable? If it's not, this feature does not work
| even for me!!

Address names are quite limited already, there's no need to further
limit them.  I recommend against use of this feature.

|
|
|> |  a.. CHKUSER_RCPT_FORMAT: Equals to the above checking, but for the
|> RCPT
|> | of each message. Good to prevent your users to send crap to the net.
|>
|> Same as CHKUSER_SENDER_FORMAT except here, if your users try to relay
|> mail to a non-traditional email address, you will find yourself with
|> a phone call from a curious customer :)
|
| Hmmm, oh no!! :-) So I see no utility at all to this feature.
|
|
|> |  a.. CHKUSER_SENDER_MX: Checks if the SENDER domain has a valid MX
|> | configured for it, thus, discovering fake domain names. Great for
|> | identifying spam.
|>
|> Unfortunately, while we'd all love to force everyone to have an
|> MX record, the fact remains that some hosts just dont have them.
|> Connecting directly to the host named should be left available,
|> for now.
|
| I didn't understand what you said in "Connecting directly to the host
| named should be left available, for now".
| Can you explain it better?

Since some mail (and DNS) administrators sometimes neglect to add
an MX record for their domain, if you try to email [EMAIL PROTECTED],
and example.com has not published MX records, most MTAs will take
the step to try to connect directly to example.com's A record IP
if one exists.

|
|> Also, being dictionary attacked could leave you making a good
|> deal of DNS lookups, which can sometimes be slow.
|
| Yes...
|
| I'm seeing there are some good reasons for these features being
| commented out...
|
| Regards,
| bnegrao
|
|


- --
/*
~Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key 7D7E5F37
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCsuz+/pZz8n1+XzcRAvOjAKCFtoh/HlCJUdxoPE6Nsyx+rJPzBwCfV3Uo
m+0MseXOizxfbRkU07l/rNM=
=xygd
-END PGP SIGNATURE-


Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread tonix (Antonio Nati)

At 15.49 17/06/2005, you wrote:

But now I looking closely to this check I'm recalling some of my customers 
like to have e-mails of the format: [EMAIL PROTECTED] I't seems 
that this check would block my usernames with the 'user.lastname' syntax, 
since it doesn't accept a '.' character in the USER part. Is this 
customizable? If it's not, this feature does not work even for me!!


Documentation is wrong (I'll correct it soon): '.' and '=' are accepted in 
format controls.


Ciao,

Tonino



Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread =?iso-8859-1?Q?Bruno_Negr=E3o?=

Hi Matt, thanks for answering.


|  a.. CHKUSER_SENDER_FORMAT: checks if the SENDER of each message has the
| username part matching [a-z0-9_-], and the domain part matching
| [a-z0-9-.] with not consecutive "-.", not leading or ending "-." ==>
| Great for identifying spam.

This really doesn't do much to identify spam.  In fact, the only purpose
it would tend to serve, is to limit the users on your system to
traditional email addresses, which could, ironically, make your system
more easily spammed.

When the SENDER is a local user, I have to agree with what you say.

But when the SENDER is a remote user, specially a spammer, this check
will block all those weird fake addresses the spammers like to use, that's why
I told this feature was good to block spam. Can you comment on this? Would this
case worth to enable this feature?

But now I looking closely to this check I'm recalling some of my customers like 
to have e-mails of the format: [EMAIL PROTECTED] I't seems that this 
check would block my usernames with the 'user.lastname' syntax, since it doesn't 
accept a '.' character in the USER part. Is this customizable? If it's not, this 
feature does not work even for me!!




|  a.. CHKUSER_RCPT_FORMAT: Equals to the above checking, but for the RCPT
| of each message. Good to prevent your users to send crap to the net.

Same as CHKUSER_SENDER_FORMAT except here, if your users try to relay
mail to a non-traditional email address, you will find yourself with
a phone call from a curious customer :)

Hmmm, oh no!! :-) So I see no utility at all to this feature.



|  a.. CHKUSER_SENDER_MX: Checks if the SENDER domain has a valid MX
| configured for it, thus, discovering fake domain names. Great for
| identifying spam.

Unfortunately, while we'd all love to force everyone to have an
MX record, the fact remains that some hosts just dont have them.
Connecting directly to the host named should be left available,
for now.
I didn't understand what you said in "Connecting directly to the host named 
should be left available, for now".

Can you explain it better?


Also, being dictionary attacked could leave you making a good
deal of DNS lookups, which can sometimes be slow.

Yes...

I'm seeing there are some good reasons for these features being commented out...

Regards,
bnegrao 



Re: [vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread Matt Brookings

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruno Negrão wrote:
|  a.. CHKUSER_SENDER_FORMAT: checks if the SENDER of each message has the
| username part matching [a-z0-9_-], and the domain part matching
| [a-z0-9-.] with not consecutive "-.", not leading or ending "-." ==>
| Great for identifying spam.

This really doesn't do much to identify spam.  In fact, the only purpose
it would tend to serve, is to limit the users on your system to
traditional email addresses, which could, ironically, make your system
more easily spammed.

|  a.. CHKUSER_RCPT_FORMAT: Equals to the above checking, but for the RCPT
| of each message. Good to prevent your users to send crap to the net.

Same as CHKUSER_SENDER_FORMAT except here, if your users try to relay
mail to a non-traditional email address, you will find yourself with
a phone call from a curious customer :)

|  a.. CHKUSER_SENDER_MX: Checks if the SENDER domain has a valid MX
| configured for it, thus, discovering fake domain names. Great for
| identifying spam.

Unfortunately, while we'd all love to force everyone to have an
MX record, the fact remains that some hosts just dont have them.
Connecting directly to the host named should be left available,
for now.

Also, being dictionary attacked could leave you making a good
deal of DNS lookups, which can sometimes be slow.

|  a.. CHKUSER_RCPT_MX: Checks if the RCPT domain has a valid MX
| configured for it. Good to discover "typos" your users do when sending
| e-mails.
|
| To enable these features, we have to edit the chkuser_setting.h file and
| uncomment them.
|
| vi chkuser_settings.h
| Search and uncomment the line for each feature:
|
| /* #define CHKUSER_RCPT_FORMAT */
| #define CHKUSER_RCPT_FORMAT
| /* #define CHKUSER_RCPT_MX */
| #define CHKUSER_RCPT_MX
| /* #define CHKUSER_SENDER_FORMAT */
| #define CHKUSER_SENDER_FORMAT
| /* #define CHKUSER_SENDER_MX */
| #define CHKUSER_SENDER_MX
| Save the chkuser_settings.h file with the above modifications.
|
| ---
|
|
| Regards,
|
| 
| Bruno Negrao - Network Manager
| Engepel Teleinformática. 55-31-34812311
| Belo Horizonte, MG, Brazil
|
|


- --
/*
~Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key 7D7E5F37
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCstpU/pZz8n1+XzcRAs1yAKCR+KnHkYHSy37vf9FLSLB5WHLrHgCfbvVX
YKHXzravxHG1XmyJ3Vm6mHc=
=LCDn
-END PGP SIGNATURE-


[vchkpw] Help with my Chkuser Installation Guide

2005-06-17 Thread =?iso-8859-1?Q?Bruno_Negr=E3o?=

Hi guys,

I'm editing my Simscan + ClamAV + Chkuser installation guide at:
http://www.qmailwiki.org/Simscan/Related_Docs/Simscan_ClamAV_Chkuser_Installation_Guide

And I added a new part where I persuade the reader to enable some of chkuser's 
features that came disabled by default. To persuade the reader, I make some 
comments of the usefulness of each feature.


I'd like you to read and criticize my comments to prevent me teaching bullshit 
to the others.


The text is this bellow:

---

Enable some nice Chkuser features [OPTIONAL]

Chkuser has disabled by default some of it's nice features:

 a.. CHKUSER_SENDER_FORMAT: checks if the SENDER of each message has the 
username part matching [a-z0-9_-], and the domain part matching [a-z0-9-.] with 
not consecutive "-.", not leading or ending "-." ==> Great for identifying spam.
 a.. CHKUSER_RCPT_FORMAT: Equals to the above checking, but for the RCPT of 
each message. Good to prevent your users to send crap to the net.
 a.. CHKUSER_SENDER_MX: Checks if the SENDER domain has a valid MX configured 
for it, thus, discovering fake domain names. Great for identifying spam.
 a.. CHKUSER_RCPT_MX: Checks if the RCPT domain has a valid MX configured for 
it. Good to discover "typos" your users do when sending e-mails.


To enable these features, we have to edit the chkuser_setting.h file and 
uncomment them.


vi chkuser_settings.h
Search and uncomment the line for each feature:

/* #define CHKUSER_RCPT_FORMAT */
#define CHKUSER_RCPT_FORMAT
/* #define CHKUSER_RCPT_MX */
#define CHKUSER_RCPT_MX
/* #define CHKUSER_SENDER_FORMAT */
#define CHKUSER_SENDER_FORMAT
/* #define CHKUSER_SENDER_MX */
#define CHKUSER_SENDER_MX
Save the chkuser_settings.h file with the above modifications.

---


Regards,


Bruno Negrao - Network Manager
Engepel Teleinformática. 55-31-34812311
Belo Horizonte, MG, Brazil 



[vchkpw] Help Required

2005-01-30 Thread santosh.k
Hello, 

  For past couple of years I am using qmail + vpopmail + sqwebmail.
I have installed the same on one machine suse 8.2 and everything
seems to working except qmail-pop3d through tcpserver, whereas the
same qmail-pop3d is working perfectly fine by means of xinetd.
(I have enabled roaming user in vpopmail). It is also brought
to my notice that there are lot of open-smtp.tmp.* files under
/home/vpopmail/etc. Yet another thing which i noted down is
wen l log in as root and while manually running  I am able
to see proper execution of qmail-pop3d 

/var/qmail/bin/qmail-popup test.com /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir 

+OK <[EMAIL PROTECTED]>
user [EMAIL PROTECTED]
+OK
pass sas
+OK
list
+OK
. 

In the meantime when I run the same under tcpserver it says
connection closed foreign host after authentication. But also
it has been noted that if password given is incorrect it gives
authentication failure. 

  Even I have tried logging to system as vpopmail user
and running the same, and found that system is coming back to
command prompt after password authentication in case if results
in success. 

[EMAIL PROTECTED]:/root> /var/qmail/bin/qmail-popup test.com 
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
+OK <[EMAIL PROTECTED]>
user [EMAIL PROTECTED]
+OK
pass sas
[EMAIL PROTECTED]:/root> 

Please let me know how can I come out from this issue. Thanks in advance. 

Santosh 



[vchkpw] Help in defining regex-like addresses in vpopmail

2005-01-20 Thread Gino LV. Ledesma
Hi,

I've been searching the archives and Google for some way to copy
sendmail's virtusertable regex settings but haven't turned out any. Is
it possible to do "regex"-like addresses such that:

[EMAIL PROTECTED] is forwarded/aliased to [EMAIL PROTECTED]

Thanks!


-- 
Gino LV. Ledesma
 // Quote: "They redundantly repeated themselves over and over again
incessantly without end ad infinitum" -- ibid.
http://www.pinoymac.org/


RE: [vchkpw] Help - Vpopmail users auto-create

2004-10-06 Thread Matias Lambert \( Osinet \)
Thanks,
Finally I make a bash script that parse syslog messages and create that
accounts that has valid a domain and IP range.
When the people try again the account was created and with the learn
password feature I solve my problem.
It is not a general solution, but works for my customer.
Thanks for your help!!
  
Matias Lambert
OSInet Telecomunicaciones
Panamá 933 12 E
Capital Federal - Buenos Aires
Argentina - CA1185ACA
Tel & Fax  +54 11 4861 5616
Cel+54 9 11 4429 9469
[EMAIL PROTECTED]
http://www.osinet.com.ar
“I don’t know what kind of weapons will be used in the third world war,
assuming there will be a third world war.  But I can tell you what the 
fourth world war will be fought with sticks and stones.”  Albert Einstein 
-Mensaje original-
De: Tom Collins [mailto:[EMAIL PROTECTED] 
Enviado el: Miércoles, 06 de Octubre de 2004 12:09 p.m.
Para: [EMAIL PROTECTED]
Asunto: Re: [vchkpw] Help - Vpopmail users auto-create

On Oct 5, 2004, at 10:29 PM, Matias Lambert (( Osinet )) wrote:
>  I can manual create the domains, I know that I can configure to learn 
> password, but how can I create the account??? Any idea?

It might be possible to modify code in vchkpw to create the users upon 
POP authentication.

If you're using Courier-IMAP, it will be more difficult -- you'll have 
to modify the authvchkpw module.  It might be possible to modify 
vpopmail.c, but you'd end up creating accounts on inbound messages as 
well.

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

BEGIN:VCARD
VERSION:2.1
N:Lambert;Matias;German
FN:Matias Lambert ( OSInet ) ([EMAIL PROTECTED])
ORG:OSInet TeleComunicaciones
TEL;WORK;VOICE:+54 11 4861 5616
TEL;HOME;VOICE:+54 11 4861 5616
TEL;CELL;VOICE:+54 11 (15) 4429 9469
TEL;WORK;FAX:+54 11 4861 5616
TEL;HOME;FAX:+54 11 4861 5616
ADR;WORK:;;Panamá 933 12 E;Capital Federal;Buenos Aires;C1185ACA;Argentina
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Panam=E1 933 12 E=0D=0ACapital Federal, Buenos Aires C1185ACA=0D=0AArgentina
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20040629T184917Z
END:VCARD


Re: [vchkpw] Help - Vpopmail users auto-create

2004-10-06 Thread Tom Collins
On Oct 5, 2004, at 10:29 PM, Matias Lambert (( Osinet )) wrote:
 I can manual create the domains, I know that I can configure to learn 
password, but how can I create the account??? Any idea?
It might be possible to modify code in vchkpw to create the users upon 
POP authentication.

If you're using Courier-IMAP, it will be more difficult -- you'll have 
to modify the authvchkpw module.  It might be possible to modify 
vpopmail.c, but you'd end up creating accounts on inbound messages as 
well.

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


[vchkpw] Help - Vpopmail users auto-create

2004-10-05 Thread Matias Lambert \( Osinet \)








Hi list,

We have a customer that loose a server with all the
accounts information.

Someone have any patch to auto-create the accounts
when it try to authenticate with pop?

Is for internal use ( no internet connection for pop
), but is something like 2K accounts… 

I can manual create the domains, I know that I can configure
to learn password, but how can I create the account??? Any idea?

Thanks,

  

Matias Lambert

OSInet Telecomunicaciones

Panamá 933 12 E

Capital Federal - Buenos Aires

Argentina - CA1185ACA

Tel & Fax  +54 11 4861 5616

Cel    +54 9 11
4429 9469

[EMAIL PROTECTED]

http://www.osinet.com.ar

“I don’t know what kind of weapons will be
used in the third world war,

assuming there will be a third world war.  But I can
tell you what the 

fourth world war will be fought with sticks and
stones.”  Albert
Einstein 

 






BEGIN:VCARD
VERSION:2.1
N:Lambert;Matias;German
FN:Matias Lambert ( OSInet ) ([EMAIL PROTECTED])
ORG:OSInet TeleComunicaciones
TEL;WORK;VOICE:+54 11 4861 5616
TEL;HOME;VOICE:+54 11 4861 5616
TEL;CELL;VOICE:+54 11 (15) 4429 9469
TEL;WORK;FAX:+54 11 4861 5616
TEL;HOME;FAX:+54 11 4861 5616
ADR;WORK:;;Panamá 933 12 E;Capital Federal;Buenos Aires;C1185ACA;Argentina
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Panam=E1 933 12 E=0D=0ACapital Federal, Buenos Aires C1185ACA=0D=0AArgentina
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20040629T184917Z
END:VCARD


[vchkpw] Help with UCSPI (tcpserver) MySQL Patch & Redhat

2004-10-04 Thread aaron
If your trying to apply the Matt Simerson on a stock redhat/other rpm
based systems you will run into a small problem wrt to the location of
the mysql libraries if you use the distros included mysql RPMs.

The patch can be found at
http://atl.tnpi.biz/internet/mail/toaster/patches/ucspi-tcp-0.88-mysql%2
Brss.patch

D/L and save the patch in a file like vpopmail.patch then run the
following simple command line

perl -pi -e 's/\/usr\/local\//\/usr\//g' vpopmail.patch

Even on moderately loaded vpopmail systems, this patch is extremely
valuable.

Aaron Gee
Network Engineering
Atlantic Net 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.769 / Virus Database: 516 - Release Date: 9/24/2004
 



Re: [vchkpw] HELP! Upgrading to Mysql 4.1 problem

2004-10-01 Thread Robin Bowes

On Fri, October 1, 2004 14:10, [EMAIL PROTECTED] said:
> I've just upgraded to mysql 4.1. Now vpopmail can't find the
> libmysqlclient.so.12 library. When accessing the db I get the error:
>
> "error while loading shared libraries: libmysqlclient.so.12: cannot open
> shared object file: No such file or directory"
>
> I reconfigured and re-compiled vpopmail with original config etc. with no
>  luck.
>
Ron,

You need to install the shared compatibility libraries.

For example, on my Fedora Core 2 box:

[EMAIL PROTECTED] opt]# rpm -qi MySQL-shared-compat
Name: MySQL-shared-compat  Relocations: (not relocatable)
Version : 4.1.4 Vendor: MySQL AB
Release : 0 Build Date: Tue 31 Aug 2004
11:38:37
BST
Install Date: Sun 05 Sep 2004 19:40:15 BST  Build Host: build.mysql.com
Group   : Applications/DatabasesSource RPM:
MySQL-shared-compat-4.1.4-0.nosrc.rpm
Size: 2697506  License: GPL
Signature   : DSA/SHA1, Tue 31 Aug 2004 11:39:18 BST, Key ID 8c718d3b5072e1f5
Packager: Lenz Grimmer <[EMAIL PROTECTED]>
URL : http://www.mysql.com/
Summary : MySQL shared libraries for MySQL 4.1.4 and 3.23.58
Description :
This package includes the shared libraries for both MySQL 3.23.58 and
MySQL 4.1.4. Install this package instead of "MySQL-shared", if you
have applications installed that are dynamically linked against MySQL
3.23.xx but you want to upgrade to MySQL 4.0.xx without breaking the library
dependencies.

R.
--
http://robinbowes.com



[vchkpw] HELP! Upgrading to Mysql 4.1 problem

2004-10-01 Thread adam
I've just upgraded to mysql 4.1. Now vpopmail can't find the
libmysqlclient.so.12 library. When accessing the db I get the error:

"error while loading shared libraries: libmysqlclient.so.12: cannot open
shared object file: No such file or directory"

I reconfigured and re-compiled vpopmail with original config etc. with no
luck.

Please help!

ron



[vchkpw] help with vdelivermail delete usage

2004-08-07 Thread brandon
Hi Guys,

For the vpopmail's .qmail-default syntax "|
/home/vpopmail/bin/vdelivermail '' bounce-no-maibox" has been work fine
together with syntax "| /home/vpopmail/bin/vdelivermail '' delete".  

I do not know if im mailing this to the correct mailling list but just
hope to get some help.

My problem was i do run maildrop from .qmail-default with syntax "|
maildrop maildrop_filter" and with my actual .qmail-default syntax to
another file call .deliver.

My syntax in maildrop_filter is:
SHELL="/bin/sh"
import EXT
import HOST

VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
VPOP=`/usr/bin/head -1 .deliver`

if ( $SIZE < 262144 )
{
   xfilter "/usr/bin/spamc -f -u [EMAIL PROTECTED]"
}
if (/^X-Spam-Status: *YES*/)
{
`test -d $VHOME/Maildir/.SPAM`
if( $RETURNCODE == 1 )
{
`maildirmake $VHOME/Maildir/.SPAM;chown -R
vpopmail.vchkpw $VHOME/Maildir/.SPAM`
if( $RETURNCODE == 1 )
{
  to "$VPOP"
}
else
{
  to "$VHOME/Maildir/.SPAM/"
}
}
else
{
to "$VHOME/Maildir/.SPAM/"
}
exit
}
else
{
to "$VPOP"
exit
}


If my .deliver contains:
| /home/vpopmail/bin/vdelivermail '' delete

my mails will not get delivered and drops back to queue.

Can i know if "| /home/vpopmail/bin/vdelivermail '' delete" works ONLY
in .qmail-default?


Thanks.
./brandon




Re: [vchkpw] Help with VpopMail 5.4.5 install!

2004-08-05 Thread Iain Morrison
Hi Chris,

I just wanted to say thank for your help :-)

I have managed to successfully install VpopMail.

As for why I am still running MySQL 3.23? Now this is a good question! I
guess I have just stuck with the one that comes with RedHat server. For all
that I am running I think that this version will work Okay?! the only work
it will be doing is holding email account details and a small amount of
preference settings.

Anyway, thanks again,

Iain

PS Has the rain stopped with you down south? :-)
- Original Message - 
From: "Chris Pugh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 04, 2004 11:20 PM
Subject: Re: [vchkpw] Help with VpopMail 5.4.5 install!


> Iain,
>
> Vpopmail install can't find the mysql header files.
> Usually in /mysql/include/mysql for a standard
> install.
> ( Could be elsewhere, sorry don't use Redhat. )
>
> Either include them in your PATH, or copy the lot
> to a directory that is in your path, say /usr/bin
> Then the install should wizz through without a hitch.
> HTH.
>
> Incidentally, why are you using MySQL 3.23, since we
> are now on 4.0.20?
>
> Slange!
>
>
> Chris.
>
> PS Greetings from south of the border. ;-)
>
> --- Iain Morrison <[EMAIL PROTECTED]> wrote:
>
> > Hi I am currently trying to install VPopmail 5.4.5
> > and I get the following
> > errors:
> >
> > ---
> >
> > vauth.c:33:19: mysql.h: No such file or directory
> > vauth.c:40: syntax error before "mysql_update"
> > vauth.c:40: warning: type defaults to `int' in
> > declaration of `mysql_update'
> > vauth.c:40: warning: data definition has no type or
> > storage class
> > vauth.c:41: syntax error before "mysql_read_getall"
> > vauth.c:41: warning: type defaults to `int' in
> > declaration of
> > `mysql_read_getall
> > '
> > vauth.c:41: warning: data definition has no type or
> > storage class
> > vauth.c:59: syntax error before '*' token
> > vauth.c:59: warning: type defaults to `int' in
> > declaration of `res_update'
> > vauth.c:59: warning: data definition has no type or
> > storage class
> > vauth.c:60: syntax error before '*' token
> > vauth.c:60: warning: type defaults to `int' in
> > declaration of
> > `res_read_getall'
> > vauth.c:60: warning: data definition has no type or
> > storage class
> > vauth.c:68: syntax error before "row"
> > vauth.c:68: warning: type defaults to `int' in
> > declaration of `row'
> > vauth.c:68: warning: data definition has no type or
> > storage class
> > vauth.c:69: syntax error before "row_getall"
> > vauth.c:69: warning: type defaults to `int' in
> > declaration of `row_getall'
> > vauth.c:69: warning: data definition has no type or
> > storage class
> > vauth.c: In function `vauth_open_update':
> > vauth.c:203: warning: implicit declaration of
> > function `mysql_init'
> > vauth.c:204: warning: implicit declaration of
> > function `mysql_options'
> > vauth.c:204: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared
> > (first use in this
> > function)
> > vauth.c:204: (Each undeclared identifier is reported
> > only once
> > vauth.c:204: for each function it appears in.)
> > vauth.c:207: warning: implicit declaration of
> > function `mysql_real_connect'
> > vauth.c:217: warning: implicit declaration of
> > function `mysql_select_db'
> > vauth.c:221: warning: implicit declaration of
> > function `mysql_query'
> > vauth.c:226: warning: implicit declaration of
> > function `mysql_error'
> > vauth.c:226: warning: format argument is not a
> > pointer (arg 3)
> > vauth.c: In function `vauth_adduser':
> > vauth.c:394: warning: format argument is not a
> > pointer (arg 3)
> > vauth.c: In function `vauth_getpw':
> > vauth.c:444: warning: format argument is not a
> > pointer (arg 3)
> > vauth.c:448: warning: implicit declaration of
> > function `mysql_store_result'
> > vauth.c:448: warning: assignment makes pointer from
> > integer without a cast
> > vauth.c:453: warning: implicit declaration of
> > function `mysql_num_rows'
> > vauth.c:454: warning: implicit declaration of
> > function `mysql_free_result'
> > vauth.c:472: warning: implicit declaration of
> > function `mysql_fetch_row'
> > vauth.c:473: subscripted value is neither array nor
> > pointer
> > -
> >
> > The syste

Re: [vchkpw] Help with VpopMail 5.4.5 install!

2004-08-04 Thread Chris Pugh
Iain,

Vpopmail install can't find the mysql header files.
Usually in /mysql/include/mysql for a standard
install.
( Could be elsewhere, sorry don't use Redhat. )

Either include them in your PATH, or copy the lot
to a directory that is in your path, say /usr/bin  
Then the install should wizz through without a hitch.
HTH.

Incidentally, why are you using MySQL 3.23, since we
are now on 4.0.20?

Slange!


Chris.

PS Greetings from south of the border. ;-)

--- Iain Morrison <[EMAIL PROTECTED]> wrote:

> Hi I am currently trying to install VPopmail 5.4.5
> and I get the following
> errors:
> 
> ---
> 
> vauth.c:33:19: mysql.h: No such file or directory
> vauth.c:40: syntax error before "mysql_update"
> vauth.c:40: warning: type defaults to `int' in
> declaration of `mysql_update'
> vauth.c:40: warning: data definition has no type or
> storage class
> vauth.c:41: syntax error before "mysql_read_getall"
> vauth.c:41: warning: type defaults to `int' in
> declaration of
> `mysql_read_getall
> '
> vauth.c:41: warning: data definition has no type or
> storage class
> vauth.c:59: syntax error before '*' token
> vauth.c:59: warning: type defaults to `int' in
> declaration of `res_update'
> vauth.c:59: warning: data definition has no type or
> storage class
> vauth.c:60: syntax error before '*' token
> vauth.c:60: warning: type defaults to `int' in
> declaration of
> `res_read_getall'
> vauth.c:60: warning: data definition has no type or
> storage class
> vauth.c:68: syntax error before "row"
> vauth.c:68: warning: type defaults to `int' in
> declaration of `row'
> vauth.c:68: warning: data definition has no type or
> storage class
> vauth.c:69: syntax error before "row_getall"
> vauth.c:69: warning: type defaults to `int' in
> declaration of `row_getall'
> vauth.c:69: warning: data definition has no type or
> storage class
> vauth.c: In function `vauth_open_update':
> vauth.c:203: warning: implicit declaration of
> function `mysql_init'
> vauth.c:204: warning: implicit declaration of
> function `mysql_options'
> vauth.c:204: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared
> (first use in this
> function)
> vauth.c:204: (Each undeclared identifier is reported
> only once
> vauth.c:204: for each function it appears in.)
> vauth.c:207: warning: implicit declaration of
> function `mysql_real_connect'
> vauth.c:217: warning: implicit declaration of
> function `mysql_select_db'
> vauth.c:221: warning: implicit declaration of
> function `mysql_query'
> vauth.c:226: warning: implicit declaration of
> function `mysql_error'
> vauth.c:226: warning: format argument is not a
> pointer (arg 3)
> vauth.c: In function `vauth_adduser':
> vauth.c:394: warning: format argument is not a
> pointer (arg 3)
> vauth.c: In function `vauth_getpw':
> vauth.c:444: warning: format argument is not a
> pointer (arg 3)
> vauth.c:448: warning: implicit declaration of
> function `mysql_store_result'
> vauth.c:448: warning: assignment makes pointer from
> integer without a cast
> vauth.c:453: warning: implicit declaration of
> function `mysql_num_rows'
> vauth.c:454: warning: implicit declaration of
> function `mysql_free_result'
> vauth.c:472: warning: implicit declaration of
> function `mysql_fetch_row'
> vauth.c:473: subscripted value is neither array nor
> pointer
> -
> 
> The system I am running this on is running RedHat
> Enterprise 3 (Kernel
> 2.4.21-15.0.3.ELsmp) with 2Gb Ram.
> 
> I have installed MySQL 3.23.58 and this is working
> properly. In addition I
> have setup Qmail and Qmail-Scanner with no problems.
> 
> I guess that I must be missing a command line switch
> or something but I
> cannot find any help on the Internet :-(
> 
> Before I issue the Make command I am entering the
> following configure
> settings:
> 
> ./configure --disable-roaming-users \
> --enable-logging=p \
> --disable-passwd \
> --enable-clear-passwd \
> --disable-domain-quotas \
> --enable-auth-module=mysql \
> --disable-many-domains \
> --enable-auth-logging \
> --enable-msql-logging \
> --enable-valias \
> --disable-mysql-limits \
> --enable-incdir=/usr/lib/mysql
> 
> And Ideas or points I should do or have known! are
> most welcome. I look
> forward to your reply's.
> 
> Best regards,
> 
> Iain Morrison
> 
>
**
> This email and any files transmitted with it are
> confidential and
> intended solely for the use of the individual or
> entity to whom they
> are addressed. If you have received this email in
> error please notify
> the system manager.
> 
> This footnote also confirms that this email message
> has been swept by
> Network Associates Virus Scan for the presence of
> computer viruses.
>
**
> 
> 




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


[vchkpw] Help with VpopMail 5.4.5 install!

2004-08-03 Thread Iain Morrison
Hi I am currently trying to install VPopmail 5.4.5 and I get the following
errors:

---

vauth.c:33:19: mysql.h: No such file or directory
vauth.c:40: syntax error before "mysql_update"
vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update'
vauth.c:40: warning: data definition has no type or storage class
vauth.c:41: syntax error before "mysql_read_getall"
vauth.c:41: warning: type defaults to `int' in declaration of
`mysql_read_getall
'
vauth.c:41: warning: data definition has no type or storage class
vauth.c:59: syntax error before '*' token
vauth.c:59: warning: type defaults to `int' in declaration of `res_update'
vauth.c:59: warning: data definition has no type or storage class
vauth.c:60: syntax error before '*' token
vauth.c:60: warning: type defaults to `int' in declaration of
`res_read_getall'
vauth.c:60: warning: data definition has no type or storage class
vauth.c:68: syntax error before "row"
vauth.c:68: warning: type defaults to `int' in declaration of `row'
vauth.c:68: warning: data definition has no type or storage class
vauth.c:69: syntax error before "row_getall"
vauth.c:69: warning: type defaults to `int' in declaration of `row_getall'
vauth.c:69: warning: data definition has no type or storage class
vauth.c: In function `vauth_open_update':
vauth.c:203: warning: implicit declaration of function `mysql_init'
vauth.c:204: warning: implicit declaration of function `mysql_options'
vauth.c:204: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this
function)
vauth.c:204: (Each undeclared identifier is reported only once
vauth.c:204: for each function it appears in.)
vauth.c:207: warning: implicit declaration of function `mysql_real_connect'
vauth.c:217: warning: implicit declaration of function `mysql_select_db'
vauth.c:221: warning: implicit declaration of function `mysql_query'
vauth.c:226: warning: implicit declaration of function `mysql_error'
vauth.c:226: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vauth_adduser':
vauth.c:394: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vauth_getpw':
vauth.c:444: warning: format argument is not a pointer (arg 3)
vauth.c:448: warning: implicit declaration of function `mysql_store_result'
vauth.c:448: warning: assignment makes pointer from integer without a cast
vauth.c:453: warning: implicit declaration of function `mysql_num_rows'
vauth.c:454: warning: implicit declaration of function `mysql_free_result'
vauth.c:472: warning: implicit declaration of function `mysql_fetch_row'
vauth.c:473: subscripted value is neither array nor pointer
-

The system I am running this on is running RedHat Enterprise 3 (Kernel
2.4.21-15.0.3.ELsmp) with 2Gb Ram.

I have installed MySQL 3.23.58 and this is working properly. In addition I
have setup Qmail and Qmail-Scanner with no problems.

I guess that I must be missing a command line switch or something but I
cannot find any help on the Internet :-(

Before I issue the Make command I am entering the following configure
settings:

./configure --disable-roaming-users \
--enable-logging=p \
--disable-passwd \
--enable-clear-passwd \
--disable-domain-quotas \
--enable-auth-module=mysql \
--disable-many-domains \
--enable-auth-logging \
--enable-msql-logging \
--enable-valias \
--disable-mysql-limits \
--enable-incdir=/usr/lib/mysql

And Ideas or points I should do or have known! are most welcome. I look
forward to your reply's.

Best regards,

Iain Morrison

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
Network Associates Virus Scan for the presence of computer viruses.
**



Re: [vchkpw] HELP: desperated

2004-07-26 Thread Oden Eriksson
måndagen den 26 juli 2004 16.32 skrev Mario Gamito:
> Hi,
>
> I had about 30 mail domains running smoothly.
>
> I had this script configure_users.sh inside each domain directory.
>
> I ran find . -follow -type f -print | xargs ls configure_users.sh from
> /home/vpopmail/domains.
>
> 1 - IMAP Inbox and Sent lost all their mails 
>
> 2 - qmail-send is sending mail, but not delivering. Always says Sorry,
> no mailbox here by that name.
>
> 3 - I have all the correct directory structures, the vpasswd and
> vpasswd.cdb files, but mail isn't being delivered.
>
> Please help me. I'm so desperated. I'm running against time to solve
> this, but i can't :(
>
> Any help would be appreciated.
>
> -
> Please, answer to [EMAIL PROTECTED], since i can't receive mail in
> [EMAIL PROTECTED]
> -
>
> Warm regards,
> Mário Gamito

Permission problem?

chown -R vpopmail:vchkpw /home/vpopmail

?



-- 
Regards // Oden Eriksson


[vchkpw] HELP: desperated

2004-07-26 Thread Mario Gamito
Hi,

I had about 30 mail domains running smoothly.

I had this script configure_users.sh inside each domain directory.

I ran find . -follow -type f -print | xargs ls configure_users.sh from
/home/vpopmail/domains.

1 - IMAP Inbox and Sent lost all their mails 

2 - qmail-send is sending mail, but not delivering. Always says Sorry,
no mailbox here by that name.

3 - I have all the correct directory structures, the vpasswd and
vpasswd.cdb files, but mail isn't being delivered.

Please help me. I'm so desperated. I'm running against time to solve
this, but i can't :(

Any help would be appreciated.

-
Please, answer to [EMAIL PROTECTED], since i can't receive mail in
[EMAIL PROTECTED]
-

Warm regards,
Mário Gamito



Re: [vchkpw] Help! Spam!

2004-06-28 Thread Kit Halsted
Thanks so much, Jeremy!
At 3:17 PM -0500 6/28/04, Jeremy Kitchen wrote:
On Monday 28 June 2004 02:40 pm, Kit Halsted wrote:
 >if the server in question is the MX for kithalsted.com, it appears to be
 > fine,
 It's the secondary for that domain, actually.
ok.
 Received: from unknown (HELO exhausted) ([EMAIL PROTECTED])
Ah, so I was looking at the wrong header?
[EMAIL PROTECTED] ~ $ echo -n "webmaster" | mimencode
d2VibWFzdGVy
[EMAIL PROTECTED] ~ $ telnet athena.interdyne.net 25
Trying 64.147.96.42...
Connected to athena.interdyne.net.
Escape character is '^]'.
220 athena.interdyne.net ESMTP
ehlo inter7.com
250-athena.interdyne.net
250-STARTTLS
250-PIPELINING
250-8BITMIME
250 AUTH LOGIN PLAIN CRAM-MD5
auth login
334 VXNlcm5hbWU6
d2VibWFzdGVy
334 UGFzc3dvcmQ6
d2VibWFzdGVy
235 ok, go ahead (#2.0.0)
quit
221 athena.interdyne.net
Connection closed by foreign host.
I figured it would be webmaster.
the user 'webmaster' has the password 'webmaster' which spammers will attempt,
for sure, and they found it.
That user sure as hell doesn't have that password anymore!
athena:domains {167} telnet athena 25
Trying 64.147.96.42...
Connected to athena.
Escape character is '^]'.
220 athena.interdyne.net ESMTP
ehlo bogus.com
250-athena.interdyne.net
250-STARTTLS
250-PIPELINING
250-8BITMIME
250 AUTH LOGIN PLAIN CRAM-MD5
auth login
334 VXNlcm5hbWU6
d2VibWFzdGVy
334 UGFzc3dvcmQ6
d2VibWFzdGVy
535 authentication failed (#5.7.1)
Urgh. Now to attempt to implement some sort of password policy...
Again, thanks much!
-Kit
--
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety."  -Benjamin Franklin

"...qui desiderat pacem, praeparet bellum"
(...if you would have peace, be prepared for war)  -Flavius Vegetius Renatus


Re: [vchkpw] Help! Spam!

2004-06-28 Thread Jeremy Kitchen
On Monday 28 June 2004 02:40 pm, Kit Halsted wrote:
> >if the server in question is the MX for kithalsted.com, it appears to be
> > fine,
>
> It's the secondary for that domain, actually.

ok.

> Received: from unknown (HELO exhausted) ([EMAIL PROTECTED])

[EMAIL PROTECTED] ~ $ echo -n "webmaster" | mimencode
d2VibWFzdGVy
[EMAIL PROTECTED] ~ $ telnet athena.interdyne.net 25
Trying 64.147.96.42...
Connected to athena.interdyne.net.
Escape character is '^]'.
220 athena.interdyne.net ESMTP
ehlo inter7.com
250-athena.interdyne.net
250-STARTTLS
250-PIPELINING
250-8BITMIME
250 AUTH LOGIN PLAIN CRAM-MD5
auth login
334 VXNlcm5hbWU6
d2VibWFzdGVy
334 UGFzc3dvcmQ6
d2VibWFzdGVy
235 ok, go ahead (#2.0.0)
quit
221 athena.interdyne.net
Connection closed by foreign host.

I figured it would be webmaster.
the user 'webmaster' has the password 'webmaster' which spammers will attempt, 
for sure, and they found it.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] Help! Spam!

2004-06-28 Thread Kit Halsted
At 2:21 PM -0500 6/28/04, Jeremy Kitchen wrote:
On Monday 28 June 2004 02:13 pm, Kit Halsted wrote:
 Hey folks:
 Looks like spam is being relayed through my big server. Not sure how
 they're doing it; I'm using SMTP-AUTH (0.4.2) & it seems to work
 properly. Any clues would be appreciated & I'm happy to show whatever
 files people want to see, but for now I'm going on the assumption
 that someone has gotten a password & is authenticating. So, my
 question for this list is: is there a way to add an auth header to
 outgoing messages so I can see which account was used? Or is it
 logged somewhere by default? My apologies, I'm sure this is
 documented somewhere, but I'm not sure where & my priority right now
 is closing this hole.
if the server in question is the MX for kithalsted.com, it appears to be fine,
It's the secondary for that domain, actually.
 so I'm assuming a weak password.  stop qmail-send, look at the headers of one
of the mails in the queue.  it should have the username they authenticated
with, and you should be able to look at that user and see if there's a weak
password.
I don't see it, am I just missing something?
Either that, or you'll see "invoked by uid XX" where XX is a uid.  grep
XX /etc/passwd and see who is doing it.  If it's the 'apache' or 'nobody'
user (depending on your setup) then most likely it's a formmail script.
Sample headers follow, uid 89 is vpopmail.
athena:domains {153} less /var/qmail/queue/mess/0/343988
Received: (qmail 8349 invoked by uid 1028); 27 Jun 2004 20:24:12 -
Received: from [EMAIL PROTECTED] by 
athena.interdyne.net by uid 89
 with qmail-scanner-1.22
 (clamdscan: 0.71. spamassassin: 2.63.  Clear:RC:1(218.81.107.125):.
 Processed in 1.224261 secs); 27 Jun 2004 20:24:12 -
Received: from unknown (HELO exhausted) ([EMAIL PROTECTED])
  by athena.interdyne.net with SMTP; 27 Jun 2004 20:24:10 -
From: "Sue Fox"<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Do you want to p|1easure your partner every time?
Mime-Version: 1.0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Qmail-Scanner-Message-ID: <[EMAIL PROTECTED]>


C1AL`IS & LEV1`TRA al10ws men to achieve an ERECTION up to 36 h0urs 
after 1NGEST
<...>

Thanks,
-Kit
--
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety."  -Benjamin Franklin

"...qui desiderat pacem, praeparet bellum"
(...if you would have peace, be prepared for war)  -Flavius Vegetius Renatus


Re: [vchkpw] Help! Spam!

2004-06-28 Thread Jeremy Kitchen
On Monday 28 June 2004 02:13 pm, Kit Halsted wrote:
> Hey folks:
>
> Looks like spam is being relayed through my big server. Not sure how
> they're doing it; I'm using SMTP-AUTH (0.4.2) & it seems to work
> properly. Any clues would be appreciated & I'm happy to show whatever
> files people want to see, but for now I'm going on the assumption
> that someone has gotten a password & is authenticating. So, my
> question for this list is: is there a way to add an auth header to
> outgoing messages so I can see which account was used? Or is it
> logged somewhere by default? My apologies, I'm sure this is
> documented somewhere, but I'm not sure where & my priority right now
> is closing this hole.

if the server in question is the MX for kithalsted.com, it appears to be fine, 
so I'm assuming a weak password.  stop qmail-send, look at the headers of one 
of the mails in the queue.  it should have the username they authenticated 
with, and you should be able to look at that user and see if there's a weak 
password.

Either that, or you'll see "invoked by uid XX" where XX is a uid.  grep 
XX /etc/passwd and see who is doing it.  If it's the 'apache' or 'nobody' 
user (depending on your setup) then most likely it's a formmail script.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



[vchkpw] Help! Spam!

2004-06-28 Thread Kit Halsted
Hey folks:
Looks like spam is being relayed through my big server. Not sure how 
they're doing it; I'm using SMTP-AUTH (0.4.2) & it seems to work 
properly. Any clues would be appreciated & I'm happy to show whatever 
files people want to see, but for now I'm going on the assumption 
that someone has gotten a password & is authenticating. So, my 
question for this list is: is there a way to add an auth header to 
outgoing messages so I can see which account was used? Or is it 
logged somewhere by default? My apologies, I'm sure this is 
documented somewhere, but I'm not sure where & my priority right now 
is closing this hole.

Thanks,
-Kit
--
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety."  -Benjamin Franklin

"...qui desiderat pacem, praeparet bellum"
(...if you would have peace, be prepared for war)  -Flavius Vegetius Renatus


Re: [vchkpw] help with local bounce please!

2004-05-19 Thread cade dan
oh I got it, its bouncehost file missing, so it assumed my mailserver domain.
 
Thankx Jeremy,Jeremy Kitchen <[EMAIL PROTECTED]> wrote:
On Wednesday 19 May 2004 01:33 am, cade dan wrote:> assume: [EMAIL PROTECTED] and it does exist as virtual user>> here is my problem:>> 1) whenever I send a mail to [EMAIL PROTECTED] locally, the> mail bounced back as saying no such user.qmail-showctl> 2)my /var/qmail/control/locals is empty, but it go for local...:man qmail-send, read the section on virtualdomains.> I want qmail to go for virtual users instead, what have I done wrong??man qmail-send, read the section on virtualdomains.-Jeremy-- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.[EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'lkitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
		Do you Yahoo!?SBC Yahoo! - Internet access at a great low price.

Re: [vchkpw] help with local bounce please!

2004-05-19 Thread cade dan
bouncehost: (Default.) Bounce host name is domains_for_example.com
 
how to turn this off, I believed this is the one bouncing my mails..
 
thankx for the help.Jeremy Kitchen <[EMAIL PROTECTED]> wrote:
On Wednesday 19 May 2004 01:33 am, cade dan wrote:> assume: [EMAIL PROTECTED] and it does exist as virtual user>> here is my problem:>> 1) whenever I send a mail to [EMAIL PROTECTED] locally, the> mail bounced back as saying no such user.qmail-showctl> 2)my /var/qmail/control/locals is empty, but it go for local...:man qmail-send, read the section on virtualdomains.> I want qmail to go for virtual users instead, what have I done wrong??man qmail-send, read the section on virtualdomains.-Jeremy-- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.[EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'lkitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
		Do you Yahoo!?SBC Yahoo! - Internet access at a great low price.

Re: [vchkpw] help with local bounce please!

2004-05-19 Thread Jeremy Kitchen
On Wednesday 19 May 2004 01:33 am, cade dan wrote:

> assume: [EMAIL PROTECTED]  and it does exist as virtual user
>
> here is my problem:
>
> 1) whenever I send a mail to [EMAIL PROTECTED] locally, the
> mail bounced back as saying no such user.

qmail-showctl

> 2)my /var/qmail/control/locals is empty, but it go for local...:

man qmail-send, read the section on virtualdomains.

> I want qmail to go for virtual users instead, what have I done wrong??

man qmail-send, read the section on virtualdomains.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



[vchkpw] help with local bounce please!

2004-05-18 Thread cade dan
Hi,I am running into a problem with qmail.
assume: [EMAIL PROTECTED]  and it does exist as virtual user
here is my problem:
1) whenever I send a mail to [EMAIL PROTECTED] locally, the mail bounced back as saying no such user.
2)my /var/qmail/control/locals is empty, but it go for local...:
[EMAIL PROTECTED]:Sorry, no mailbox here by that name.
I want qmail to go for virtual users instead, what have I done wrong??
thankx in advance,
cade,

		Do you Yahoo!?SBC Yahoo! - Internet access at a great low price.

Re: [vchkpw] Help needed with vpopmail-5.4.0 and SMTPAUTH

2004-03-22 Thread Sebastien FOUTREL
Thank you,
I just undestood that I made a mistake reading
http://www.fehcom.de/qmail/smtpauth.html
I thought the smtpauth patch had been inserted in vpopmail 5.4.0 so I didnot applied 
it.
Just applied it and recompiled qmail and vpopmail and now it works fine !
Thank you inter7 team and all of you helping newcomers and sharing knowledge !

Roger Lipscombe wrote:

Sebastien FOUTREL wrote:
 

Hello,
I use this HOWTO to install qmail with vpopmail but did not wanted to
use the --enable-roaming-users=y 
so I set it to --enable-roaming-users=n and now I want to use the
SMTPAUTH as described in http://www.fehcom.de/qmail/smtpauth.html but
I always get an error message when I want to send a message. 
   

What error message?

 

Any help would be greatly appreciated.
   

I just got it working correctly (AFAICT) on my test box last week.  Dunno if
my notes'll help, but feel free: http://www.differentpla.net/node/view/165,
particularly the paragraph titled "SMTP AUTH with vpopmail" on this page:
http://www.differentpla.net/node/view/170
Cheers,
Roger.
 




RE: [vchkpw] Help needed with vpopmail-5.4.0 and SMTPAUTH

2004-03-22 Thread Roger Lipscombe
Sebastien FOUTREL wrote:
> Hello,
> I use this HOWTO to install qmail with vpopmail but did not wanted to
> use the --enable-roaming-users=y 
> so I set it to --enable-roaming-users=n and now I want to use the
> SMTPAUTH as described in http://www.fehcom.de/qmail/smtpauth.html but
> I always get an error message when I want to send a message. 

What error message?

> Any help would be greatly appreciated.

I just got it working correctly (AFAICT) on my test box last week.  Dunno if
my notes'll help, but feel free: http://www.differentpla.net/node/view/165,
particularly the paragraph titled "SMTP AUTH with vpopmail" on this page:
http://www.differentpla.net/node/view/170

Cheers,
Roger.



[vchkpw] Help needed with vpopmail-5.4.0 and SMTPAUTH

2004-03-22 Thread Sebastien FOUTREL




Hello,
I use this HOWTO to install qmail with vpopmail but did not wanted to
use the --enable-roaming-users=y
so I set it to --enable-roaming-users=n and now I want to use the
SMTPAUTH as described in http://www.fehcom.de/qmail/smtpauth.html
but I always get an error message when I want to send a message.

Any help would be greatly appreciated.

Thank you




Re: [vchkpw] Help in chkuser

2004-01-24 Thread tonix (Antonio Nati)


Hi Mario,
as you're using the "easy" patch (that was written for the Bill
Shupp's MegaPatch), you should run it differently from the way you're
running it now.
As written in
www.interazioni.it/qmail,
for the "Easy" version:
"Easy way" qmail-smtpd-chkusr must be installed normally
(-r-xr-xr-x) and executed by tcpserver with -u
vpopmail-user and -g vchkpw-group parameters. 
Try this way, and it should work.
Ciao,
Tonino
At 23/01/2004 23/01/2004 -0200, Mario Junior wrote:
Em Friday 23 January 2004 13:53,
tonix (Antonio Nati) escreveu:
Hello Tonix,
> How are you running qmail-smtpd?
>
I 've setuid it already according to your site :
chown qmaild:nofiles qmail-smtpd
chmod 6555 qmail-smtpd
xxx:/var/qmail/bin # ls -la /var/qmail/bin/qmail-smtpd
-r-sr-sr-x    1 qmaild  
nofiles    226508 Jan 22 13:42 /var/qmail/bin/
qmail-smtpd
My initialization script is :
xxx:/ # cat /var/qmail/rc.smtp
#!/bin/sh
# QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export
QMAILQUEUE

  #LWQ-Like
  QMAILDUID=`id -u qmaild`
  NOFILESGID=`id -g qmaild`
  # PATH="/var/qmail/bin:/usr/local/bin" \
  /usr/local/bin/softlimit -m 500 \
  /usr/local/bin/tcpserver -v -R -p -x /etc/tcp.smtp.cdb -c120
\
  -u $QMAILDUID -g $NOFILESGID 0 smtp \
  /usr/local/bin/rblsmtpd -r blackholes.mail-abuse.org \
  /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true
2>&1 | \
  /usr/local/bin/setuidgid qmaill \
  /usr/local/bin/multilog t n2 s1000
/var/log/qmail-smtpd

> Is bouncing enabled?
xxx:/home/vpopmail/domains/abc.com # cat .qmail-default
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
Should I remove .qmail-default?

-- 
   Mário Viana Barbosa
---
  Network Admin
  SecrelNet ISP - Brazil


   
[EMAIL PROTECTED]   
Interazioni di Antonio Nati 
  
http://www.interazioni.it 
[EMAIL PROTECTED]  






Re: [vchkpw] Help in chkuser

2004-01-23 Thread Mario Junior
Em Friday 23 January 2004 16:26, Mario Junior escreveu:

Tonix,

I've already tried to modify

>   QMAILDUID=`id -u qmaild`
>   NOFILESGID=`id -g qmaild`
>

QMAILUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`

The same happens.

I also removed qmail-default but it also didn't work.


-- 

   Mário Viana Barbosa
---
  Network Admin
  SecrelNet ISP - Brazil




Re: [vchkpw] Help in chkuser

2004-01-23 Thread Mario Junior
Em Friday 23 January 2004 13:53, tonix (Antonio Nati) escreveu:

Hello Tonix,

> How are you running qmail-smtpd?
>

I 've setuid it already according to your site :

chown qmaild:nofiles qmail-smtpd
chmod 6555 qmail-smtpd

xxx:/var/qmail/bin # ls -la /var/qmail/bin/qmail-smtpd
-r-sr-sr-x1 qmaild   nofiles226508 Jan 22 13:42 /var/qmail/bin/
qmail-smtpd

My initialization script is :

xxx:/ # cat /var/qmail/rc.smtp
#!/bin/sh

# QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE


  #LWQ-Like

  QMAILDUID=`id -u qmaild`
  NOFILESGID=`id -g qmaild`

  # PATH="/var/qmail/bin:/usr/local/bin" \
  /usr/local/bin/softlimit -m 500 \
  /usr/local/bin/tcpserver -v -R -p -x /etc/tcp.smtp.cdb -c120 \
  -u $QMAILDUID -g $NOFILESGID 0 smtp \
  /usr/local/bin/rblsmtpd -r blackholes.mail-abuse.org \
  /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true 2>&1 | \
  /usr/local/bin/setuidgid qmaill \
  /usr/local/bin/multilog t n2 s1000 /var/log/qmail-smtpd


> Is bouncing enabled?

xxx:/home/vpopmail/domains/abc.com # cat .qmail-default
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

Should I remove .qmail-default?


-- 

   Mário Viana Barbosa
---
  Network Admin
  SecrelNet ISP - Brazil




Re: [vchkpw] Help in chkuser

2004-01-23 Thread tonix (Antonio Nati)
How are you running qmail-smtpd?

Is bouncing enabled?

Ciao,

Tonino

At 23/01/2004 23/01/2004 -0200, Mario Junior wrote:

Hello,

I've setup a qmail+vpopmail-3.2.20+mysql with 3 virtual domains. So I applied
only the shupp and chk.user.mysql patches from the toaster page;
 I 've already read in this list that if a domain is in 
control/virtualdomains
the patch will not check the recipient and will try to deliver  the message
locally. So I setup one of that domains (abc.com) at another machine with the
same users.

Then I removed the domain abc.com from virtualdomains (now it lives only in
rcpthosts) and wrote a line in control/smtproutes :
abc.com.br:mail.abc.com:25 where mail.abc.com is a IP in that another
machine.
But when I send a email to a non-existent email like [EMAIL PROTECTED] I receive
only a bounce message  from mail.abc.com , nothing from chk-user patch.
What's wrong?


--

   Mário Viana Barbosa
---
  Network Admin
  SecrelNet ISP - Brazil

[EMAIL PROTECTED]Interazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]



[vchkpw] Help in chkuser

2004-01-23 Thread Mario Junior

Hello,

I've setup a qmail+vpopmail-3.2.20+mysql with 3 virtual domains. So I applied 
only the shupp and chk.user.mysql patches from the toaster page;

 I 've already read in this list that if a domain is in control/virtualdomains 
the patch will not check the recipient and will try to deliver  the message 
locally. So I setup one of that domains (abc.com) at another machine with the 
same users.

Then I removed the domain abc.com from virtualdomains (now it lives only in 
rcpthosts) and wrote a line in control/smtproutes : 
abc.com.br:mail.abc.com:25 where mail.abc.com is a IP in that another 
machine.

But when I send a email to a non-existent email like [EMAIL PROTECTED] I receive 
only a bounce message  from mail.abc.com , nothing from chk-user patch. 
What's wrong?



-- 

   Mário Viana Barbosa
---
  Network Admin
  SecrelNet ISP - Brazil




RE: [vchkpw] Help with rblsmtpd

2003-12-22 Thread webmaster
I think that might work.  Will give that a try.
Thanks!

> -Original Message-
> From: Jeremy Kitchen [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, December 21, 2003 10:09 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [vchkpw] Help with rblsmtpd
> 
> 
> On Sun, 2003-12-21 at 23:36, [EMAIL PROTECTED] wrote:
> > Yes, I thought of different MX records as well but this would 
> > necessitate running qmail on a separate server since I cannot run 2 
> > instances of qmail-smtpd on the same port (25) on the same 
> server even 
> > if each is using a different virtual IP.  At least I don't think I 
> > can.
> 
http://cr.yp.to/ucspi-tcp/tcpserver.html

you can specify an address for tcpserver to listen to.  Make one listen to
one address, and make another listen to the other address, then set up
different rules and such for each.

> Thanks for trying.  I am still trying to find out why is it that I 
> cannot post to the qmail list.

I had something similar to that happen to me once before, but I was able to
post from another email address, so that's what I did  Strange, indeed.

-Jeremy
-- 
Jeremy Kitchen <[EMAIL PROTECTED]>



RE: [vchkpw] Help with rblsmtpd

2003-12-21 Thread Jeremy Kitchen
On Sun, 2003-12-21 at 23:36, [EMAIL PROTECTED] wrote:
> Yes, I thought of different MX records as well but this would necessitate
> running qmail on a separate server since I cannot run 2 instances of
> qmail-smtpd on the same port (25) on the same server even if each is using a
> different virtual IP.  At least I don't think I can.

http://cr.yp.to/ucspi-tcp/tcpserver.html

you can specify an address for tcpserver to listen to.  Make one listen
to one address, and make another listen to the other address, then set
up different rules and such for each.

> Thanks for trying.  I am still trying to find out why is it that I cannot
> post to the qmail list.

I had something similar to that happen to me once before, but I was able
to post from another email address, so that's what I did  Strange,
indeed.

-Jeremy
-- 
Jeremy Kitchen <[EMAIL PROTECTED]>



RE: [vchkpw] Help with rblsmtpd

2003-12-21 Thread webmaster


> -Original Message-
> From: Jeremy Kitchen [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, December 21, 2003 8:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] Help with rblsmtpd
> 
> 
> On Sun, 2003-12-21 at 20:50, [EMAIL PROTECTED] wrote:
> > I am using spamcop RBL to block known spammers
> > Do you know how I can selectively EXEMPT certain virtualhosts from 
> > spamcop ?
> 
> This question has nothing to do with vpopmail.  Instead, it 
> should go either on the qmail mailing list, or the ucspi-tcp 
> mailing list (since rblsmtpd is part of the ucspi-tcp 
> package, but most commonly used in conjuction with qmail, so 
> either would probably yield proper results), but I will 
> answer your qestion anyways.
> 

Thanks Jeremy,
believe it or not, I do realize that this is a bit off topic to this mailing
list but I have been having unexplained phenomenon where my posts to qmail
list do not get through although I am receiving all the posts.
So I thought I give it a try here.  I think most subscribers here use qmail
and rblsmptd as well.
I guess I am hoping it doesn't bother people too much to solicit some
response from here.


> > Say, hostation.com is a virtualhost on my system and I wish 
> to accept 
> > all e-mail even from servers listed with spamcop.
> 
> from http://cr.yp.to/ucspi-tcp/rblsmtpd.html :
> 
> If the $RBLSMTPD environment variable is set and is nonempty, 
> rblsmtpd blocks mail. It uses $RBLSMTPD as an error message 
> for the client. Normally rblsmtpd runs under tcpserver; you 
> can use tcprules to set $RBLSMTPD for selected clients. 
> 
> If $RBLSMTPD is set and is empty, rblsmtpd does not block mail.
> 
> If $RBLSMTPD is not set, rblsmtpd looks up $TCPREMOTEIP in 
> the RBL, and blocks mail if $TCPREMOTEIP is listed. tcpserver 
> sets up $TCPREMOTEIP as the IP address of the remote host.
> 


I read all that in the doc before and have a basic understanding how it
works.  My requirement is a bit different and I haven't come across any
published doc.

> > :allow,RBLSMTPD="",TCPLOCALHOST="hostation.com"
> 
> why set TCPLOCALHOST?  just do this: 
> some.ip.add.ress:allow,RBLSMTPD=""
> .host.example.org:allow,RBLSMTPD=""
> 

Well, as I explained, the control point I am trying to achieve is at the
receiving end and not the source IP since I can not possibly cover who are
currently listed.


> etc.
> 
> >From the example you provided, it seems that you want to do this only
> for mails headed to some domain.  With only one IP address, 
> that is not possible.  However, you can set up a different 
> smtp service on another IP address, point your MX records at 
> that, and allow spamcop listed hosts either by not adding 
> spamcop to your rblsmtpd list (something I would recommend 
> anyways, as they are too overly anal for my tastes), or if 
> you want to not block any mail to that domain, simply leave 
> out rblsmtpd all together.  Or, you can use any combination 
> of setting tcprules rules for hosts/removing rbl 
> lists/removing rblsmtpd to get the required effect.

Yes, I thought of different MX records as well but this would necessitate
running qmail on a separate server since I cannot run 2 instances of
qmail-smtpd on the same port (25) on the same server even if each is using a
different virtual IP.  At least I don't think I can.


> 
> Hope this helps, and please, in the future, try to post 
> questions to the proper mailing lists, as that is why they exist :)
> 

Thanks for trying.  I am still trying to find out why is it that I cannot
post to the qmail list.

Lu


> -Jeremy
> -- 
> Jeremy Kitchen <[EMAIL PROTECTED]>
> 



Re: [vchkpw] Help with rblsmtpd

2003-12-21 Thread Jeremy Kitchen
On Sun, 2003-12-21 at 20:50, [EMAIL PROTECTED] wrote:
> I am using spamcop RBL to block known spammers
> Do you know how I can selectively EXEMPT certain virtualhosts from spamcop ?

This question has nothing to do with vpopmail.  Instead, it should go
either on the qmail mailing list, or the ucspi-tcp mailing list (since
rblsmtpd is part of the ucspi-tcp package, but most commonly used in
conjuction with qmail, so either would probably yield proper results),
but I will answer your qestion anyways.

> Say, hostation.com is a virtualhost on my system and I wish to accept all
> e-mail even from servers listed with spamcop.

from http://cr.yp.to/ucspi-tcp/rblsmtpd.html :

If the $RBLSMTPD environment variable is set and is nonempty, rblsmtpd
blocks mail. It uses $RBLSMTPD as an error message for the client.
Normally rblsmtpd runs under tcpserver; you can use tcprules to set
$RBLSMTPD for selected clients. 

If $RBLSMTPD is set and is empty, rblsmtpd does not block mail.

If $RBLSMTPD is not set, rblsmtpd looks up $TCPREMOTEIP in the RBL, and
blocks mail if $TCPREMOTEIP is listed. tcpserver sets up $TCPREMOTEIP as
the IP address of the remote host.

> :allow,RBLSMTPD="",TCPLOCALHOST="hostation.com"

why set TCPLOCALHOST?  just do this:
some.ip.add.ress:allow,RBLSMTPD=""
.host.example.org:allow,RBLSMTPD=""

etc.

>From the example you provided, it seems that you want to do this only
for mails headed to some domain.  With only one IP address, that is not
possible.  However, you can set up a different smtp service on another
IP address, point your MX records at that, and allow spamcop listed
hosts either by not adding spamcop to your rblsmtpd list (something I
would recommend anyways, as they are too overly anal for my tastes), or
if you want to not block any mail to that domain, simply leave out
rblsmtpd all together.  Or, you can use any combination of setting
tcprules rules for hosts/removing rbl lists/removing rblsmtpd to get the
required effect.

Hope this helps, and please, in the future, try to post questions to the
proper mailing lists, as that is why they exist :)

-Jeremy
-- 
Jeremy Kitchen <[EMAIL PROTECTED]>



[vchkpw] Help with rblsmtpd

2003-12-21 Thread webmaster
Hello folks.

I am using spamcop RBL to block known spammers

Do you know how I can selectively EXEMPT certain virtualhosts from spamcop ?

Say, hostation.com is a virtualhost on my system and I wish to accept all
e-mail even from servers listed with spamcop.

I thought of using :

:allow,RBLSMTPD="",TCPLOCALHOST="hostation.com"

in tcp.smtp
but this does not work.

Any advice is very much appreciated.

Lu
Thank you



Re: [vchkpw] help me get off this list

2003-12-15 Thread Jeremy Kitchen
On Mon, 2003-12-15 at 14:02, Albert Hopkins wrote:
> Can someone who administers this list please unsubscribe me.  I have
> tried sending emails to [EMAIL PROTECTED] as well as
> [EMAIL PROTECTED], but get no response from either (the "-help"
> address works though).  I'm not sure why I don't get a response, but
> I've been trying for a couple of months now.
> 
> If anyone knows how I can get in touch with a human administrator I'd
> appreciate it.

done.

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE




[vchkpw] help me get off this list

2003-12-15 Thread Albert Hopkins
Can someone who administers this list please unsubscribe me.  I have
tried sending emails to [EMAIL PROTECTED] as well as
[EMAIL PROTECTED], but get no response from either (the "-help"
address works though).  I'm not sure why I don't get a response, but
I've been trying for a couple of months now.

If anyone knows how I can get in touch with a human administrator I'd
appreciate it.

--a



-
IMPORTANT WARNING:  This e-mail and any files transmitted with it may contain 
CONFIDENTIAL information, including PRIVATE AND CONFIDENTIAL HEALTH INFORMATION which 
is intended for the use of the person to whom it is addressed.  If the reader of this 
e-mail/attachment is not the intended recipient, employee, or agent responsible to 
deliver it to the intended recipient, you are hereby notified that any dissemination, 
distribution, reproduction, reading, or copying of this information is STRICTLY 
PROHIBITED.  If you have received this e-mail in error, please delete the related 
e-mail and all attachments and notify the sender immediately (reply e-mail) and the 
LabCorp Privacy Officer at [EMAIL PROTECTED] or call (877) 23-HIPAA / (877) 234-4722.




RE: [vchkpw] Help - Multiple Domains with same users

2003-11-28 Thread Tal Golan
Thanks Tom. I hope you can help. Everything was working so well, then
the wheels fell off.

1) Neither domain is in /var/qmail/control/locals. Should they be?

2) The following is from /var/qmail/users/assign:

+domainx.com-:domainx.com:516:506:/home/vpopmail/domains/domainx.com:-::
+domainy.com-:domainy.com:516:506:/home/vpopmail/domains/domainy.com:-::

What do you think?

Thanks again.

Tal

-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 28, 2003 9:40 PM
To: vpopmail list
Subject: Re: [vchkpw] Help - Multiple Domains with same users


On Thursday, November 27, 2003, at 02:20  PM, Tal Golan wrote:

> I am hosting 2 domains (domainX.com & domainY.com).

>

> 1) domainX.com was added using vadddomain domainX.com -r

> 2) domainY.com was added using vadddoamin domainY.com -r

>

> Next, I added user [EMAIL PROTECTED] and [EMAIL PROTECTED]

>

> 1) vadduser [EMAIL PROTECTED] -r

> 2) vadduser [EMAIL PROTECTED] -r

>

> Now, if I send email to [EMAIL PROTECTED], everything is perfect.

> However,

> if I send email to [EMAIL PROTECTED], the email gets delivered to

> [EMAIL PROTECTED] and never reaches [EMAIL PROTECTED]



Is either domain in /var/qmail/control/locals?  What do the entries for 

the domains in /var/qmail/users/assign look like?  It's possible 

domainY.com is considered an alias to domainX.com...



--

Tom Collins  -  [EMAIL PROTECTED]

QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/

Info on the Sniffter hand-held Network Tester: http://sniffter.com/




---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003
 


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/



Re: [vchkpw] Help - Multiple Domains with same users

2003-11-28 Thread Tom Collins
On Thursday, November 27, 2003, at 02:20  PM, Tal Golan wrote:
I am hosting 2 domains (domainX.com & domainY.com).

1) domainX.com was added using vadddomain domainX.com -r
2) domainY.com was added using vadddoamin domainY.com -r
Next, I added user [EMAIL PROTECTED] and [EMAIL PROTECTED]

1) vadduser [EMAIL PROTECTED] -r
2) vadduser [EMAIL PROTECTED] -r
Now, if I send email to [EMAIL PROTECTED], everything is perfect. 
However,
if I send email to [EMAIL PROTECTED], the email gets delivered to
[EMAIL PROTECTED] and never reaches [EMAIL PROTECTED]
Is either domain in /var/qmail/control/locals?  What do the entries for 
the domains in /var/qmail/users/assign look like?  It's possible 
domainY.com is considered an alias to domainX.com...

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



[vchkpw] Help with a migration

2003-11-27 Thread Trell
Hello,

I'm attempting to migrate 6 domains from 1 server to a new one.
The new server is not being setup with the same directory structure
as the old one as all the domains will have there own instances of
everything.

The problem I'm having is that I need to maintain there user names
and passwords. However the vpasswd and vpasswd.cdb have it set to
the old directory. How can I modify the vpasswd to show the new
directory and then rebuild the .cdb file?

Thanks,
Trell




  1   2   >