[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Postfix and Amavis with Debian



Hi

I can't get Postfix working with amavisd. I run a woody box here.
I installed Postfix, amavisd-new and spamassassin from unstable.
I checked Postfix. It worked perfect after installation.

To implement amavisd i changed the postif config as follows:
master.cf:
127.0.0.1:10025 inet n - y - - smtpd -o content_filter= -o local_recipient_maps= -o smtpd_helo_restri ctions= -o smtpd_client_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_ mynetworks,reject -o mynetworks=12
7.0.0.0/8
smtp-amavis unix - - y - 2 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes

main.cf
content_filter = smtp_amavis:[127.0.0.1]:10024

I disabled anti virus checking in amavisd. An "amavisd debug" gives me:
Apr 17 16:32:29 router amavisd[20957]: starting. amavisd at router amavisd-new-20030314-p1, Unicode aware, LANG=C Apr 17 16:32:29 router amavisd[20957]: Found myself: /usr/sbin/amavisd -c /etc/amavis/amavisd.conf
Apr 17 16:32:29 router amavisd[20957]: Lookup::SQL code       NOT loaded
Apr 17 16:32:29 router amavisd[20957]: Lookup::LDAP code      NOT loaded
Apr 17 16:32:29 router amavisd[20957]: AMCL-in protocol code  NOT loaded
Apr 17 16:32:29 router amavisd[20957]: SMTP-in protocol code  loaded
Apr 17 16:32:29 router amavisd[20957]: ANTI-VIRUS code        NOT loaded
Apr 17 16:32:29 router amavisd[20957]: ANTI-SPAM  code        loaded
Apr 17 16:32:29 router amavisd[20957]: Net::Server: 2003/04/17-16:32:29 Amavis (type Net::Server::PreForkSimple) starting! pid(20957) Apr 17 16:32:29 router amavisd[20957]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Apr 17 16:32:29 router amavisd[20957]: Net::Server: Setting gid to "106 106"
Apr 17 16:32:29 router amavisd[20957]: Net::Server: Setting uid to "107"
Apr 17 16:32:29 router amavisd[20957]: Net::Server: Couldn't POSIX::setuid to "107" [] Apr 17 16:32:29 router amavisd[20957]: Net::Server: Setting up serialization via flock
Apr 17 16:32:29 router amavisd[20957]: Found $file       at /usr/bin/file
Apr 17 16:32:29 router amavisd[20957]: No $arc,          not using it
Apr 17 16:32:29 router amavisd[20957]: Found $gzip       at /bin/gzip
Apr 17 16:32:29 router amavisd[20957]: Found $bzip2      at /usr/bin/bzip2
Apr 17 16:32:29 router amavisd[20957]: No $lha,          not using it
Apr 17 16:32:29 router amavisd[20957]: No $unarj,        not using it
Apr 17 16:32:29 router amavisd[20957]: Found $uncompress at /bin/uncompress
Apr 17 16:32:29 router amavisd[20957]: No $unrar,        not using it
Apr 17 16:32:29 router amavisd[20957]: No $zoo,          not using it
Apr 17 16:32:29 router amavisd[20957]: SpamControl: initializing Mail::SpamAssassin Failed to create default user preference file /var/lib/amavis/.spamassassin/user_prefs razor2 check skipped: No such file or directory Insecure dependency in connect while running with -T switch at /usr/lib/perl/5.8.0/IO/Socket.pm line 114.
Apr 17 16:32:32 router amavisd[20957]: SpamControl: done
Apr 17 16:32:32 router amavisd[20957]: Net::Server: Beginning prefork (2 processes)
Apr 17 16:32:32 router amavisd[20957]: Net::Server: Starting "2" children
Apr 17 16:32:32 router amavisd[20958]: Net::Server: Child Preforked (20958)
Apr 17 16:32:32 router amavisd[20959]: Net::Server: Child Preforked (20959)
Apr 17 16:32:32 router amavisd[20957]: Net::Server: Parent ready for children.

I see nothing critical here...
However, i can't send mails to a uer of my system as long as amavisd is enabled.

Someone has a hint on this?

cheers,
Raffaele



Reply to: