Here is something we went through several months ago to get around the
sendmail smrsh security for demime.
########################################################################
#
# The sample recipe "helps" assure each message is addressed to the list.
# The recipe(s) MUST be owned by the same UID sendmail/procmail runs as.
# (I set them 664 mail:majordomo)
# Then I use procmail to demime (clean) messages into ASCII format since
# sendmail does not allow piping to "second" pipes or filters.
#
# First the alias;
# LISTNAME: "|/usr/bin/procmail -f- /var/lib/majordomo/recipe/LISTNAME"
#
# Then the recipes;
# :0fhw
# * !^(To|Cc):.*LISTNAME(-digest)?@DOMAIN\.TLD
# | /usr/bin/formail -I "X-ApprovalRequired: true"
# :0
# | /usr/lib/majordomo/wrapper demime - | /usr/lib/majordomo/wrapper resend -l LISTNAME LISTNAME-outgiong,nobody
#
# Note, using a global or per-list taboo filter on "X-ApprovalRequired:"
# will bounce Bcc:'d hostname qualified mail to the LISTNAME-approval address.
# /^X-ApprovalRequired:/i
# Alternative condition line so that BCC'd address is also accepted;
# * !^TO_LISTNAME(-digest)?@DOMAIN\.TLD
# where there is no space between TO_ and the LISTNAME. TO_ is case sensitive.
#
#########################################################################
Dan Liston
Jack L. Stone wrote:
> Dear list: Please forgive me for asking about a subject that may have an
> answer in the archives, but I have been unable to locate a posting there
> that applies exactly to my own situation, nor does the Demime website
> instructions for using Demime. It seems most applies to Linux and I am
> running FBSD.4.8 (Unix). At least I remain unsure.
>
> I am also running Sendmail.8.12.8, SpamAssassin & Procmail & Majordomo.1.94.5.
>
> As you might guess, I have to spend way too much time dealing with bounces
> because of HTML (especially AOL's tack-ons) and attachments.
>
> I have several mail lists running on various Vhosts.
>
> Finally, I have installed Demime-1.1c, but remained unclear about the
> proper modification to the Aliases for each mail list. Again, the only
> examples I see are for Linux, although I suspect the setup is a similar
> one. However, before messing up things, I would like some tips from anyone
> running a similar configration. Here is a test alias setup as an example.
> Would someone please advise which line to modify/add for use of Demime
> which reside in:
> /usr/local/bin/demime
> ...and NOT with the ../majordomo/wrapper
>
> I'm proving this link rather than clog up this message with long lines.
> http://www.franklin-belle.com/tmp/fblist.txt
>
> Thanks in advance.
>
>
>
> Best regards,
> Jack L. Stone,
> Administrator
>
> SageOne Net
> http://www.sage-one.net
> jackstone@sage-one.net
References:
|
|