Managing the Queue

2001-07-26 Thread David Gartner

Re all.

I just finished reading a 70 page chapter on the qmail queue itself and
I have a couple questions.  Is it possible to search and destroy
messages in the queue that meet certain criteria (with qmail off, of
course)?  Also, is anyone aware of any projects involving management of
the queue? I know there's a webmin module that can list messages in the
queue, but that's about the extent of it.  Does anyone else know
anything that could be of use about the queue?


David




Re: Problem with smtpd hanging on incoming connection

2001-07-26 Thread David Gartner

Tib,

We had this problem when tcpserver was reverse mapping IP addresses.  Maybe
you need to disable reverse lookups?

David Gartner

Tib wrote:

> So far as I have been able to find out by looking through the logs on the
> system, the qmail-smtpd daemon stopped functioning around 19:30 on the
> 24th of july. Nothing was changed on the system to instigate this, in fact
> it was a static setup for the past 3 months or so. So on to the meat of
> the matter:
>
> If you telnet to port 25 from localhost (unconfirmed just yet whether this
> also works from immediate local network of 192.168.1 as well) qmail-smtpd
> works great and responds in crisp order and delivers mail. However
> anything outside of that in the real world guts of the internet will try
> to connect to qmail-smtpd (which is spawned using tcpserver) will connect
> and open a socket, but never receive the smtp banner. If you telnet to it
> you will get as far as 'trying x.x.x.x - escape character is ^]' and
> that's it. Outgoing mail is unhindered and local deliveries are also
> perfectly functional.
>
> I used strace to dig through this a bit and found that when connected from
> locally, communication was accepted both ways perfectly. However when
> connecting from the external net, the communication happens up until
> qmail-smtpd sends the banner text (which strace records as being sent),
> but the banner text never gets to the other side (220 domain.tld ESMTP).
> At that point all communication on that socket is dead - nothing transmits
> and it eventually times out. With as much traffic as I get this can lead
> up to about 40 open sockets with nothing going on. I've looked through the
> HTML archives but could not find the problem so far. Anyone know what's
> going on?
>
> 
> Tib




Re: deferral: Sorry,_I_couldn't_find_any_host_by_that_name

2001-07-25 Thread David Gartner

zyrtaf,

I believe that's from using qmailmrtg and/or multilog.  Neat stuff.  If
you haven't tried them, I HIGHLY recommend both.

David Gartner

zyrtaf wrote:

> BTW, I use daemontools, and I noticed that the date is logged as
> "@40003b5ec04431b3ea44" instead of `date`. Is it hexa? Why? Can I
> correct it and how?
> Thanks
>
> - Original Message -
> From: "Vu Xuan Ngoc" <[EMAIL PROTECTED]>
> To: "David Gartner" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, July 25, 2001 3:11 PM
> Subject: Re: deferral: Sorry,_I_couldn't_find_any_host_by_that_name
>
> > My log is:
> >
> > @40003b5ec04431b3ea44 status: local 0/10 remote 2/20
> > @40003b5ec0443648b4a4 delivery 346: success
> [snipped]




Re: deferral: Sorry,_I_couldn't_find_any_host_by_that_name

2001-07-25 Thread David Gartner

Vu,

Hrm looks ok to me.  The only other thing I saw that was just a *little*
odd and qmail probably doesn't care, is that your reverse ip doesn't match
the forward.  But like I said, I don't think Qmail cares.  Maybe someone else
knows what's going on? *pokes the list with a stick to see if it's alive*

David Gartner

Vu Xuan Ngoc wrote:

> My log is:
>
> [snip!]
>
> David Gartner wrote:
>
> > Vu,
> >
> > Can you let us see the log where it actually says what domain it
> > couldn't find?  I've had problems like this before and if you look
> > closely, alot of times there's a "?" at the end of the domain.  It's
> > cause by people mistyping and/or clicking bad mailto: links.  Just a
> > thought.
> >
> > David Gartner
> >
> > Vu Xuan Ngoc wrote:
> >
> > > Hello everybody
> > > I have a problem (deferral:
> > > Sorry,_I_couldn't_find_any_host_by_that_name).
> > >
> > > Qmail send sucessfully to most domain (@yahoo.com, @hotmail.com,
> > > @teacher.com, @vnn.vn ...), but except domain is @vol.vnn.vn. I have
> > > check the domain, I still send mail to the domain (@vol.vnn.vn
> > > address) sucessfully from other mail server (@yahoo.com, @hotmail.com,
> > > @vnn.vn ...).
> > >
> > > I don't know why?
> > > Please hepl me




Re: Hanging

2001-07-25 Thread David Gartner

Chirstian,

The only thing that comes to mind is to try to troubleshoot a little to see
where it's hanging.  Try these commands:

(1) telnet mail.domain.com 25
(2) (after the greeting of course) mail from: [EMAIL PROTECTED]
(3) rcpt to: [EMAIL PROTECTED]
(4) data
(5) .(one period on a line by it's lonesome)
(6) quit

If that works, it'll send an email to the address specified in step 3.  If
not, this *should* help you narrow down your problem.  Sorry I couldn't help
more.  Good luck.

David Gartner



"Kirti S. Bajwa" wrote:

> Kindly write the subject line more to the subject matter. If I search the
> archives, it will be difficult to know what type of help you are asking by
> the subject "hanging".
>
> Thanks.
>
> Kirti "Kirt" S. Bajwa
> Chief Technical Officer
> TIB Computer Systems, Inc.
> Mountain City, TN 37683-0049
>
> Tel: (423) 727-3001   Fax: (423) 727-3002
> Email: [EMAIL PROTECTED]
>
> -Original Message-
> From: Christian [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 25, 2001 12:12 AM
> To: qmail
> Subject: Hanging
>
> Hi,
> I'm a newbie to qmail and have just setup my first qmail server
>
> I'm having problems with users sending mail
> It just hangs .. trys for ages to send &
> There's no error messages returned
> Which makes it hard to figure out what's wrong.
>
> All the processes are running
> Port 25 seems to be open .. I can telnet in
> And I can send message thru qmail-inject
>
> qmail-smtpd is running via tcpserver
>
> /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 20 -u 510 -g
> 513 0 smtp /var/qmail/bin/qmail-smtpd
>
> Can someone please point me in the right
> direction so I can figure this out.
>
> Thanx,




Re: deferral: Sorry,_I_couldn't_find_any_host_by_that_name

2001-07-25 Thread David Gartner

Vu,

Can you let us see the log where it actually says what domain it
couldn't find?  I've had problems like this before and if you look
closely, alot of times there's a "?" at the end of the domain.  It's
cause by people mistyping and/or clicking bad mailto: links.  Just a
thought.

David Gartner

Vu Xuan Ngoc wrote:

> Hello everybody
> I have a problem (deferral:
> Sorry,_I_couldn't_find_any_host_by_that_name).
>
> Qmail send sucessfully to most domain (@yahoo.com, @hotmail.com,
> @teacher.com, @vnn.vn ...), but except domain is @vol.vnn.vn. I have
> check the domain, I still send mail to the domain (@vol.vnn.vn
> address) sucessfully from other mail server (@yahoo.com, @hotmail.com,
> @vnn.vn ...).
>
> I don't know why?
> Please hepl me




Re: Having problems with postmaster....

2001-07-24 Thread David Gartner

Johan Almqvist wrote:

> [Please do not start new threads by replying to unrelated messages.]

Eh? Me?

>
>
> * David Gartner <[EMAIL PROTECTED]> [010724 15:55]:
> > I have a problem, that's not _really_ a problem, but I've had
someone
> > complain, so I figured I should fix it.  I always put
.qmail-postmaster
> > in /var/qmail/alias and point it to an account on the system.  It's
> > always worked, except on one site.  It rejects any mail for
postmaster
> > saying that there is no such user, but the .qmail-postmaster file
_is_
> > in place.  Does anyone know why, on this one system, qmail
disregards
> > the .qmail file?  Thanks in advance.
>
> What do the logs say if you send a message to postmaster in that
domain?

@40003b5d98aa268fdd44 info msg 357095: bytes 755 from
<[EMAIL PROTECTED]>
qp 28748 uid 16
@40003b5d98aa26ac044c starting delivery 826368: msg 357095 to local
[EMAIL PROTECTED]
@40003b5d98aa26accb84 status: local 1/10 remote 8/20
@40003b5d98aa2abf4a6c delivery 826368: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

> What does "ls -lsa /var/qmail/alias" say?

total 100
   4 drwxr-sr-x   2 aliasqmail4096 Jul 19 13:34 .
   4 drwxr-xr-x  10 root qmail4096 Jul  5 20:59 ..
   4 -rw-r--r--   1 root qmail   8 May 18 06:03
.qmail-postmaster

   4 -rw-r--r--   1 root qmail   8 May 18 06:03 .qmail-root

(I shortened this cause it was long ^^;)

>
> What does "id alias" give?

uid=19(alias) gid=502(nofiles) groups=502(nofiles)

>
> What does "grep alias /etc/passwd" give?

alias:x:19:502::/home/alias:/bin/bash

Opps Is that the problem?

>
>
> -Johan
> --
> Johan Almqvist
> http://www.almqvist.net/johan/qmail/
>
>


>Part 1.2Type: application/pgp-signature






Having problems with postmaster....

2001-07-24 Thread David Gartner

Hey all...

I have a problem, that's not _really_ a problem, but I've had someone complain, so
I figured I should fix it.  I always put .qmail-postmaster in /var/qmail/alias and
point it to an account on the system.  It's always worked, except on one site.  It
rejects any mail for postmaster saying that there is no such user, but the
.qmail-postmaster file _is_ in place.  Does anyone know why, on this one system,
qmail disregards the .qmail file?  Thanks in advance.

David




.qmail-default question...

2001-07-18 Thread David Gartner

Hey all...

I'm curious.  If you have a postmaster-type account called virtuals and all messages 
go there, then re-routed from
there using .qmail files how would you do something like this:

(in virtualdomains)
isp1.net:virtuals-isp1

(in /home/virtuals)

(.qmail-isp1-user1)
user1

(.qmail-isp1-user2)
user512

**(.qmail-isp1-default)
~/Maildir/

If the .qmail files don't define where a user should go, have qmail attempt to deliver 
to a system user with the same
username.  Possible?  Thanks again...

David Gartner




Re: run qmail on solaris

2001-07-13 Thread David Gartner

Roger,

A little more info for you...

To search archives:
http://www.ornl.gov/cts/archives/mailing-lists/qmail/

Excerpt from: http://cr.yp.to/qmail/faq/orientation.html#os

>What operating systems does qmail support?
>
>Answer: qmail works on practically all UNIX systems: AIX, BSD/OS,
FreeBSD, HP/UX, Irix, Linux, NetBSD, OpenBSD, OSF/1, SunOS, Solaris,
etc. It automatically adapts itself to new
>UNIX variants.
>
>qmail does not support Windows NT.

David Gartner

Roger Freitas Lovato wrote:

> Hi all,
>
> Can I run qmail on solaris?
>
> How?
>
> Thanks..
>
> Roger




Re: run qmail on solaris

2001-07-13 Thread David Gartner

*flees in fear for Roger's life*

Roger -- the list will flame you and tell you to see the Life with Qmail
doc.  You can get to it from www.qmail.org.

You might also want to look through the archives... I seem to remember
this being a topic before...  Good luck :)

David Gartner

Roger Freitas Lovato wrote:

> Hi all,
>
> Can I run qmail on solaris?
>
> How?
>
> Thanks..
>
> Roger
>




Re: Qmail error messages.

2001-07-11 Thread David Gartner

Grant,

Do a web search on RFC1893.  This tells you what those numbers (#4.2.1)
mean.  It helps _ALOT_

David Gartner

Dave Sill wrote:

> Grant <[EMAIL PROTECTED]> wrote:
>
> >Is there documentation for each qmail error message?
>
> No.
>
> >i.e
> >
> >"Unable_to_open_/var/qmail/boxes/Mailbox.user:_access_denied._(#4.2.1)"
>
> That one's pretty descriptive, isn't it? The user running qmail-local
> can't open that file, probably due to file or directory
> permissions. Note that you have to look at the permissions on every
> directory in the path. E.g.:
>
>   ls -ld / /var /var/qmail /var/qmail/boxes /var/qmail/boxes/Mailbox.user
>
> >Could a FAQ for each qmail error message be written up?
>
> Certainly.
>
> >Would that be a useful addition to LWQ?
>
> That would be great. It's been planned for LWQ since the beginning
> (see Appendix F), but I haven't had the time/gumption to write it up.
>
> -Dave




Re: 39,696 emails later...

2001-07-11 Thread David Gartner

Shawn,

"clearopensmtp" is a part of vpopmail.  It's used for roaming access.
 It clears out the old "allows" from tcpserver.  Hope this helps.

David Gartner



lists wrote:

> Not sure how to filter... any suggestions? crontab -l shows:40 * * * *
> /usr/local/vpopmail/bin/clearopensmtp 2>&1 > /dev/null Don't see
> anything about clearopensmtp in 'Running qmail'. I'll try the
> web... Thanks, Shawn




Re: qmail-remote

2001-07-05 Thread David Gartner

Me again...

Now we're getting this in the log files:

@40003b44845219ec0e14 status: local 0/10 remote 3/20 exitasap
@40003b44845219ec73a4 delivery 760867: deferral: qmail-remote_crashed./
@40003b44845219ece8d4 status: local 0/10 remote 2/20 exitasap
@40003b44845219ed524c delivery 760873: deferral: qmail-remote_crashed./
@40003b44845219edc77c status: local 0/10 remote 1/20 exitasap
@40003b44845219ee2d0c delivery 760883: deferral: qmail-remote_crashed./
@40003b44845219eea23c status: local 0/10 remote 0/20 exitasap


Here's what we've always used for the startup of qmail, and never had a problem (till
now):


/bin/csh -cf '/var/qmail/rc &'
tcpserver -R -c 150 0 110 /var/qmail/bin/qmail-popup mail.mydomain.net
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
tcpserver -p  -x /etc/tcp.smtp.cdb -c 150 0 smtp /var/qmail/bin/qmail-smtpd &

The server seems to be sending and receiving mail fine though.  The only thing I'm
noticing is that the size of the unprocessed queue messages is growing.

Any ideas?

Thanks again

David

> On Thu, Jul 05, 2001 at 11:05:40AM -0400, David Gartner allegedly wrote:
> > Hey all,
> >
> > I have a slight problem.  I got some calls that the mail server was taking 5
> > hours to send email, so I checked out the mail server.  I had 3 connections to
> > some mail server (all the same) and all the other qmail-remotes were enclosed in
> > brackets [qmail-remote].  Not knowing what this was, I did a 'killall
> > -HUP qmail-remote'.   The 'unclogged' the remote process and it started
> > delivering the messages that were on hold.  Can anyone tell me what might have
> > cause this




qmail-remote

2001-07-05 Thread David Gartner

Hey all,

I have a slight problem.  I got some calls that the mail server was taking 5
hours to send email, so I checked out the mail server.  I had 3 connections to
some mail server (all the same) and all the other qmail-remotes were enclosed in
brackets [qmail-remote].  Not knowing what this was, I did a 'killall
-HUP qmail-remote'.   The 'unclogged' the remote process and it started
delivering the messages that were on hold.  Can anyone tell me what might have
cause this and do I need to worry about it happening again?

David





Looking for a good Maildir capable web based mail client

2001-06-25 Thread David Gartner

Hey all,

Up until we switched over to qmail, we were using some web based mail client.  It will 
only work
with Mbox format, and reads directly from the file itself.  Of course, when we 
switched over, we
switched to Maildir, so the old mail client doesn't work anymore.  The only web based 
mail we can
find is CWMail, and it's rather pricey, and not so easy on the eyes.  I've seen 
several webmail
programs out there, but don't know which to chose.  Is anyone currently using any good 
web mail
software they would suggest?  Thanks for the help.

David




Re: .qmail-everybody?

2001-06-20 Thread David Gartner

Dave,

That was a typo ^^;; The *real* .qmail files read:

| /usr/bin/perlscript
./Maildir/

And a couple other question come to mind Is there no way to force
qmail to use the defaultdelivery and the .qmail files?  Also, how does the
defaultdelivery apply to /var/qmail/alias/.qmail-aliased users?

David

Dave Sill wrote:

> David Gartner <[EMAIL PROTECTED]> wrote:
>
> >| /usr/bin/perlscript
> >username
>
> That causes a loop: the second line forwards a copy to the same .qmail
> file.
>
> >Is there anyway I can remove these .qmail files and run it on a global
> >level with one file?
>
> The "defaultdelivery" parameter to qmail-start will be used *if* no
> .qmail file is found (or it's empty). If this perl filter has to be
> mandatory, you'll have to prevent users from creating their own .qmail
> files.
>
> -Dave




.qmail-everybody?

2001-06-20 Thread David Gartner

Hey again all...

I'm running all messages through a perl script, currently called from
.qmail files.  There's one in everyone's home directory.  I want to get
rid of the .qmail files, but continue using this script.  If the script
matches certain criteria, it exits with a bad status and qmail doesn't
deliver the message.  Basically, the .qmail files look like this:

| /usr/bin/perlscript
username

Is there anyway I can remove these .qmail files and run it on a global
level with one file? Thanks in advance for any light that you can
shine

David





Re: qmail memory/queue issue

2001-06-14 Thread David Gartner

Christopher,

I dunno about any of this, but I do know that 2.4.1 has a nasty IDE bug.
 Consider upgrading yer kernel soon!

David

Christopher Ferry wrote:

> I have recently inherited a bulk mailing system from a recently acquired
> company.  All systems are running kernel 2.4.1 pre9 with reiserfs used on
> the /var/qmail/queue partition.
> Qmail version 1.03 patched with qmail-103.patch and the qmail-nosync.patch.
> Concurrency set to 255.  Here is the issue Our db of 3million+ users is
> split between the 3 servers and a perl script is run  and each message is
> piped to sendmail. Now The first time I used the system it worked
> flawlessly.  I have since found that when I run the script Qmail sits on the
> messages and fills up the queue.  For example on one system the
> /var/qmail/queue  partition now at 100% hold 809000 msgs only one
> preprocessed.  On top of this the memory has completely filled up as well..
> Seems to be a memory leak.. Because when qmail is stopped the memory is not
> relinquished.  My two question are why doesn't qmail immediately start
> sending out the messages in the queue and what is causing the leak. is it
> qmail or most likely the 2.4.1 pre9 kernel?
>
> Thanks
>
> Christopher Ferry
> unix administrator
> FortuneCity.com




Re: queue processing problem

2001-06-13 Thread David Gartner

Charles (and everyone else),

I saw this thread and it made me kinda worried about a cluster we're fixing to
send out.  Here's a brief description of how it works:

4 machines (3 nodes, running qmail, mounting /home from NFS server.  1 NFS
server--running IDE RAID 5)  All four machines: have 64M of ram and a 633 Mhz
proc, have qmail installed, accept smtp and pop3 connections and all have the
same /home (again, mounted over NFS).  Vpopmail is installed on the NFS server,
in the home directory (local mail is put in
/home/vpopmail/domains/whatever.com/).  /var on each machine is separate, so they
each have a separate queue. No special concurreny settings.  tcpserver is
accepting 150 connections on pop/smtp at a time.  Load balancers in the front of
these four machines send traffic to the least congested (the nfs sever gets less
traffic than the other three).

Now, My question is do you think this can support a small ISP (10,000)
efficiently or should we go with special settings and/or think about
faster/better hardware?  Do you think this leaves room for expansion?

Kinda distressed,

David




Re: Nat problem

2001-06-13 Thread David Gartner

I thought this information was used to determine how the message was
routed.  The only useful purpose to turn it off would be so you could spam
people without having to worry about them finding you. *shrugs*  I think
it's hardcoded.

David


Maciej Bogucki wrote:

> HI!
>  I'm just configuring new qmail server. When I connect from my private
> network to qmail server and I send message, header of this message look
> like:
>
> >From [EMAIL PROTECTED] Wed Jun 13 09:21:02 2001
> Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 28026 invoked by alias); 13 Jun 2001 09:21:02 -
> Delivered-To: root@qmail-server
> Received: (qmail 28023 invoked from network); 13 Jun 2001 09:21:01 -
> Received: from local-host (HELO test) (IP-of-my-local-host)
>   by qmail-server.com with SMTP; 13 Jun 2001 09:21:01 -
>
> Where
> qmail-server.com is new qmail server
> local-host is name of my computer, from which I send this message
> IP-of-my-local-host is IP of my computer, from which I send this message
>
> Is it possibly to configure qmail that it doesn't add last line
> "Received: from local-host (HELO test) (IP-of-my-local-host)" for
> specific hosts: for example for network: 192.168.0.0/24 ?
>
> Regards
>
> Maciej Bogucki, Network Administrator
> ---
> 3dart.com / end-to-end solutions http://www.3dart.com
> Spolka Internetowa   tel: (+48 22) 646 64 65
> ul. Goszczynskiego 1002-616, Warszawa




Re: W32.Hybris double-bounce clobber perl script...

2001-06-12 Thread David Gartner

Roger,

MUCH appreciated!  Thanks a ton ;)

David Gartner





Limiting the size of *outgoing* email

2001-06-12 Thread David Gartner

Hello again...

Does anyone know how to set a limit on the size of an outgoing message?  In
coming is done easy enough with quotas, but if you have users shipping out
win2k through email that's bad.  I'm thinking an outgoing limit of 20
megs should stifle that ... at least until they figure out to break it into
smaller pieces.  Help?

David Gartner




Umm.... huh?

2001-06-08 Thread David Gartner

Uhh ... what is this and why do I get it everytime I write something to
the list?

David



Subject:  NDN: Re: No mailbox for root
From: "Mailer-Daemon" <[EMAIL PROTECTED]>


Sorry. Your message could not be delivered to:

test test (Mailbox or Conference is full.)




Re: suddenly cannot receive email

2001-06-08 Thread David Gartner

That's right.  You don't need the www. and you also can type that second line
without the \ ie:


echo "newdomain.com:alias-newdomain" >> var/qmail/control/virtualdomains

Virginia Chism wrote:

> Just to get the syntax right in my mind (and my notes), as I understand from
> the information I have received,
>
> 'echo "newdomain.com:alias-newdomain" >/var/qmail/control/virtualdomains'
> will overwrite virtualdomains, while
>
> 'echo "newdomain.com:alias-newdomain" >> \
> /var/qmail/control/virtualdomains'
> will simply add to virtuals.  And I don't need to put the 'www.' in front of
> the 'newdomain,' is this correct?




Re: No mailbox for root

2001-06-08 Thread David Gartner

echo account_you_want_root's_mail_to_go_to >
/var/qmail/alias/.qmail-root


Guus wrote:

> Newly installed qmail on 2.2 debian/linux works fine, except...
>
> Whenever I send mail to root@localhost I get an error message
>
> 
> Sorry, no mailbox here by that name. (#5.1.1)
>
> A trial installation of qmail does not have this problem.
> Similar, almost identical, setup.
>
> How can I create a mailbox for root?
>
> What I want is to forward mail for root to another user.
>
> Tia,
> Guus.




Re: url of sqwebmail too long!!!!

2001-06-08 Thread David Gartner

We set it up with apache with a virtual host, then stuck in index.html in
there with this:



 Webmail 
http://domain/cgi-bin/sqwebmail";>


 Loading  







> > -Original Message-
> > From: Massimo Quintini [mailto:[EMAIL PROTECTED]]
> > Sent: 08 June 2001 08:46
> > To: [EMAIL PROTECTED]
> > Subject: url of sqwebmail too long
> >
> >
> > How can I use an URL short (like mail.te.astro.it) instead of
> > mail.te.astro.it/cgi-bin/sqwebmail 
> >
> > I have tried with VirtualHost directive of Apache Web Server without
> > success!!!
> >
> > Thanks.
> >
> > --
> > Massimo Quintini
> > Osservatorio Astronomico Collurania Teramo
> > Via Mentore Maggini s.n.c. 64100 TERAMO (Italy)
> > Tel +39-0861210490  Fax +39-0861210492
> > http://www.te.astro.it
> >
> >




Re: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-07 Thread David Gartner

But qmail doesn't deliver to /var/spool/mail.  It delivers to users home
directory as Mailbox or Maildir/new/TIMESTAMP.PID.HOSTNAME  ... I thought?

David


Kalle Kivimaa wrote:

> On Thursday 07 June 2001 16:00, Dave Sill wrote:
> >   /boot20MB
> >   /var 300MB min, 800MB better, more for servers
> >   /2GB or more (include /usr and /tmp)
> >   /homewhatever you need
> >   swap 500MB or more
>
> In a mail server this fails when you get a mail which is larger than the
> available size on /var.  Thus, have AT LEAST 4GB for /var, then you SHOULD be
> safe.  Same goes with /home if you deliver mail locally.
>
> --
> Kalle KivimaaWork: +358 (0) 201 500 761
> Senior Software Designer Fax: +358 (0) 201 500 799
> Akumiitti Telematics Ltd.http://www.akumiitti.fi
> Salomonkatu 17 B 3.krs, FI-00100 Helsinki, Finland




Re: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-06 Thread David Gartner

Agreeably off topic, but 7.0 was the buggy/broken one.  7.1 has been running
smooth here for a little over a month.  The only problem I can find is the
version of GTK that ships with it, but that's solved by upgrading that
package.  Other than that, the only thing I'd complain about is (1) redhat
opens port 111 with a clean install no matter what and (2) 7.1 installs ssh,
but not sshd.  That's about all, so I'll shut up now ^^;;


David

Kieran Barnes wrote:

> This isn't really on topic, but...
>
> We could discuss "the best installation of linux" for the next several
> decades.
>
> Personally, I'd not use Redhat, but if you set on using Redhat, I'd use 6.2
> with all the latest updates.
> >From what I heard, 7.1 was very buggy and broken when it was released. 7.1
> might be fixed slightly.
>
> 2 of our servers use Redhat 6.2 with the latest updates and they have run
> fine for several years.
>
> As for volume space, read the Redhat guides located at redhat.com - assuming
> your installing it
>
> http://www.redhat.com/support/docs/howto/rhl71.html
> http://www.redhat.com/support/docs/howto/rhl62.html
>
> Regards,
>
> Kieran Barnes
> Signum 1226 Ltd
> Use our Web site at...  http://www.1226.net
> Phone us on... 01772 622889
> Fax us on...   01772 622558




Re: Pop3/recordio extraneous characters

2001-05-31 Thread David Gartner

Charles,

I took your suggestions and changed the line to:

tcpserver -c 50 0 pop3 recordio /var/qmail/bin/qmail-popup mail.meckcom.net
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
2>>/root/recordio.crap &

and it now works perfectly!  Thanks much :)

David Gartner

Charles Cazabon wrote:

> David Gartner <[EMAIL PROTECTED]> wrote:
> > > > Hey all.  I'm trying to achieve minimal logging for pop3.  Many of you
> > > > suggested using 'recordio' with tcpserver.  I tried that, and it has
> > > > EXACTLY the logging I need, however, I do have a slight problem.  When
> > > > you do recordio, you get lots of extraneous characters.
> > >
> > > You're not supposed to get them.  The extra characters you showed,
> > > apparently ending up in the session itself, are supposed to go to a log
> > > instead.  How are you invoking tcpserver/recordio/qmail-pop3d?  Give us
> > > copies of your scripts.  Probably there's a good in them somewhere.
> >
> > Here's what I use to invoke tcpserver
> >
> > tcpserver -c 50 0 pop3 /var/qmail/bin/qmail-popup mail.mydomain.com recordio
> > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
>
> Hmmm.  I would have thought recordio should come immediately before
> qmail-popup (else you won't capture the login information), but I don't know
> that for sure.  The other thing is that recordio outputs to stderr (fd2).  So
> where is fd2 going above?  Nowhere that I can see.  Perhaps adding
> "2>>/foo/log" before "&" would help?
>
> Charles
> --
> ---
> Charles Cazabon<[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> ---




Re: Pop3/recordio extraneous characters

2001-05-31 Thread David Gartner

Charles,

Here's what I use to invoke tcpserver

tcpserver -c 50 0 pop3 /var/qmail/bin/qmail-popup mail.mydomain.com recordio
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
tcpserver -p -x /home/vpopmail/etc/tcp.smtp.cdb -u100 -g501 0 smtp
/usr/bin/rblsmtpd -t30 -rrbl.maps.vix.com /var/qmail/bin/qmail-smtpd &



Charles Cazabon wrote:

> David Gartner <[EMAIL PROTECTED]> wrote:
> > Hey all.  I'm trying to achieve minimal logging for pop3.  Many of you
> > suggested using 'recordio' with tcpserver.  I tried that, and it has
> > EXACTLY the logging I need, however, I do have a slight problem.  When
> > you do recordio, you get lots of extraneous characters.
>
> You're not supposed to get them.  The extra character you showed, apparently
> ending up in the session itself, are supposed to go to a log instead.
> How are you invoking tcpserver/recordio/qmail-pop3d?  Give us copies of your
> scripts.  Probably there's a good in them somewhere.
>
> Charles
> --
> ---
> Charles Cazabon<[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> ---




Pop3/recordio extraneous characters

2001-05-31 Thread David Gartner

Hey all.  I'm trying to achieve minimal logging for pop3.  Many of you
suggested using 'recordio' with tcpserver.  I tried that, and it has
EXACTLY the logging I need, however, I do have a slight problem.  When
you do recordio, you get lots of extraneous characters.  Below are
examples of what I get without recordio and with recordio.  Normally, I
wouldn't care, but it freaks out netscape mail, outlook and make
evolution seg fault, so I'm kinda in a bind.  Anyone know how to make
recordio not but that junk in there?

WITHOUT recordio...

[root@mail(node1) init.d]# telnet localhost 110
Trying 127.0.0.1...
Connected to 192.168.6.12.
Escape character is '^]'.
+OK <4440.991317705@mail>
user me
+OK
pass test
+OK
list
+OK
1 212
2 483
3 212
.
quit
+OK
Connection closed by foreign host.
[root@mail(node1) init.d]#

WITH recordio

[root@mail(node1) init.d]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
+OK <1776.991316117@mail>
user me
+OK
pass test
 778 > +OK
+OK
list
 778 < list
 778 > +OK
+OK
 778 > 1 212
 778 > 2 483
 778 > 3 212
 778 > .
1 212
2 483
3 212
.
quit
 778 < quit
 778 > +OK
+OK
1778 > [EOF]
Connection closed by foreign host.
[root@mail(node1) init.d]#


Thanks once again...

David Gartner




Re: Vpopmail+qmail pop3 has lost it's mind!

2001-05-30 Thread David Gartner

That fixed it :)  Thanks

David Gartner


Henning Brauer wrote:

> On Wed, May 30, 2001 at 01:00:43PM -0400, David Gartner wrote:
> > /var/qmail/users match on all nodes.  When you pop from the nfs server,
> > the users have mail.  But if you hit one of the nodes, it authenticates
> > fine, but says there's not mail.  Anyone know how I broke this and how I
>
> You want to sync the clocks... qmail-pop3d won't list messages from the
> future.
>
> --
> * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
> * Roedingsmarkt 14, 20459 Hamburg, Germany   *
> Unix is very simple, but it takes a genius to understand the simplicity.
> (Dennis Ritchie)




Vpopmail+qmail pop3 has lost it's mind!

2001-05-30 Thread David Gartner

Hello again.  Another question!  I've got a high availibilty cluster
running qmail and vpopmail.  Three computers mount /home from an nfs
server.  In the home directory is the vpopmail directory (all vpop apps
and config's are in this dir).  I have made /var/qmail/control and
/var/qmail/users match on all nodes.  When you pop from the nfs server,
the users have mail.  But if you hit one of the nodes, it authenticates
fine, but says there's not mail.  Anyone know how I broke this and how I
can fix it? Here's what I do to test this--

This is on the NFS server
Lists the mail fine...

[root@mail(nfs1) /root]# telnet localhost 110
Trying 127.0.0.1...
Connected to mail...
Escape character is '^]'.
+OK <4864.991244767@mail>
user me
+OK
pass test
+OK
list
+OK
1 212
.


This is on any of the nodes ...
Where's my mail?!?!

[root@mail(node1) /root]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
+OK <735.991234046@mail>
user me
+OK
pass test
+OK
list
+OK
.




Many thanks!

David Gartner




Logging POP3

2001-05-23 Thread David Gartner

Just switched to qmail and have a slight problem.  We used to log pop3
traffic (logins/logouts) so that we could help people who claim they
couldn't get their mail.  Basically, so we could verify they were even
reaching the server.  I noticed with qmail (also using tcpserver)
doesn't log that by default.  Anyone know how I can log attempts similar
to how sendmail did?  In case anyone's confused about what I'm talking
about, here's a sample of the log sendmail keeps.

May 23 08:30:21 mail ipop3d[12955]: Login user=USERNAME host=HOST
[IPADDRESS] nmsgs=0/0
May 23 08:30:21 mail ipop3d[12955]: Logout user=USERNAME host=HOST
[IPADDRESS] nmsgs=0 ndele=0

Thanks in advance for any help anyone can provide!

David