Re: start multiple sendmail daemons from rc.conf?

From: Chris Cook (ccook_at_tcworks.net)
Date: 11/26/03

  • Next message: Bill Vermillion: "Re: start multiple sendmail daemons from rc.conf?"
    Date: Tue, 25 Nov 2003 18:11:09 -0600
    To: Andy Farkas <andyf@speednet.com.au>
    
    

    Hey Guys... any ideas on my original post that started the thread? :)

    Any way to start multiple sendmail daemons using different configs from
    rc.conf?

     :)

    Thanks,
    Chris

    Andy Farkas wrote:
    >
    > Bill Vermillion wrote:
    >
    > > > >So even though sendmail says it is rejecting connections
    > > > >(twice!), it then goes and accepts two more! Grrr.
    > >
    > > Well it's sort of hard to let the far systems know they shouldn't
    > > be sending any. If you look at the config file you will see that
    > > when sendmail reaches a certain limit it will not accept any more
    > > connections. So your resources are too low [as noted in the other
    > > poster comment below] as you run out of resources before you hit
    > > the limit that is in Sendmail. [see your .cf file and you could
    > > set the load average where you just queue messages and the point
    > > where you reject messages lower]
    > >
    > > > Thrash is correct and it would appear it happening from the
    > > > messages above. Sendmail checks the load average each time a new
    > > > request is received. If the average is above the threshold it
    > > > puts out that message and doesn't handle the request. Obviously,
    > > > when PIDs 71848 and 71861 were started the load average was
    > > > below the threshold. Running out of swap space is never going to
    > > > be a good thing. You need more memory or more swap space.
    > >
    > > Unless he's modified the sendmail.cf for different load values
    > > and moved them too high, then he probably needs both more memory
    > > and more swap space. And of course more memory means you need to
    > > add more swap space.
    > >
    > > Until he gets more memory he can add swap space - man 8 swapon -
    > > but to blame sendmail for an under powered or mis-configured system
    > > is wrong.
    >
    > I know exactly what happened to my system. I was there watching it self
    > destruct. But the beauty of FreeBSD is its stability; the box is still
    > running and hasn't even been rebooted.
    >
    > Yep, it needs more RAM and more swap. But that aint gonna happen :)
    >
    > Some background on my setup: sendmail, procmail, bogofilter, and
    > amavis/uvscan. sendmail receives a message, sends it to amavis which
    > spawns a uvscan, then procmail bogofilters it. Works well, but is rather
    > resource intensive (and as you've noticed, this box is under-resourced).
    >
    > If I disconnect from the 'Net for a few hours, mail gets queued upstream,
    > and when I reconnect, vast quantities of email come in all at once
    > spawning hundreds of processes. (the poo hits the fan at around 300 procs)
    >
    > My sendmail.cf has this in it:
    >
    > O QueueLA=3
    > O RefuseLA=4
    > O DelayLA=2
    > O MaxDaemonChildren=16
    > O ConnectionRateThrottle=3
    >
    > but the situation can still occur :)
    >
    > --
    >
    > :{ andyf@speednet.com.au
    >
    > Andy Farkas
    > System Administrator
    > Speednet Communications
    > http://www.speednet.com.au/
    >
    > _______________________________________________
    > freebsd-isp@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"

    -- 
    Chris
    o----< ccook@tcworks.net >------------------------------------o
    |Chris Cook - Admin     |TCWORKS.NET - http://www.tcworks.net |
    |The Computer Works ISP |FreeBSD - http://www.freebsd.org     |
    o-------------------------------------------------------------o
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Bill Vermillion: "Re: start multiple sendmail daemons from rc.conf?"

    Relevant Pages

    • Re: Sun rant
      ... Standard mc configs that I've used ... on generic sendmail builds are failing to behave as expected on Solaris' ... Sun is here to stay for a good long time. ... It was here when most of you were an impure thought in your fathers' minds and it will be here after many of you are gone. ...
      (comp.unix.solaris)
    • Re: We need a new subject- bug fixes
      ... It is not dangerous at all if you have proper firewalls, ... Which is why sendmail needs to be configured to not ... The idea that sendmail automatically relays everything should have been put to rest sometime in a previous century. ... And distribution configs should have started including SMTP AUTH over ssl as the default way to permit forwarding as a relay. ...
      (Fedora)
    • Re: Sendmail Woes
      ... The sendmail cancer has been excised from my SOl10 system. ... Postfix when installed, installs its own sendmail ... You don't have to 'debug Sendmail configs'. ...
      (comp.unix.solaris)
    • Re: quota and sendmail accepts <10k mail size
      ... You are right about sendmail has only global option to limit mail size. ... I use system quota to prevent sendmail from writing to mbox of a user which is under quota.Sendmail should bounce the mail and reply to sender with this kind of error: ... (reason: 550 5.0.0 output error) ... Here is my configs: ...
      (freebsd-questions)
    • Re: Sendmail relaying for all sub-domains... can I stop this?
      ... I have my sendmail servers configured with reasonable configs in place to ...
      (comp.mail.sendmail)