Hi Roger

Interesting, what you do in your supervise run script. Here's mine:
exec /usr/bin/spamd -x -L -D -u qmaild 2>&1 | /usr/local/bin/multilog t
s1000000 /var/log/spamd

As you can see it works even without the -s stderr and there's also no need
for a separate /log/run script.
But there's more than one way to do it, obviously.

I like the name of your company btw. Icberg computers sounds kinda cool.
You seem to know some German? If you want to learn some more, feel free to
mail me off-list <s>

Tschuess
Ralf G.

---- Original Message ----- 
From: "Roger Merchberger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 01, 2003 6:00 PM
Subject: Re: [SAtalk] Re: spamd & qmail, round 2...


> Rumor has it that Ralf Guenthner may have mentioned these words:
>
> >I'm also running spamd under supervise and just recently I asked this
list
> >why I couldn't get the -D option to work. Where were you guys then?
> >  ;-)
>
> I wasn't here yet... so I have an excuse! ;-)
>
> >I solved it in the meantime by sending the debug output to a separate
> >logfile via multilog. Otherwise, no problems with that setup and no need
to
> >worry about spamd crashing and mails getting deferred overnight.
>
> Here's my current run scripts:
>
> [EMAIL PROTECTED] spamd]# more /service/spamd/run
>
> #!/bin/sh
> exec /usr/local/bin/softlimit -a 120000000 \
>   /usr/bin/spamd -s stderr -D -L 2>&1
> #               ^^^^^^^^^
>
> [EMAIL PROTECTED] spamd]# more /service/spamd/log/run
>
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s8000000
n80 \
>    /var/log/qmail/spamd
>
> =-=-=-=-=-=-=-=
>
> What it took for the debugging info to make it to my logfile is adding
the
> -s stderr (to tell SA to log everything to stderr) and then redirecting
> stderr to stdout, so the .../log/run script can catch it.
>
> Works like a charm for me...
>
> Prost,
> Roger "Merch" Merchberger
>
> --
> Roger "Merch" Merchberger   ---   sysadmin, Iceberg Computers
> [EMAIL PROTECTED]
>
> Hi! I am a .signature virus.  Copy me into your .signature to join in!
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to