[Mimedefang] Finally got it working - 1 more question
Cormack, Ken
kcormack at acs.roadway.com
Fri Dec 5 14:27:05 EST 2003
> INPUT_MAIL_FILTER(`mimedefang',
> `S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:5m;R:5m')
Mark,
To do what you want it to do (continue processing, even if mimedefang is not
running), you need to remove the "F=T" parameter from the above line in youe
sendmail.mc file, rebuild sendmail.cf, and restart sendmail.
The F= says what to do with the message if the milter is not running.
F=T Temporary fail connection if filter unavailable
F=R Reject connection if filter unavailable
If no F= specified and there is a problem with the milter, then
the default is to continue normal handling, skipping the milter.
KEN CORMACK, RHCE
Sr. UNIX Systems Analyst,
Open Systems Group
Sr. Software Analyst,
TSG Midrange Systems Group
AFFILIATED COMPUTER SERVICES, INC.
557 E. Tallmadge Ave., Akron, OH 44310
Phone: (330) 643-6372
Fax: (330) 643-6367
Pager: (800) 946-4646 Pin 1412819
"If that that is 'is' is that that is not 'not is', is that that is 'not is'
that that is not 'is'? It is!" - Ken Cormack
"Sendmail administration is not black magic. There are legitimate technical
reasons why it requires the sacrificing of a live chicken." - Unknown
-----Original Message-----
From: Mark Penkower [mailto:mark at roycenet.com]
Sent: Friday, December 05, 2003 2:17 PM
To: mimedefang at lists.roaringpenguin.com
Subject: [Mimedefang] Finally got it working - 1 more question
Thanks for all of your help. I finally got Mimedefang to work with the
filter to just add the disclaimer text. I basically took the example
filter - remarked out stuff I didn't want and added the stuff that I wanted.
My sendmail.mc file builds the Mimedefang support with:
INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:5m;R:5m')
I need to make a change to this:
With the current setup, if Mimedefang fails, then sendmail will not spool
messages - it just crashes with a:
451 4.7.1 Please try again later
I need to have sendmail still function even if Mimedefang were to crash or
fail for some reason.
Is this done by changing sendmail.mc and recompiling sendmail.cf, or is
there some other way?
Please advise.
Thanks again for all of your help and patience!
Mark Penkower
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
More information about the MIMEDefang
mailing list