Hi,
When I installed Mimedefang 2.48 (back last November) I followed the mimedefang howto at: http://www.mickeyhill.com/mimedefang-howto/ because gave me a step by step that was easy to follow and understand. In there it states:
Create or edit startup/shutdown script at /etc/init.d/sendmail to start MIMEDefang. Be sure to chmod 755. The sample script below is the Red Hat default script with these two lines added:
/etc/init.d/mimedefang start /etc/init.d/mimedefang stop
and then it goes on to give a sample Redhat Sendmail init script which I used. It works fine to start/stop sendmail and mimedfeang and starts/stops them in the correct order. So again, I ask, can I modify the /etc/init.d/mimedefang start in my /etc/init.d/sendmail to read /etc/init.d/mimedefang -U defang start ??
I'm afraid I don't have a clue about what you were talking about re run levels etc.
Lisa Casey
----- Original Message ----- From: "Ben Kamen" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, April 21, 2005 4:27 PM
Subject: Re: [Mimedefang] HUGE problem with mimedefang
Lisa Casey wrote:Hi,
Sigh, no I think it's probably me that doesn't understand. Mimedefang is runing as a milter under Sendmail. I don't start mimedefang using /etc/init.d/mimedefang, I start it using /etc/init.d/sendmail. This script starts Sendmail and Mimedefang. When I installed mimedefang 2.48 I modified /etc/init.d/sendmail as my directions said to do. In /etc/init.d/sendmail there is:
# Start daemons.
/etc/init.d/mimedefang start
Are you saying I should modify that to read /etc/init.d/mimedefang -U defang start
Well, personally, I would find that to set bad precedence as if anything changes with sendmail - the /etc/init.d/sendmail file would change. You really want to start mimedefang before sendmail. You're running it the same way I am - but I'm keeping the processes separate... which everyone here will probably say is a good idea...
Divide and conquer. Works in wars and Unix. ;)
So split them back apart. Figure out which runlevel you want mimedefang to start in (which can be summed up as, any runlevel that has an S##sendmail) and put in a link to /etc/init.d/mimedefang to those rc.X dirs with an S##mimedefang AND MAKE SURE THAT THE ## is one less than sendmail. (it's that easy)
then go back and check your mimedefang script and make sure it's the way you want. ;)
-Ben
_______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.18 - Release Date: 4/19/2005
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.18 - Release Date: 4/19/2005
_______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

