Re: [vchkpw] what is the meaning of the entries in $HOME/Maildir/maildirsize and the name of file

2003-04-01 Thread Michael Bowe

- Original Message -
From: "Jerry Chou" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 01, 2003 5:30 PM
Subject: [vchkpw] what is the meaning of the entries in
$HOME/Maildir/maildirsize and the name of file


> could anyone tell me what is the meaning of
> the entries in $HOME/Maildir/maildirsize ?

Take a look at this
http://inter7.com/courierimap/README.maildirquota.html
Michael




[vchkpw] Multiple mail delivery

2003-04-01 Thread Juraj Hantak
Hi,

I have a problem with mail delivery.

Imagine situation you have one mail box:

[EMAIL PROTECTED]

and you have in .qmail-default
| patch to vpopmail/bin/vdelivermail '' patch to vpopmail/test.com/catchall


When you send mail one mail to multiple addreses in one domain
eg.
TO: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]

the mail will be delivered twice into the catchall mailbox.

Can you help me how to fix this bug in vdelivermail please?

Or can you help me how to make it to deliver just one time.



Best regards

Juraj Hantak




Re: [vchkpw] Control/Me?

2003-04-01 Thread James Raftery
On Mon, Mar 31, 2003 at 10:32:14PM -0800, Wil Hatfield wrote:
> Received: from unknown (HELO ns1.a-zhost.com) (216.120.76.2)
>   by h6.a-zhost.com with SMTP; 31 Mar 2003 21:03:59 -0800
>
> Where does the h6.a-zhost.com value come from shown above. I thought
> it came from control/me which I have checked and double checked. This
> email did not go through h6.a-zhost.com at all.

That's from tcpserver. Check the value of the -l flag to tcpserver, if
present. Otherwise tcpserver will look up the system's name in DNS. Check
your reverses.


ATB,
james



Re: [vchkpw] Multiple mail delivery

2003-04-01 Thread Justin Heesemann
On Tuesday 01 April 2003 11:40, Juraj Hantak wrote:
> Hi,
>
> I have a problem with mail delivery.
>
> Imagine situation you have one mail box:
>
> [EMAIL PROTECTED]
>
> and you have in .qmail-default
>
> | patch to vpopmail/bin/vdelivermail '' patch to vpopmail/test.com/catchall
>
> When you send mail one mail to multiple addreses in one domain
> eg.
> TO: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
>
> the mail will be delivered twice into the catchall mailbox.
>
> Can you help me how to fix this bug in vdelivermail please?

this is not a bug. this is the "feature" of a catchall account. the mail comes 
in twice via qmail, so vdelivermail is starte two times and every time 
delivering the mail like it should.

>
> Or can you help me how to make it to deliver just one time.

you would have to run some kind of duplicate mail check tool. try google or 
the qmail archives. there is no way that i know of, to make vdelivermail 
check for duplicates out of the box.


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




Re: [vchkpw] path / tcp-smtp / relay

2003-04-01 Thread Justin Heesemann
On Tuesday 01 April 2003 12:54, [EMAIL PROTECTED] wrote:
> When i get mails via POP, my "tcp.smtp.cdb" file is been
> regenerated and is containing the correct IPs. The IPs wich
> shall be open for relay until clearopensmtp removes the entries
> a while later ... So, all is functional here. "tcp.smtp.cdb"
> is updated ..
>
> But it seems that qmail ONLY looks into it´s "rcpthosts" file and
> NOT into the tcp.smtp.cdb ...
>
> My qmail-smtpd startup is like
>
> exec /usr/bin/softlimit -m 800 \
> /usr/bin/tcpserver -c512 -H -R -v -x/etc/tcp.smtp.cdb \
> -u $QMAILDUID -g $NOFILESGID 0 smtp \
> rblsmtpd /var/qmail/bin/qmail-smtpd 2>&1
>
> And as i said, all "seems" to work fine.
> The tcp.smtp.cdb file is been regenerated when i authenticated
> via pop and also the clearopensmtp works (removal of the IPs).
>
how did you configure your vpopmail ?
by default vpopmail updates ~vpopmail/etc/tcp.smtp.cdb and not 
/etc/tcp.smtp.cdb

> I use mysql so i can see the ips "twice", first in the mysql tabe
> and second in the tcp.smtp.cdb.
>
> i chmodded tcp.smtp* to 777, too but it is still not working.
>
> Help needed because now my machine is open for relay...
>
> Why does my qmail seems not to be reading the tcp.smtp.cdb ?!
> Any path setting missing or shall i symlink something ?

did you try -x /etc/tcp.smtp.cdb  instead of -x/etc/tcp.smtp.cdb (i'm not sure 
this will change anything.. just a shot into the dark)

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




RE: [vchkpw] path / tcp-smtp / relay

2003-04-01 Thread remo
Did you use the Matt's patch for MySQL? You should consider that if you
are using MySQL with vpopmail for relay.  
Here is mine :

server  localhost
port3306
databasevpopmail or whatever database.
table   relay
uservpopmail or whatever username 
passyour password heree
time1800


Have a good one, 

Remo Mattei 
Network Security Engineer 
Cell 801-209-8554 
Email [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 3:55 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] path / tcp-smtp / relay

Hello List,

I installed qmail and vpopmail and my relaying does not work
correctly.

When i get mails via POP, my "tcp.smtp.cdb" file is been
regenerated and is containing the correct IPs. The IPs wich
shall be open for relay until clearopensmtp removes the entries
a while later ... So, all is functional here. "tcp.smtp.cdb"
is updated ..

But it seems that qmail ONLY looks into it´s "rcpthosts" file and
NOT into the tcp.smtp.cdb ...

My qmail-smtpd startup is like

exec /usr/bin/softlimit -m 800 \
/usr/bin/tcpserver -c512 -H -R -v -x/etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp \
rblsmtpd /var/qmail/bin/qmail-smtpd 2>&1

And as i said, all "seems" to work fine.
The tcp.smtp.cdb file is been regenerated when i authenticated 
via pop and also the clearopensmtp works (removal of the IPs).

I use mysql so i can see the ips "twice", first in the mysql tabe
and second in the tcp.smtp.cdb.

i chmodded tcp.smtp* to 777, too but it is still not working.

Help needed because now my machine is open for relay...

Why does my qmail seems not to be reading the tcp.smtp.cdb ?!
Any path setting missing or shall i symlink something ?

When i chmod the tcp.smtp.cdb file that only root can read it,
i get no errormessage in the qmail-smtp log. so there must be
something wrong, or not ?

Holger

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
 



RE: [vchkpw] path / tcp-smtp / relay

2003-04-01 Thread Holger . Bahr
the patches i use are:

qmail-smtpd-auth-0.31.tar.gz
qmailqueue-patch
big-todo.103.patch
qmail-link-sync.patch
big-concurrency.patch
qmail-0.0.0.0.patch

> Did you use the Matt's patch for MySQL? You should consider that if you
> are using MySQL with vpopmail for relay.  
> Here is mine :
> 
> server  localhost
> port3306
> databasevpopmail or whatever database.
> table   relay
> uservpopmail or whatever username 
> passyour password heree
> time1800

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




RE: [vchkpw] path / tcp-smtp / relay

2003-04-01 Thread Holger . Bahr
> You need Matt's patch for mysql. For tcpserver
> 
> Check  on google and let me know. 

ok .. but does this patch also prevent that a new tcp.smtp.cdb is build
by vpopmail then ?
when tcpserver directly looks into the mysql table for open relays, it
would be unneccessary that the tcp.smtp file is updated anymore ...

?!

> Remo Mattei
> Network Security Engineer
> Cell 801-209-8554
> Email [EMAIL PROTECTED]
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, April 01, 2003 10:41 AM
> To: remo
> Subject: RE: [vchkpw] path / tcp-smtp / relay
> 
> the patches i use are:
> 
> qmail-smtpd-auth-0.31.tar.gz
> qmailqueue-patch
> big-todo.103.patch
> qmail-link-sync.patch
> big-concurrency.patch
> qmail-0.0.0.0.patch
> 
> > Did you use the Matt's patch for MySQL? You should consider that if
> you
> > are using MySQL with vpopmail for relay.  
> > Here is mine :
> > 
> > server  localhost
> > port3306
> > databasevpopmail or whatever database.
> > table   relay
> > uservpopmail or whatever username 
> > passyour password heree
> > time1800
> > 
> > 
> > Have a good one, 
> > 
> > Remo Mattei 
> > Network Security Engineer 
> > Cell 801-209-8554 
> > Email [EMAIL PROTECTED]
> > 
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, April 01, 2003 3:55 AM
> > To: [EMAIL PROTECTED]
> > Subject: [vchkpw] path / tcp-smtp / relay
> > 
> > Hello List,
> > 
> > I installed qmail and vpopmail and my relaying does not work
> > correctly.
> > 
> > When i get mails via POP, my "tcp.smtp.cdb" file is been
> > regenerated and is containing the correct IPs. The IPs wich
> > shall be open for relay until clearopensmtp removes the entries
> > a while later ... So, all is functional here. "tcp.smtp.cdb"
> > is updated ..
> > 
> > But it seems that qmail ONLY looks into it´s "rcpthosts" file and
> > NOT into the tcp.smtp.cdb ...
> > 
> > My qmail-smtpd startup is like
> > 
> > exec /usr/bin/softlimit -m 800 \
> > /usr/bin/tcpserver -c512 -H -R -v -x/etc/tcp.smtp.cdb \
> > -u $QMAILDUID -g $NOFILESGID 0 smtp \
> > rblsmtpd /var/qmail/bin/qmail-smtpd 2>&1
> > 
> > And as i said, all "seems" to work fine.
> > The tcp.smtp.cdb file is been regenerated when i authenticated 
> > via pop and also the clearopensmtp works (removal of the IPs).
> > 
> > I use mysql so i can see the ips "twice", first in the mysql tabe
> > and second in the tcp.smtp.cdb.
> > 
> > i chmodded tcp.smtp* to 777, too but it is still not working.
> > 
> > Help needed because now my machine is open for relay...
> > 
> > Why does my qmail seems not to be reading the tcp.smtp.cdb ?!
> > Any path setting missing or shall i symlink something ?
> > 
> > When i chmod the tcp.smtp.cdb file that only root can read it,
> > i get no errormessage in the qmail-smtp log. so there must be
> > something wrong, or not ?
> > 
> > Holger
> > 
> > -- 
> > +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> > Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
> > 
> > 
> > 
> > 
> > ---
> > 
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
> >  
> > 
> > 
> 
> -- 
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
> 
> 
> ---
> 
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
>  
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




Re: [vchkpw] Multiple mail delivery

2003-04-01 Thread Kenneth Ling
hi
I have other question to ask..base on the [EMAIL PROTECTED]
if I send a mail BCC to [EMAIL PROTECTED]
and it will auto send to [EMAIL PROTECTED] maildir..
my question is.. from that email on [EMAIL PROTECTED], how do I know that email is
actually to [EMAIL PROTECTED]

tq

Justin Heesemann wrote:

> On Tuesday 01 April 2003 11:40, Juraj Hantak wrote:
> > Hi,
> >
> > I have a problem with mail delivery.
> >
> > Imagine situation you have one mail box:
> >
> > [EMAIL PROTECTED]
> >
> > and you have in .qmail-default
> >
> > | patch to vpopmail/bin/vdelivermail '' patch to vpopmail/test.com/catchall
> >
> > When you send mail one mail to multiple addreses in one domain
> > eg.
> > TO: [EMAIL PROTECTED]
> > CC: [EMAIL PROTECTED]
> >
> > the mail will be delivered twice into the catchall mailbox.
> >
> > Can you help me how to fix this bug in vdelivermail please?
>
> this is not a bug. this is the "feature" of a catchall account. the mail comes
> in twice via qmail, so vdelivermail is starte two times and every time
> delivering the mail like it should.
>
> >
> > Or can you help me how to make it to deliver just one time.
>
> you would have to run some kind of duplicate mail check tool. try google or
> the qmail archives. there is no way that i know of, to make vdelivermail
> check for duplicates out of the box.
>
> --
> Mit internetten Grüßen / Best Regards
> ---
> Justin Heesemannionium Technologies
> [EMAIL PROTECTED]www.ionium.org

--
Regards
  Kenneth Ling
  ranhill engineers and constructors sdn bhd






Re: [vchkpw] Multiple mail delivery

2003-04-01 Thread Justin Heesemann
On Tuesday 01 April 2003 19:58, Kenneth Ling wrote:
> hi
> I have other question to ask..base on the [EMAIL PROTECTED]
> if I send a mail BCC to [EMAIL PROTECTED]
> and it will auto send to [EMAIL PROTECTED] maildir..
> my question is.. from that email on [EMAIL PROTECTED], how do I know that
> email is actually to [EMAIL PROTECTED]

.qmail-default gets the variables $EXT and $HOST. ([EMAIL PROTECTED] is the original 
receipient, so far as i know)
you could write a small tool which simply precedes every mail with
Orig-Rcpt: [EMAIL PROTECTED]

and then passes the complete message.

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




[vchkpw] tcprules

2003-04-01 Thread Marcos Dutra
Hi people,


I would like know if is possible put in rules of tcp.smtp qmail environment 
variables, like:

200.x.x.x:deny,RPLINE="[EMAIL PROTECTED]"

Or if i have make a patch for qmail environment variables like badrcptto, 
badmailftom, etc...


Thanks

Marcos Dutra



[vchkpw] fail install vpopmail-5.3.19

2003-04-01 Thread Lanny
Hi,
Anyone know a fix for the following: 

./toaster_setup.pl -s vpopmail 

Do you want password learning? (y) (y/n): y
Do you want logging enabled? (y) (y/n): y
Do you want verbose logging? (y) (y/n): y
Do you want to use a default domain? (y/n): y
Please enter your default domain: domain.com
Do system users (/etc/passwd) get mail? (n) (y/n): n
Do you use valias processing? (n) (y/n): y
Do you want mysql logging? (n) (y/n): n
Do you want mysql limits? (n) (y/n): n
Do you want mysql replication enabled? (n) (y/n): n
Please enter your MySQL read server hostname. (localhost) :localhost
Please enter your MySQL user name. (vpopmail) :vpopmail
Please enter your MySQL password: secret
Do you want vpopmail's domain quotas? (n) (y/n): n 

[snip compile] 

gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c vchkpw.c
vchkpw.c:40: shadow.h: No such file or directory
*** Error code 

Thanks for any help.



RE: [vchkpw] Control/Me?

2003-04-01 Thread Wil Hatfield - HVHM Customer Care
Thank you Tom and James. My suspicion was that it was coming from control/me
OR something in the supervise scripts. However grep didn't find it for some
darn reason. After actually openning the qmail-smtpd/run script I did find
it there.

Thanks again,

Wil


> -Original Message-
> From: James Raftery [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2003 2:00 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] Control/Me?
>
>
> On Mon, Mar 31, 2003 at 10:32:14PM -0800, Wil Hatfield wrote:
> > Received: from unknown (HELO ns1.a-zhost.com) (216.120.76.2)
> >   by h6.a-zhost.com with SMTP; 31 Mar 2003 21:03:59 -0800
> >
> > Where does the h6.a-zhost.com value come from shown above. I thought
> > it came from control/me which I have checked and double checked. This
> > email did not go through h6.a-zhost.com at all.
>
> That's from tcpserver. Check the value of the -l flag to tcpserver, if
> present. Otherwise tcpserver will look up the system's name in DNS. Check
> your reverses.
>
>
> ATB,
> james
>




Re: [vchkpw] Multiple mail delivery

2003-04-01 Thread Tom Collins
On Tuesday, April 1, 2003, at 10:58  AM, Kenneth Ling wrote:
I have other question to ask..base on the [EMAIL PROTECTED]
if I send a mail BCC to [EMAIL PROTECTED]
and it will auto send to [EMAIL PROTECTED] maildir..
my question is.. from that email on [EMAIL PROTECTED], how do I know 
that email is
actually to [EMAIL PROTECTED]
Look for a "Delivered-To:" header.

--
Tom Collins
[EMAIL PROTECTED]



Re: [vchkpw] tcprules

2003-04-01 Thread Claudio Nieder
Hi,

> 200.x.x.x:deny,RPLINE="[EMAIL PROTECTED]"

while this is possible, it serves no purpose, because of the "deny" tcpserver
will not accept the TCP-connection, and thus nobody will ever see the RPLINE
variable.

If your question is: "Does tcpserver have the ability to reject connections
based on the recepient address", the answer is "No", because tcpserver does
handle only the TCP connection and doesn't care about the transmitted
data. That's the job of qmail-smtpd.

> Or if i have make a patch for qmail environment variables like badrcptto, 
> badmailftom, etc...

badmailfrom is part of qmail 1.03 itself. For badrcptto funtionality you
need an additional patch.
claudio
-- 
Claudio Nieder  .  mailto:[EMAIL PROTECTED]  .  http://www.inodes.ch
 iNodes AG  .  Friesenbergstrasse 3  .  CH-8055 Zürich  .  +41 43 960 0066




[vchkpw] problem with authentication

2003-04-01 Thread shaklee39
Hi, we recently had a problem on our server where someone accidently did a
"rm -rf /" for a few seconds (yes it is true) and /etc along with many other
things were wiped out. Thankfully the qmail and vpopmail directories were
not changed. Our host installed a new drive with freebsd on it and I copied
the qmail and vpopmail folders over to the new drive and tried to start it
up. I did the regular checks such as disabling sendmail and moving the
startup scripts. vdominfo reports all the domains have the correct number of
users. When I start qmail there are no errors but authentication no longer
works. The install is per LWQ directions. In the pop logs all I see is stuff
like this:

@40003e89b5440e764f04 tcpserver: end 445 status 256
@40003e89b5440e776c2c tcpserver: status: 0/20
@40003e89b583057164fc tcpserver: status: 1/20
@40003e89b5830578b02c tcpserver: pid 481 from 66.127.229.52
@40003e89b583057c59ac tcpserver: ok 481 0:66.213.105.32:110
:66.127.229.52::
3257

but nothing more after a failed attempt at a pop login. I have no idea where
to go from here as to how to debug this login problem any help is
appreciated.



Re: [vchkpw] problem with authentication

2003-04-01 Thread shaklee39
Well that must be the problem, I have no way of checking if the old box and
this one because the old /etc was wiped after the incident. Is there any way
to recover this?


- Original Message -
From: "mike" <[EMAIL PROTECTED]>
To: "shaklee39" <[EMAIL PROTECTED]>
Sent: Tuesday, April 01, 2003 4:06 PM
Subject: Re: [vchkpw] problem with authentication


> Hi
> Did you check the user ids are the same betwenn you wiped box and the
> freebsd box .
> It is also not clear what type of authentication you were using .
>
> Thanks
> - Original Message -
> From: "shaklee39" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 01, 2003 7:03 PM
> Subject: [vchkpw] problem with authentication
>
>
> > Hi, we recently had a problem on our server where someone accidently did
a
> > "rm -rf /" for a few seconds (yes it is true) and /etc along with many
> other
> > things were wiped out. Thankfully the qmail and vpopmail directories
were
> > not changed. Our host installed a new drive with freebsd on it and I
> copied
> > the qmail and vpopmail folders over to the new drive and tried to start
it
> > up. I did the regular checks such as disabling sendmail and moving the
> > startup scripts. vdominfo reports all the domains have the correct
number
> of
> > users. When I start qmail there are no errors but authentication no
longer
> > works. The install is per LWQ directions. In the pop logs all I see is
> stuff
> > like this:
> >
> > @40003e89b5440e764f04 tcpserver: end 445 status 256
> > @40003e89b5440e776c2c tcpserver: status: 0/20
> > @40003e89b583057164fc tcpserver: status: 1/20
> > @40003e89b5830578b02c tcpserver: pid 481 from 66.127.229.52
> > @40003e89b583057c59ac tcpserver: ok 481 0:66.213.105.32:110
> > :66.127.229.52::
> > 3257
> >
> > but nothing more after a failed attempt at a pop login. I have no idea
> where
> > to go from here as to how to debug this login problem any help is
> > appreciated.
> >
> >
>
>



[vchkpw] RBL Problems

2003-04-01 Thread Wil Hatfield - HVHM Customer Care



Can anybody see 
anything wrong with the following? The funny thing is is that the 
RBL works on one machine but not another. And we are using them exactly the 
same with of course the exception of the hostname.  
 
QMAILDUID=`id -u 
qmaild`NOFILESGID=`id -g qmaild`
 
exec 
/usr/local/bin/softlimit -m 200 \/usr/local/bin/tcpserver \  -H 
-l thismachineshostname.com \  -v -x 
/sites/home/vpopmail/etc/tcp.smtp.cdb \  -c 100 -R -u "$QMAILDUID" -g 
"$NOFILESGID" 0 smtp \/usr/local/bin/rblsmtpd -b -C \  -r 
'relays.ordb.org:Some message goes here' \/var/qmail/bin/qmail-smtpd 
2>&1
 
 
Also what do I 
have to add here to get the reverse name lookup processing to 
work?
 
Wil
 


Re: [vchkpw] problem with authentication

2003-04-01 Thread shaklee39
cp -Rp /old/var/qmail /var/
and
cp -Rp /old/home/vpopmail /home/

- Original Message -
From: "mike" <[EMAIL PROTECTED]>
To: "shaklee39" <[EMAIL PROTECTED]>
Sent: Tuesday, April 01, 2003 4:13 PM
Subject: Re: [vchkpw] problem with authentication


> Ok . Can you explain to me how did you move the directories . ?
> - Original Message -
> From: "shaklee39" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 01, 2003 7:13 PM
> Subject: Re: [vchkpw] problem with authentication
>
>
> > Well that must be the problem, I have no way of checking if the old box
> and
> > this one because the old /etc was wiped after the incident. Is there any
> way
> > to recover this?
> >
> >
> > - Original Message -
> > From: "mike" <[EMAIL PROTECTED]>
> > To: "shaklee39" <[EMAIL PROTECTED]>
> > Sent: Tuesday, April 01, 2003 4:06 PM
> > Subject: Re: [vchkpw] problem with authentication
> >
> >
> > > Hi
> > > Did you check the user ids are the same betwenn you wiped box and the
> > > freebsd box .
> > > It is also not clear what type of authentication you were using .
> > >
> > > Thanks
> > > - Original Message -
> > > From: "shaklee39" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, April 01, 2003 7:03 PM
> > > Subject: [vchkpw] problem with authentication
> > >
> > >
> > > > Hi, we recently had a problem on our server where someone accidently
> did
> > a
> > > > "rm -rf /" for a few seconds (yes it is true) and /etc along with
many
> > > other
> > > > things were wiped out. Thankfully the qmail and vpopmail directories
> > were
> > > > not changed. Our host installed a new drive with freebsd on it and I
> > > copied
> > > > the qmail and vpopmail folders over to the new drive and tried to
> start
> > it
> > > > up. I did the regular checks such as disabling sendmail and moving
the
> > > > startup scripts. vdominfo reports all the domains have the correct
> > number
> > > of
> > > > users. When I start qmail there are no errors but authentication no
> > longer
> > > > works. The install is per LWQ directions. In the pop logs all I see
is
> > > stuff
> > > > like this:
> > > >
> > > > @40003e89b5440e764f04 tcpserver: end 445 status 256
> > > > @40003e89b5440e776c2c tcpserver: status: 0/20
> > > > @40003e89b583057164fc tcpserver: status: 1/20
> > > > @40003e89b5830578b02c tcpserver: pid 481 from 66.127.229.52
> > > > @40003e89b583057c59ac tcpserver: ok 481 0:66.213.105.32:110
> > > > :66.127.229.52::
> > > > 3257
> > > >
> > > > but nothing more after a failed attempt at a pop login. I have no
idea
> > > where
> > > > to go from here as to how to debug this login problem any help is
> > > > appreciated.
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Re: [vchkpw] problem with authentication

2003-04-01 Thread Cliff Burdick
Nope, I copied the folders containing both programs directly over...Would it 
be better to reinstall? I would want to avoid this because installing qmail 
took an extremely long time on my last attempt.



From: "mike" <[EMAIL PROTECTED]>
To: "shaklee39" <[EMAIL PROTECTED]>
Subject: Re: [vchkpw] problem with authentication
Date: Tue, 1 Apr 2003 19:15:49 -0500
hmmm . I assume you installed qmail and vpopmail and then moved the old
files to the directories .?
- Original Message -
From: "shaklee39" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 01, 2003 7:13 PM
Subject: Re: [vchkpw] problem with authentication
> Well that must be the problem, I have no way of checking if the old box
and
> this one because the old /etc was wiped after the incident. Is there any
way
> to recover this?
>
>
> - Original Message -
> From: "mike" <[EMAIL PROTECTED]>
> To: "shaklee39" <[EMAIL PROTECTED]>
> Sent: Tuesday, April 01, 2003 4:06 PM
> Subject: Re: [vchkpw] problem with authentication
>
>
> > Hi
> > Did you check the user ids are the same betwenn you wiped box and the
> > freebsd box .
> > It is also not clear what type of authentication you were using .
> >
> > Thanks
> > - Original Message -
> > From: "shaklee39" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, April 01, 2003 7:03 PM
> > Subject: [vchkpw] problem with authentication
> >
> >
> > > Hi, we recently had a problem on our server where someone accidently
did
> a
> > > "rm -rf /" for a few seconds (yes it is true) and /etc along with 
many
> > other
> > > things were wiped out. Thankfully the qmail and vpopmail directories
> were
> > > not changed. Our host installed a new drive with freebsd on it and I
> > copied
> > > the qmail and vpopmail folders over to the new drive and tried to
start
> it
> > > up. I did the regular checks such as disabling sendmail and moving 
the
> > > startup scripts. vdominfo reports all the domains have the correct
> number
> > of
> > > users. When I start qmail there are no errors but authentication no
> longer
> > > works. The install is per LWQ directions. In the pop logs all I see 
is
> > stuff
> > > like this:
> > >
> > > @40003e89b5440e764f04 tcpserver: end 445 status 256
> > > @40003e89b5440e776c2c tcpserver: status: 0/20
> > > @40003e89b583057164fc tcpserver: status: 1/20
> > > @40003e89b5830578b02c tcpserver: pid 481 from 66.127.229.52
> > > @40003e89b583057c59ac tcpserver: ok 481 0:66.213.105.32:110
> > > :66.127.229.52::
> > > 3257
> > >
> > > but nothing more after a failed attempt at a pop login. I have no 
idea
> > where
> > > to go from here as to how to debug this login problem any help is
> > > appreciated.
> > >
> > >
> >
> >
>
>



_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail




RE: [vchkpw] RBL Problems

2003-04-01 Thread Michael Bowe
> -Original Message-
> From: Wil Hatfield - HVHM Customer Care [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 2 April 2003 10:09 AM
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] RBL Problems
> 
> 
> Can anybody see anything wrong with the following? The 
> funny thing is is that the RBL works on one machine but
> not another. And we are using them exactly the same with
> of course the exception of the hostname.  
> 
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> 
> exec /usr/local/bin/softlimit -m 200 \
> /usr/local/bin/tcpserver \
>   -H -l thismachineshostname.com \
>   -v -x /sites/home/vpopmail/etc/tcp.smtp.cdb \
>   -c 100 -R -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
> /usr/local/bin/rblsmtpd -b -C \
>   -r 'relays.ordb.org:Some message goes here' \
> /var/qmail/bin/qmail-smtpd 2>&1


The syntax :

  -r 'relays.ordb.org:Some message goes here' 

requires that you patch ucspi-tcp with the patch :

  http://www.qmail.org/ucspi-rss.diff 

Maybe the 2nd machine hasn't got this patch applied?

> Also what do I have to add here to get the reverse 
> name lookup processing to work?

Try removing the line :

  -H -l thismachineshostname.com \

Michael.




Re: [vchkpw] Multiple mail delivery

2003-04-01 Thread Kenneth Ling
does it have any sample code available???

Justin Heesemann wrote:

> On Tuesday 01 April 2003 19:58, Kenneth Ling wrote:
> > hi
> > I have other question to ask..base on the [EMAIL PROTECTED]
> > if I send a mail BCC to [EMAIL PROTECTED]
> > and it will auto send to [EMAIL PROTECTED] maildir..
> > my question is.. from that email on [EMAIL PROTECTED], how do I know that
> > email is actually to [EMAIL PROTECTED]
>
> .qmail-default gets the variables $EXT and $HOST. ([EMAIL PROTECTED] is the original
> receipient, so far as i know)
> you could write a small tool which simply precedes every mail with
> Orig-Rcpt: [EMAIL PROTECTED]
>
> and then passes the complete message.
>
> --
> Mit internetten Grüßen / Best Regards
> ---
> Justin Heesemannionium Technologies
> [EMAIL PROTECTED]www.ionium.org

--
Regards
  Kenneth Ling
  ranhill engineers and constructors sdn bhd






[vchkpw] mailer-daemon

2003-04-01 Thread Kenneth Ling
how to make a mailer-daemon on each individual virtual domain..

tq

--
Regards
  Kenneth Ling
  ranhill engineers and constructors sdn bhd






[vchkpw] path / tcp-smtp / relay

2003-04-01 Thread Holger . Bahr
Hello List,

I installed qmail and vpopmail and my relaying does not work
correctly.

When i get mails via POP, my "tcp.smtp.cdb" file is been
regenerated and is containing the correct IPs. The IPs wich
shall be open for relay until clearopensmtp removes the entries
a while later ... So, all is functional here. "tcp.smtp.cdb"
is updated ..

But it seems that qmail ONLY looks into it´s "rcpthosts" file and
NOT into the tcp.smtp.cdb ...

My qmail-smtpd startup is like

exec /usr/bin/softlimit -m 800 \
/usr/bin/tcpserver -c512 -H -R -v -x/etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp \
rblsmtpd /var/qmail/bin/qmail-smtpd 2>&1

And as i said, all "seems" to work fine.
The tcp.smtp.cdb file is been regenerated when i authenticated 
via pop and also the clearopensmtp works (removal of the IPs).

I use mysql so i can see the ips "twice", first in the mysql tabe
and second in the tcp.smtp.cdb.

i chmodded tcp.smtp* to 777, too but it is still not working.

Help needed because now my machine is open for relay...

Why does my qmail seems not to be reading the tcp.smtp.cdb ?!
Any path setting missing or shall i symlink something ?

When i chmod the tcp.smtp.cdb file that only root can read it,
i get no errormessage in the qmail-smtp log. so there must be
something wrong, or not ?

Holger

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!