UNSUBSCRIBE

2004-11-16 Thread [EMAIL PROTECTED]
UNSUBSCRIBE
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: exim4 and maildrop

2004-11-16 Thread simon
Ce jour Mon, 15 Nov 2004, simon raven a dit:

 Ce jour Mon, 15 Nov 2004, Mark Bucciarelli a dit:
 
 
 
 aah, good idea. i assume man maildrop will have that info. i was going
 to set the -V option but acccording to that man page -V isn't respected
 when run in delivery mode (-d).

ok, setting some logging up helped clarify a few things. for one thing
maildrop seems to have a hardcoded default of
/home/$LOGNAME/$CONFIGURED_MAILBOX. i have my mailstore in
/var/spool/courier/user and is in LDAP as such (plus username dir;
'Maildir' is configured eleswhere).

i have to explicitly specify what $HOME, $DEFAULT, etc. are. this cuts
down on flexibility. as to what's going on, i eventually figured out
that maildrop isn't getting $HOME properly from /etc/courier/maildroprc,
as i see this kind of thing in the log file i set up:

== can't find include /.mailfilter

and /etc/courier/maildroprc:

DEFAULT=/var/spool/courier/user/$LOGNAME/Maildir
$HOME=/var/spool/courier/user/$LOGNAME
MAILBOX=$HOME/Maildir
$INCLUDE=$MAILBOX

#`test -r $INCLUDE/.mailfilter`
#if( $RETURNCODE != 0 )
#   {
#   log == can't find include $INCLUDE/.mailfilter
#   exception {
#   include $INCLUDE/.mailfilter
#   }
#   if( $RETURNCODE == 0 )
#   log include $INCLUDE/.mailfilter
#}


i used the above to test, despite it's being commented out; i do have it
working, but not *quite* 100% - 80-95% depending on your PoV.

AFAICT, it isn't getting env. vars. from the exim settings properly, and
thinks the file is in /.


-- 
   ,''`.   http://www.debian.org/   http://www.nuit.ca/
   : :' :  Debian GNU/Linux http://simonraven.nuit.ca/
   '--
 `- GPG Print: 7C49 FD9C 1054 7300
3B7B 8BF4 6A88 7AE2 711D F097


signature.asc
Description: Digital signature


Re: exim4 and maildrop

2004-11-16 Thread Mark Bucciarelli
On Tuesday 16 November 2004 10:06, [EMAIL PROTECTED] wrote:

 DEFAULT=/var/spool/courier/user/$LOGNAME/Maildir
 $HOME=/var/spool/courier/user/$LOGNAME
^^^
This dollar sign looks wrong.

 MAILBOX=$HOME/Maildir
 $INCLUDE=$MAILBOX

Try it without the dollar sign prefixes; that is, 

DEFAULT=/var/spool/courier/user/$LOGNAME/Maildir
HOME=/var/spool/courier/user/$LOGNAME
MAILBOX=$HOME/Maildir
INCLUDE=$MAILBOX

If that doesn't work, I'm sure someone over at courier-users or on #courier 
can help you.  I only have experience using all the courier tools 
together.

Regards,

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



problem with pasive MODE and NAT

2004-11-16 Thread Francisco Castillo

Hello,

I has a proftpd server on a linux debian woody with a NAT sheeme. So my
proftpd is listening on the 192.168.0.X private ip and my router has
mapping the ports from 4 to 40010 from the public ip to the
192.168.0.X ip in order to allow pasive port transfers from internet. So
i has this config on my proftpd.conf


# para el NAT
MasqueradeAddress   217.00.00.214
PassivePorts 4 40010# These ports should be safe


but i has this problem:

when i connect from a cuteftp client from a 192.168.0.Y ip the client get
the correct pasive port to get data (4) from the proftpd server but
if i try to access from a public client ip (with cuteftp too) the server
said to get a aleatorious port and not in the range 4-40010
COMANDO:   PASV
227 Entering Passive Mode (217,00,00,214,238,235)).


238,235 = 238*256 + 235 != 4-40010

so i ask

what could be happening?
How could i solve my problem?

Thanks in advance.

-- 

Hostgreen,
http://www.hostgreen.com
[EMAIL PROTECTED]
tlf. 678205316 - 952431313
id msn - [EMAIL PROTECTED]


-- 

Hostgreen,
http://www.hostgreen.com
[EMAIL PROTECTED]
tlf. 678205316 - 952431313
id msn - [EMAIL PROTECTED]


-- 

Hostgreen,
http://www.hostgreen.com
[EMAIL PROTECTED]
tlf. 678205316 - 952431313
id msn - [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Debian for ISP

2004-11-16 Thread Omar
Hello all,
  I have just took over a network for an ISP that is running Debian, I am used 
to
using Cpanel/Whm and now I have to use the CLI.

The ISP also provides Hosting services and it uses dbdns 1.03, tinydns, xfrdns, 
I
am having problems with tinydns, as I use the add-ns and it worked for 4 
domians,
and then I can't add anymore?  Is there another way around it?
Also I want to ask if there is a way that I can check the user Authentication? 
Or get a list of users and their level? admin, regular user and so on.  I 
believe
that the previous admin used LDAP, is there a way I can look into the LDAP
database and find out the users and their levels?

Also I am thinking of installing webmin, so I can configure everything over the
web, if I do install it, will it recognize the current system, and the current
settings or will I have to take things in manually.

Thanks you all in advance. 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian for ISP

2004-11-16 Thread Gerhard Venter
Omar wrote:
Also I am thinking of installing webmin, so I can configure everything over the
web, if I do install it, will it recognize the current system, and the current
settings or will I have to take things in manually.
 


Not sure about the other questions, but Webmin will recognise your 
current configurations.  Be sure to install it the Debian way:
apt-get install webmin
(and the same for the modules you intend to use)

Gerhard
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Debian for ISP

2004-11-16 Thread Jacob S
On Tue, 16 Nov 2004 09:15:24 -0700
Omar [EMAIL PROTECTED] wrote:

 Hello all,
   I have just took over a network for an ISP that is running Debian, I
   am used to
 using Cpanel/Whm and now I have to use the CLI.
 
 The ISP also provides Hosting services and it uses dbdns 1.03,
 tinydns, xfrdns, I am having problems with tinydns, as I use the
 add-ns and it worked for 4 domians, and then I can't add anymore?  Is
 there another way around it?
snip - sorry, I'm not an LDAP expert

Try editing /service/tinydns/root/data with a text editor. It's not that
hard to figure out:
Lines starting with + is the equivalent of Bind's CNAME
Lines starting with = are host declarations
@ lines are for MXs
' for txt records
. and  for dns records
(More info available at http://cr.yp.to/djbdns.html)

After you're done editing the file, run 'make' from inside the
/service/tinydns/root/ directory.

 Also I am thinking of installing webmin, so I can configure everything
 over the web, if I do install it, will it recognize the current
 system, and the current settings or will I have to take things in
 manually.

I believe there's a webmin module for djbdns somewhere. A google search
should be able to find it. 

HTH,
Jacob
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Debian for ISP

2004-11-16 Thread Darrel O'Pry
 -Original Message-
 From: Jacob S [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 11:40 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Debian for ISP
 
 On Tue, 16 Nov 2004 09:15:24 -0700
 Omar [EMAIL PROTECTED] wrote:
 
  Hello all,
I have just took over a network for an ISP that is running Debian, I
am used to
  using Cpanel/Whm and now I have to use the CLI.
 
  The ISP also provides Hosting services and it uses dbdns 1.03,
  tinydns, xfrdns, I am having problems with tinydns, as I use the
  add-ns and it worked for 4 domians, and then I can't add anymore?  Is
  there another way around it?
 snip - sorry, I'm not an LDAP expert
 
 Try editing /service/tinydns/root/data with a text editor. It's not that
 hard to figure out:
 Lines starting with + is the equivalent of Bind's CNAME
 Lines starting with = are host declarations
 @ lines are for MXs
 ' for txt records
 . and  for dns records
 (More info available at http://cr.yp.to/djbdns.html)
 
 After you're done editing the file, run 'make' from inside the
 /service/tinydns/root/ directory.
 
  Also I am thinking of installing webmin, so I can configure everything
  over the web, if I do install it, will it recognize the current
  system, and the current settings or will I have to take things in
  manually.
 
 I believe there's a webmin module for djbdns somewhere. A google search
 should be able to find it.
 
 HTH,
 Jacob

check out http://www.vegadns.org/   for dns management with djbdns... 

Its does the job pretty well.

.darrel.

-- 
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.269 / Virus Database: 265.3.1 - Release Date: 11/15/2004
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian for ISP

2004-11-16 Thread Wouter Verhelst
Op di, 16-11-2004 te 19:28 +0100, schreef David Schmitt:
 On Tue, Nov 16, 2004 at 09:15:24AM -0700, Omar wrote:
  Also I want to ask if there is a way that I can check the user 
  Authentication? 
  Or get a list of users and their level? admin, regular user and so on.  I 
  believe
  that the previous admin used LDAP, is there a way I can look into the LDAP
  database and find out the users and their levels?
 
 Try taking a look at getent. Calling getent passwd gives you a list of
 system users.
 
 For lowlevel access to the ldap slapcat is probably the easiest.

except that slapcat wants you to shut down the slapd for safe operation.
You probably want ldapsearch instead.

-- 
 EARTH
 smog  |   bricks
 AIR  --  mud  -- FIRE
soda water |   tequila
 WATER
 -- with thanks to fortune


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian for ISP

2004-11-16 Thread Stephen Gran
This one time, at band camp, Wouter Verhelst said:
 Op di, 16-11-2004 te 19:28 +0100, schreef David Schmitt:
  On Tue, Nov 16, 2004 at 09:15:24AM -0700, Omar wrote:
   Also I want to ask if there is a way that I can check the user 
   Authentication? 
   Or get a list of users and their level? admin, regular user and so on.  I 
   believe
   that the previous admin used LDAP, is there a way I can look into the LDAP
   database and find out the users and their levels?
  
  Try taking a look at getent. Calling getent passwd gives you a list of
  system users.
  
  For lowlevel access to the ldap slapcat is probably the easiest.
 
 except that slapcat wants you to shut down the slapd for safe operation.
 You probably want ldapsearch instead.

It's not so much that you need to shut down slapd, as that you want to
make sure that slapd is not doing _write_ operations, or you'll get
inconsistent data.  Since the vast majority of LDAP operations are read
only, slapcat is generally fine.
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


pgpR2bKL24dzw.pgp
Description: PGP signature