Suspending an POP3 account.

2001-06-11 Thread Reid Sutherland

Hi,

I'd like to be able to suspend a POP3 account without changing the
client's password.  Is there anything I can do to the home directory or
Maildir to accomplish this?

What I'm doing the for incoming mail is a simple .qmail file that
creates a message and spits back an error saying the account is suspended
(sort of like a vacation program).  So I want to make sure the .qmail is
usable but also prevent the client from logging in via POP3.  I've attempted
changing the ownership of the Maildir to someone else, but that didn't work
and only defered incoming messages.

Most likely I'll have to store password somewhere and replace it in the
shadow file with a 'x' when suspended, and put the crypt password back once
the account is restored.

I think this advice might come in handy for someone handling delinquent
(lack of payment) clients when using a passwd/shadow authentication method.

Any ideas on a solution?

-reid





Re: Suspending an POP3 account.

2001-06-11 Thread Reid Sutherland


 On Mon, Jun 11, 2001 at 05:58:19PM -0400, Reid Sutherland allegedly wrote:
  Hi,
 
  I'd like to be able to suspend a POP3 account without changing the
  client's password.  Is there anything I can do to the home directory or
  Maildir to accomplish this?
 
  What I'm doing the for incoming mail is a simple .qmail file that
  creates a message and spits back an error saying the account is
suspended
  (sort of like a vacation program).  So I want to make sure the .qmail is
  usable but also prevent the client from logging in via POP3.  I've
attempted
  changing the ownership of the Maildir to someone else, but that didn't
work
  and only defered incoming messages.

 Do you still want incoming mail delivered for such accounts?


No.  It's as if the account is dead, but the username is kept active.  I've
already created a .qmail that produces a bounce.

 If so, the easiest thing to do is change the name of Maildir to, say,
 Maildir.suspended and then in the .qmail file go:

 ./Maildir.suspended/
 | bouncesaying Account suspended


 When they become active again, remove the .qmail file and rename
 Maildir.suspended back to Maildir. Don't forget the chmod +t $HOME to
 defer any deliveries while you are making these changes.


 If you do not want the incoming mail delivered, then a permission
 change plus a .qmail file that only generates a bounce message is
 fine.

 Mind you, the POP error message they get wont be very friendly and
 maybe that's the intent. If it's not, you could additionally create a
 hand-crafted Maildir that has just one message in it regarding the
 suspension.


I've attempted a permission change on the Maildir, but then it won't run the
program in the .qmail file.
So to sum this up, I want to prevent both POP3 login and SMTP delivery, and
I've already done the SMTP prevention.

-reid





Re: Suspending an POP3 account.

2001-06-11 Thread Reid Sutherland

 Reid Sutherland [EMAIL PROTECTED] writes:

 [...]

  Most likely I'll have to store password somewhere and replace it in
the
  shadow file with a 'x' when suspended, and put the crypt password back
once
  the account is restored.

 Not qmail related, but a trick I like to use is to just prepend *LOCK*
 to their crypted password entry.  Then to restore the account and put
 the correct crypted password back, you just remove *LOCK*.

 For example, if I have

 sgifford:abc12345:

 in /etc/shadow, it becomes

 sgifford:*LOCK*abc12345:

 That solves the problem of where to put the password, but maybe there
 is a more elegant qmail-based solution.


Good call, this is the most viable solution so far.  I think it's the best
way IMHO.

-reid





Re: Suspending an POP3 account.

2001-06-11 Thread Reid Sutherland


  (lack of payment) clients when using a passwd/shadow
  authentication method.
 
  Any ideas on a solution?
 

 Though different checkpassword and pop programs will handle the problem
 differently, changing the _permissions_ on the ~Maildir/* so the owner
 doesn't have read access will work.  That is, typical Maildir perms are
700,
 change it to 300.

 All mail will be delivered as usual, but the pop account will not work.
If
 the user has telnet access, they will be able to circumvent this, but in a
 situation where you have expiring pop accounts, I'm assuming they don't.

 I imagine you could easily set the return error so that the user's mta
tells
 them they're delinquent.  It's not everyday the problem is a permission
 denied read on the Maildir.


This sounds really good too.  This will give them a more descriptive error
instead of password error as suggested before.  A password error will often
simply mean that and end up confusing the client in most cases.  But a
permission denied error could result in them thinking, 'Hey, maybe I should
pay my bill on time next time'.  Thanks for the tip.

-reid





Description of filename in Maildir/cur

2000-10-18 Thread Reid Sutherland

971829536.26305.simple:2,ST
971856803.14682.simple:2,T
971871879.5249.simple:2,RST

The first part is I'm guessing is unix time(). Second part is the inode?
Third, host. Now what's this 2? And what's T, ST, and RST?

thanks

-reid





Re: *sigh* performance issues again. Please help!

1999-07-28 Thread Reid Sutherland

Syslog is crap. Pure junk, it takes 100% CPU when the log gets larger then
50 megs. I have NOT taken mine off because I'm plain out too lazy. BUT if
you notice your box is being raped by something and you think it's qmail,
trust me it's not, it's syslogd. Now I've only seen this on a RH install of
Linux. So if you're having speed problems on big mailling lists or sending
to many users locally, get rid of syslogd. If you want to see it rape your
box in real time, create a quick list of 1 junk email address (local to
you), and send a piece of mail to it, do a 'top', and watch syslog sit at a
100% CPU.

Get cyclog (as far as I know it will fix this problem, although again I have
not tested it, yet). Or some other syslogd replacement (for linux users, hit
www.freshmeat.net).

Hope this helps whoever needs it.


Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5


- Original Message -
From: [EMAIL PROTECTED]
To: Reid Sutherland [EMAIL PROTECTED]
Sent: Wednesday, July 28, 1999 9:54 AM
Subject: Re: *sigh* performance issues again. Please help!



 Woah!  I think you may be on to something.  I just shut syslog off and I'm
 watching the queue and it did about 300 messages in about 20 seconds.

 Please tell me which syslog replacement you're talking about, cause I all
 see if daemontools and cyclog.

 -jeremy

 
  This is Linux.  I was unaware of djb's syslog replacement.  Are you
  talking about cyclog?
 
  Thanks
  -jeremy
 
   It is qmail that's taking time to do the email or is syslogd raping
your
   box?
   If you have any sort of logging going through syslogd from qmail,
syslogd
   will rape your box, not qmail. Get DJBs syslogd replacement and it
should
   fix your problem. Btw what OS you running?
  
  
   Reid Sutherland
   Network Administrator
   ISYS Technology Inc.
   http://www.isys.ca
   Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5
  
   - Original Message -
   From: [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Tuesday, July 27, 1999 11:51 AM
   Subject: *sigh* performance issues again. Please help!
  
  
   
I don't know why or what's wrong, but I'll tell you what I'm seeing.
   
I have vanilla qmail, with the big todo patch installed and split
boosted
up to 231.  Smtp is receiving about 150,000 emails a day and it's
taking
qmail about 24 hours to get through this amount of mail.
   
The group of people this mail list and mail server affects claims
that
sendmail did this list in about 5 - 6 hours.  I refuse to believe
that
sendmail's performance in this can beat qmail.  From my past I've
seen
qmail handle this load with no problem.
   
I'm running out of options.  I'd like to see qmail do well here, but
unless it starts really doing something major, I'll have to slap
sendmail
back on there to make them happy.  Please give me some magic.
   
Thanks
-jeremy
   
   
   
  
  
 
 
  http://www.xxedgexx.com | [EMAIL PROTECTED]
  -
  Y2K.  We're all gonna die.
 
 


 http://www.xxedgexx.com | [EMAIL PROTECTED]
 -
 Y2K.  We're all gonna die.





Re: Using qmail with CGI feedback form - needing reference

1999-07-12 Thread Reid Sutherland

As per the qmail install doc, you must link /usr/lib/sendmail to
/var/qmail/bin/sendmail.
(ln -s /var/qmail/bin/sendmail /usr/lib/sendmail)
I've used multiple form mailers, and they all work fine with qmail's
sendmail replacement.



Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-Original Message-
From: Dan Poynor [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Monday, July 12, 1999 4:29 PM
Subject: RE: Using qmail with CGI feedback form - needing reference


Setting my CGI form variable to $mailprog = '/var/qmail/bin/sendmail' seems
to work fine. No symbolic links necessary. Maybe your symbolic links are
mandatory for other processes?

I am surprised I can't locate documentation referencing use of form mail
with qmail.

Cheers,
DAN


-Original Message-
From: Markus Stumpf [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 11, 1999 2:43 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Using qmail with CGI feedback form - needing reference


On Sun, Jul 11, 1999 at 11:39:03PM +0200, Markus Stumpf wrote:
 I have a symb.link (which is kinda mandatory for systems running qmail)
 from /usr/sbin/sendmail - /var/qmail/sendmail

*ARGL*
That should read
/var/qmail/bin/sendmail
   
of course :/

 \Maex
--
SpaceNet GmbH |   http://www.Space.Net/   | Yeah, yo mama
dresses
Research  Development| mailto:[EMAIL PROTECTED] | you funny and you
need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| a mouse to delete
files
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  |





Re: Using qmail with CGI feedback form - needing reference

1999-07-12 Thread Reid Sutherland

Linking /var/qmail/bin/sendmail ensures backwards capatibility with older
programs / scripts that use the old sendmail. Using /var/qmail/bin/sendmail
in your script is the same as the link /usr/lib/sendmail.


Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-Original Message-
From: Dan Poynor [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Monday, July 12, 1999 11:40 PM
Subject: RE: Using qmail with CGI feedback form - needing reference


I nuked anything that smelled of sendmail. Trying to avoid it's ghost also.
qmails Sendmail requirements seem redundant to me. That is I don't want to
create sendmail symbolic links when it's not necessary.

Perhaps a future FAQ item could mention form mail sending injects to
/var/qmail/bin/sendmail.

Now I see someone is saying it should be /var/qmail/bin/qmail-inject. Are
these the same thing?

Thanks,
DAN


-Original Message-
From: Reid Sutherland [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 12, 1999 1:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Using qmail with CGI feedback form - needing reference


As per the qmail install doc, you must link /usr/lib/sendmail to
/var/qmail/bin/sendmail.
(ln -s /var/qmail/bin/sendmail /usr/lib/sendmail)
I've used multiple form mailers, and they all work fine with qmail's
sendmail replacement.



Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-Original Message-
From: Dan Poynor [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Monday, July 12, 1999 4:29 PM
Subject: RE: Using qmail with CGI feedback form - needing reference


Setting my CGI form variable to $mailprog = '/var/qmail/bin/sendmail'
seems
to work fine. No symbolic links necessary. Maybe your symbolic links are
mandatory for other processes?

I am surprised I can't locate documentation referencing use of form mail
with qmail.

Cheers,
DAN


-Original Message-
From: Markus Stumpf [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 11, 1999 2:43 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Using qmail with CGI feedback form - needing reference


On Sun, Jul 11, 1999 at 11:39:03PM +0200, Markus Stumpf wrote:
 I have a symb.link (which is kinda mandatory for systems running qmail)
 from /usr/sbin/sendmail - /var/qmail/sendmail

*ARGL*
That should read
/var/qmail/bin/sendmail
   
of course :/

 \Maex
--
SpaceNet GmbH |   http://www.Space.Net/   | Yeah, yo mama
dresses
Research  Development| mailto:[EMAIL PROTECTED] | you funny and you
need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| a mouse to delete
files
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  |








Re: tcpserver and firewalls/NAT

1999-04-30 Thread Reid Sutherland

Makes sense.
The man stated something in regards to TCPREMOTEINFO which throws me off.
But now I know :)

Thanks again, the problem seems to be fixed now.


Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-Original Message-
From: Matt Buford [EMAIL PROTECTED]
To: Reid Sutherland [EMAIL PROTECTED]; [EMAIL PROTECTED]
[EMAIL PROTECTED]
Date: Friday, April 30, 1999 12:55 PM
Subject: Re: tcpserver and firewalls/NAT


Add the -R option to your tcpserver command lines to disable ident lookups.
Without -R, tcpserver attempts to do an ident lookup, which then causes the
10-15 second delay while it times out when the user is behind either a
firewall or NAT which just blackholes your connection attempt.

- Original Message -
From: Reid Sutherland [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 30, 1999 11:46 AM
Subject: tcpserver and firewalls/NAT


 It seems that tcpserver is having problem communicating with people using
 NAT (Network Address Translation) or are behind a firewall (which for the
 most part is NAT).

 I have 2 large scale clients, and they both state it takes them roughly
 10-15 seconds to send or receive email. I have my smtp/pop3 both running
 under tcpserver. I've tried adding the -o option, but with still no
results.

 Has anyone seen this problem, or have an answer for me?


 Reid Sutherland
 Network Administrator
 ISYS Technology Inc.
 http://www.isys.ca
 Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5







tcpserver and firewalls/NAT

1999-04-30 Thread Reid Sutherland

It seems that tcpserver is having problem communicating with people using
NAT (Network Address Translation) or are behind a firewall (which for the
most part is NAT).

I have 2 large scale clients, and they both state it takes them roughly
10-15 seconds to send or receive email. I have my smtp/pop3 both running
under tcpserver. I've tried adding the -o option, but with still no results.

Has anyone seen this problem, or have an answer for me?


Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5




Re: inetd-smtp/tcp problem

1999-04-23 Thread Reid Sutherland

inetd natively sucks. Get tcpserver from DJB's page.
If you need help setting that up, hit the FAQ, then hit the mailling list
archive, then hit the list if all else fails.

Hope this helps.

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-Original Message-
From: Brian D. Kohl [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Friday, April 23, 1999 11:32 AM
Subject: inetd-smtp/tcp problem


Hey all,

So I have a new qmail install here at my new company.  Threw out Exchange
before it was even set up, though after they had paid for it.  No worries.

I have Qmail running as it should, been great since last Friday when I set
it up, but yesterday I had 3 seperate events of the following error (as
logged in /var/log/messages):

Apr 22 12:02:43 mailsf inetd[256]: smtp/tcp server failing (looping),
service terminated

This killed everyones ability to connect to our mailserver, and I could not
telnet to port 25 as well.  The problem was not with Qmal, but with inetd
itself.  A kill -HUP on inetd made the problem go away.  It happened 3
times yesterday, but it seemed quite randomly.  Hasn't happened again.  I
had maybe 10,000 emails go through the server (a PII 400), so load was not
an issue (I have another Qmail setup elsewhere doing 50,000 a day via inetd
- tcpserver is on the plate, but no time yet - not that 50k is alot).

Any ideas what would chop down my port 25 abilities with inetd?

Thanks very much,
Brian


-
Brian D. Kohl
Chemconnect, Inc.
415.364.3328
-




Re: checkpassword and pop

1999-04-21 Thread Reid Sutherland

This is so true.
Inetd blows.

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-Original Message-
From: Petr Novotny [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Wednesday, April 21, 1999 9:02 AM
Subject: Re: checkpassword and pop


 But when he does kick off this 100 requests at one time qmail spawns
 a lot of pop3 processes and then after 30-50 has been executed pop3
 dies completely - why ? And what can I do to make the system able to
 handle this kind of (ab)use ?

I would think you run pop3 from inetd and when suddenly someone 
starts 100 simultaneous connections, inetd freaks out and slams the 
brakes. If I'm right, the solution is to kick inetd and use xinetd 
or, preferably, tcpserver.
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]




Re: No pop mail?

1999-04-21 Thread Reid Sutherland

What is the error in the log as well as the error from the bounced email?


Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-Original Message-
From: Durham, Kenneth J [EMAIL PROTECTED]
To: 'Qmail' [EMAIL PROTECTED]
Date: Wednesday, April 21, 1999 9:32 AM
Subject: No pop mail?


Im kinda new to linux in general.  I finaly got qmail to work after
searching for hours for some good documantation.  Now that i have it
working
im having a few problems.  I can send mail out from the box ok like from
pine or what ever.But when i try to send mail into the box from another box
not on the same lan it bounces back.  Also if i were to try and get mail
from the linux box from another box with netscape i get an error that it
could not connect to my pop3 server.  Did i miss something in the
configuration or something?  Thank you guys for all your help.




Problems with qmail-smtpd

1999-04-21 Thread Reid Sutherland

It seems that I'll have a lot of idle qmail-smtpd processes, and when I get
to a certain amount of qmail-smtpd procs running, it allows a connection to
be made to port 25, BUT, it doesn't send or recieve data.

Here's my qmail-smtpd line.

/usr/local/bin/tcpserver -v -x /etc/tcp.smtp.cdb -u 21 -g 20 0 smtp
/var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger smtpd 3 

Any ideas?

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5




Re: ERR User has no $HOME/maildir (STILL GETTING ERROR)

1999-04-19 Thread Reid Sutherland




Did you check the /etc/passwd file to make sure 
it's pointing to the right dir? Such as /home/whoever.

Also, chown the home to that person, chown -R whoever 
/home/whoever

Try those.
Reid SutherlandNetwork 
AdministratorISYS Technology Inc.http://www.isys.caFingerprint: 1683 001F A573 
B6DF A074 0C96 DBE0 A070 28BE EEA5

-Original Message-From: 
Jay [EMAIL PROTECTED]To: 
[EMAIL PROTECTED] [EMAIL PROTECTED]Date: 
Monday, April 19, 1999 2:05 PMSubject: ERR User has no 
$HOME/maildir (STILL GETTING ERROR)
OK, thanks for your help so far, but I am still getting 
the error

/home/whoever/Maildir
exists now, and it has mail in it but outlook express 
responds first with rejecting the password, but gives me that same 
error again. 
ERR User has no $HOME/maildir 
any other ideas?


Something a little interesting...

1999-04-15 Thread Reid Sutherland

http://www.mindcraft.com/whitepapers/nts4rhlinux.html

Not really related to email, but, I found it interesting how this company
makes a claim that has been proven wrong millions of times, NT is NOT faster
then Linux.

I think the report is bogus.


Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5




Virtualdomains - Alias style VS. User style

1999-04-08 Thread Reid Sutherland

What do you guys think the benefits would be to using the alias style for
virtualdomains (~alias/.qmail-domain-user) or the user style
($HOME/user/.qmail-aliaseduser)? I'm trying to figure out the best way to
add my virtual domains to qmail. What do you guys use with your setup?

For those who are unfamiliar (as I was) with either style, allow me to
explain what I know about the two styles of virtual domain configuration.

First you can have your standard virtual domain attached to a local user
account.
In control/virtualdomains you would have domain.com:user. Then in
$HOME/user/ you would have .qmail-aliaseduser files to take care of the
routing to the accounts that you want to have on your virtual domain.

Second, we have the alias user. This is a global user that would normally
take care of the local (control/locals) aliases and such. If you want to use
this style, you would simply put this in your control/virtualdomains,
domain.com:alias-domain. Then in your ~alias/ dir you would make
.qmail-domain-aliaseduser files to take care of the routing.

So, [EMAIL PROTECTED] with mail being sent to [EMAIL PROTECTED] would look like
this in local user account style.

in file
   control/virtualdomains
enter
   blah.com:blah
in file
   $HOME/blah/.qmail-info
enter
   [EMAIL PROTECTED]

And for the ~alias user style.

in file
   control/virtualdomains
enter
   blah.com:alias-blah
in file
~alias/.qmail-blah-info
enter
   [EMAIL PROTECTED]

Now I'm not saying my way is correct. This is how I understand it works.
After reading the man pages, FAQ, and various list mailings, this is what I
understand. If I am wrong, PLEASE tell the list I am. I don't want my misled
info being searched on the archived one day, if in fact it is misled :)

Thanks.

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5




Re: CNAME problem solved, I think, but another ???

1999-04-04 Thread Reid Sutherland

Or if you're using a linux distrobution, try changing killproc to killall


Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-Original Message-
From: Chris Johnson [EMAIL PROTECTED]
To: Bill Parker [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Sunday, April 04, 1999 7:23 PM
Subject: Re: CNAME problem solved, I think, but another ???


On Sun, Apr 04, 1999 at 03:50:31PM -0700, Bill Parker wrote:
 Hello,

 I believe I have my CNAME problem with AOL solved, but it will take
 a day or two to be certain.  On a more difficult note, I have the
following
 script to stop, start, restart, and status qmail (which was furnished by
 inter7.com, good commercial support for qmail IMO):

 [billp@odie billp]$ cat /etc/rc.d/init.d/qmail
 #!/bin/sh

 # Qmail Startup

 PROG=qmail  # what program are we playing with?
 COMMAND=$PROG   # command to start $PROG
 DIR=/var/lock/$PROG # a directory for supervise to use
 LOGDIR=/var/log/$PROG   # directory for logs

 # Source function library.
 INITDIR=/etc/rc.d/init.d# location of initscripts
 . $INITDIR/daemontools.functions
 ^

On my Redhat box, this file is called "functions," not
"daemontools.functions."
This is the file that killproc is defined in. You might try changing this
line
to:

. $INITDIR/functions

if that's the name of the file on your system.

Chris



Re: Connection closed on qmail-smtpd using tcp-env

1999-03-22 Thread Reid Sutherland

I pulled that line from the FAQ with regards to qpop3d.
I'll try this and report back to the list.


Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-Original Message-
From: Anand Buddhdev [EMAIL PROTECTED]
To: Reid Sutherland [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Friday, March 19, 1999 2:20 AM
Subject: Re: Connection closed on qmail-smtpd using tcp-env


On Thu, Mar 18, 1999 at 02:57:19PM -0500, Reid Sutherland wrote:

 I'm getting a connection closed when I telnet from the localhost to port
25
 after I install qmail using inetd and tcp-env. My conf lines are as
follows.

 # inetd.conf line, split for sanity of this message.
 #
 smtp stream tcp nowait qmaild /usr/local/bin/tcpd
 /var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd
 #
 # end

That line in inetd should read:

smtp stream tcp nowait qmaild /usr/local/bin/tcpd
/var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd

all one one line. You're missing a "tcp-env" invocation.

--
System Administrator
See complete headers for address, homepage and phone numbers



qpop3d and PAM

1999-03-22 Thread Reid Sutherland

I'm having problems with qpop3d and accepting passwords longer then 8
characters. I'm running PAM 0.64 with the bigcrypt encryption algorithim.
Anything shorter then 8 char will be accepted.

Very weird, because I had it working before.

:/

Thanks.

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5




Connection closed on qmail-smtpd using tcp-env

1999-03-18 Thread Reid Sutherland

I'm getting a connection closed when I telnet from the localhost to port 25
after I install qmail using inetd and tcp-env. My conf lines are as follows.

# inetd.conf line, split for sanity of this message.
#
smtp stream tcp nowait qmaild /usr/local/bin/tcpd
/var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd
#
# end

# services
#
smtp25/tcp
#
# end

# hosts.allow, this is the first line, I understand that tcpd goes in
sequence.
#
tcp-env: 127.0.0.1 : setenv=RELAYCLIENT
#
# end

If I take off the tcp-env and make use of the rcpthosts file and simply use
the inetd.conf line from the INSTALL file, it works fine. But when I make
use of tcpd, it pukes. Now my tcpd works fine, because I have many lines in
my hosts.allow, and other services respond to it fine.
Also my hosts.deny is set to ALL:ALL.

Thanks.

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5




Customizing return messages. (MAILER-DAEMON messages)

1999-02-10 Thread Reid Sutherland

Anyone know how to customize those messages. Instead of the "...sorry it
didn't work out." stuff. I don't think my boss thinks it's "professional".
Personally I don't care, it's a damn return message. :)

But anyone know where I could customize. Even if I have to recompile.


Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5




Re: Connection problems.

1999-02-09 Thread Reid Sutherland

Here is the inetd.conf line. The line was split at qmaild.

---begin---
smtpstream  tcp nowait  qmaild
/var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd
---end---

The line in my services file.

---begin---
smtp25/tcp  mail
---end---

I get a connection and then it says the remote system has closed the
connection. I'm telneting from localhost to port 25. And if I telnet from
anywhere else it does the same thing. I've removed my hosts.allow and
hosts.deny and I still get the same problem. I have no clue what's doing it.

Thanks.

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-Original Message-
From: Mate Wierdl [EMAIL PROTECTED]
To: Reid Sutherland [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Monday, February 08, 1999 11:28 PM
Subject: Re: Connection problems.


On Mon, Feb 08, 1999 at 10:30:51PM -0500, Reid Sutherland wrote:
 The exact line in my inetd.conf is from the INSTALL file in qmail 1.03
 tarball.
 I've got Linux 2.2.1.
 I got a connection closed from a telnet.
 I have things setup in hosts.allow and deny but I allow localhost.
 I ran config to make my rcpthosts and such.

 Everything seems ok to me. :/ I'm not new either. Maybe I'm just
 "overlooking" something :)


That is the point.  I f you do not show, we do not see.

Mate



Re: Connection problems.

1999-02-08 Thread Reid Sutherland

The exact line in my inetd.conf is from the INSTALL file in qmail 1.03
tarball.
I've got Linux 2.2.1.
I got a connection closed from a telnet.
I have things setup in hosts.allow and deny but I allow localhost.
I ran config to make my rcpthosts and such.

Everything seems ok to me. :/ I'm not new either. Maybe I'm just
"overlooking" something :)

Thanks.

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-Original Message-
From: Mate Wierdl [EMAIL PROTECTED]
To: Reid Sutherland [EMAIL PROTECTED]
Date: Monday, February 08, 1999 9:17 PM
Subject: Re: Connection problems.


On Mon, Feb 08, 1999 at 08:14:21PM -0500, Reid Sutherland wrote:
 Everytime I connect to port 25 on my qmail server it closes. All my
 processes are running. Everything looks fine in my inetd.conf file. I'm
not
 sure what the problem is. Any ideas?

What is *exactly* the command in inetd.conf?  What is your system (OS)?
What error do you get when port 25 closes?  Do you have anything set up in
hosts.allow/deny?  What is in control/rcpthosts?

--
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis



Qmail RPMs.

1999-01-20 Thread Reid Sutherland

RPMs for qmail.

Sorry if this is a repost.

ftp://moni.msci.memphis.edu/pub/qmail

Hope this helps some people.

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5