Verwendung von /etc/mail/spamassasin/local.cf
Posted: 2005-05-29 22:33
Hallo Forum,
ich verwende Postfix/cyrus/amavis zusammen mit Suse 9.1 und confixx auf einem 1und1 rootserver. Auch Cyruscontrol ist installiert und läuft wunderbar.
Die einzelnen Anwendungen laufen. Nur verwendet Spamassassin nicht die von Confixx gepflegte /etc/mail/spamassasin/local.cf.
Wenn ich einzelne Einstellungen in /etc/amavis.conf vornehmen, werden die auch übernommen. Nur eben nicht die aus local.cf.
Hier meine Konfiguration:
postconf -n:
master.cf
amavis debug-sa:
Fehlt noch was? Hab ich was übersehen? Langsam komme ich unter Zeitdruck, weil der Server morgen unbedingt in den Echtlauf gehen muss.
Danke im Voraus für Tipps!
Petra
ich verwende Postfix/cyrus/amavis zusammen mit Suse 9.1 und confixx auf einem 1und1 rootserver. Auch Cyruscontrol ist installiert und läuft wunderbar.
Die einzelnen Anwendungen laufen. Nur verwendet Spamassassin nicht die von Confixx gepflegte /etc/mail/spamassasin/local.cf.
Wenn ich einzelne Einstellungen in /etc/amavis.conf vornehmen, werden die auch übernommen. Nur eben nicht die aus local.cf.
Hier meine Konfiguration:
postconf -n:
Code: Select all
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_privs = autoresponder
defer_transports =
disable_dns_lookups = no
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:public/lmtp
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain
myhostname = pXXXXXXXX.pureserver.info
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_CAfile = /etc/ssl/certs/pXXXXXXXX.pureserver.info-sample-ca.crt
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/key.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
soft_bounce = yes
strict_rfc821_envelopes = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450
Code: Select all
smtp inet n - n - - smtpd
smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
relay unix - - n - - smtp
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
anvil unix - - n - 1 anvil
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
Code: Select all
May 29 21:58:44 p15162411 amavisd[29905]: starting. amavisd at p15162411 amavisd-new-20030616-p9, Unicode aware, LC_CTYPE=en
_US
May 29 21:58:44 p15162411 amavisd[29905]: Perl version 5.008003
May 29 21:58:44 p15162411 amavisd[29905]: Module Amavis::Conf 1.15
May 29 21:58:44 p15162411 amavisd[29905]: Module Archive::Tar 1.24
May 29 21:58:44 p15162411 amavisd[29905]: Module Archive::Zip 1.14
May 29 21:58:44 p15162411 amavisd[29905]: Module Compress::Zlib 1.34
May 29 21:58:44 p15162411 amavisd[29905]: Module Convert::TNEF 0.17
May 29 21:58:44 p15162411 amavisd[29905]: Module Convert::UUlib 1.0
May 29 21:58:44 p15162411 amavisd[29905]: Module DB_File 1.808
May 29 21:58:44 p15162411 amavisd[29905]: Module MIME::Entity 5.416
May 29 21:58:44 p15162411 amavisd[29905]: Module MIME::Parser 5.416
May 29 21:58:44 p15162411 amavisd[29905]: Module MIME::Tools 5.416
May 29 21:58:44 p15162411 amavisd[29905]: Module Mail::Header 1.60
May 29 21:58:44 p15162411 amavisd[29905]: Module Mail::Internet 1.60
May 29 21:58:44 p15162411 amavisd[29905]: Module Mail::SpamAssassin 2.64
May 29 21:58:44 p15162411 amavisd[29905]: Module Net::Cmd 2.26
May 29 21:58:44 p15162411 amavisd[29905]: Module Net::DNS 0.46
May 29 21:58:44 p15162411 amavisd[29905]: Module Net::SMTP 2.29
May 29 21:58:44 p15162411 amavisd[29905]: Module Net::Server 0.87
May 29 21:58:44 p15162411 amavisd[29905]: Module Time::HiRes 1.52
May 29 21:58:44 p15162411 amavisd[29905]: Module Unix::Syslog 0.100
May 29 21:58:44 p15162411 amavisd[29905]: Found myself: /usr/sbin/amavisd -c /etc/amavisd.conf
May 29 21:58:44 p15162411 amavisd[29905]: Lookup::SQL code NOT loaded
May 29 21:58:44 p15162411 amavisd[29905]: Lookup::LDAP code NOT loaded
May 29 21:58:44 p15162411 amavisd[29905]: AMCL-in protocol code loaded
May 29 21:58:44 p15162411 amavisd[29905]: SMTP-in protocol code loaded
May 29 21:58:44 p15162411 amavisd[29905]: ANTI-VIRUS code loaded
May 29 21:58:44 p15162411 amavisd[29905]: ANTI-SPAM code loaded
May 29 21:58:44 p15162411 amavisd[29905]: Net::Server: 2005/05/29-21:58:44 Amavis (type Net::Server::PreForkSimple) starting!
pid(29905)
May 29 21:58:44 p15162411 amavisd[29905]: Net::Server: Binding to UNIX socket file /var/spool/amavis/amavisd.sock using SOCK_
STREAM
May 29 21:58:44 p15162411 amavisd[29905]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
May 29 21:58:44 p15162411 amavisd[29905]: Net::Server: Setting gid to "107 107"
May 29 21:58:44 p15162411 amavisd[29905]: Net::Server: Setting uid to "65"
May 29 21:58:44 p15162411 amavisd[29905]: Found $file at /usr/bin/file
May 29 21:58:44 p15162411 amavisd[29905]: Found $arc at /usr/bin/arc
May 29 21:58:44 p15162411 amavisd[29905]: Found $gzip at /usr/bin/gzip
May 29 21:58:44 p15162411 amavisd[29905]: Found $bzip2 at /usr/bin/bzip2
May 29 21:58:44 p15162411 amavisd[29905]: No $lzop, not using it
Danke im Voraus für Tipps!
Petra