Great Circle Associates Majordomo-Users
(August 2001)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: majordomo/exim/demime trick
From: Richard Welty <rwelty @ suespammers . org>
Date: Sun, 12 Aug 2001 09:32:15 -0400
To: majordomo-users @ greatcircle . com

i've been taking some of the knowledge i've gained from Philip Haze's
new exim book (which is wonderful) and starting to improve my exim
configuration.

here is a simple demime trick which i set up with my majordomo lists.

normal demime setup is simply place it in a pipe in an alias file,
like so:

alfa:         "|/tools/majordomo/demime - |/tools/majordomo/wrapper
resend -C /tools/majordomo/digest.cf -l alfa -h digest.net -f
owner-alfa alfa-out@digest.net"

which also requires setting use_shell = yes in the exim pipe
transport. demime is only applied where you actually include it
in the pipe declaration.

i have moved demime to a transport filter for my majordomo_pipe
transport:

majordomo_pipe:
  driver = pipe
  user = majordomo
  group = daemon
  return_fail_output = true
  transport_filter = "/tools/majordomo/demime -"

and have removed it from the alias file, and gotten rid of use_shell.

pros:

demime is now applied to all administrative requests as well, so mime
won't confuse majordomo itself

cons:

this is probably less efficient overall because demime is being called
more, and while the shell has been eliminated, transport filters do
still cause an extra exim process to be spawned.

richard


Indexed By Date Previous: More Aliases woe's
From: "Support" <support@obantec.net>
Next: MAJORDOMO ABORT (mj_majordomo)!!
From: Chuck Weinstock <weinstock@conjelco.com>
Indexed By Thread Previous: More Aliases woe's
From: "Support" <support@obantec.net>
Next: MAJORDOMO ABORT (mj_majordomo)!!
From: Chuck Weinstock <weinstock@conjelco.com>

Google
 
Search Internet Search www.greatcircle.com