Ji?í ?ervenka <[EMAIL PROTECTED]> wrote:
| Hello,
| I?ve following problem with amavisd-new. I?m trying to use it on debian 
(sarge)
| machine (perl 5.8.7) with postfix. But when I try to run amavisd-new debug,
| i receive this:
| gate:/home/ogeen# amavisd-new debug
| Subroutine AUTOLOAD redefined at /etc/perl/IO/Zlib.pm line 84.
| Subroutine isaFilehandle redefined at /etc/perl/IO/Zlib.pm line 99.
| Subroutine isaFilename redefined at /etc/perl/IO/Zlib.pm line 108.
| Subroutine gzopen redefined at /etc/perl/IO/Zlib.pm line 115.
| Subroutine ParseParameters redefined at /etc/perl/IO/Zlib.pm line 132.
| Subroutine deflateInit redefined at /etc/perl/IO/Zlib.pm line 198.
| Subroutine inflateInit redefined at /etc/perl/IO/Zlib.pm line 210.
| Subroutine Compress::Zlib::deflateStream::deflateParams redefined at 
/etc/perl/IO/Zlib.pm 
...snip...
| 
| Postfix is configured this way:
| main.cf :
| ..
| content_filter = smtp-amavis:127.0.0.1:10024
| ..
| 
would be content_filter = smtp-amavis:[127.0.0.1]:10024

| master.cf :
| ..
| smtp-amavis unix - n n - 10 pipe user=amavis argv=/usr/sbin/amavisd-new 
${sender} 
| ${recipient}
| localhost:10025 inet n - n - - smtpd -o content_filter=
| 
I've :
# changed for amavis :
smtp      inet  n       -       n       -       2       smtpd
# Instruct smtpd on Port 25 to deliver mail to amavisd-new on
127.0.0.1 Port 10024
  -o content_filter=scan:[127.0.0.1]:10024
  -o receive_override_options=no_address_mappings
# This is the mail transport used above. It is in fact an instance
of the
# Postfix SMTP client with slightly different configuration parameters
scan      unix  -       -       n       -       2       lmtp
  -o disable_dns_lookups=yes
  -o lmtp_send_xforward_command=yes
  -o lmtp_data_done_timeout=1200
amavis unix -     -      n      -      2  smtp
  -o smtp_data_done_timeout=1200
  -o disable_dns_lookups=yes
# Injecting mail back into Postfix after content filter
localhost:10025 inet n  -       n       -       2       smtpd

of course your amavis would be smtp-amavis.

mess-mate                               
--
Consider well the proportions of things.  It is better to be a young June-bug
than an old bird of paradise.
                -- Mark Twain, "Pudd'nhead Wilson's Calendar"


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to