Re: Flame Bait: Using Qmail as a front-line mail server

2001-08-08 Thread Sean Chittenden

  1.  Is it possible to list the Qmail server as the primary MX record and
  
  still forward the mail to its final destination?  All my research says
  no,
  but I need to be certain.
 
 Yes, use smtproutes. See the manual page for qmail-remote.

Or create a ton of forwarding rules (.qmail for starters).  
qmail works as a great buffer between the internet and an Exchange 
server.

* [EMAIL PROTECTED]   -  qmail box

* qmail box looks up .qmail file for user

* qmail forwards to [EMAIL PROTECTED]

* corp.example.com is exchange and accepts mail for the user from
corp.example.com

* Exchange routes all outgoing mail to the qmail box as [EMAIL PROTECTED]

* Exchange box is firewalled and boarded up and placed behind wallboard


-sc

-- 
Sean Chittenden

 PGP signature


Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Sean Chittenden

Robin, despite your flamy attitude and huge levels of
intolerance, for the first time in recorded history, I think you have a
valid point and I think I actually agree with you.  Wilson's no more at 
fault than a poor hotmail user that gets nailed with a cross site 
scripting virus: what's the user to do?

At the same time, the user should be faulted for using crappy
software when better alternatives are out there (though not quite as
feature complete, but let's not start that here). -sc

   What for? Wilson isn't the problem. The problem is that we're not
   in 92 anymore. What I'd like to see is a sublist that drops
   anything that isn't ASCII only and also everything that is sent
   with Windos MUAs.
 
  Wilson most definitely is the problem
 
 Wilson isn't the problem. Windows is. Outlook is. 
 
  How can it be still sending virii for over 24 hours?
 
 Because the list owner seems not to take responsibility for losers.
 While that in itself is an honourable approach, it causes grief and
 anguish for the people not using Windows on this list.
 
  Wilson is a goon
 
 Wilson is a Windows user. That is the problem. Unless you can prove
 beyond reasonable doubt how one could re-create the software using
 $UNIX. And can we now please let this thread die?

-- 
Sean Chittenden



Re: Unsubscribing Problems

2001-07-25 Thread Sean Chittenden

 In order to avoid waking up tomorrow and downloading lots of some Brazilian
 idiot's 200k documents, I thought I would unsubscribe from the qmail list
 overnight.

I've thought about doing the same...

 I sent an e-mail to [EMAIL PROTECTED] , from the same IP, SMTP
 server, e-mail address etc. that I subscribed from (and double-checked the
 headers just in case) but got no reply. I tried qmail-help@ and even
 qmail-subscribe@ just to see, but still no reply.

You only need the same from address.  The server is pretty slow 
though, 8hrs is about how long it typically takes (YMMV).

 Any ideas? I'm just glad I have ADSL.. (a month ago, I would have been using
 a 28k dialup!). Am I being impatient - I have waited about half an hour?

Wait some more.  Anyone have any ideas whether or not it's the
box being slow, bandwidth limitations, or an ezmlm prob?  -sc


Postfix anyone?  [ducks and runs for the door]

-- 
Sean Chittenden

 PGP signature


Re: Solaris vs. Linux vs. FreeBSD

2001-06-27 Thread Sean Chittenden

 What's is the best OS for run Qmail (and/or Ezmlm)? What advantage and
 disadvantage has each one? I'll need send two millions mails per day and
 I don't know what hard can I buy? :)

Solaris is slow to fork and qmail makes liberal use of that
call, so solaris is out of the question.  After that, it's close between
FreeBSD and Linux.  I'm pretty biased towards from FreeBSD because of
its development environment and the thoughtfulness of their engineering
team (Linux is pretty hackish).  FreeBSD with softupdates turned on will
give you the best performance and reliability though amongst the three
options.  Best of luck, but be careful, this smells like a troll.  -sc

-- 
Sean Chittenden

 PGP signature


Re: Solaris vs. Linux vs. FreeBSD

2001-06-27 Thread Sean Chittenden

  I understand that Free BSD and Linux are the overwhelming choices of the
  Internet pornography industry.  That is a good technical figure of merit,
  because it means these servers are stable (for HTTP) when getting lots and
  lots of hits.
 
 Actually, Linux and FreeBSD are the systems of choice in startup porn
 companies because of their low cost.  Once a company begins to move
 major traffic they find that low cost systems have too many
 limitations to handle what the leaders of the company want to do.
 This is when they use their new found wealth to buy Solaris.

This is now officially a troll.  So next time you see an
installation for a porn site pushing over 300Mbps that's running
Solaris, show me/tell me: I'll be amazed.  Linux is what most startup
porn joints use because they're new to the business and Linux has hype
and media attention.  Once the traffic gets up there, the traffic starts
to exceed 60-120Mbps, then you'll see a switch from Linux to FreeBSD.  
In there somewhere you'll see them experiment with Solaris and watch it
crumble and fail miserably in the Mbps / $ calculation.  Solaris is
good for running on redundant hardware where you can hot-swap anything
out at any time to maintain real 24/7.  Go back to your hobbit hole or
email me and I'll setup a different list to talk about the merits of
various operating systems that I've used in my day and the various
installations/companies I've done work for.

This thread is now officially dead unless resurrected on a
different mailing list.  -sc

-- 
Sean Chittenden

 PGP signature


Re: supervise:fatal:unable to acquire ....

2001-06-13 Thread Sean Chittenden

Do you have two copies of the svscan daemon running?  -sc

On Wed, Jun 13, 2001 at 01:26:12PM +0700, Essy Ren wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 Reply-To: Essy Ren [EMAIL PROTECTED]
 From: Essy Ren [EMAIL PROTECTED]
 To: [EMAIL PROTECTED],
   Charles Cazabon [EMAIL PROTECTED],
   qmail [EMAIL PROTECTED]
 Subject: supervise:fatal:unable to acquire  
 Date: Wed, 13 Jun 2001 13:26:12 +0700
 X-Priority: 3
 X-MSMail-Priority: Normal
 X-Mailer: Microsoft Outlook Express 5.00.2615.200
 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
 
 I think I've install qmail at my freeBSD 
 i follow the instruction at LWQ and at the www.freeos.com
 when i run the svscan /var/qmail/supervise here's the output ... 
 can u tell me why i got the error message ?
 
 supervise: fatal: unable to acquire pop3d/supervise/lock: temporary failure
 supervise: fatal: unable to acquire log/supervise/lock: temporary failure
 supervise: fatal: unable to acquire qmail/supervise/lock: temporary failure
 supervise: fatal: unable to acquire log/supervise/lock: temporary failure
 supervise: fatal: unable to acquire smtpd/supervise/lock: temporary failure
 supervise: fatal: unable to acquire log/supervise/lock: temporary failure
 
 

-- 
Sean Chittenden

 PGP signature


Re: manually run queue

2001-05-04 Thread Sean Chittenden

 Hi. How do I manually run the queue in qmail?

Read the documentation under administration:

http://cr.yp.to/qmail/faq.html

FAQs are created because they answer just that, FAQs.  -sc

-- 
Sean Chittenden

 PGP signature


Re: put a whole domain 'on hold'

2001-04-22 Thread Sean Chittenden

Write a small script that'll add a '*' to the first character
of their password and then add something to the path of their home
directory to something broken like '/foo'.  -sc

On Sat, Apr 21, 2001 at 05:59:34PM -0700, Mike K wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 From: "Mike K" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: put a whole domain 'on hold'
 Date: Sat, 21 Apr 2001 17:59:34 -0700
 X-Priority: 3
 X-MSMail-Priority: Normal
 X-Mailer: Microsoft Outlook Express 5.50.4133.2400
 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
 
 Hi all,
 
 I did a search from the archive to find no info on this...
 
 I run a webhosting company.  When a client doesn't pay, we simply move their 
public_html directory and put an ad for our services in its place.  However, many 
times, I have noticed that for the month of 'on hold' status, these people continue 
to utilize their e-mail.
 
 We've got vpopmail running right now.
 
 My initial thoughts were to simply change the pop3 account passwords, but I honestly 
can't sit here changing 200 passwords.  Plus, changing them back would be a b. 
would be not fun.
 
 Is there a way that I could set a whole domain to a 'hold' status, so all of the 
mail waits for them, until the hold is removed?
 
 If so, will this method also prevent people who have their mail simply forwarded to 
another address from getting their mail (it should)?
 
 Thanks for your time.
 
 -Mike

-- 
Sean Chittenden

 PGP signature


Re: Maildir (dir) to file for /var/mail/$USR (Inbox) [imapd]

2001-04-17 Thread Sean Chittenden

cyrus IMAP may be a good solution for you.  Same wit qpopper
or some POP3 protocol (even though POP3 is pretty inferior when
compared to IMAP).  -sc

On Tue, Apr 17, 2001 at 03:29:27PM -0400, alexus wrote:
 my original issue was to make qmail w/ maildir to be accesable to most
 popular e-mail clients and i've been suggested to use courier imapd.. so we
 still on same topic..

-- 
Sean Chittenden

 PGP signature


qmail-qread and qmail-qstat as suid root...

2001-04-10 Thread Sean Chittenden

Anyone know of any reasion why I shouldn't set the qmail-qread
and qmail-qstat as setuid root?  I've looked through the source, but
am looking for a last confirmation or "don't do that."  -sc

-- 
Sean Chittenden

 PGP signature


Re: qmail-qread and qmail-qstat as suid root...

2001-04-10 Thread Sean Chittenden

Only suid or suid  guid?  qmail-qstat and qmail-qread both
rely on the qmail group to run through the queue.

man -M /var/qmail/man qmail-qstat


Here's a quick binary wrapper that I was thinking about using
that'd run as root, but would only have permission to run if you're in
the staff or wheel group.  Thoughts?  -sc

PS  To change to qmail-qread:

cp qmail_qstat.c qmail_qread.c
perl -p -i -e 's/QMAILQSTAT/QMAILQREAD/g' qmail_qread.c
perl -p -i -e 's/qmail-qstat/qmail-qread/g' qmail_qstat.c



/* $Id: qmail_qstat.c,v 1.1 2001/04/10 21:48:02 sean Exp $ */

#include unistd.h
#include stdio.h

#define QMAILQSTAT "/var/qmail/bin/qmail-qstat"

int main(void) {
  execlp(QMAILQSTAT, "qmail-qstat", NULL);

  printf("Woa!  Large problem: didn't exec qmail-qstat!\n");
  return(1);
}


On Tue, Apr 10, 2001 at 04:11:37PM -0700, Ian Lance Taylor wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 Mail-Followup-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: qmail-qread and qmail-qstat as suid root...
 From: Ian Lance Taylor [EMAIL PROTECTED]
 Date: 10 Apr 2001 16:11:37 -0700
 In-Reply-To: [EMAIL PROTECTED]
 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
 
 Sean Chittenden [EMAIL PROTECTED] writes:
 
  Anyone know of any reasion why I shouldn't set the qmail-qread
  and qmail-qstat as setuid root?  I've looked through the source, but
  am looking for a last confirmation or "don't do that."  -sc
 
 Make them setuid qmailq, not setuid root.
 
 That should be safe enough, although there is a slightly increased
 chance that a local user can do something horrible to your mail queue.
 
 Ian

-- 
Sean Chittenden

 PGP signature


Re: quuee

2001-04-02 Thread Sean Chittenden

qmail-qstat and qmail-qread.  Check out the man pages or read
about them on djb's qmail site:

http://cr.yp.to/qmail.html

-sc

On Mon, Apr 02, 2001 at 02:53:55AM -0400, alexus wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 From: "alexus" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED], "KIM" [EMAIL PROTECTED]
 Subject: Re: quuee
 Date: Mon, 2 Apr 2001 02:53:55 -0400
 X-Priority: 3
 X-MSMail-Priority: Normal
 X-Mailer: Microsoft Outlook Express 5.50.4133.2400
 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
 
 better yet.. how to see what's in queue:)
 
 - Original Message - 
 From: "KIM" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, April 02, 2001 2:18 AM
 Subject: quuee
 
 
  
  
  how to delete queue in qmail?
  
  thanks
  
  
 

-- 
Sean Chittenden

 PGP signature


Re: binding qmail to a specific ip address

2001-03-30 Thread Sean Chittenden

Check out tcpserver.  Here's a run file that should be a start
for 'ya:

#!/bin/sh

# Using tcpserver to listen to the internet

exec env - PATH="/var/qmail/bin:$PATH" tcpserver -v -u 1003 -g 1002 192.168.1.1 smtp 
/var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger smtpd 3


-sc

On Sat, Mar 31, 2001 at 09:05:16AM +1000, Leni Mayo wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 Date: Sat, 31 Mar 2001 09:05:16 +1000
 From: Leni Mayo [EMAIL PROTECTED]
 X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U)
 X-Accept-Language: en
 To: [EMAIL PROTECTED]
 Subject: binding qmail to a specific ip address
 
 I'm qmail running on a box with 2 network interface cards and want
 to bind qmail to a specific IP address in order to simplify
 firewall rules.  
 
 I'm thinking along the lines of the apache "BindAddress" keyword,
 so qmail would only use a specific ip address when listening and
 as a source address for outbound connections.
 
 If anyone has a hack for qmail 1.03 along these lines, I'd love to
 see a copy of the source.
 
 Leni.

-- 
Sean Chittenden

 PGP signature


Re: Multiple QMAIL-SMTPD on same box?

2001-03-20 Thread Sean Chittenden

Howdy.  I've done this before: it's cake, but I'm not sure why
you would want to do mutliple queues.  As for modifying tcpserver, why
not just run multiple copies and bind them to different addresses?  -sc

On Tue, Mar 20, 2001 at 05:19:05PM -0800, Brandon Yu wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 From: Brandon Yu [EMAIL PROTECTED]
 To: "List - Qmail (E-mail)" [EMAIL PROTECTED]
 Subject: Multiple QMAIL-SMTPD on same box? 
 Date: Tue, 20 Mar 2001 17:19:05 -0800
 X-Mailer: Internet Mail Service (5.5.2650.21)
 
 I am setting up multiple Qmail installations on the same box. I am doing
 this because I am sending out a large number of emails that can't be sent
 out via a mailing list. By having multiple installs, I intend to lessen the
 I/O burden of just having 1 queue structure. My question is how to setup
 multiple qmail-smtpd processes all binding to port 25 using different IP
 addresses. I intend to setup multiple IPs to the same NIC using IP Aliasing.
 I think I will be modifying TCPSERVER, but not 100% sure.
 
 Thanks
 
 

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


Re: Multiple QMAIL-SMTPD on same box?

2001-03-20 Thread Sean Chittenden

Ahhh...  light blinks on.  If you're going to put the queues
on multiple disks, then your assumption is very correct.  How are you
going to handle distributing the load to the queues?  Round robin in
the script that'll send the emails out?  As for the multiple smtp
sessions, here's a run file for 'ya that has worked for me in the past:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
IP=`cat /var/qmail/control/primary_incoming_smtp_ip`
MAXSMTPD=`cat /var/qmail/control/concurrency_incoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -p -c "$MAXSMTPD" \
-u $QMAILDUID -g $NOFILESGID $IP smtp /usr/local/bin/rblsmtpd \
/usr/local/bin/rblsmtpd -rdialups.mail-abuse.org \
/usr/local/bin/rblsmtpd -rrelays.mail-abuse.org \
/var/qmail/bin/qmail-smtpd 21

It goes w/o saying that I recommend using the daemontools to
monitor your smtpd services.  -sc

On Tue, Mar 20, 2001 at 05:43:08PM -0800, Brandon Yu wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 From: Brandon Yu [EMAIL PROTECTED]
 To: 'Sean Chittenden' [EMAIL PROTECTED]
 Cc: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
 Subject: RE: Multiple QMAIL-SMTPD on same box?
 Date: Tue, 20 Mar 2001 17:43:08 -0800
 X-Mailer: Internet Mail Service (5.5.2650.21)
 
 I just understand that qmail has a difficult time with so I/O when you have
 tons of email to send out (2million). Unfortunately, the emails are
 customized to each user. By having a separate qmail install on each disk,
 the idea is to spread the load around.  Would you agree? I will look into
 binding tcpserver with different addresses. 
 
 Thanks,
 Brandon
 
  -Original Message-
  From: Sean Chittenden [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, March 20, 2001 5:27 PM
  To: Brandon Yu
  Cc: List - Qmail (E-mail)
  Subject: Re: Multiple QMAIL-SMTPD on same box?
  
  
  Howdy.  I've done this before: it's cake, but I'm not sure why
  you would want to do mutliple queues.  As for modifying tcpserver, why
  not just run multiple copies and bind them to different 
  addresses?  -sc
  
  On Tue, Mar 20, 2001 at 05:19:05PM -0800, Brandon Yu wrote:
   Delivered-To: [EMAIL PROTECTED]
   Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
   Precedence: bulk
   Delivered-To: mailing list [EMAIL PROTECTED]
   From: Brandon Yu [EMAIL PROTECTED]
   To: "List - Qmail (E-mail)" [EMAIL PROTECTED]
   Subject: Multiple QMAIL-SMTPD on same box? 
   Date: Tue, 20 Mar 2001 17:19:05 -0800
   X-Mailer: Internet Mail Service (5.5.2650.21)
   
   I am setting up multiple Qmail installations on the same 
  box. I am doing
   this because I am sending out a large number of emails that 
  can't be sent
   out via a mailing list. By having multiple installs, I 
  intend to lessen the
   I/O burden of just having 1 queue structure. My question is 
  how to setup
   multiple qmail-smtpd processes all binding to port 25 using 
  different IP
   addresses. I intend to setup multiple IPs to the same NIC 
  using IP Aliasing.
   I think I will be modifying TCPSERVER, but not 100% sure.
   
   Thanks
   
   
  
  -- 
  Sean Chittenden[EMAIL PROTECTED]
  

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


Re: how can i send mails serially

2001-03-19 Thread Sean Chittenden

man -M /var/qmail/man qmail-control

Check out the concurrencyremote control file.  -sc

On Tue, Mar 20, 2001 at 11:37:12AM +0530, [EMAIL PROTECTED] wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: how can i send mails serially
 Date: Tue, 20 Mar 2001 11:37:12 +0530
 X-Priority: 3
 X-MSMail-Priority: Normal
 X-Mailer: Microsoft Outlook Express 5.00.2615.200
 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
 X-AntiVirus: Scanned for viruses by SpaceWeb AntiVirus System
 
 Dear all,
 
 I am using qmail 1.03 on Red Hat 6.2 . I am providing mailing solution to varrious 
domains which are listed in my locals as well as in my virtualdomain files. Mx 
pointing of all these domain is my qmail server.
 
 For few domains i am simple forwarding mails to their destination server by maiking 
a default alias in /var/qmail/alias directory. But i am doing this forwarding by 
making SMTP connection with destination servers . 
 
 For example if 15 mails are coming to mail server for a domain at a particular time, 
then qmail is making 15 simultaneous connection with remote server and try to send 
all the 15 mails to that particular domain at the same time, and max time it happens 
that bandwidth get choked and some of the connection get dropped and those mails 
remain in queue .
 
 Is there any way by which i can send mails serially , one by one . Can i achive the 
same thing by implementing serial mail . And what all i have to do to implement the 
serial mail .
 
 Or is there any another solution , other than serial mail ???
 
 I am using mailbox format right now. And using qmail 1.03-8.
 
 Pl suggest any sol'n for above problem. 
 
 Regards
 
 lokesh

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


Re: Alias not forwading to .qmail-foo-default

2001-03-18 Thread Sean Chittenden

What is the contents of your .qmail-foo-default file?  Did you
remember to put an  before the user name?  -sc

On Sun, Mar 18, 2001 at 03:42:58PM -0800, Todd A. Jacobs wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 Date: Sun, 18 Mar 2001 15:42:58 -0800 (PST)
 From: "Todd A. Jacobs" [EMAIL PROTECTED]
 X-X-Sender:  [EMAIL PROTECTED]
 To: "Nick (Keith) Fish" [EMAIL PROTECTED]
 cc: Qmail Mailing List [EMAIL PROTECTED]
 Subject: Re: Alias not forwading to .qmail-foo-default
 In-Reply-To: [EMAIL PROTECTED]
 
 On Sun, 18 Mar 2001, Nick (Keith) Fish wrote:
 
  Are your other aliases working properly (ie. root, postmaster,
  mailer-daemon, etc.)?
 
 Yes. Any alias pointing to a real user (either local or remote) works
 fine. It's only a problem with forwarding to .qmail-ext names.
 
 -- 
 Todd A. Jacobs
 CodeGnome Consulting, LTD
 
 

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


Re: Qmail Errors in Log Files

2001-03-15 Thread Sean Chittenden

Don't forget to check your /etc/inetd.conf.  I've seen a few
installs recently that were calling qmail from inetd.  -sc

On Wed, Mar 14, 2001 at 10:56:04PM -0800, Randy Jordan wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 From: "Randy Jordan" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Qmail Errors in Log Files
 Date: Wed, 14 Mar 2001 22:56:04 -0800
 X-Priority: 3
 X-MSMail-Priority: Normal
 X-Mailer: Microsoft Outlook Express 5.50.4522.1200
 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
 
 my qmail logs have thousands of these errors   
 
 "40003ab04bb822ed854c tcpserver: fatal: unable to bind: address already used"   
 
 I see hundreds of people with this same error and the same answers seem to always 
pop up"make sure something else is not using the port, or make sure sendmail is 
not running" i do not have sendmail running, when i telnet to localhost 25 i see this 
 
 "Trying 127.0.0.1...
 Connected to localhost.localdomain.
 Escape character is '^]'.
 220 mail.mydomain.com ESMTP"
 
 There has got to be a way to fix this there is just to many people with the same 
problem.
 
 Thanks
 Randy Jordan

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


Re: Force Queues?

2001-03-13 Thread Sean Chittenden

Nope, but the following will:

cd /var/qmail/queue
find . -type f -exec touch {} \;

-sc


On Wed, Mar 14, 2001 at 12:23:41PM +0800, [EMAIL PROTECTED] wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: RE: Force Queues?
 Date: Wed, 14 Mar 2001 12:23:41 +0800
 X-Mailer: Internet Mail Service (5.5.2650.21)
 
 Will using the -ALRM restart the queuelifetime from the beginning ?
 
 Rgds
 Ronnie 
 * qmail newbie *
 
 -Original Message-
 From: Mike A. Sauvain [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 14, 2001 12:26 PM
 To: [EMAIL PROTECTED]; Sean Chittenden
 Subject: Re: Force Queues?
 
 
 Thanks, Sean solved my quest with best ;)
 
  killall -ALRM qmail-send 
 
 cu all..
 
 
 
 This email had been checked by Asiatravelmart.com's Virus Scanner.
 Please email any questions to [EMAIL PROTECTED]
 

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


Re: DNS problem may be ...

2001-03-13 Thread Sean Chittenden

Do you have an mx record setup for the erakarsa.local domain?

You can find out by issuing either of the following (where
xxx.xxx.xxx.xxx is the ip of your dns server):

djbdns way:
dnsq mx erakarsa.local xxx.xxx.xxx.xxx

dig way (bind tool):

dig erakarsa.local mx

If you can't find any mx records, there's your problem.  If
you do, add the domain to your rcpthosts and locals file.  -sc


On Wed, Mar 14, 2001 at 11:38:56AM +0700, Essy Ren wrote:
 [EMAIL PROTECTED]:
 Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)
 
 I want to use [EMAIL PROTECTED] to send and receive mail rather than 
sanfransisco.erakarsa.local
 Where's the change I've should make to make it work ...???

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


Re: NAKEDWIFE.EXE Virus - Filter available

2001-03-08 Thread Sean Chittenden

Or if you don't have (dos2unix|unix2dos), you can run:

perl -p -i -e 's|\r\n|\n|g' filename

-sc

On Thu, Mar 08, 2001 at 10:45:36AM -0500, [EMAIL PROTECTED] wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: NAKEDWIFE.EXE Virus - Filter available
 Date: Thu, 8 Mar 2001 10:45:36 -0500
 X-Priority: 3 (Normal)
 X-MSMail-Priority: Normal
 X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
 In-Reply-To: 
 Importance: Normal
 
 Solaris has a handy utility called "dos2unix" that strips ^M characters out of text 
files.  Perhaps your OS has a similar utility?
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
 Peter Peltonen
 Sent: Thursday, March 08, 2001 9:50 AM
 Cc: qmail list
 Subject: Re: NAKEDWIFE.EXE Virus - Filter available
 
 
 mick wrote:
 
  When I opened the scripts they had the windows ^m character at the end of
  each line. I was getting the same error until I removed them.
 
 When I open the file in pico or vim, I don't see those characters.
 
 With what program do I find and remove the characters?
 
 
 Regards,
 Peter
 

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


Re: qmail smtp logs filling up

2001-03-07 Thread Sean Chittenden

You have inetd already binding the port (25).  Check your
/etc/inetd.conf file (don't forget to hup the server) or to see if
sendmail is running.  You can check to see if there's something
already binding on port 25 by using 'netstat' or 'netstat -na'.  -sc

On Wed, Mar 07, 2001 at 01:56:46PM -0500, Rob Hines Jr. wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 Date: Wed, 07 Mar 2001 13:56:46 -0500
 From: "Rob Hines Jr." [EMAIL PROTECTED]
 Organization: JobOptions.com Network
 X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
 X-Accept-Language: en,pdf
 To: Qmail Mail List [EMAIL PROTECTED]
 Subject: qmail smtp logs filling up
 
 Okay, I admit it, I'm stumped. I have logs in /var/log/qmail/send that
 are filling up with this message:
 
 @40003aa683a12a69c3e4 tcpserver: fatal: unable to bind: address
 already used
 @40003aa683a23441f7c4 tcpserver: fatal: unable to bind: address
 already used
 @40003aa683a23444c29c tcpserver: fatal: unable to bind: address
 already used
 @40003aa683a301e223bc tcpserver: fatal: unable to bind: address
 already used
 @40003aa683a301eab324 tcpserver: fatal: unable to bind: address
 already used
 @40003aa683a40d0b31fc tcpserver: fatal: unable to bind: address
 already used
 @40003aa683a40d2d96ac tcpserver: fatal: unable to bind: address
 already used
 
 Here's my run script under /var/qmail/supervise/qmail-smtpd/run which is
 the only place I can find that is using tcpserver:
 
 [2:03pm] rhines@mail:/etc more /var/qmail/supervise/qmail-smtpd/run
 #!/bin/sh
 QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
 NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
 MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
 exec /usr/local/bin/softlimit -m 400 \
 /usr/local/bin/tcpserver -v -H -R -l 0 -x /etc/tcp.smtp.cdb -c
 "$MAXSMTPD" \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
 /var/qmail/bin/qmail-smtpd /bin/
 checkpassword /bin/true /bin/cmd5checkpw /bin/true 21 
 exec /usr/local/bin/softlimit -m 400 \
 /usr/local/bin/tcpserver -v -H -R -l 0 -x /etc/tcp.smtp.cdb -c
 "$MAXSMTPD" 
 \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 ghost-smtp
 /var/qmail/bin/qmail-smtpd
  /bin/checkpassword /bin/true /bin/cmd5checkpw /bin/true 21 
 
 [2:03pm] rhines@mail:/etc 
 
 My /etc/tcp.smtp is pretty simple since I'm using smtp_auth:
 
 [2:03pm] rhines@mail:/etc more /etc/tcp.smtp 
 127.:allow,RELAYCLIENT=""
 [2:04pm] rhines@mail:/etc
 
 I annot find where I'm generating those dern fatal errors. To the best
 of my knowledge, /var/qmail/supervise/qmail-smtpd/run is the only place
 I'm using tcpserver. I would appreciate any advice.
 
 -- 
 Rob Hines Jr.

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


Re: Scalable Mail Solution

2001-03-01 Thread Sean Chittenden

 The short answer to the question about what would happen if 2.5 million
 users hit your PIII server at once. In a word: *poof*

Bad things happen, little gremlins come out of the wood work and data
starts to disappear.

 Check out: 
 
 http://www.f5.com
 (f5 Load balancers are cool, Foundry also makes some good gear, I forget
 the URL)

I highly recommend this!  ArrowPoint looks really neat, but
I've never used it (http://www.arrowpoint.com/).

 http://www.nthgencomp.com/
 (Terabyte arrays)

Very expensive, same with EMC, and Network Appliances.  If you
haven't budgeted for $1M (or some large portion thereof), then you may
want to look at setting something close to the following up:

Internet
  -
 BIG-IP
   -
  First row of MX servers that forward to a large number 2nd
level mail servers using fastforward.  All cdb files synced across the
front row servers, built on a regular time interval (once a minute)
from a database.
-   (use qmtp, qmqp if possible)
   Second row of MX servers w/ IMAP, pop3, web access,
etc. that get user data off of an NFS server (use Maildir) format.
Use a quasi-dynamic DNS setup (recommend TinyDNS) to figure out where
to look for user Maildirs (username-host.mail.domain.com), and set the
TTLs to 5 seconds.
 -
 NFS servers - work horses that do nothing but serve Maildir data 
via NFS w/ big raid drives.

 http://www.sun.com/
 (Servers that won't blow up under that load and Terabyte arrays)

http://www.freebsd.org/
Not to start anything, really, but I've run FreeBSD servers w/
an average load of 80-120 for years w/o them crashing or giving me
problems (where a Solaris E450 box folded, put its tails between its
legs, and walked away sniveling after days of configuration tweaks).
Linux: nice.  Sun: better.  FreeBSD: arrived at Mecca.

Motto: Design distributed with large numbers to scale quickly
and cheaply.  BIG-IP and FreeBSD are your friends.

-sc

-- 
Sean Chittenden[EMAIL PROTECTED]
C665 A17F 9A56 286C 5CFB  1DEA 9F4F 5CEF 1EDD FAAD

 PGP signature


Re: Qmail could not send message/email

2001-02-27 Thread Sean Chittenden

You're right that it's your /var partition: qmail is installed
in /var/qmail by default.  See where your space is going (du -d 1 -h
/var/qmail).  Your logs are also stored in /var/log, so there may be
some space there.  You only have 25MB of space (df -h), so you may
want to delete (rm -f ...) a few things that are taking up space.  If
worst comes to worse, you could move qmail to the usr partition (mkdir
/usr/qmail  cp -Rp /var/qmail/* /usr  rm -rf /var/qmail  ln -s
/usr/qmail /var/qmail).  You may want to consider increasing the size
of your /var partition (parted at:
(http://freshmeat.net/redir/gnuparted/3543/url_homepage/).

Hope that helps.  -sc

PS If you go the deleting route, just make sure you _avoid_ the
rm -rf /


On Wed, Feb 28, 2001 at 10:57:52AM +0700, The Afif wrote:
 Delivered-To: [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 Delivered-To: mailing list [EMAIL PROTECTED]
 Date: Wed, 28 Feb 2001 10:57:52 +0700
 From: The Afif [EMAIL PROTECTED]
 X-Mailer: The Bat! (v1.35) UNREG / CD5BF9353B3B7091
 X-Priority: 3 (Normal)
 To: [EMAIL PROTECTED]
 Subject: Qmail could not send message/email
 
 Hello Miliser,
 
 I have some problem with my linux box, (RH 6.0) I was install qmail,
 qmail-autoresponder, ezmlm, vpopmail, qmailadmin, absolutely its work
 properly, but after a few days later its had problem that email could
 not send the message is
 " qq write error or disk full (#4.3.0)"  what is the problem ?
 I check my disk like this
 
 $df
 Filesystem   1k-blocks  Used Available Use% Mounted on
 /dev/hda8   256592 28563214777  12% /
 /dev/hda123300  2276 19821  10% /boot
 /dev/hda6  1725194 47632   1588403   3% /home
 /dev/hda5  1725194302284   1333751  18% /usr
 /dev/hda7   256592256592 0 100% /var
 
 its about /var ? or some think i dont know ?
 if its about /var how could I increase the partition of its ?
 my HD is 4,3GB
 
 Need help of yours
 Thx  Best regards,
 The Afif
 mailto:[EMAIL PROTECTED]
 
 

-- 
Sean Chittenden[EMAIL PROTECTED]
C665 A17F 9A56 286C 5CFB  1DEA 9F4F 5CEF 1EDD FAAD

 PGP signature