[FUGSPBR] Sanitzer + Postfix

Jean M. Duarte jmd em jrp-cal.com.br
Ter Jul 2 16:38:24 BRT 2002


    Ae turma,

Ninguem aqui configurou o postfix com o Anomy Sanitizer junto?
http://mailtools.anomy.net/

To aqui na luta ateh agora ele nao esta funcionando direito...
Quando mando o mail, simplesmente ele nao faz nada !

To com o
BSD 4.6 Stable
Postfix 1.1.11
Sanitizer 1.49
Procmail 3.22

No sanitizer.log ta aparecendo o seguinte erro:

######################
procmail: Assigning "LASTFOLDER=/home/mail-backup"
procmail: Opening "/home/mail-backup"
procmail: Acquiring kernel-lock
procmail: Assigning "ANOMY=/etc/anomy"
procmail: Executing "/etc/anomy/bin/sanitizer.pl,/etc/anomy/sanitizer.conf"
Insecure dependency in require while running setuid at
/etc/anomy/bin/sanitizer.pl line 45.
BEGIN failed--compilation aborted at /etc/anomy/bin/sanitizer.pl line 45.
procmail: Error while writing to "/etc/anomy/bin/sanitizer.pl"
procmail: Rescue of unfiltered data succeeded
procmail: Assigning
"PATH=/home/jmd/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
procmail: Locking "/var/mail/jmd.lock"
procmail: Assigning "LASTFOLDER=/var/mail/jmd"
procmail: Opening "/var/mail/jmd"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/mail/jmd.lock"
procmail: Notified comsat: "jmd em 143210:/var/mail/jmd"
>From jmd em jrp-cal.com.br Tue Jul 2 15:26:18 2002
Subject: teste
Folder: /var/mail/jmd 47734
#################

Encontrei no site do Sanitizer a seguinte coisa:

####################
The testcases succeed, but I can't run the sanitizer!
What is the ANOMY environment variable for?
The ANOMY environment tells the Sanitizer script where to look for it's
modules, MIMEStream.pm and Sanitizer.pm. Unless it is set, the Sanitizer
won't run. The test cases all set this variable properly, which is why they
succeed even though you can't run it yourself.

Alternatives:

  a.. Add the /path/to/anomy/bin/ directory to your PERL5LIB environment
variable in some global place such as /etc/profile.
  b.. Add a symbolic link to some other directory normally searched by Perl
for libraries. The symbolic link should be named "Anomy" and should link to
/path/to/anomy/bin/Anomy/ directory.

Which method is best is simply a matter of taste.

#################

Derrepente eh isso, mas nao faco ideia de como criar esses Path´s, no tem um
man profile, man perl5lib  nem nada!!!

To nissso a dois dias e ja ficando maluco !

Thanks

Jean


______________________________________________
http://www2.fugspbr.org/mailman/listinfo/fugspbr



Mais detalhes sobre a lista de discussão freebsd