Re: logcheck-1.1.1 and qmail...

2000-06-11 Thread Chris Johnson

On Sun, Jun 11, 2000 at 09:35:39PM -0700, Bill Parker wrote:
>   I recently installed the logcheck-1.1.1 program from psionic.com/abacus
> to have my boxes mail updates to me on a hourly basis, however, when the
> script executed, it comes back with:
> 
> /usr/sbin/sendmail: no such file or directory
> 
> Now, since I run qmail (smtp/pop3d) on another server, and don't have mail
> installed on this system (it's my primary NAT box), what would someone do to
> get the log generated by logcheck over to say [EMAIL PROTECTED] (or have I
> completely
> lost it)...In doing a rpm -q sendmail, rpm states that the sendmail package is
> not installed...can someone give me an idea as to how to proceed?

# ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

Chris



logcheck-1.1.1 and qmail...

2000-06-11 Thread Bill Parker

Hello All,

I recently installed the logcheck-1.1.1 program from psionic.com/abacus
to have my boxes mail updates to me on a hourly basis, however, when the
script executed, it comes back with:

/usr/sbin/sendmail: no such file or directory

Now, since I run qmail (smtp/pop3d) on another server, and don't have mail
installed on this system (it's my primary NAT box), what would someone do to
get the log generated by logcheck over to say [EMAIL PROTECTED] (or have I
completely
lost it)...In doing a rpm -q sendmail, rpm states that the sendmail package is
not installed...can someone give me an idea as to how to proceed?

-Bill




Interesting fastforward behavior

2000-06-11 Thread Ben Beuchler

I just converted a sendmail box to qmail and used fastforward to make use
of the /etc/aliases table.  It turns out that there was an alias that read
simply:

accounts: accounts

I don't know why it was there and I didn't catch it during the conversion.
However, fastforward doesn't seem to be as tolerant of such things.  Every
delivery to that address is listed in the log as being a successful
delivery but they never actually arrived in the mailbox.  Once I removed
the alias, it worked fine.  Any idea what happened to the phantom
messages?

Ben

-- 
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
-- Neal Stephenson



Re: deferral: Can't_create_tempfile_(#4.3.0)

2000-06-11 Thread Markus Stumpf

On Sat, Jun 10, 2000 at 05:20:50PM -0400, Vince Vielhaber wrote:
> > but the tmp directory would have to exist beforehand, right?  unlike the
> > /tmp, which is already there.  but you might have found a bug there!
> 
> It's tmp not /tmp.  tmp should already be created as part of the maildir.

IIRC it won't even work with /tmp, unless it's on the same partition.
If it's not the link() syscall will fail that "moves" the message from
tmp to new.

\Maex

-- 
SpaceNet GmbH |   http://www.Space.Net/   | Stress is when you wake
Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Re: who's running freebsd?

2000-06-11 Thread Peter van Dijk

On Sat, Jun 10, 2000 at 06:49:27AM +0200, clemensF wrote:
> anybody running freebsd here?

Yes.

Greetz, Peter.
-- 
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]



Re: mail forwarding: alias

2000-06-11 Thread Jenny Holmberg

Zhiliang Hu <[EMAIL PROTECTED]> writes:

> There is one more instance: system alias for root works, ignoring
> the account ~root ... is there an exception?

>From INSTALL.alias:

* root. Under qmail, root never receives mail. Your system may
generate mail messages to root every night; if you don't have an
alias for root, those messages will bounce. (They'll end up
double-bouncing to the postmaster.) Set up an alias for root in
~alias/.qmail-root.

/Jenny

-- 
"I live in the heart of the machine. We are one." 



qmail Digest 11 Jun 2000 10:00:01 -0000 Issue 1029

2000-06-11 Thread qmail-digest-help


qmail Digest 11 Jun 2000 10:00:01 - Issue 1029

Topics (messages 42966 through 42986):

Re: Run perl script
42966 by: Will Harris
42970 by: Magnus Bodin

Re: Psuedo-benchmarks?
42967 by: clemensF
42968 by: Dave Kelly

Redirecting double bounces
42969 by: Ben Beuchler

vpopmail + qmail + mail filters
42971 by: Ramy M. Hassan

ultra160 scsi disks
42972 by: Ken Jones
42974 by: Steve Wolfe
42981 by: Neal Pollack

Re: deferral: Can't_create_tempfile_(#4.3.0)
42973 by: Ken Jones
42979 by: clemensF
42980 by: Vince Vielhaber
42982 by: Ken Jones

IMAP / POP conflicts
42975 by: Martin Langhoff

Testing
42976 by: Bolivar Diaz Galarza

Open Relay
42977 by: Bolivar Diaz Galarza
42978 by: Chris Johnson

Who sets 'Return-Path'?
42983 by: Ben Beuchler
42984 by: Chris Johnson

Newbie tcpserver
42985 by: Boyd Kelly
42986 by: Chris Johnson

Administrivia:

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--



 >I want to run perl script and do some actions if comes mail on
 >[EMAIL PROTECTED] So I created .qmail-test file with contents:
 >  | ./perlscript.pl
 >
 >Problem now is how to import this mail into script and parse it. Any idea 

 >or
 >example script?

The mail is available on STDIN.  Anything you write on STDOUT will show up 
in the log file.

will
__

   "I was going to be a Neo-Deconstructivist, but Mom wouldn't let me..."

  multimedia laboratorium  [EMAIL PROTECTED]
  institut fuer informatik(pgp id)F703D035
  der universitaet zuerich(office) +41  1 635 4346
  winterthurerstr. 190(fax)+41  1 635 6809
  ch-8057 zuerich (mobile) +41 76 372 0913
  switzerland www.ifi.unizh.ch/~harris
__





On Sat, Jun 10, 2000 at 09:00:54AM +0200, Anzej Becan wrote:
> 
> I want to run perl script and do some actions if comes mail on
> [EMAIL PROTECTED] So I created .qmail-test file with contents:
>   | ./perlscript.pl
> 
> Problem now is how to import this mail into script and parse it. Any idea or
> example script?

Take a look at e.g. Russell Nelsons eliminate-dups script, 
(link found on )

  http://qmail.x42.com/eliminate-dups

I also encourage you to check out how the environment looks like when in the
script.

This could be done through a simple echo-script found here:

  http://x42.com/qmail/scripts/

(Note that DTLINE, RPLINE and UFLINE includes a trailing newline)

Run that in a .qmail-echo-default file and you'll get the mail script
environment back. Thus you can experiment with extended addresses and see
how the various EXT and HOST variables change. 

/magnus 

--
http://x42.com/qmail/




> Eric Cox:

> So, if you're so inclined, could you send me a message with 
> your basic setup (like CPU/Speed,RAM,OS,HDs,connection in/out), 
> approx. number of users, approx. volume of mail, and a rough 
> idea of how well the machine(s) are handling the volume, etc... 
> 
> directly to me - if there's any demand for the data I can 
> post a synopsis to the list for all to enjoy.

of course there's demand!  post right away.

clemens




Well, we don't run an enormous setup, but here's some stats on one of our
busiest servers:

400MHz Pentium II
256 MB RAM
RAID 5 on IBM UltraStar 7200RPM drives
RH Linux 6.2 with the latest kernel (2.2.16)

This box supports 4000 - 4500 SMTP and POP3 customers, with no signs of
slowing down.  Now to be fair, it also does their web pages and a little bit
of RealAudio for them.  Our traffic on this box is probably 25,000 - 30,000
messages a day.  Fairly small by most counts.

Anyway, we had been on a 200MHz machine with sendmail and it was eating our
lunch.  After we moved to this box in February, our load average was
generally between 0.00 and 0.10 if nobody was running Real Audio (the qmail
stuff was SO efficient!!).  UNTIL...we were getting so pounded with spam I
decided to apply Nagy Balazs' patch that ensures that each incoming email
has a valid domain in it's return address, so it won't accept any mail that
it cannot bounce (since a lot of spam tends to come from things like
[EMAIL PROTECTED])  The added overhead of doing a DNS queries for email
has bumped up the system load a little.  It now hovers between 0.00 and
0.15.  :)  Our customers are extremely pleased with our performance increase
since February.  An