[Mimedefang] Even hardwiring SA in mimedefang.pl doesn't do it

Rob MacGregor rob_macgregor at hotmail.com
Mon Aug 4 17:21:01 EDT 2003


>From: Whit Blauvelt <whit at transpect.com>
>
>mail.log has nothing more that's pertinent than:
>
>Aug  4 16:28:32 china mimedefang-multiplexor: started; minSlaves=2, 
>maxSlaves=10, maxRequests=500, maxIdleTime=300, busyTimeout=300, 
>clientTimeout=10
>Aug  4 16:28:32 china mimedefang-multiplexor: Starting slave 0 (pid 24621) 
>(1 running): Bringing slaves up to minSlaves (2)
>Aug  4 16:28:32 china mimedefang[24628]: Multiplexor alive - entering main 
>loop
>Aug  4 16:28:35 china mimedefang-multiplexor: Starting slave 1 (pid 24631) 
>(2 running): Bringing slaves up to minSlaves (2)
>
>when mimedefang is started from its script in /etc/init.d.
>
>But your sendmail command may be more revealing:
>
># sendmail -d0.1 -bv root
>Version 8.12.9
>  Compiled with: DNSMAP LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND
>                 NETINET NETUNIX NEWDB PIPELINING SCANF USERDB XDEBUG
>Warning: Option: InputMailFilters requires Milter support (-DMILTER)
>Warning: Option: Milter requires Milter support (-DMILTER)
>Warning: Option: Milter requires Milter support (-DMILTER)
>Warning: Option: Milter requires Milter support (-DMILTER)
>Warning: Option: Milter requires Milter support (-DMILTER)
>Warning: Filter usage ('X') requires Milter support (-DMILTER)
>
>Is that saying that sendmail didn't build right regarding milter support?

<Ding> Correct.

>Since I installed milter before I was looking at MIMEDefang, I followed the
>instructions in sendmail-8.12.9/libmilter and wrote the following two lines
>to devtools/Site/site.config.m4 (creating the file):
>
>APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
>APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ')
>
>This compares to the HOWTO's instructions which say to add:
>
>dnl Milter
>APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
>APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE')
>
>The dnl line shouldn't make a difference -- isn't that just a comment? 
>Could
>that extra space (pasted from the libmilter/README) have jinxed something?
>
>The libmilter stuff is all built (from "sh Build in sendmail's libmilter
>dir).
>
>I just went into sendmail-8.12.9/sendmail, did an "sh Build clean" then "sh
>Build" and got the exact same binary I already have running. I'll try again
>without that space, if recommended - normally a space in that sort of place
>should make no difference, right?

Because if you're rebuilding sendmail, as it tells you in the sendmail 
documentation, you **MUST** do a "Build -c" (well, you could simply nuke the 
obj.* directory).  If you don't then changes to the site config don't take 
effect.

Indeed, if you actually read the HowTo you'll see it tells you this:

NOTE: If this is not the first build in this directory tree, and you have 
changed any of the configuration files in the devtools/Site directory since 
the last build, use the -c option ("sh Build -c") to clear the previous 
build configuration.


  Please DO NOT send me ANY email directly unless it's a privacy issue.
       Reply-to mangled to assist those who don't read the above.
--
Rob  |  What part of "no" was it you didn't understand?

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger




More information about the MIMEDefang mailing list