G'Day,
 
I use sendmail without procmail to send through anomy which work OK in most cases.  I set this up
using the sendmail instructions. 
   
However I notice that there are some circumstances where anomy is bypassed.  I think it is if the To: is blank or
Bcc: recipient? 
 
Any clues?
 
----- Sendmail.cf --Part 1---
## anomy:: Uncomment Line below and replace yourdomain.com with your domainname.
#C{anomy}gmaaust.com.au
 
## anomy:: Uncomment line below if you want to use
## file /usr/local/etc/anomy-domains
## and sanitize mail for domainnames mentioned in the file.
F{anomy}/usr/local/etc/anomy-domains
----- Sendmail.cf Part2  ---
 
############################################################################
#Anomy sanitization. (Uncomment appropriate lines from *ONLY* one section)
############################################################################
# Section 2: Sanitize without procmail.
#            (Only if you are using Msanitize mailer)
#            Uncomment only one option line below.
#---------------------------------------------------------------------------
## Sanitize based on domains defined in anomy class defined (C{anomy} or F{anomy
})
R$* < @ $={anomy} . > $*                $#sanitize
$@anomy $:$1<@$2.ANOMY.>$3
 
## Sanitize all mails. (irrespective of destination domains !!! CAREFUL !!!)
#R$* < @ $+ . > $*                      $#sanitize
$@anomy $:$1<@$2.ANOMY.>$3
#---------------------------------------------------------------------------
 
R$* < @ $+ .ANOMY. > $*                 $1<@$2.>$3
R$* < @ $+ .ANOMY > $*                  $1<@$2.>$3
#############################################################################
#              Anomy Hack Modification Ends here                            #
#############################################################################
----- Sendmail.cf Part 3
 
Msanitize,      P=/usr/local/bin/sanitize, F=DFMmhu,
                S=11/31, R=21/31, T=DNS/RFC822/X-Unix, A=sanitize $f $u
----- /usr/local/etc/anomy-domains
 
gmaaust.com.au
Gmaaust.Com.Au
GMAAUST.COM.AU
--- End